[OS X TeX] X11

Gerben Wierda Gerben.Wierda at rna.nl
Fri May 27 16:57:40 EDT 2005


On 27 May 2005, at 17:39, Rodrigo Banuelos wrote:

> I am sure the following problem has come up (and solved) before
> but I have not been able to find it in the list. I installed Tex  
> (using
> Gerben Wierda's i-installer) on a new machine before installing  
> Apple's
> X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I  
> get back
> "bash: latex: command not found," and the same for the others.  I  
> know this
> to do with bash vs tcsh but, what is the permanent solution?

It does not have to do with bash vs tcsh. The problem is that xterm  
does not create login shells, but subshells only and as a result  
parts of the initialization (e.g. /etc/csh.login) are not read at  
all. Since the TeX i-Package has modified the shell login scripts,  
you do not get the right PATH.

The solutions in the other replies (re-run TeX i-Package configure)  
will not help.

There is (or at least I do not know) no generic file I could patch  
for X11 that would change this for *all* users. And the TeX install I  
provide is multi-user.

Maybe some X11 guru can finally tell me how to do this system-wide.  
Maybe there is some personal .xinit file where you can change  
environment settings. I do not use X11, so I do not have the knowledge.

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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list