Multi-distribution woes (was: Re: [OS X TeX] Font tmmath install problems with new gwtex. Please help.)

Richard Koch koch at
Sat May 12 00:35:07 EDT 2007


DarwinPorts has been renamed MacPorts. I'm going to hope the  
suggestion I'm making
works for your installation; it certainly works for MacPorts because  
I have tested it.

Both Gerben, installing gwTeX with i-Installer, and MacTeX,  
installing various distributions,
add /usr/texbin to the END of
the PATH variable. But MacPorts adds /opt/local/bin to the START of  
the PATH variable.
Thus when you issue TeX commands from a shell, the MacPorts teTeX comes
first and is used.

The solution is easy. Add /usr/texbin to the START of your PATH,  
before /opt/local/bin.
Then TeX commands from shell will execute the command in gwTeX, but  
nonTeX commands
from shell will execute the MacPorts command. This PATH change is  
made by manually
editing .profile, or possibly other shell login scripts.

Incidentally (and probably not important in your case), the
TeX Distribution data structure by Gerben Wierda and Jerome Laurens
knows about gwTeX, TeX Live, and Gerben's older teTeX-based  
distribution, but doesn't
know about MacPort's teTeX. It is easy to extend this data structure  
to recognize MacPort's
teTeX; write me if you are interested.

koch at

------------------------- Helpful Info -------------------------
Mac-TeX Website:
List Archive:
List Reminders & Etiquette:

More information about the MacOSX-TeX mailing list