[OS X TeX] Rotated Figures Again.

Peter Dyballa Peter_Dyballa at Web.DE
Mon Aug 15 18:26:35 EDT 2005

Am 16.08.2005 um 00:04 schrieb Bruno Voisin:

> I'm wondering now: if the above lines
>     GS_OPTIONS="-dAutoRotatePages=/None"
>     export GS_OPTIONS
> were added in ~/.profile, would they affect (after starting a new 
> session) all gs processes, including those launched from TeXShop via 
> the altpdftex script? I guess not, TexShop defines its own environment 
> variables for the subprocesses it launches, as in 
> /Applications/TeXShop.app/Contents/Resources/altpdflatexc.bxx, isn't 
> it?

I don't think that the latter is the reason, it's merely that the 
Bourne shell, /bin/sh, reads /etc/profile and ~/.profile only then when 
it's invoked as a login shell. (You can make it behave like that by 
adding '-l' to the #! header line.) So it normally re-uses the 
environment it finds -- and that's where ~/.MacOSX/environment.plist 
jumps in! Once GS_OPTIONS integrated there, they're part of every 
process launched after this change. The above cited addition to 
/etc/profile or ~/.profile will only work in Terminal or xterm ...

I'm sure you're having already a test user, Guinea Pig, that has to 
test all this ...



   It's not the valleys in life I dread so much as the dips.
		-- 	Garfield

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list