ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henri <henrimenke@gmail.com>
Subject: Re: mathmatrix vs substack
Date: Mon, 11 Sep 2017 10:03:19 +0200	[thread overview]
Message-ID: <41f98bb5-43a5-5483-42f2-ababdc9208ef@wxs.nl> (raw)
In-Reply-To: <1505105940.22813.67.camel@gmail.com>

On 9/11/2017 6:59 AM, Henri wrote:
> Dear devs,
> 
> Thank you very much for fixing this one
> https://mailman.ntg.nl/pipermail/ntg-context/2017/089790.html
> Unfortunately it seems like you broke substack and mathmatrix on the way.  MWE below fails
> with version 2017.09.08 17:24
> 
> Cheers, Henri
> 
> ---
> 
> \starttext
> 
> \placeformula
> \startformula
>    \sum_{\startsubstack
>      \NC k \NR
>      \NC \omega_n \NR
>    \stopsubstack}
> \stopformula
> 
> \placeformula
> \startformula
>    \startmathmatrix[left=\left|,right=\right|]
>      \NC 0 \NC 1 \NR
>      \NC 1 \NC 0 \NR
>    \stopmathmatrix
>    = -1 .
> \stopformula
> 
> \stoptext
% no tagging yet : how is it supposed to be coded? no time now anyway

\unexpanded\def\startsubstack
   {\begingroup
    \vcenter\bgroup
    \baselineskip\mathstacktotal
    \lineskip\mathstackvgap
    \lineskiplimit\lineskip
    \mathsurround\zeropoint
    \everycr\emptytoks
    \let\NC\relax
    \let\MC\relax
    \let\NR\crcr
 
\halign\bgroup\hfil\normalstartimath\scriptstyle\alignmark\alignmark\normalstopimath\hfil\crcr}

\def\stopsubstack
   {\crcr
    \egroup
    \egroup
    \endgroup}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-09-11  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11  4:59 Henri
2017-09-11  8:03 ` Hans Hagen [this message]
2017-09-15  4:23   ` Henri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41f98bb5-43a5-5483-42f2-ababdc9208ef@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=henrimenke@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).