[NTG-context] Texutil

Hans Hagen ntg-context@ntg.nl
Tue, 13 Jan 2004 14:38:13 +0100


At 17:00 11/01/2004, Willi Egger wrote:
>Dear Hans,
>
>I am trying to convert a couple of  EPS pictures into PDF files. Viewing 
>those figures in gostview shows their content on screen as expected.
>Unfortunately the conversion with texutil  results in some of the files in 
>a rotation of 90 degrees.
>I tried to tweak texutil.pl with adding a line to the   $GSCommandLine
>  $GSCommandLine = "-q " .
>       ...
>       "-dAutoRotatePages=/None " .
>       ...
>I also tried to put there
>       ...
>       "-dPDFSETTINGS=/printer " .
>       ...
>But the figures remain rotated. - Do you have a clue how to prevent this?
>
>If you edit texutil.pl would you then have also look at the code line 2079:
>    Report ( "PdfFile", "$FileName".".pdf" ) ;
>instead of
>    Report ( "PdfFile", "$SuppliedFileName" ) ;

use the pstopdf ruby script instead, it does a cleanup of eps code as well 
(see manuals)

Hans