[luatex] lua scripts

Reinhard Kotucha reinhard.kotucha at web.de
Wed Apr 20 16:15:30 CEST 2011


On 2011-04-20 at 10:03:15 -0400, Bob Tennent wrote:

 > > Add the line
 > 
 >   #! /usr/bin/env texlua
 > 
 >   put them under scripts, and create a symlink in bin.
 > 
 > Yes, but what I do for Windows? I can create a bat script but
 > apparently the full path to the lua script is needed and that would
 > depend on where the user installs the latter.

cd bin\win32
copy /b runscript.exe script.exe

At least if your script is called script.lua and you have TeX Live.
These things are explained in bin\win32\runscript.tlu .

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 luatex mailing list