[luatex] [EXT] Re: Accessing external Lua libraries

Philip Taylor P.Taylor at Rhul.Ac.Uk
Wed Mar 24 22:50:25 CET 2021

Andreas Matthias wrote:

Setting LUAINPUTS and CLUAINPUTS in texmf.cnf is not enough
to load _all_ kind of modules/libraries. It suffice[s] to
load files like 'foobar.lua' or 'foobar.so'. But to load files
like 'foobar/init.lua' one needs luapackageloader.

For the benefit of those (such as myself) who are less familiar with Lua conventions than yourself, Andreas, could you explain which of the two possible criteria is the crucial one ?  Is it (a) that the file lives in a sub-directory such as "foobar", or (b) that the file is called "init.lua" and not (e.g.,) "foobar.lua" ?  Or I suppose (c), both of the preceding.
Philip Taylor

This email, its contents and any attachments are intended solely for the addressee and may contain confidential information. In certain circumstances, it may also be subject to legal privilege. Any unauthorised use, disclosure, or copying is not permitted. If you have received this email in error, please notify us and immediately and permanently delete it. Any views or opinions expressed in personal emails are solely those of the author and do not necessarily represent those of Royal Holloway, University of London. It is your responsibility to ensure that this email and any attachments are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20210324/e0426eb3/attachment-0001.html>

More information about the luatex mailing list.