[OS X TeX] Re: svg to pdf

Herbert Schulz herbs at wideopenwest.com
Tue Jul 11 12:34:37 EDT 2006


On Jul 11, 2006, at 11:18 AM, Jens Noeckel wrote:

> ...
> 2)
> The script I came up with above seems to rotate the graphic  
> (pstopdf is to blame for that). To avoid this, I've made the script  
> a little longer by retreating to the good old ghostscript itself:
>
> #!/bin/csh
> inkscape --print='| gs -dNOPAUSE -q -dBATCH -sDEVICE=pdfwrite - 
> sOutputFile='`basename -s svg "$1"`pdf' - -c quit' "$1"
>
> (this is still a two-line script)
> That should take care of it. You may ask why I chose /bin/csh  
> above, instead of /bin/sh. The answer is: it's completely irrelevant.
>
> Jens
>

Howdy,

You can also try the -dAutoRotatePages=/None option to ps2pdf.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list