[tex-live] howto: standalone (Lua) script

Reinhard Kotucha reinhard.kotucha at web.de
Wed Apr 16 21:17:00 CEST 2014

On 2014-04-16 at 20:51:09 +0200, Stephan Hennig wrote:

 > Am 15.04.2014 21:31, schrieb Norbert Preining:
 > > and don't care for how it is run. This is something the TeX Live and
 > > MikTeX maintainers have to take care of.
 > Norber and Markus, thanks!  Won't care for the upload.
 > Still, I'm a little bit wondering if the texlua Lua interpreter should
 > search known TEXMF trees by default.  Why else is there a reference to
 > TeX in the name of the Lua interpreter?

It does.  However, it finds the TEXMF tree relative to the location of
the script.  This means that you need symlinks (Unix) and wrappers
(Windows) in bin/<platform>.

If your script is located in any other directory, add the line


and the TEXMF tree will be searched relative to the location of the
texlua binary.


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