[texhax] MacTEX + command line

Axel E. Retif axel.retif at mac.com
Mon Nov 10 23:08:27 CET 2008


On  9 Nov, 2008, at 13:51, Crystal Martin wrote:

> [...]

> 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.

I read in

http://www.tcsh.org/tcsh.html/FILES.html

> /etc/csh.login
> Read by login shells after /etc/csh.cshrc.

and my /private/etc/csh.login, as set by MacTeX, without any  
intervention on my part, has these lines:

> ## TeX added /usr/texbin start at Mon Aug  4 04:24:03 CDT 2008
> ## Do not remove the previous line
> if ("${uid}" != "0") then
>   set path = ( ${path} "/usr/texbin" )
> endif
> ## Do not remove the next line
> ## TeX added /usr/texbin end at Mon Aug  4 04:24:03 CDT 2008

Did you do anything to prevent MacTeX from setting the path?

Best,

Axel



More information about the texhax mailing list