[OS X TeX] problem using /opt/local instead of /usr/local/

Christopher Brewster C.Brewster at dcs.shef.ac.uk
Thu Sep 11 07:32:29 EDT 2008


No this does not help.

It still searches /opt/ first.
There must be a setting somewhere else.
Changes I make to ~/.profile appear to have no effect on where latex  
is called.

This is causing further frustrations, some style file I am using is  
looking for "fmtcount.sty" which Locate tells me exists in the TexLive  
distribution but not in the MacPorts one.

Christopher



On 11 Sep 2008, at 11:59, Bruno Voisin wrote:

Le 11 sept. 08 à 12:20, Christopher Brewster a écrit :

> Systematically when I use TextMate for latex, the style files etc  
> are picked up from the /opt/local/share/texmf-dist/ location instead  
> of from /usr/local/texlive/2007/texmf-dist/
>
> [...]
> How do I change this behaviour so as to use TexLive-2007 (or 2008  
> when I install it)?
> Should I delete /opt/local/ distribution?
> I think I installed it because I needed latex2rtf at some stage and  
> this did not exist in TexLive-2007

It seems according to <http://guide.macports.org/#installing.shell>  
that MacPorts creates a file ~/.profile containing in particular

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

Does it work better if you add /usr/texbin at the start of PATH, by  
changing the above line to

export PATH=/usr/texbin:/opt/local/bin:/opt/local/sbin:$PATH

If I'm not mistaken, the texmf trees are found relative to the  
location of the tex binaries. Hence by picking up the binaries in /usr/ 
texbin aka /usr/local/texlive/2007/bin/<processor>-darwin instead of / 
opt/local/bin, these binaries should then read the texmf trees in /usr/ 
local/texlive instead of /opt/local/share.

Bruno Voisin----------- Please Consult the Following Before Posting  
-----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex






More information about the MacOSX-TeX mailing list