creating MacTeX links to MacPorts TeXLive

Faisal Moledina faisal.moledina at
Sat Oct 9 16:24:21 PDT 2010

On Sat, Oct 9, 2010 at 5:53 PM, Ryan Schmidt <ryandesign at> wrote:
> On Oct 9, 2010, at 16:13, Faisal Moledina wrote:
>> It would work much better if the link was
>> /usr/texbin -> /opt/local/libexec/texlive/texbin as you suggest, Ryan.
>> It would certainly be most efficient if it were done at the port
>> install level so I'll go ahead and request a modification. I realize
>> now that it would be even more specific if we could extend this
>> treatment for texlive man and info pages.
> Does the System Preferences panel you referred to already do that? What names does it use for these directories? (texman?)

Man files are ultimately located at /usr/texbin/man. However, the man
link would end up being /usr/texbin/man -> /opt/local/share/man since
that's where all texlive port man pages are located. Not sure how info
ultimately gets processed. At least in the postflight script it is
linked this way (from the pastie link):

-> /opt/local/share/info
-> /opt/local/share/man
-> /opt/local/bin
-> /opt/local/bin
-> /opt/local/bin

Then all the texmf links come. On my machine, using MacTeX 2010, these
links translate to:
/usr/texbin -> /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/i386
/usr/texbin/man -> /Library/TeX/Distributions/.DefaultTeX/Contents/Man

.DefaultTeX is the currently chosen TeX distribution in the Preference
Pane (I think so, although it's not symlinked). MacTeX puts an entry
in /etc/paths.d/TeX and /etc/manpaths.d/TeX for the above paths,

So perhaps having another directory in /opt/local where texlive ports
symlink their man pages to will be sufficient.


More information about the macports-users mailing list