[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making mtxrun work with ConTeXt.

From: Jacob MacDonald
Subject: Making mtxrun work with ConTeXt.
Date: Sun, 18 Oct 2020 20:43:37 -0500

Hopefully this is a quick question, as I've found a solution for the
immediate issue and hopefully for the long term as well. I wanted to
follow up on an old thread and see if my understanding of mtxrun is

I added the whole texlive distribution to my profile, built some
documents with pdflatex, and tried to compile a template which used
ConTeXt. It failed, unable to find the context.lua script. I tracked
down the file and set my TEXMF environment variable to
$GUIX_PROFILE/share/texmf-dist. This allowed mtxrun to work, but broke
pdflatex (pdflatex.fmt not found). This seems to be because the
scripts are in texmf-dist while the format files are in texmf-var. I
found one thread on this list about a similar issue from last year,
and the incoming changes to the texlive tree. Elsewhere on the
Internet, I found the suggestion that my mtxrun file database was out
of date.

Indeed, running mtxrun --generate (after unsetting TEXMF) seems to
solve my issue, allowing me to compile both documents without tweaking
environment variables. The generator seems to dump its index into

Is this a necessary step to use texlive-context-base on Guix? Or can
it somehow be rolled into the build/install process? If the answer is
yes, I can try my hand at a patch.



Thread in question:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]