unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Making mtxrun work with ConTeXt.
@ 2020-10-19  1:43 Jacob MacDonald
  2020-10-19 21:28 ` Jacob MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob MacDonald @ 2020-10-19  1:43 UTC (permalink / raw)
  To: help-guix

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
correct.

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
~/.texlive2019/

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.

Thanks,

Jacob.

Thread in question:
https://lists.gnu.org/archive/html/help-guix/2019-08/msg00020.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Making mtxrun work with ConTeXt.
  2020-10-19  1:43 Making mtxrun work with ConTeXt Jacob MacDonald
@ 2020-10-19 21:28 ` Jacob MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob MacDonald @ 2020-10-19 21:28 UTC (permalink / raw)
  To: help-guix

Quick followup to this:

Today I pulled down a year-old version of Guix to get an old version
of Git to test a bug I was experiencing in Git. Upon updating my Guix
to a current version again, mtxrun started failing after trying to
navigate through the Git 2.20.1 tree in the store. It succeeded after
I cleaned up the generation with Git 2.20 and gced my store, but the
database generation seems to involve the Guix store in a strange way.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-19 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  1:43 Making mtxrun work with ConTeXt Jacob MacDonald
2020-10-19 21:28 ` Jacob MacDonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).