https://bugzilla.novell.com/show_bug.cgi?id=426392
User burnus@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=426392#c17
Tobias Burnus
Q: Why the kpathesea lib isn't used?
Frankly, I don't know; in principle it does not matter whether KPSE or some different technique is used. (I don't know whether "luatex" itself uses KPSE or not). The problem here seems to be that "luatex" itself has the search parth for texmfcnf.lua / texmf.cnf compiled in, but luatools is not compiled - after the config file has been found, everything should work fine, including using the "ls-R" files. Regarding KPSE: One can also use something like the following: + -- First try to find the config files with KPSE + kpse.set_program_name('luatex') + local kpse_result1 = kpse.find_file(input.luaname,'cnf',true) + local kpse_result2 = kpse.find_file(input.cnfname,'cnf') + if kpse_result1 or kpse_result2 then + if kpse_result1 then + table.insert(instance.luafiles,kpse_result1) + end + if kpse_result2 then + table.insert(instance.cnffiles,kpse_result2) + end + end I try to figure out with Hans Hagen which is the (for him) acceptable way of fixing this; I'm fine with either the "/bin" hack or with the KPSE solution above or with doing posix.readlink. However, the KPSE solution seems to be the cleanest to me - especially as it will work as expected if one simply adds $HOME/texmf/web2c/texmf.cnf. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.