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.

Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to