[tex-live] epstopdf does not propagate exit code

Heiko Oberdiek oberdiek at uni-freiburg.de
Thu Sep 24 05:46:15 CEST 2009


On Mon, Sep 14, 2009 at 05:51:02PM -0400, Ken Brown wrote:

> On 9/13/2009 9:23 PM, Reinhard Kotucha wrote:
> >On 14 September 2009 Heiko Oberdiek wrote:
> >
> > > On Mon, Sep 14, 2009 at 01:30:49AM +0200, Reinhard Kotucha wrote:
> > > 
> > >> However, I looked into pdfcrop and found:
> > >> 
> > >>    $GS = "gswin32c" if $^O =~ /cygwin/i;
> > >> 
> > >> This is wrong.  Cygwin provides its own Ghostscript which is called 
> > "gs".
> > >> I didn't check your other scripts.

thumbpdf doesn't know cygwin at all. But is there a user left?

> > > It isn't wrong. Cygwin is installed on Windows and the Windows port
> > > of ghostscript is gswin32c. Of course cygwin has its own port.
> > > Thus the code above is just a guess, which ghostscript may be available.
> > > It would be better to look for the binary to find ghostscript if
> > > only one variant is available. (Also MikTeX has its own mgs ...)

[...]

> I agree.  Texlive on cygwin consistently treats cygwin as a unix-like 
> system, and this should be no exception.

To close the issue, I have implemented a more elaborate algorithm to
find the right ghostscript. Also it checks gs first for cygwin.
  http://www.informatik.uni-freiburg.de/~oberdiek/tmp/pdfcrop-1.19.zip
CTAN update is on its way.

Please try and test on other systems. Option --debug might be
useful for testing.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


More information about the tex-live mailing list