[tex-live] TeXLive (Windows) bash script -> exe
Reinhard Kotucha
reinhard.kotucha at web.de
Mon May 19 18:19:12 CEST 2014
On 2014-05-19 at 17:42:10 +0200, Ulrike Fischer wrote:
> Am Mon, 19 May 2014 15:59:43 +0200 schrieb Mojca Miklavec:
>
> > Yes, you can rewrite the program in lua and execute it with texlua.
>
> > If you write your script in lua, it will be guaranteed to work on all
> > operating systems.
>
> I would love to use texlua to avoid bat and sh-skripts:
> http://tex.stackexchange.com/questions/175055/how-to-adapt-a-batch-script-write18-call-to-linux-systems)
>
> But is is actually possible to change the current directory with
> lua? And if yes how?
Yes. lfs.chdir()
> And another small question: What extension should one use for such
> lua-scripts .lua or tlu?
Both are supported by kpathsea and runscript.
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 tex-live
mailing list