[OS X TeX] CLI pdflatex

Bruno Voisin bvoisin at mac.com
Sun Dec 19 03:31:00 EST 2004


Le 19 déc. 04, à 08:32, Google Kreme a écrit :

> On Sat, 18 Dec 2004 10:41:23 +0100, Gerben Wierda  
> <Gerben.Wierda at rna.nl> wrote:
>>
>> The TeX i-Package does not mess around in /usr/local/bin
>
> Does it make LINKS in /usr/local/bin then?  because otherwise I am
> very confused as I know _I_ didn't make the links.

It doesn't. It adds these lines (provided you instruct it to do so at  
the end of the Configure stage of the TeX i-Package) inside  
/private/etc/csh.login:

	## TeX modifications start at Wed Dec 15 10:31:37 CET 2004
	## Do not remove the previous line
	if ("${uid}" != "0") then
	  set path = ( ${path}  
/usr/local/teTeX/bin/powerpc-apple-darwin-current )
	endif
	## Do not remove the next line
	## TeX modifications end at Wed Dec 15 10:31:37 CET 2004

and these others inside /private/etc/profile:

	## TeX modifications start at Wed Dec 15 10:31:37 CET 2004
	## Do not remove the previous line
	if [ `whoami` != "root" ]
	then
	  PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
	  export PATH
	fi
	## Do not remove the next line
	## TeX modifications end at Wed Dec 15 10:31:37 CET 2004

Then you get a path setting like:

	Portable-de-Bruno:~ brunovoisin$ echo $PATH
	/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/ 
powerpc-apple-darwin-current:/opt/local/bin

If my understanding is correct, /bin, /sbin, /usr/bin, /usr/sbin are  
the OS X default, /usr/local/bin is added by the GhostScript i-Package  
(and possibly others) if you select CLI activation,  
/usr/local/teTeX/bin/powerpc-apple-darwin-current is added by the TeX  
i-Package if you select CLI activation. /opt/local/bin is specific to  
my setup (it's a DarwinPorts addition).

> tex appears to be working from the gui (TeX SHop and BBedit) but not
> from the commandline.

TeXShop has, I think, the path to the gwTeX binaries (ie  
/usr/local/teTeX/bin/powerpc-apple-darwin-current) built-in, it's  
doesn't rely on any system-wide or user-specific path setting.

Bruno Voisin
--------------------- 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