[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055233: Several math features break in new version



Package: context
Version: 2023.05.05.20230730+dfsg-2
Severity: important
X-Debbugs-Cc: a.kumar@alumni.iitm.ac.in

Hello.

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


Please let me know what I can do to help. I am downgrading temporarily though.

Thanks.

Kumar

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages context depends on:
ii  lmodern           2.005-1
ii  luametatex        2.10.08+ds-1+b1
ii  ruby              1:3.1
ii  tex-common        6.18
ii  tex-gyre          20180621-6
ii  texlive-base      2023.20230613-3
ii  texlive-binaries  2023.20230311.66589-6
ii  texlive-metapost  2023.20230613-3

Versions of packages context recommends:
ii  context-modules           20230730-2
ii  fonts-freefont-otf        20211204+svn4273-2
ii  fonts-gfs-artemisia       1.1-6
ii  fonts-gfs-baskerville     1.1-6
ii  fonts-gfs-bodoni-classic  1.1-6
ii  fonts-gfs-didot           1.1-7
ii  fonts-gfs-didot-classic   1.1-6
ii  fonts-gfs-gazis           1.1-6
ii  fonts-gfs-neohellenic     1.1-7
ii  fonts-gfs-olga            1.1-6
ii  fonts-gfs-porson          1.1-7
ii  fonts-gfs-solomos         1.1-6
ii  fonts-gfs-theokritos      1.1-6
ii  fonts-sil-gentium         20081126:1.03-4

Versions of packages context suggests:
ii  context-nonfree     2007.03.22-2
pn  fontforge           <none>
ii  libxml-parser-perl  2.46-4
pn  perl-tk             <none>

-- no debconf information


Reply to: