[OS X TeX] Re: textools --fixtexmftrees : parse error !

Peter Dyballa Peter_Dyballa at Web.DE
Thu Nov 4 12:54:04 CET 2004


Hallo Steffen!

In .tcshrc you should use

set path=($path /usr/local/teTeX/bin/powerpc-apple-darwin-current 
/usr/local/bin ...)

The csh derivatives then put an environment variable PATH into their 
environment for the other camp's members sh, ash, bash, ksh. Usually 
csh and tcsh rely on $path ("echo $path" or "set | grep path"). But 
both are a bit lazy: you have to invoke 'rehash' to teach them to use 
the new path designation. It's like in TeX: both shells carry a hash of 
all executables with them. If the number of executables or the elements 
and their order of $path changes, you have to re-hash, texhash. And you 
have to do it in every shell you make a change of this kind. (The 
modern bash uses a hash table too.)

Once you've changed ~/.tcshrc and open a new tcsh in a new Terminal (or 
Emacs) everything will be up to date.


In Mac OS X you could use locate to find a file on the system. All you 
need to do is to run as super-user /usr/libexec/locate.updatedb ('sudo 
/usr/libexec/locate.updatedb', there is no need to add /usr/libexec to 
your search path). "locate texexec" as average user then will give you 
a list of pathnames that contain the string 'texexec' -- which 
sometimes can be too much. Both!

Wir können das auch privat ausdiskutierend vertiefen.

--
Mit friedvollen Grüßen

   Pete

Seelsorge statt Krankenkasse: das ist neu und liberal, die wähl' ich!

--------------------- 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 macostex-archives mailing list