[OS X TeX] set environment variables for applications

Ralph Pöllath lists at poellath.org
Mon May 24 06:30:58 EDT 2004


Hi,

it's possible to set environment variables for all processes launched 
by a specific user (including those launched via Finder), as described 
in
http://developer.apple.com/qa/qa2001/qa1067.html

To sum it up, create a file named ~/.MacOSX/environment.plist (if it 
does not yet exist) that looks like

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
     <key>TEXBIB</key>
     <string>/path/to/something</string>
     <key>SOMETHING_ELSE</key>
     <string>/path/to/something_else</string>
</dict>
</plist>

The plist header is slightly different from what's on the page 
mentioned above, because Apple introduced version 1.0 of the plist DTD 
some time ago.

HTH,
-Ralph.

> Here
>
> http://www.nd.edu/~cholak/searchinstall.txt
>
> are instructions on how to get forward and reverse
> seacrhing to work with carbon enhanced emacs (v. 21.3.50.03.11.14.CVS)
> with either MacDviX or the xdvi from tetex installed via the
> i-Installer (the xdvi from fink should work similarly).
>
> However things are not perfect.  Either forward nor reverse searching
> work if you use the bash shell.  Also see 7.  I was hoping that
> someone who knows more about shells, OS X, and emacs can help me out.
>
> -------------------------
>
> 7.  One can forgo 5 and start emacs from the finder at the price that
>     bib-cite will not work properly.  Bib-cite needs some env variable
>     like TEXBIB to point to the /bib files.  It is on the wish list to
>     add kpsepath functional to bib-cite.  How one does pass variables
>     via the finder?
>
> --------------------
>
> -Peter

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list