[tex-live] lua path

Reinhard Kotucha reinhard.kotucha at web.de
Tue Dec 10 23:49:54 CET 2013


On 2013-12-09 at 21:50:26 -0500, Bob Tennent wrote:

 > 
 > What I'm doing is very simple:
 > 
 >   require("something")
 > 
 > in a lua script. I want the something.lua module to install in a
 > texmf tree. Where should it go? I tried putting it into the same
 > directory as the lua script itself under scripts and texlua doesn't
 > find it when it interprets the script. The output doesn't suggest
 > that any texmf trees are on the search path.

Did you declare the module as a module?  I doubt that require() loads
arbitrary .lua files.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tex-live mailing list