[OS X TeX] Configuring man pages

Dr. Clea F. Rees cfrees at imapmail.org
Mon Aug 4 18:09:50 EDT 2008


Just to get "man ..." to work, add /Library/TeX/Root/texmf/doc/man to
your MANPATH. In bash:
export MANPATH=${MANPATH}:/Library/TeX/Root/texmf/doc/man
for example. Adding it to ~/.bash_profile will mean it is added
automatically each time.

If you also want apropos to work, you need to create a whatis database
in the directory or ensure that the so-called "cron" job which updates
these includes the relevant directory.

This should be "future-proof" provided future versions of texlive use
the same directory structure - by using the link in /Library, you
ensure it will work for e.g. texlive 2008 if that is arranged in the
same way as texlive 2007.

- cfr

On 04/08/08, you seem to have written:

> Hi all,
>
> I'm moving machines, so I'm doing my once-every-five-years reinstall of the 
> lucida fonts. I'm trying to use updmap, but my system can't find the man 
> page. Using find, I see that it lives in 
> /usr/local/texlive/2007/texmf/doc/man/man1. Ugh. Anyway, what's the easiest, 
> most future-proof way to be able to view this man page (and all the others in 
> that tree) from the terminal?
>
> Chris




More information about the MacOSX-TeX mailing list