[tex-live] lua path

Arthur Reutenauer arthur.reutenauer at normalesup.org
Tue Dec 10 12:00:40 CET 2013


> 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.

  For me, it's enough to say

	kpse.set_program_name('luatex')

before require'ing a Lua file that is in one of my texmf trees, for it
to be found by TeXLua.  (And I'm still not able to make kpse.find_file
work, but that's probably not necessary.)
  
	Arthur


More information about the tex-live mailing list