Please no: [OS X TeX] set environment variables for applications
quinon at rio.odn.ne.jp
Mon May 24 11:31:50 EDT 2004
On May 24, 2004, at 22:15, Gerben Wierda wrote:
>> it's possible to set environment variables for all processes launched
>> by a specific user (including those launched via Finder), as
>> described in
> Please, can somebody else than me kill this suggestion ASAP? If you
> start to set variables for all applications there, the variables also
> go to apps like i-Installer and not all scripts inside i-Packages are
> robust for an unlimited amount of environment variable settings.
But this is a well known method since longtime. IIRC I created my
environment.plist when I compiled perl 5.6.1 on OS X 10.1.x following
the instructions available as
However I may misunderstand what you say as I'm not a user of
>> To sum it up, create a file named ~/.MacOSX/environment.plist (if it
>> does not yet exist) that looks like
> Applications shoul dmanage their own environment. Changing it for all
> applications because an application does not support its own set of
> preferences is a remedy which may be more dangerous than the cause.
What do you mean by *applications*? If that's Aqua apps, you would
confuse user defaults -- mostly set from Preferences GUI -- with
variables defined by environment.plist. I use it, for example, to set
$PATH for shell commands executed via TextExtras or from within Aqua
applications such as TeXShop and Xcode. If I'm not mistaken, this works
also with BBEdit that I don't have.
To set user defaults globally, you can use 'defaults -g ...' or edit
'~/Library/Preferences/.GlobalPreferences.plist' manually btw.
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.
More information about the MacOSX-TeX