texmfcnf.lua is broken for ConTeXt.

amano.kenji amano.kenji at proton.me
Tue Aug 16 15:03:43 CEST 2022


After reading /usr/share/texmf-dist/web2c/texmf.cnf, I concluded that texmfcnf.lua should set TEXMFSYSVAR="selfautoparent:/var/lib/texmf", TEXMFSYSCONFIG="selfautoparent:/etc/texmf", TEXMFDIST="selfautodir:share/texmf-dist".

If people who use TexLive installer has no problem with texmf.cnf using the above values for TEXMFSYSVAR, TEXMFSYSCONFIG, and TEXMFDIST, then they wouldn't have a problem with texmfcnf.lua having those same values, either.

Arch Linux texlive-core's texmfcnf.lua sets TEXMFOS="selfautodir:share", but I don't know whether TEXMFOS="selfautodir:share" is necessary.

------- Original Message -------
On Tuesday, August 16th, 2022 at 12:55 PM, Norbert Preining <norbert at preining.info> wrote:


> On Tue, 16 Aug 2022, TeX Live Mailing List wrote:
>
> > Is there any documentation on the variables used in texmfcnf.lua?
>
>
> They are very similar to the kpathsea texmf.cnf variables, so
> the texinfo documentation of kpathsea should help.
>
> > Can there be any separate system-wide override file that can override certain variables in /usr/share/texmf-dist/web2c/texmfcnf.lua?
>
>
> Unfortunately not as far as I can remember. For Debian I always patched
> the values we need to have set into texmfcnf.lua. Other distributions
> might have forgotten that, though.
>
> It is a pity that texmfcnf.lua does not support layered configuration,
> similar to updmap, fmtutil, and even texmf.cnf ...
>
> Best
>
> Norbert
>
> --
> PREINING Norbert https://www.preining.info
> Mercari Inc. + IFMGA Guide + TU Wien + TeX Live
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the tex-live mailing list.