Hi, I just fixed some nasty bugs in texlua wrappers for ppower4 and pdfthumb which are under texmf-dist/scripts in TeX Live. There are no problems on Windows: When I type "ppower4 --help", I get PPower4 [-v|-n|-h|-V|--verbose=<n>|--nocompress|--help|--version] infile outfile On Unix, however, I get a warning message: warning: kpathsea: configuration file texmf.cnf not found in these directories: [...] Here is [...] with colons replaced my linebraeks: /usr/local/texlive/2009/texmf-dist/scripts/ppower4 /usr/local/texlive/2009/texmf-dist/scripts /usr/local/texlive/2009/texmf-dist /usr/local/texlive/2009/texmf-dist/scripts/ppower4/share/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/scripts/share/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/share/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/scripts/ppower4/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/scripts/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/texmf-local/web2c /usr/local/texlive/2009/texmf-dist/scripts/ppower4/share/texmf/web2c /usr/local/texlive/2009/texmf-dist/scripts/share/texmf/web2c /usr/local/texlive/2009/texmf-dist/share/texmf/web2c /usr/local/texlive/2009/texmf-dist/scripts/ppower4/texmf/web2c /usr/local/texlive/2009/texmf-dist/scripts/texmf/web2c /usr/local/texlive/2009/texmf-dist/texmf/web2c ...and pp4p.jar is obviously not found, Java then prints its own usage message. It seems that texmf.cnf is searched in texmf-dist only, but how can this happen? Strange enough, everything works fine on Windows. I can strip down the texlua script: ------------------------------------------------------------------ #!/usr/bin/env texlua if os.type == 'windows' then kpse.set_program_name('ppower4.exe', 'ppower4') else kpse.set_program_name('ppower4') end jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') print (jarfile) ------------------------------------------------------------------ On Windows it returns /path/to/pp4p.jar, on Unix it returns "nil". The command kpsewhich -format=texmfscripts pp4p.jar returns the correct path on both, Unix and Windows. Hence, I think it's a LuaTeX problem. I don't think that fixing this problem is urgent. It's definitely not worthwhile to delay a TeX Live release. Karl, I can provide a simple solution for the time being: Because what we have in TeX Live already works as expected on Windows, we only need a solution for Unix. I could simply copy the shell scripts we had in TeX Live 2005 to texmf-dist/scripts/ppower4 and adapt the symlinks accordingly. Then everything works on all platforms. What do you think? Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------