Tobias Burnus wrote:
Hans,
Hans Hagen wrote:
what files are looked for depends also on env settings; but anyhow, at some point mkiv/luatex might drop the cnf file
I think some kind of cnf file will still be necessary to tell TeX where to look for files, though with reasonable defaults, the file would only be created (by the user) if needed.
/etc/texmf:/etc/texmf/web2c:/var/lib/texmf/web2c:{~/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf}/web2c
hm, where is that set? hard coded in the binary?
Yes, though the exact value depends on the distribution. In openSUSE, if I found the correct variable, it is
WEB2C = ${TEXMFHOME}/web2c;${TEXMFSYSCONFIG}/web2c;${TEXMFSYSVAR}/web2c;$TEXMF/web2c
How about keeping the current searching algorithm (of the luatools.lua you have sent me) plus look additionally in $HOME/texmf/web2c/ ? I think this is the only reasonable other place. The $HOME/texmf should have higher precedence to allow the user to overwrite the system defaults. (That seems to be in line with all teTeX/TeX Live distributions on Linux, which I know.)
well, i remember these kind of exploding path definitions in tetex with about every permutation of local,share,opt,sys,... no fun
(Another possibility would be to access the stored strings in "texlua" and use that search path; I don't know whether this is possible.)
could be an option (given that it is exposed) 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 -----------------------------------------------------------------