[pstricks] page orientation turned to landscape for no good reason?

Michael Sharpe msharpe at ucsd.edu
Wed Nov 10 04:21:38 CET 2010


On Nov 9, 2010, at 6:53 PM, maja zaloznik wrote:

> Hi everyone!
> 
> I apologize in advance if this is me being overworked and stupid in the middle of the night, but I can't for the life of me figure out what is going on? I'm pasting a minimal example below of a 'figure' reduced to two \rput entries at 90 degrees, which for some reason turns the page orientation to landscape? But works OK if showgrid is true.
> 
> I'm doing latex->dvips->ps2pdf and I'm attaching the offending pdf to prove I'm not going crazy! I think my system is up to date, but naturally if other people get a normal output it has to be something at my end. What should I try? Or am I missing sth trivial?
> 
> Thanks!
> 
> Maja. 

You may have run into ghostscript's page orientation behavio(u)r. From the documentation:

By default Ghostscript determines viewing page orientation based on the dominant text orientation on the page. Sometimes, when the page has text in several orientations or has no text at all, wrong orientation can be selected.

You might try running gs with the option -dAutoRotatePages=/None

Michael




More information about the PSTricks mailing list