[OS X TeX] Pstricks rotating pages

Herbert Schulz herbs at wideopenwest.com
Thu Jun 25 08:58:37 EDT 2009


On Jun 24, 2009, at 11:36 PM, David Arnold wrote:

> All,
>
> I am compiling a file in texshop that has some pstricks code with  
> tex and dvi typesetting, which I believe uses simpdftex. I am using  
> some uput commands with a rotation argument and every now and then  
> an output page will rotate into landscape mode.
>
> Any solutions to prevent this rotation into landscape mode?
>
> David.


Howdy,

I believe that is the fault of the distiller. Unfortunately, the  
supplied simpdftex doesn't accept arguments for the distiller (- 
dAutoRotatePages=/None). Someone may have a jury-rigged simpdfptex  
that may have that option added.

An alternative is to use latexmk and the latexmk engine and simply  
changing the line

$ps2pdf = 'ps2pdf14 %O %S %D';

in ~/Library/TeXShop/bin/latexmkrc (~ is your HOME directory) to

$ps2pdf = 'ps2pdf14 -dAutoRotatePages=\/None %O %S %D';

which should fix things up. If that doesn't do the job don't escape  
the /; i.e., replace \/ by / alone.

If you haven't enabled the latexmk engines in a newer TeXShop you can  
find the engines and instructions for enabling and using them in ~/ 
Library/TeXShop/Engines/Inactive/Latexmk/.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list