[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245667: tetex-bin: syntax error in epstopdf



merge 245667 245696
tags 245667 + patch
thanks

On 24.04.04 Olaf Hartmann (olaf.hartmann@s1998.tu-chemnitz.de) wrote:

Hi,

> The spaces-in-output-filename-patch of epstopdf seems to have a
> small flaw. A single dot is missing in /usr/bin/epstopdf at line
> 197.
> 
It seems, as if Frank has removed the dot by error. It was still
correct in tetex-bin_2.0.2-12. Thanks for the hint! Frank, this is
the patch for patch-tmp.

H. 
-- 
sigmentation fault
--- tetex-bin-2.0.2-CVS/texk/tetex/epstopdf.orig	Mon Apr  5 18:01:36 2004
+++ tetex-bin-2.0.2-CVS/texk/tetex/epstopdf	Fri Apr 16 15:17:59 2004
@@ -194,7 +194,8 @@
 ### open output file
 if ($::opt_gs) {
   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
-          "-sOutputFile=$OutputFilename - -c quit";
+          "-dAutoRotatePages=/None " .
+          "\"-sOutputFile=$OutputFilename\" - -c quit";
   debug "Ghostscript pipe:", $pipe;
   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
 }

Reply to: