[tex-live] [pretest] pdfcrop crashes when called from certain directory

Zdenek Wagner zdenek.wagner at gmail.com
Tue Apr 26 08:35:18 CEST 2016

Hi all,

the syntax of ghostscript invocation does not change so the MS-DOS batch
files most probably work. However, the MS-DOS subsystem has a lot of
limitations, does not understand long file names, does not understand
special characters in the file names (you have to guess what is the alias
name known by the subsystem), command line length is limitted. As a result,
in many situations these batch files are nowadays unusable.

Zdeněk Wagner

2016-04-26 1:50 GMT+02:00 Reinhard Kotucha <reinhard.kotucha at web.de>:

> On 2016-04-25 at 17:47:45 +0200, Uwe Siart wrote:
>  > In addition to gs in TeXLive I have a separate installation of
>  > Ghostscript. Now I removed this one from my path and the crash is
>  > gone.
>  >
>  > Obviously it makes a difference which ps2pdf is called, although
>  > both gs are version 9.19.
> If you are using an external Ghostscript, ps2pdf is certainly an
> MS-DOS batch file, but for the Ghostscript installation shipped with
> TeX Live I replaced all these batch files by Lua scripts.
> To be more precise, I did't look at the MS-DOS batch files at all,
> I actually ported the Unix shell scripts to Lua.
> Maybe the MS-DOS batch file provided by the external Ghostscript is
> the culprit.  All these batch files are quite old and probably not
> maintained for decades.
> For TeX Live I ported them to Lua because I don't have Windows but the
> Lua scripts are completely platform-independent.
> Regards,
>   Reinhard
> --
> ------------------------------------------------------------------
> Reinhard Kotucha                            Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                    mailto:reinhard.kotucha at web.de
> ------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160426/e8eef8b3/attachment-0001.html>

More information about the tex-live mailing list