On Mon, 17 Dec 2007, Aditya Mahajan wrote: Things in windows and linux are different!
Why did luatools decide not to scan my user texmf trees?
luatools only scans trees with a ls-R database. For some reason mktexlsr only generates ls-R in /usr/local/share/texmf and /var/lib/texmf/ I was running mktexlsr without root permissions (thinking that ls-R will be only regenerated in TEXMFHOME. I was wrong).
Since the new files are located at /home/adityam/texmf and this tree is not scanned, format generation does not work.
I changed {texilve,tetex} to just texlive in texmf.cnf, but even now the format generating is not ok. Now I get, LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/share/texmf/tex/context/base LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua l-boolean.lua l-number.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/share/texmf/tex/context/base/cont-en.tex" \\dump This is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) (INITEX) (/usr/share/texmf/tex/context/base/cont-en.tex (/home/adityam/texmf/tex/context/base/context.tex (/home/adityam/texmf/tex/context/base/syst-pln.tex) (/home/adityam/texmf/tex/context/base/syst-prm.tex) (/home/adityam/texmf/tex/context/base/luat-env.tex ! LuaTeX error [string "luas[0]"]:1: attempt to index global 'input' (a nil val ue). <argument> ...mf.instance,"luat-env.lua","tex")) } \startruntimeluacode ...everyloadluacode #1}\fi #1 This is not surprising since it is using /usr/share/texmf/tex/context/base/cont-en.tex and not /home/adityam/texmf/tex/context/base/cont-en.tex luatools cont-en.tex gives /usr/share/texmf/tex/context/base/cont-en.tex so something went wrong with luatools --generate. Since kpsewhich cont-en.tex gives the correct file while luatools cont-en.tex gives the incorrect file, is this a bug with the inbuild search engine in luatools, or is there something wrong in my configuration? Aditya