[tex-live] TeXLive (Windows) bash script -> exe
Leo Liu
leoliu.pku at gmail.com
Mon May 19 16:02:27 CEST 2014
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
More information about the tex-live
mailing list