[OS X TeX] Re: svg to pdf

Jens Noeckel noeckel at uoregon.edu
Tue Jul 11 19:01:03 CEST 2006


On Jul 11, 2006, at 9:34 AM, Herbert Schulz wrote:

>
> 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.
>

Yes - but since that's just a wrapper around gs anyway, I thought  
it's better to go with the original ... 
------------------------- 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 macostex-archives mailing list