[tex-live] TeXLive (Windows) bash script -> exe

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon May 19 19:55:33 CEST 2014

On Mon, May 19, 2014 at 4:34 PM, Josef Kleber wrote:
> My Lua skills are very basic, but i will take a look. OTOH, then the package
> usage is limited to one engine.

No, it's not.

You could write a lua *script* to be executed in *texlua* instead of
calling bash. You would simply use something like \write18{texlua
osmimage.lua ...} or \write18{osmimage ...} inside the (la)tex
document (or inside a package called by that document) and that could
be compiled with any engine of your choice.

Of course you could write the package in such a way that when compiled
with lua(la)tex it wouldn't need to call an external script at all, so
it would be more efficient and faster.

But you certainly don't need to limit yourself to luatex if you
rewrite your bash script to lua.


More information about the tex-live mailing list