Chris Goedde | 4 Aug 22:56

Configuring man pages

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
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

David Watson | 5 Aug 00:13
Favicon

Re: Configuring man pages

On Aug 4, 2008, at 3:59 PM, Chris Goedde wrote:

> 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

If you are using the bash shell, you should put something like the  
following into your ~/.bash_profile and make sure to port this file to  
your new setups.

# include tex man path
MANPATH=/usr/local/texlive/2007/texmf/doc/man:$MANPATH
export MANPATH
#end of modifications

Of course, you would need to change this to 2008... etc whenever you  
update your texlive. There has to be a better way, perhaps some sort  
of symbolic link that gets updated whenever TeXLive is installed, but  
that's over my head.

----------- Please Consult the Following Before Posting -----------
(Continue reading)

Richard Koch | 5 Aug 00:21

Re: Configuring man pages

Folks,

On Aug 4, 2008, at 3:13 PM, David Watson wrote:

> On Aug 4, 2008, at 3:59 PM, Chris Goedde wrote:
> If you are using the bash shell, you should put something like the  
> following into your ~/.bash_profile and make sure to port this file  
> to your new setups.
>
> # include tex man path
> MANPATH=/usr/local/texlive/2007/texmf/doc/man:$MANPATH
> export MANPATH
> #end of modifications
>
> Of course, you would need to change this to 2008... etc whenever you  
> update your texlive. There has to be a better way, perhaps some sort  
> of symbolic link that gets updated whenever TeXLive is installed,  
> but that's over my head.

MacTeX configures MANPATH as part of the installation, and uses the  
Laurens-Wierda TeX Distribution structure so the correct man pages  
will be shown depending on your active distribution. The method of  
configuring MANPATH changed in Leopard, but this will work when TeX  
Live 2008, and thus MacTeX-2008, is released.

Dick Koch

----------- Please Consult the Following Before Posting -----------
(Continue reading)

Bruno Voisin | 5 Aug 09:54
Favicon

Re: Configuring man pages

Le 5 août 08 à 00:21, Richard Koch a écrit :

> On Aug 4, 2008, at 3:13 PM, David Watson wrote:
>
>> [...]
>
> MacTeX configures MANPATH as part of the installation, and uses the  
> Laurens-Wierda TeX Distribution structure so the correct man pages  
> will be shown depending on your active distribution. The method of  
> configuring MANPATH changed in Leopard, but this will work when TeX  
> Live 2008, and thus MacTeX-2008, is released.

In other words, until MacTeX-2008 is released, you can solve your  
problem by applying the Leopard TeX fix available from <http://www.uoregon.edu/~koch/ 
 >.

See the explanations at <http://www.uoregon.edu/~koch/ 
LeopardTeXFix.rtf>, in particular:

> To extend PATH and MANPATH for TeX, it is only necessary to add a  
> file named TeX to /etc/paths.d with the single entry
>
> 	/usr/texbin
>
> and add a file named TeX to /etc/manpaths.d with the single entry
>
> 	/Library/TeX/Distributions/.DefaultTeX/Contents/Man
>
> Give these new files the owner, group, and permissions of the  
> corresponding X11 file.
(Continue reading)

David Watson | 5 Aug 13:49
Favicon

Re: Configuring man pages

On Aug 5, 2008, at 2:54 AM, Bruno Voisin wrote:

> Le 5 août 08 à 00:21, Richard Koch a écrit :
>
>> On Aug 4, 2008, at 3:13 PM, David Watson wrote:
>>
>>> [...]
>>
>> MacTeX configures MANPATH as part of the installation, and uses the  
>> Laurens-Wierda TeX Distribution structure so the correct man pages  
>> will be shown depending on your active distribution. The method of  
>> configuring MANPATH changed in Leopard, but this will work when TeX  
>> Live 2008, and thus MacTeX-2008, is released.
>
> In other words, until MacTeX-2008 is released, you can solve your  
> problem by applying the Leopard TeX fix available from <http://www.uoregon.edu/~koch/ 
> >.
>
> See the explanations at <http://www.uoregon.edu/~koch/LeopardTeXFix.rtf 
> >, in particular:
>
>> To extend PATH and MANPATH for TeX, it is only necessary to add a  
>> file named TeX to /etc/paths.d with the single entry
>>
>> 	/usr/texbin
>>
>> and add a file named TeX to /etc/manpaths.d with the single entry
>>
>> 	/Library/TeX/Distributions/.DefaultTeX/Contents/Man
>>
(Continue reading)

Bruno Voisin | 5 Aug 15:27
Favicon

Re: Configuring man pages

Le 5 août 08 à 13:49, David Watson a écrit :

> On Aug 5, 2008, at 2:54 AM, Bruno Voisin wrote:
>
>> BTW, even 9.5 hours aftwerwards I still haven't received  David  
>> Watson's message Dick was answering to.
>>
>
> You know what's funny? I haven't either.

Is this because we both have MobileMe addresses? So far I thought I'd  
not been hit by the lost messages madness of the past weeks, but maybe  
I wasn't so lucky after all.

Bruno Voisin----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Chris Goedde | 5 Aug 16:44

Re: Configuring man pages

On Aug 5, 2008, at 2:54 AM, Bruno Voisin wrote:

> Le 5 août 08 à 00:21, Richard Koch a écrit :
>
>> On Aug 4, 2008, at 3:13 PM, David Watson wrote:
>>
>>> [...]
>>
>> MacTeX configures MANPATH as part of the installation, and uses the  
>> Laurens-Wierda TeX Distribution structure so the correct man pages  
>> will be shown depending on your active distribution. The method of  
>> configuring MANPATH changed in Leopard, but this will work when TeX  
>> Live 2008, and thus MacTeX-2008, is released.
>
> In other words, until MacTeX-2008 is released, you can solve your  
> problem by applying the Leopard TeX fix available from <http://www.uoregon.edu/~koch/ 
> >.
>
> See the explanations at <http://www.uoregon.edu/~koch/LeopardTeXFix.rtf 
> >, in particular:

Looks like I spoke to soon. I ran the Leopard TeX fix and rebooted,  
but I still can't access the man pages from the terminal. If I look  
in /etc/manpaths.d and /etc/paths.d, I see:

-rw-r--r--  1 root  wheel  52 Aug  5 09:13 TeX
-rw-r--r--  1 root  wheel  13 Sep 23  2007 X11

So the fix seems to have installed the right parts. (BTW, the original  
permissions on the TeX file were -rwxr-xr-x, I changed them to match  
(Continue reading)

Bruno Voisin | 5 Aug 17:09
Favicon

Re: Configuring man pages

Le 5 août 08 à 16:44, Chris Goedde a écrit :

> Any suggestions on fixing/troubleshooting this is appreciated. BTW,  
> I can't run latex from the terminal either (not that I ever do that).

Then this means neither PATH nor MANPATH include the TeX additions. Do  
you have any shell initialization file in your home directory which  
would overcome the standard Leopard path setting mechanism?

Bruno Voisin----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Chris Goedde | 5 Aug 17:12

Re: Configuring man pages

On Aug 5, 2008, at 10:09 AM, Bruno Voisin wrote:

> Le 5 août 08 à 16:44, Chris Goedde a écrit :
>
>> Any suggestions on fixing/troubleshooting this is appreciated. BTW,  
>> I can't run latex from the terminal either (not that I ever do that).
>
> Then this means neither PATH nor MANPATH include the TeX additions.  
> Do you have any shell initialization file in your home directory  
> which would overcome the standard Leopard path setting mechanism?

Nope. I don't have any .profiles, .logins, .cshrcs, or anything like  
that in ~.

Chris

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Michael Sharpe | 5 Aug 17:57
Favicon

Re: Configuring man pages

Did you check the contents of /etc/man.conf? If you have no explicitly  
set environmental variable MANPATH, that will file be read.  
Instructions are in the file.

Michael

On Aug 5, 2008, at 8:12 AM, Chris Goedde wrote:

> On Aug 5, 2008, at 10:09 AM, Bruno Voisin wrote:
>
>> Le 5 août 08 à 16:44, Chris Goedde a écrit :
>>
>>> Any suggestions on fixing/troubleshooting this is appreciated.  
>>> BTW, I can't run latex from the terminal either (not that I ever  
>>> do that).
>>
>> Then this means neither PATH nor MANPATH include the TeX additions.  
>> Do you have any shell initialization file in your home directory  
>> which would overcome the standard Leopard path setting mechanism?
>
> Nope. I don't have any .profiles, .logins, .cshrcs, or anything like  
> that in ~.
>
> Chris
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
(Continue reading)

Chris Goedde | 5 Aug 23:34

Re: Configuring man pages

On Aug 5, 2008, at 10:57 AM, Michael Sharpe wrote:

> Did you check the contents of /etc/man.conf? If you have no  
> explicitly set environmental variable MANPATH, that will file be  
> read. Instructions are in the file.
>

My reading of the info in LeopardTeXFix.rtf is that the paths in the  
files in /etc/path.d and /etc/manpath.d should be appended to those  
in /etc/man.conf. I don't understand why that's not happening on my  
system.

Chris

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Chris Goedde | 5 Aug 16:18

Re: Configuring man pages

Thanks to Bruno and Richard, and everyone else who replied.

Chris

On Aug 5, 2008, at 2:54 AM, Bruno Voisin wrote:

> Le 5 août 08 à 00:21, Richard Koch a écrit :
>
>> On Aug 4, 2008, at 3:13 PM, David Watson wrote:
>>
>>> [...]
>>
>> MacTeX configures MANPATH as part of the installation, and uses the  
>> Laurens-Wierda TeX Distribution structure so the correct man pages  
>> will be shown depending on your active distribution. The method of  
>> configuring MANPATH changed in Leopard, but this will work when TeX  
>> Live 2008, and thus MacTeX-2008, is released.
>
> In other words, until MacTeX-2008 is released, you can solve your  
> problem by applying the Leopard TeX fix available from <http://www.uoregon.edu/~koch/ 
> >.
>
> See the explanations at <http://www.uoregon.edu/~koch/LeopardTeXFix.rtf 
> >, in particular:
>
>> To extend PATH and MANPATH for TeX, it is only necessary to add a  
>> file named TeX to /etc/paths.d with the single entry
>>
>> 	/usr/texbin
>>
(Continue reading)

David Watson | 14 Aug 18:59
Favicon

Re: Configuring man pages

Wow!

Amazing to finally hear from myself after 10 days.

On Aug 4, 2008, at 5:13 PM, David Watson wrote:

> On Aug 4, 2008, at 3:59 PM, Chris Goedde wrote:
>
>> 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
>
> If you are using the bash shell, you should put something like the  
> following into your ~/.bash_profile and make sure to port this file  
> to your new setups.
>
> # include tex man path
> MANPATH=/usr/local/texlive/2007/texmf/doc/man:$MANPATH
> export MANPATH
> #end of modifications
>
> Of course, you would need to change this to 2008... etc whenever you  
> update your texlive. There has to be a better way, perhaps some sort  
(Continue reading)

Dr. Clea F. Rees | 5 Aug 00:09
Favicon

Re: Configuring man pages

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

(Continue reading)


Gmane