Re: [NTG-context] Welcome to LMTX
On Tue, Apr 02, 2019 at 01:38:15PM +0200, Hans Hagen wrote:
"ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following:
lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 context -> luametatex -rw-r--r-- 1 sam sam 1315 Apr 2 09:15 context.lua -rwxr--r-- 1 sam sam 2798240 Apr 2 09:15 luametatex lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 mtxrun -> luametatex -rw-r--r-- 1 sam sam 684787 Apr 2 09:15 mtxrun.lua
what happens if you just copy luametatex to mtxrun and context
Doing so, "ls -l /home/sam/context-lmtx/tex/texmf-linux-64/bin" now shows: -rwxr--r-- 1 sam sam 2798240 Apr 2 14:23 context -rw-r--r-- 1 sam sam 1315 Apr 2 09:15 context.lua -rwxr--r-- 1 sam sam 2798240 Apr 2 09:15 luametatex -rwxr--r-- 1 sam sam 2798240 Apr 2 14:23 mtxrun -rw-r--r-- 1 sam sam 684787 Apr 2 09:15 mtxrun.lua You can see, that "context" and "mtxrun" both have the same length (2798240). "/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex" still gives: ---------------- mtx-context | run 1: luametatex --fmt="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en" --jobname="ABCD-Helmstedt-Lauf" --lua="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui" --c:autopdf --c:currentrun=1 --c:fulljobname="./ABCD-Helmstedt-Lauf.tex" --c:input="./ABCD-Helmstedt-Lauf.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/sam/context-lmtx/tex/texmf-linux-64/bin" "cont-yes.mkiv" sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512 ----------------- and "context ABCD-Helmstedt-Lauf.tex" runs the old mkiv context. That is ok. Rudolf
On 4/2/2019 2:42 PM, Rudolf Bahr wrote:
On Tue, Apr 02, 2019 at 01:38:15PM +0200, Hans Hagen wrote:
"ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following:
lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 context -> luametatex -rw-r--r-- 1 sam sam 1315 Apr 2 09:15 context.lua -rwxr--r-- 1 sam sam 2798240 Apr 2 09:15 luametatex lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 mtxrun -> luametatex -rw-r--r-- 1 sam sam 684787 Apr 2 09:15 mtxrun.lua
what happens if you just copy luametatex to mtxrun and context
Doing so, "ls -l /home/sam/context-lmtx/tex/texmf-linux-64/bin" now shows:
-rwxr--r-- 1 sam sam 2798240 Apr 2 14:23 context -rw-r--r-- 1 sam sam 1315 Apr 2 09:15 context.lua -rwxr--r-- 1 sam sam 2798240 Apr 2 09:15 luametatex -rwxr--r-- 1 sam sam 2798240 Apr 2 14:23 mtxrun -rw-r--r-- 1 sam sam 684787 Apr 2 09:15 mtxrun.lua
You can see, that "context" and "mtxrun" both have the same length (2798240).
"/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex" still gives:
maybe mtxrun --verbose ... gives a clue
---------------- mtx-context | run 1: luametatex --fmt="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en" --jobname="ABCD-Helmstedt-Lauf" --lua="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui" --c:autopdf --c:currentrun=1 --c:fulljobname="./ABCD-Helmstedt-Lauf.tex" --c:input="./ABCD-Helmstedt-Lauf.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/sam/context-lmtx/tex/texmf-linux-64/bin" "cont-yes.mkiv"
sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512 -----------------
and "context ABCD-Helmstedt-Lauf.tex" runs the old mkiv context. That is ok.
actually not, it should run new lmtx when it's indeed the context equivalent to luametatex
Rudolf
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Rudolf Bahr