[NTG-context] issues with current latest
Hans Hagen
j.hagen at freedom.nl
Sat Oct 15 09:34:13 CEST 2022
On 10/15/2022 12:46 AM, Max Chernoff via ntg-context wrote:
> On Fri, 2022-10-14 at 16:38 -0600, Alan Braslau wrote:
>> On Fri, 14 Oct 2022 16:33:12 -0600
>> Max Chernoff <mseven at telus.net> wrote:
>>
>>> Do you know how to rebuild the format? I've tried the following to no
>>> avail:
>>>
>>> --script mtx-context
>>
>> I believe that you have to give the full script path here to mtxrun
>
> Thanks! Running:
>
> luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script /opt/context/tex/texmf-context/scripts/context/lua/mtx-context.lua --luatex --make --redirected
>
> has fixed the format issue.
>
> I now unfortunately have a new issue (probably for Hans or Mikael).
> Running:
>
> context --luatex empty.tex
>
> where "empty.tex" is:
>
> \starttext
> \null
> \stoptext
>
> gives me this output:
>
> mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex empty.tex --redirected
>
> resolvers | formats | executing runner 'run luatex format': /opt/context/tex/texmf-linux-64/bin/luatex --jobname="empty" --fmt=/home/max/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt --lua=/home/max/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:engine="luatex" --c:fulljobname="./empty.tex" --c:input="./empty.tex" --c:kindofrun=1 --c:luatex --c:maxnofruns=9 --c:redirected --c:texmfbinpath="/opt/context/tex/texmf-linux-64/bin"
> This is LuaTeX, Version 1.15.1 (TeX Live 2023/dev)
> system commands enabled.
> open source > level 1, order 1, name '/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
> job > passes > version mismatch: 1.33 <> 1.32
> system >
> system > ConTeXt ver: 2022.10.14 10:16 MKIV fmt: 2022.10.14 int: english/english
> system >
> system > 'cont-new.mkiv' loaded
> open source > level 2, order 2, name '/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
> system > beware: some patches loaded from cont-new.mkiv
> close source > level 2, order 2, name '/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
> system > files > jobname 'empty', input './empty', result 'empty'
> fonts > latin modern fonts are not preloaded
> languages > language 'en' is active
> open source > level 2, order 3, name '/home/max/Projects/lua-widow-control/nogit-testing/empty.tex'
> fonts > preloading latin modern fonts (second stage)
>
> lua error > lua error on line 1 in file /home/max/Projects/lua-widow-control/nogit-testing/empty.tex:
>
> ...tex/texmf-context/tex/context/fonts/mkiv/common-math.lfg:100: attempt to index a nil value (field 'subsets')
> stack traceback:
> ...tex/texmf-context/tex/context/fonts/mkiv/common-math.lfg:100: in field 'moveitalics'
> .../context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg:103: in main chunk
> [C]: in function 'dofile'
> ...ext/tex/texmf-context/tex/context/base/mkiv/good-ini.lua:78: in function <...ext/tex/texmf-context/tex/context/base/mkiv/good-ini.lua:68>
> (...tail calls...)
>
> 1 >> \starttext
> 2 \null
> 3 \stoptext
> 4
>
> mtx-context | fatal error: return code: 256
>
> The same file compiles just fine with LMTX.
i'll add a dummy subtable in math-act.lua:
local tweaks = { subsets = { } }
mathematics.tweaks = tweaks
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list