Jesse Alama wrote:
Taco Hoekwater
writes: I have:
LUAINPUTS=.;$TEXMF/tex/{context,plain/base,generic}//:$TEXMF/scripts/context/lua TEXMFSCRIPTS=.;$TEXMF/tex/{context,plain/base,generic,}//;$TEXMF/scripts/context//
and I strongly suspect both are needed. After adjusting the value(s), you will have to rerun luatools --generate.
I modified texmf.cnf to give these variables those values, but I still get the same error, even after luatools --generate. Further suggestions?
Maybe $ env MPX_INPUT_TRACE=3 context ... will give some hint about what mtxrun is doing.
By the way, I initially modified the "local" texmf.cnf file
texlive/2008/texmf.cnf
rather than the "gloal" configuration file
texlive/2008/texmf/web2c/texmf.cnf
because the former file says that it should contain changes to the latter:
<---snip---> % If you want to configure something to a value different then the one % in texmf/web2c/texmf.cnf, just put the changed value here. <---snip--->
But I noticed that when I ran luatools --generate, it apparently ignored this "local" texmf.cnf file; it read only the "global" texmf.cnf file.
This seems to be a difference of opinion between luatools and kpathsea, (luatools should probably be adjusted to behave the same as kpathsea).
I inferred that from the output:
LuaTools | error unable to locate texmfcnf.lua LuaTools | loading /usr/local/texlive/2008/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma LuaTools | saving configuration in /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma LuaTools | compiling configuration to /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tmc ...etc.
Thus I modified the "global" configuration file instead. By the way, the variables LUAINPUTS and TEXMFSCRIPTS already had values:
LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/lua//;$TEXINPUTS TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}//
But I overwrote those to give them the values you recommended, to no avail, unfortunately.
Jesse
Best wishes, Taco