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

Zdenek Wagner zdenek.wagner at gmail.com
Mon May 19 16:50:36 CEST 2014


If you decide to have a shell script + windows batch, you must have two
scripts and keep them in sync. Perl is good but tlperl is not a complete
implementation, it is not guaranteed to support everything. \write18 may be
disabled by some users for security reasons or only a selected group of
scripts may be allowed. Thus luatex is the best choice for many reasons.
Lua code may be a part of your latex package or you can offer standalone
lua code nad a latex package without lua.


2014-05-19 16:02 GMT+02:00 Leo Liu <leoliu.pku at gmail.com>:

> If a windows batch file is not powerful enough or difficult to write, I
> guess
> it is better to write a perl script so that Windows users can use tlperl
> to run that script, no dependencies are needed then.
>
> Leo
>
> -----Original Message-----
> From: tex-live [mailto:tex-live-bounces at tug.org] On Behalf Of Josef Kleber
> Sent: Monday, May 19, 2014 9:39 PM
> To: TeX Live
> Subject: [tex-live] TeXLive (Windows) bash script -> exe
>
> Hi,
>
> i wrote a bash script osmimage
> (http://jklatex.square7.de/download/osmimage), which downloads an
> OpenStreetMap specified by options.
>
> Furthermore, i plan to write a LaTeX package, which uses this script via
> \write18 (see:
> http://tex.stackexchange.com/questions/178883/write18-encoding).
>
> The Windows version of TeXLive can not execute bash scripts as such. But
> i know you can provide a xxx.exe which executes the bash script xxx, as
> my installfont-tl.
> Is it enough to kindly ask that you create such an exe or is there
> something i can do?
> The script is not very fancy: command line options -> set defaults ->
> some checks -> construct URL -> wget
>
> Without the exe the only possibility to make it run on Windows is to
> install not just Cygwin but also its TeXLive package. The Windows
> version executes \write18 in cmd.exe! So you end up having two TeX
> distributions installed. Very, very ugly from a user's point of view.
>
> Josef
>
>
>
>


-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20140519/05207180/attachment.html>


More information about the tex-live mailing list