[OS X TeX] Wrong latex getting used.

Michael Hanson mshanson at mac.com
Mon Mar 2 22:11:00 EST 2009


Having seen your response to Herb's attempt to try to ferret out some  
relevant facts of your LaTeX usage, I don't think I will be able to  
help you.  I do have two brief suggestions, however....


On Mar 2, 2009, at 8:50 PM, Rolf Turner wrote:

> There is a /usr/texbin that appears automagically in my path,
> and this seems to point at the right thing.  I tried setting
> my path explicitly in my .cshrc file, putting /usr/texbin ahead
> of /sw/bin.  But blow me down, when I echo my path afterwards,
> /sw/bin and /sw/sbin are always the first two entries in the
> path, no matter what I tell it.  (I *hate* it when computers refuse
> to do what you tell them!)  And the wrong latex still gets
> used.

Suggestion 1:  Look for other dot files that are sourced by your  
shell where the path may be getting changed. Edit as needed.   
(Computers *always* "do what you tell them".  You just need to check  
more carefully everything you are telling it after installing LaTeX  
through fink.)


> Recently I unwisely did a re-install of LaTex on my Imac --- using,
> I *think* ``sudo fink install latex''.  Can't even remember why I
> did this. :-(
>
> Ever since, things that used to work now don't.
>
> How can I get the /sw/bin/latex out of the way?

Suggestion 2:  Delete that directory.  No part of your initial  
message suggests any use or need for it, so you might as well save  
the disk space and the headaches.  You can always reinstall later if  
needed, once you have diagnosed the first issue.  In the meantime,  
while you are hunting down the source of the mysterious path, you can  
get actual work done.

Hope this helps,
Mike



More information about the MacOSX-TeX mailing list