texmfcnf.lua is broken for ConTeXt.

amano.kenji amano.kenji at proton.me
Sat Aug 20 13:48:00 CEST 2022


Norbert Preining pointed out that each operating system can use slightly different paths, so it's best for each operating system to have its own version of /usr/share/texmf-local/web2c/texmfcnf.lua that overrides certain variables in /usr/share/texmf-dist/web2c/texmfcnf.lua.

------- Original Message -------
On Friday, August 19th, 2022 at 6:47 PM, Reinhard Kotucha <reinhard.kotucha at gmx.de> wrote:


> On 2022-08-18 at 14:00:24 +0000, amano.kenji via tex-live wrote:
> 
> > I discovered that
> 
> > having
> 
> > return {
> 
> > content = {
> 
> > variables = {
> 
> > TEXMFSYSVAR = "selfautoparent:/var/lib/texmf",
> 
> > TEXMFDIST = "selfautodir:share/texmf-dist",
> 
> > TEXMFSYSCONFIG = "selfautoparent:/etc/texmf",
> 
> > }
> 
> > }
> 
> > }
> 
> > in /usr/share/texmf-local/web2c/texmfcnf.lua overrides those
> 
> > variables in /usr/share/texmf-dist/web2c/texmfcnf.lua
> 
> > However, `mtxrun --variables` prints
> 
> > TEXMFSYSVAR
> 
> > exp: selfautoparent:/var/lib/texmf
> 
> > res: ./var/lib/texmf
> 
> > What is "."? Does it mean the current working directory? Or, does
> 
> > it actually mean "/"?
> 
> 
> Did you ever consider to contact the author of this file? As Norbert
> already pointed out this file is not maintained by TeX Live but by the
> ConTeXt team. Even if a file shipped with TeX Live contains a bug,
> this bug has to be fixed by its author.
> 
> If the TeX Live team would modify files provided by others you can be
> assured that the modification gets lost at the next package update.
> 
> Regards,
> Reinhard
> 
> --
> ------------------------------------------------------------------
> Reinhard Kotucha Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover mailto:reinhard.kotucha at gmx.de
> ------------------------------------------------------------------



More information about the tex-live mailing list.