From nali at biostat.umn.edu  Wed Oct  8 10:11:49 2003
From: nali at biostat.umn.edu (Na Li)
Date: Wed Oct  8 16:10:40 2003
Subject: [Rd] Unpredictable EPS->PDF rotation (PR#4460)
In-Reply-To: <200310081009.h98A9H0P014475@pubhealth.ku.dk>
	(maechler@stat.math.ethz.ch's
	message of "Wed, 8 Oct 2003 12:09:17 +0200 (MET DST)")
References: <200310081009.h98A9H0P014475@pubhealth.ku.dk>
Message-ID: <kczngbrf8a.fsf@qiuranke.phony.umn.edu>

On 8 Oct 2003, maechler@stat.math.ethz.ch uttered the following:

> > >  When I create EPS files, they sometimes appear rotated in my LaTeX PDF
> > >  document and sometimes they don't. Two examples:
> > >  
>  
>  It's definitely unrelated to R.
>  
>  The "bug" is in newer versions of gs (ghostscript) which does
>  rotate plots under some circumstances by default.
>  
>  Of course, the authors of gs consider this a feature (called
>  "AutoRotatePages"), but IMO it's been a very bad design-decision.
>  
>  Here, we have implemented a workaround by patching the
>  "epstopdf" (shell script) (we use the version from teTeX), by
>  the following:

Another, perhaps easier fix is to define 

export GS_OPTIONS="-dAutoRotatePages=/None"

(or its equivalent in tcsh).

Michael


[Rd] Unpredictable EPS->PDF rotation (PR#4460)
Na Li