[NTG-context] \pmatrix changed?

Hans Hagen pragma at wxs.nl
Fri Feb 16 16:52:36 CET 2018


On 2/16/2018 3:16 PM, Rogers, Michael K wrote:

> This sort of thing worked a year ago and two years ago (sorry, not sure of the versions now):

because it's too fragile for general use (xml etc) you now have to 
explicitly enable it:

\setupmathematics[ampersand=normal]
> 
> %%%%%%
> \starttext
> \startformula
> A = \pmatrix{
>   0.006525 \hfill& 0.006331 \hfill& 0.006828 \hfill\cr
>   1.006    \hfill& 0.009352 \hfill& 1.010 \hfill\cr
>   0.002385 \hfill& 0.006376 \hfill& 1.001 \hfill\cr
> }
> \stopformula
> \stoptext
> %%%%%%
> 
> Now the ampersands are not treated as alignment characters, but as ordinary characters in the version
> 
> system          > ConTeXt  ver: 2018.01.24 10:47 MKIV beta  fmt: 2018.2.6  int: english/english
> 
> There is a similar sort of behavior with \cases:
> 
> %%%%%%
> \starttext
> $\cases{x & if $x>0$ \cr y &if $x>0$ \cr}$
> \stoptext
> %%%%%%
> 
> Is there an easy fix? I'd like not to have to edit old files.
> 
> Thanks,
> 
> Michael
> 
> ________________________________
> 
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution
> or copying of this message (including any attachments) is strictly
> prohibited.
> 
> If you have received this message in error, please contact
> the sender by reply e-mail message and destroy all copies of the
> original message (including attachments).
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list