ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Several math features broke for me in new Debian version
@ 2023-11-03 10:44 Kumar Appaiah
  2023-11-03 12:16 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Appaiah @ 2023-11-03 10:44 UTC (permalink / raw)
  To: ntg-context

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

The above works very well in 2021.03.05.20230120+dfsg-1+deb12u1 but
gives me this error in 2023.05.05.20230730+dfsg-2:


resolvers       | formats | executing runner 'run luametatex format': /usr/bin/luametatex --jobname="./test.tex" --socket --shell-escape --fmt=/home/kumar/.texlive2023/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.fmt --lua=/home/kumar/.texlive2023/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.lui  --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/bin"
job             > passes > version mismatch: 1.32 <> 1.33
system          > 
system          > ConTeXt  ver: 2023.05.05 18:36 LMTX  fmt: 2023.11.2  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './test', input './test.tex', result './test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './test.tex'
fonts           > preloading latin modern fonts (second stage)
mathematics     > tweak > 'LatinModernMath-Regular', size 6, math size 3, version 'Version 1.959' found, version 'Version 1.958' expected
fonts           > 'fallback modern rm 12pt' is loaded
tex error       > tex error on line 5 in file ./test.tex: Missing $ inserted

<inserted text> 
    
    $
<to be read again> 
    
    \mathatom 
<macro> \math_atom_by_parameter_indeed 
    #1->\mathatom 
    \s!class \mathcodechecked {#1}
<macro> \math_frac 
    #1#*[#2]->\beginmathgroup \setlocalmathfractioncurrent {#1}\ifparameter #2\or \setupcurrentmathfraction [#2]\fi \edef \p_math_fraction_fences {\mathfractionparameter \c!fences }\math_atom_by_parameter \mathfractionparameter 
    \bgroup \ifempty \p_math_f
<to be read again> 
    
    {
<line 3.5> 
       \NC T, \NC{} $|f| < \frac{
    1}{2T}$ \NR

 1     \starttext
 2     Hello world!
 3     \startformula
 4      X(f) = \startcases[align={right,left},distance=3pt]
 5 >>     \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
 6        \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
 7      \stopcases
 8     \stopformula
 9     \stoptext
10     
I've inserted a begin-math/end-math symbol since I think you left one out.
Proceed, with fingers crossed.
mtx-context     | fatal error: return code: 1

Just another note: some examples seem broken here as well:

https://wiki.contextgarden.net/Multiline_equations

Please let me know how I can help debug this.

Thanks.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-03 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03 10:44 [NTG-context] Several math features broke for me in new Debian version Kumar Appaiah
2023-11-03 12:16 ` [NTG-context] " Wolfgang Schuster
2023-11-03 16:48   ` Kumar Appaiah

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).