ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
To: ntg-context@ntg.nl
Subject: [NTG-context] Several math features broke for me in new Debian version
Date: Fri, 3 Nov 2023 16:14:09 +0530	[thread overview]
Message-ID: <ZUTO-ddJQtIHtRDG@odessa> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2023-11-03 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-03 10:44 Kumar Appaiah [this message]
2023-11-03 12:16 ` [NTG-context] " Wolfgang Schuster
2023-11-03 16:48   ` Kumar Appaiah

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=ZUTO-ddJQtIHtRDG@odessa \
    --to=a.kumar@alumni.iitm.ac.in \
    --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).