[OS X TeX] ConTeXt and TeXLive ? (solved)

Gerben Wierda Gerben.Wierda at rna.nl
Wed Nov 15 10:46:11 EST 2006


On Nov 15, 2006, at 16:29, Christopher Menzel wrote:

>> OK, the following works:
>>
>> #!/bin/tcsh
>>
>> set path= ($path /usr/local/TeXLive/bin/i386-apple-darwin-current  
>> /usr/local/bin)
>> texmfstart texexec  "$1"
>
> You might want to add your TeXLive bin directory to your shell  
> environment by adding it to whatever line sets your path environment  
> variable in your .tcshrc or .bash_profile file, as the case may be.  
> That will work for programs started from the command line, but not  
> those that you start from the Dock or the Finder.  It's good therefore  
> to set your path in the file ~/.MacOSX/environment.plist, which will  
> determine your path for all applications at login; the relevant  
> portion of mine looks like this:
>
> <!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>PATH</key>
>    
> <string>/usr/local/bin:/usr/local/TeXLive/bin/i386-apple-darwin- 
> current:/opt/local/bin:~/bin:/usr/X11R6/bin:/bin:/usr/bin:/usr/sbin:/ 
> sbin</string>
> </dict>
> </plist>
>
> You can set other useful environment vars there as well such as your  
> default language encoding.  See  
> http://developer.apple.com/qa/qa2001/qa1067.html for more info.

Well, it has been a while since I last reacted to a suggestion like  
this, but let's add to this that if you do this you run additional  
risks both in terms of functionality and security on your system.

Maybe the last version of i-Installer should, as a security/stability  
measure, refuse to run when you have this environment.plist file (Just  
kidding ;-).

G

------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list