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

Richard Koch koch at math.uoregon.edu
Sat May 12 06:35:07 CEST 2007


Gary,

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.

Dick
koch at math.uoregon.edu



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list