[tex-live] Location of Lua files

Karl Berry karl at freefriends.org
Mon Jul 11 00:48:38 CEST 2011


    it would be good to know what kpathsea implements; 

What kpse implements (in kpathsea/tex-file.c) is searching along the
path/envvar named LUAINPUTS in the standard way, with numerous suffixes:
.lua  .luatex  .luc  .luctex  .texlua  .texluc  .tlu

And the default path for LUAINPUTS (in texmf.cnf) is:
LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXINPUTS

With that path, it is immaterial whether a .lua is under tex/ or scripts/.

    > lua-files connected with an exe

I have no desire to think about such a distinction (or, in general,
deeply look at packages when I install/update them), when it makes no
practical difference.  Whichever an author wants is ok with me.  In the
absence of an expressed preference or a .tds.zip, it will probably end
up in scripts/, but I don't consider it a policy, or that any policy is
needed.

Best,
k


More information about the tex-live mailing list