Re: texworks crashes with a context mkiv example
Bruno Voisin <[email protected]> Sun, 15 Mar 2026 19:48:34 +0100
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
> On 15 Mar 2026, at 19:32, Bruno Voisin <[email protected]> wrote: > > % mtxrun --locate mtx-context.lua > > Namely, blank line of output for the latter: mtxrun doesn't find mtx-context.lua in TL 2026. I tried adding --usekpse or --forcekpse, no luck, mtx-context.lua still isn't found. This was a matter of running "mtxrun --generate". After that, mtx-context.lua is found: % mtxrun --locate mtx-context.lua /usr/local/texlive/2026/texmf-dist/scripts/context/lua/mtx-context.lua But even then, processing the example file with mkiv doesn't work: % context --luatex --autogenerate example.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket "/Library/TeX/texbin/mtxrun.lua" --script mtx-context --luatex --autogenerate example.tex --redirected mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Using lmtx, things don't work either, but for a different reason: % context --autogenerate example.tex mtx-context | warning: no format found, forcing remake (commandline driven) [...] resolvers | formats | resolvers | formats | binary path : /usr/local/texlive/2026/bin/universal-darwin resolvers | formats | format path : /Users/brunovoisin/Library/texlive/2026/texmf-var/luametatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luametatex resolvers | formats | luatex engine : luametatex resolvers | formats | lua startup file : /usr/local/texlive/2026/texmf-dist/tex/context/base/mkxl/luat-cod.lmt resolvers | formats | context file : /usr/local/texlive/2026/texmf-dist/tex/context/base/mkxl/cont-en.mkxl resolvers | formats | run time : 0.539 seconds resolvers | formats | return value : okay resolvers | formats | mtx-context | error, no format found with name: cont-en, aborting system | total runtime: 7.131 seconds of 7.269 seconds I imagine some ConTeXt initialization needed to be performed after installing TL 2026, and wasn't. This said, I'm no ConTeXt user, so maybe I'm completely off-track and I'm not doing things the way they should be. Bruno Voisin