[OS X TeX] MacTeX installer and man pages

Bruno Voisin bvoisin at mac.com
Mon Jul 24 10:07:09 CEST 2006


Le 21 juil. 06 à 18:57, Chris Goedde a écrit :

> Thanks, I forgot about man.conf. When I look in there, I see the  
> following:
>
> ## TeX modifications start at Wed Jul 19 16:14:27 CDT 2006
> ## Do not remove previous line
> MANPATH_MAP     /usr/local/teTeX/bin/powerpc-apple-darwin- 
> current       /usr/local/teTeX/man
>
> I also see (elsewhere in that file):
>
> MANPATH_MAP     /usr/local/bin          /usr/local/share/man
>
> The MacTeX installer is putting the man pages for binaries (like gs  
> and ps2pdf) that live in /usr/local/bin into /usr/local/man, not / 
> usr/local/share/man, which is where Apple seems to think they  
> should go, so this seems like a bug in the installer. In fact,  
> going to /usr/local and executing 'sudo mv man share' fixes the  
> problem.

Coming late to this thread: on my setup, which is installed via i- 
Installer, not MacTeX, I have in /usr/share/misc/man.conf the above  
line commented out:

#MANPATH_MAP	/usr/local/bin		/usr/local/share/man

Which means that, in this case, the default association of /usr/local/ 
bin and /usr/local/man is used instead. From a couple of lines above  
in man.conf:

# If people ask for "man foo" and have "/dir/bin/foo" in their PATH
# and the docs are found in "/dir/man", then no mapping is required.

I don't remember (but I may be wrong) having commented out the  
offending line myself. I suspect it was done when installing the  
GhostScript i-Package, but I can't find any corresponding code in the  
setloginpath script from this i-Package.

Bruno Voisin




------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list