texmfcnf.lua is broken for ConTeXt.

Zdenek Wagner zdenek.wagner at gmail.com
Fri Aug 19 20:59:39 CEST 2022


čt 18. 8. 2022 v 16:00 odesílatel amano.kenji via tex-live
<tex-live at tug.org> napsal:
>
> 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 "/"?
>
Certainly not, . is the current working directory while / is the root
directory of the file system

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml


> ------- Original Message -------
> On Thursday, August 18th, 2022 at 12:25 PM, Norbert Preining <norbert at preining.info> wrote:
>
>
> > > I meant doing it in texmfcnf.lua.
> >
> >
> > Ah, ok. I don't know whether this would work. And it is up to the
> > ConTeXt developers not us.
> >
> > 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.