Taco Hoekwater wrote:
> Michael Green wrote:
>> I'm getting the following error when running this command: luatools --
>> ini --verbose --compile cont-en
>>
>> LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/
>> local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex" \\dump
>> This is LuaTeX, Version snapshot-0.25.2-2008041101 (Web2C 7.5.6)
>> (INITEX)
>> (/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex
>> (/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex
>> (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-pln.tex)
>> (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-prm.tex)
>> (/usr/local/texlive/2007/../texmf-local/tex/context/base/luat-env.tex
>> ! LuaTeX error [string "luas[0]"]:1: attempt to call field
>> 'luafilechunk' (a nil value).
>
> The environment.luafilechunk is defined in luat-env.lua, that should
> have been loaded at this point ( a bit earlier in luat-env.tex ).
>
> I think either
>
> /usr/local/texlive/texmf-local/tex/context/base/luat-env.tex
>
> is not the one from the latest context distribution, or an extra
> luatools --generate command is needed.
>
> You can check the \contextversion by looking at
>
> /usr/local/texlive/texmf-local/tex/context/base/context.tex
>
> around line 45, it should say
>
> \edef\contextversion{2008.04.11 14:48}
>
>
> There can be some more esoteric causes, but these are the two most
> likely ones.
in previou sversions the env was loaded runtime (this behaviour
originated in the stepwise development of embedding bytecodes in the
format, in the beginning all chunks were loaded at runtime); i managed
to get rid of that; in addition to taco's suggestions ... so it could be
that old code and new code is mixed.
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________