[tex-live] Location of Lua files

Ulrike Fischer news3 at nililand.de
Sun Jul 10 18:26:52 CEST 2011

Am Sun, 10 Jul 2011 11:49:56 +0100 schrieb Robin Fairbairns:

>>> I agree. Like you I think that lua-files connected with an exe (like
>>> mkluatexfontdb.lua) should go to /scripts, while the .lua files used
>>> as "normal" inputs by packages should go to /tex like fontspec.lua
>>> or the input files of luaotfload.
>> That also matches what context does. The one thing that is not clear
>> yet is where 'modules' should go: lua toolkit stuff that can be used
>> both for typesetting and for scripts.
>>> But I don't think that there is a policy. The files are put where
>>> the package authors suggest.
> it would be good to know what kpathsea implements; i'm doing a final
> wrap-up of a release of the faq, and that doesn't mention scripts of any
> sort in its discussion of the use of the tds.  i can remedy the
> omission, but it would be nice to have a "proper" ruling to report.

Well I don't know all details but I think that "real" scripts
(batch-files, perl-files, lua-files connected with an exe in the
miktex/bin folder) don't rely on something like kpathsea in miktex.
Miktex has a scripts.ini (which is signed and can't be change by
users) which points to a specific subfolder in a texmf tree:


The script must be in this folder in one of the texmf-trees. 

Ulrike Fischer 

More information about the tex-live mailing list