Tobias Burnus wrote:
Tobias Burnus wrote:
c) Werner asks: Why is the KPSE library not used?
I have a scenario which fails with the current mechanism - even if following the sym links worked. Assume that a user only puts a texmf.cnf under "$HOME/texmf/web2c/texmf.cnf". That file will be used by "luatex", "pdftex" etc. but "luatools" will still resolve /usr/share/texmf/.../luatools.lua if it follows $SELF.
well, users can always force a file if there is logic we can try to follow it, if there is hard coded behaviour, well, we can forget about it; also, keep in mind that luatools collapses all cnf files that it uses (it does use more if specified) into one file in the cache, so any change to a cnf must be followed by luatools --generate
Thus I'm in growingly in favour of using KPSE (just) for finding "texmf.cnf" and "texmfcnf.lua"; for all other purposes including seaching files whatever other method can be used.
no option Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------