[NTG-context] Welcome to LMTX

Rudolf Bahr quasi at quasi.de
Tue Apr 2 11:34:08 CEST 2019

> > On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
> > >       http://www.pragma-ade.nl/install.htm
> > > 
> > /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex
> > 
> > and got:
> > 
> > sh: 1: luametatex: not found
> > mtx-context     | fatal error: return code: 32512

> Did you use the installer? I assume so. What happens if you just add
> /home/sam/context-lmtx/tex/texmf-linux-64/bin to your path?
> There is a rather fundamental difference between a regular luatex/mkiv setup
> and luametatex/lmtx:
> - in lmtx we only have one program, nothing else gets installed, there is no
> jit variant (and there will never be as we move on with lua: we use lua 5.4
> here)
> - mtxrun and context are both (on all platforms) symlinks to luametatex (can
> you check that? the installer should manage that)
> - when installing there are no dependencies on other programs so missing
> programs cannot be a reason for a failed install
> (Mojca will set up the garden and that will then be the primary source; the
> installer which is also the updater already know this.)
> Hans

Hi Hans,

thank you for your response.

Yes, I did use the installer and followed the advice under "Linux 64 bit".

After having 

export PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context/tex/texmf-linux-64/bin:$PATH" as well as

export PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context-lmtx/bin:/home/sam/context-lmtx/tex/texmf-linux-64/bin:"

in my .bashrc and not forgotten "source ~/.bashrc" ofcourse :-)

my (old) mkiv context runs well:

context ABCD-Helmstedt-Lauf.tex


/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex

fails still with

sh: 1: luametatex: not found
mtx-context     | fatal error: return code: 32512

Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and lua5.2
are installed.

whereis mtxrun gives:
mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun

whereis context gives:
context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context


More information about the ntg-context mailing list