[luatex] lua scripts

Bob Tennent rdt at cs.queensu.ca
Wed Apr 20 18:20:25 CEST 2011


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

But not if the user has MikTeX.  

Lua scripts seem to fall between the executable PATH and the kpse
system.  Why shouldn't lua scripts be treated as data for texlua?

Bob T.


More information about the luatex mailing list