Using TexLive 2021, I got the error below. How to fix it? What input file should one give? % context math_style.tex resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" --fmt=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin" This is LuaTeX, Version 1.13.2 (TeX Live 2021) system commands enabled. ** Please type the name of your input file. **
On 5/23/2021 9:28 PM, Hans Åberg wrote:
Using TexLive 2021, I got the error below. How to fix it? What input file should one give?
% context math_style.tex
resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" --fmt=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin" This is LuaTeX, Version 1.13.2 (TeX Live 2021) system commands enabled. ** Please type the name of your input file. ** So this is not lmtx (which also has luatex) but the regular installation right?
Does that file have \starttext ... \stoptext ? There is something missing: ..cont-en.lui cont-yes.mkiv --c:currentrun=1 in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx we don't pass that one (not needed as we start up a bit different) 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 -----------------------------------------------------------------
On 23 May 2021, at 23:41, Hans Hagen
wrote: On 5/23/2021 9:28 PM, Hans Åberg wrote:
Using TexLive 2021, I got the error below. How to fix it? What input file should one give? % context math_style.tex resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" --fmt=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin" This is LuaTeX, Version 1.13.2 (TeX Live 2021) system commands enabled. ** Please type the name of your input file. ** So this is not lmtx (which also has luatex) but the regular installation right?
% context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/local/texlive/2021/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2021.03.05 19:11 mtx-context | main context file: /usr/local/texlive/2021/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.03.05 19:11 % which context /usr/local/texlive/2021/bin/universal-darwin/context
Does that file have \starttext ... \stoptext ?
Yes, the example from another thread on math style. \starttext \m{f = \beta} \stoptext
There is something missing:
..cont-en.lui cont-yes.mkiv --c:currentrun=1
in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx we don't pass that one (not needed as we start up a bit different)
Should one use anything else than just 'context'?
On 23 May 2021, at 23:41, Hans Hagen
wrote: So this is not lmtx (which also has luatex) but the regular installation right?
It works with mtxrun math_style.tex but not context math_style.tex where the file math_style.tex only contains \starttext \m{f = \beta} \stoptext It does not help with context --generate.
On 23 May 2021, at 23:41, Hans Hagen
wrote: So this is not lmtx (which also has luatex) but the regular installation right?
The error occurs when there is a newline before the \starttext, as in the attachment. Remove the initial newline, and it compiles with context line_bug.tex A workaround is to give the name of the file at the prompt '**', but one will get another such prompt after the compile.
participants (2)
-
Hans Hagen
-
Hans Åberg