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

Reinhard Kotucha reinhard.kotucha at web.de
Sun Apr 24 23:09:11 CEST 2016


On 2016-04-24 at 22:08:13 +0200, Heiko Oberdiek wrote:

 > On 24.04.2016 07:46, Uwe Siart wrote:
 > 
 > > This is what pdfcrop --debug spits out:
 > >
 > > d:\user\coupling-structure-letter\figures>pdfcrop --debug s-params.pdf
 > > PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
 > 
 > > * Found (gswin32c): C:\programme\texlive\2016\tlpkg\tlgs\bin\gswin32c.exe
 > > * Autodetected ghostscript command: gswin32c
 > > * Input file: s-params.pdf
 > 
 > > * Running ghostscript for BoundingBox calculation ...
 > > * Ghostscript call: gswin32c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf
 > > * Cleanup
 > > * Temporary files: tmp-pdfcrop-792.tex
 > > !!! Error: Ghostscript exited with error code 5!
 > 
 > What happens, if you run ghostscript manually?
 > 
 >      gswin32c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf

... and maybe with -f /path/to/s-params.pdf

However, shouldn't the argument of -f be quoted in order to allow
spaces in file or directory names?

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the tex-live mailing list