[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
On Fri, Nov 03, 2023 at 01:16:15PM +0100, Wolfgang Schuster wrote:
> > \starttext
> > Hello world!
> > \startformula
> >   X(f) = \startcases[align={right,left},distance=3pt]
> > \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
> > \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
> >   \stopcases
> > \stopformula
> > \stoptext
> 
> There has been changes in the math alignment mechanism a while ago and the
> cases
> environment use math mode for a column entry when you use the \NC tag at the
> begin
> of a cell, to make your example working again remove the $ in the column.
> 
> \starttext
> 
> \startformula
>   X(f) =
>     \startcases
>     \NC T, \NC |f| < \frac{1}{2T} \NR
>     \NC 0, \NC |f| \geq \frac{1}{2T} \NR
>     \stopcases
> \stopformula
> 
> \stoptext
> 
> To typeset the content of a column as text replace \NC with \TC at the begin
> of the cell.
> 

Thank you for pointing this out. For now, I shall refrain from
upgrading, since this is a backwards incompatible change that affects
many files. Eventually, I'll make the required changes.

Kumar
-- 
Kumar Appaiah
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Wolfgang Schuster

Kumar Appaiah schrieb am 03.11.2023 um 11:44:

Dear Friends,

I am a regular user of ConTeXt. A recent upgrade of ConTeXt in Debian
broke things for me. The bug report is here:

https://bugs.debian.org/1055233

but I have reproduced the gist here:

Upon upgrading to ConTeXt 2023.05.05.20230730+dfsg-2, several math
features seem to break for me. Here is an example:

\starttext
Hello world!
\startformula
  X(f) = \startcases[align={right,left},distance=3pt]
\NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
  \stopcases
\stopformula
\stoptext


There has been changes in the math alignment mechanism a while ago and 
the cases
environment use math mode for a column entry when you use the \NC tag at 
the begin

of a cell, to make your example working again remove the $ in the column.

\starttext

\startformula
  X(f) =
    \startcases
    \NC T, \NC |f| < \frac{1}{2T} \NR
    \NC 0, \NC |f| \geq \frac{1}{2T} \NR
    \stopcases
\stopformula

\stoptext

To typeset the content of a column as text replace \NC with \TC at the 
begin of the cell.


Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___