On Sat, Oct 9, 2010 at 5:53 PM, Ryan Schmidt <[email protected]> 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): /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive/Contents/Info -> /opt/local/share/info /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive/Contents/Man -> /opt/local/share/man ... /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive/Contents/Programs/i386 -> /opt/local/bin /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive/Contents/Programs/powerpc -> /opt/local/bin /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive/Contents/Programs/ppc -> /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, respectively. So perhaps having another directory in /opt/local where texlive ports symlink their man pages to will be sufficient. Faisal _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
