Lua files as examples

Karl Berry karl at
Thu Jul 25 22:54:23 CEST 2019

    But they also have to be *found* as Lua modules from the manual,
    respectively its luaformattersmanual.sty.

I don't know what that means. "Lua modules from the manual"?

Are you saying those .lua files need to be found by any documents using
your package, or are they specifically for your manual?

Generally there is no need for the TL import script, let alone users, to
rerun your manual, since you will (presumably) provide a preformatted

Anyway, the answer is that the doc tree is not searched for .lua files
(or .sty or anything else). However, it is true that the current
directory is always searched, so if luatex is being run in the directory
with the .tex, a sibling .lua (and .sty and so forth) will be found. -k

More information about the tex-live mailing list