[NTG-context] luatools not finding files in TL 2010

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon May 31 19:26:21 CEST 2010

On Mon, May 31, 2010 at 19:19, Aditya Mahajan <adityam at umich.edu> wrote:
> On Mon, 31 May 2010, Mojca Miklavec wrote:
>> On Mon, May 31, 2010 at 19:08, Aditya Mahajan wrote:
>>> Did you run luatools --generate? What is the value of $TEXMFCACHE? Is it
>>> writable by the user?
>> Yes, I did. The cache is written to
>> ~/.texlive2010/texmf-var/luatex-cache/.
>> It seems that only *.lua files in base folder aren't found with
>> luatools (and maybe some others?) The lua files in
>> scripts/context/lua/ are found without a problem.
> Isn't there a variable for that? $LUASCRIPTS or $LUAINPUTS

LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXINPUTS

with TEXINPUTS being an extremely long & complicated list that maybe
luatools fails to interpret in the same way as kpathsea:

[many many lines]
TEXINPUTS.context       = .;$TEXMF/tex/{context,plain,generic,}//
% Earlier entries override later ones, so put this generic one last.
TEXINPUTS               = .;$TEXMF/tex/{$progname,generic,}//


More information about the ntg-context mailing list