[NTG-context] issues with current latest

Max Chernoff mseven at telus.net
Sat Oct 15 00:33:12 CEST 2022

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 at 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

   $ mtxrun --generate
   $ context --make
   $ 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.
   :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
Not sure what else to try.

-- Max

More information about the ntg-context mailing list