[texhax] MacTEX + command line

Rolf Turner r.turner at auckland.ac.nz
Mon Nov 10 20:10:47 CET 2008


On 10/11/2008, at 8:51 AM, Crystal Martin wrote:

> Hi,
>
> I'm a long time LaTeX "user", but I do not have much experience with
> software installation.
>
> I'm running Leopard on a MacPro with tc shell. I installed the MacTEX
> package from CTAN, and TeXShop is working.
>
> When I try to run LaTeX from the command line, I get "latex:  
> Command not
> found."  I'm guessing that my PATH needs to be modified. I made  
> a .cshrc
> file, but I'm not sure what to put in it.
>
> Any advice would be much appreciated.

Well, this will be a case of the blind leading the blind, but ....

I am perforce using a Mac, and don't really understand OS X --- I  
treat the
system as being Unix as much as I can.  I do have latex working, but.

When I type ``which latex'' I get /usr/texbin/latex, so /usr/texbin  
has to
be in my path; and it is.  When I type echo $path I get

/sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ 
texbin /Users/rturner/.bin . /usr/X11R6/bin

I didn't do anything to get /usr/texbin into my path (i.e. there's no  
reference to it
in my .cshrc) --- it just seems to be there.  If it isn't there for  
you, try adding it
to your path in your .cshrc.

HTH.

	cheers,

		Rolf Turner

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################


More information about the texhax mailing list