[NTG-context] \pmatrix changed?

Rogers, Michael K mroge02 at emory.edu
Fri Feb 16 17:57:26 CET 2018


Thank you very much, Hans.

On Feb 16, 2018, at 10:52 AM, Hans Hagen <pragma at wxs.nl<mailto:pragma at wxs.nl>> wrote:

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

--

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

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


________________________________

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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180216/188fe2ab/attachment-0001.html>


More information about the ntg-context mailing list