[OS X TeX] problem using /opt/local instead of /usr/local/
bvoisin at me.com
Thu Sep 11 06:59:38 EDT 2008
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
Does it work better if you add /usr/texbin at the start of PATH, by
changing the above line to
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.
More information about the MacOSX-TeX