Improvements to path resolution in tlmgr and other scripts using kpathsea

Daniel Nachun daniel.nachun at gmail.com
Fri Oct 1 00:59:14 CEST 2021


Hi Karl,

We have tested these changes in our build of TeXLIve for Homebrew and it works with everything we've tried so far.  That's a good point that texmf.cnf does have to be found by kpsewhich, and in our case it found it with no issues.   The relative path for us from kpsewhich to texmf.cnf is ../share/texmf-dist/web2c, which is similar to what is used for most distro builds.

Daniel

On 9/30/21, 14:40, "Karl Berry" <karl at freefriends.org> wrote:

    I trust you've actually tried these changes from SELFAUTOPARENT to
    TEXMFROOT? They look ok to me, but SELFAUTOPARENT gets defined within
    the kpsewhich/kpathsea code, while TEXMFROOT requires the texmf.cnf file.

    Presumably you have kpsewhich set up in such a way that it can find
    texmf.cnf (from its myriad builtin places to check), and then it should
    all be fine, but ... something to be aware of. Sorry if already known.

    At any rate, I don't think the changes will make any difference for native TL.
    Norbert, feel free to apply when ready, or I can. --thanks, karl.





More information about the tex-live mailing list.