Taco Hoekwater <taco@???> writes:
> Jesse Alama wrote:
>> I just downloaded the TeXLive 2008 developer snapshot and wanted to try
>> out LuaTeX. Unfortunately, I can't even get started:
>>
>> $ context dissertation.tex
>>
>> MtxRun | unknown script: context
>>
>> I ran luatools --generate before doing this. What's odd is that
>> mtx-context can be found:
>>
>> $ luatools mtx-context.lua
>
> We've had this before. IIRC, the problem is that mtxrun looks for
> the script using a different 'file type' from luatools. It probably
> means you will have to adjust a value in texmf.cnf.
>
> 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?
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.
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
--
Jesse Alama (alama@???)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@??? /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage :
http://www.pragma-ade.nl /
http://tex.aanhet.net
archive :
https://foundry.supelec.fr/projects/contextrev/
wiki :
http://contextgarden.net
___________________________________________________________________________________