[OS X TeX] teTeX still on my path
S P Suresh
spsuresh at cmi.ac.in
Mon Nov 27 12:09:12 CET 2006
On 27-Nov-06, at 4:06 PM, Peter Dyballa wrote:
>
> Am 27.11.2006 um 11:24 schrieb S P Suresh:
>
>> When I closed all tabs and relaunched a shell, /usr/local/
>> teTeX/... reappears in my PATH. It is quite mysterious
>
> I think Spotlight is no mystery: it simply finds things. And I'm
> sure it can find some files with /usr/local/teTeX/... in it ...
>
> To debug your PATH issue: edit all files bash is using to set
> itself up with these two lines in the beginning:
>
> echo "This file is <you name it>"
> echo "Starting PATH is $PATH"
>
> and these two lines at the end:
>
> echo "Final PATH has become $PATH"
> echo "This was set-up by <you name it>"
>
> Now you can see when PATH changes. It's then easy to determine the
> reason.
>
> --
> Greetings
>
> Pete
>
> "I love deadlines. I love the whooshing noise they make as they go
> by."
> (Douglas Adams)
>
>
> ------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
Hi,
Thanks for your suggestion. I found the source of the extra paths...
well, not completely yet. In my ~/.profile, the first line says: test
-r /sw/bin/init.sh && . /sw/bin/init.sh. It is automatically put
there by Fink. I have isolated init.sh as the one which adds /usr/
local/teTeX/... to my PATH. Also /usr/local/teTeX/man to my MANPATH.
When I looked into /sw/bin/init.sh, I didn't see an explicit mention
of anything relating to TeX. I think a crude hack is to comment out
the first line in my ~/.profile, and whichever other place that line
occurs in (my ~/.bashrc, for instance), and replace it by explicitly
making additions to my PATH and MANPATH. Though it is a mystery as to
where /sw/bin/init.sh picks up /usr/local/teTeX/... from! Let me pry
a bit more into it.
Thanks for the help.
Cheers,
Suresh
S P Suresh
Chennai Mathematical Institute
India
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list