Hi Alan, On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote: > On Fri, 14 Oct 2022 15:38:52 -0600 > Max Chernoff via ntg-context <ntg-context@ntg.nl> wrote: > > > $ context --luatex test.tex > mtx-context | redirect luametatex -> luatex: luatex --luaonly > "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context > --luatex test.tex --redirected > mtxrun | unknown script 'mtx-context.lua' or > 'mtx-mtx-context.lua' > > This happens when the luatex cache is cleared and the context format is not > rebuilt properly.
Do you know how to rebuild the format? I've tried the following to no avail: $ mtxrun --generate [snip] $ context --make [snip] $ context --luatex --make mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex --make --redirected mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' $ TEXINPUTS="$(dirname $(mtxrun --findfile 'cont-en.mkiv' | head -1))" luatex -ini cont-en.mkiv warning: /opt/context/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =. This is LuaTeX, Version 1.15.1 (TeX Live 2023/dev) (INITEX) system commands enabled. (/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv (/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv) (/opt/context/tex/texmf-context/tex/context/base/mkiv/norm-ctx.mkiv) (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-pln.mkiv) (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-mes.mkiv) (/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.mkiv[\directlua] :1: attempt to call a nil value (field 'registercode') stack traceback: [\directlua]:1: in main chunk. \registerctxluafile ...ua.registercode("#1","#2")} l.73 \registerctxluafile{luat-cod}{} ? x 181 words of node memory still in use: 1 dir, 22 glue_spec nodes avail lists: 2:3 No pages of output. Transcript written on cont-en.log. $ fmtutil --all bash: fmtutil: command not found... $ context --make cont-en.mkiv [snip] Not sure what else to try. Thanks, -- Max ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________