[OS X TeX] TeXLive 2022 manpath issue on mac

Douglas Stetner stetner at stetner.org
Tue Sep 27 01:09:40 EDT 2022


Thanks Richard,

Yeah, not a big deal.  I did find that simply adding a slash to the end of the path in:

$ cat /etc/manpaths.d/Tex
/Library/TeX/Distributions/.DefaultTeX/Contents/Man/

Fixes the error.

People may not be running makewhatis, but 'man -k' or 'apropos' does run it if it finds man paths without 'whatis' files.

That said, I notice a large number of man pages are formatted in such a way that Apple's makewhatis does not index them anyway (xml2pmx.1 among them). 

Maybe when I retire I can make it my hobby to fix this ;)

Thanks,
Doug


> ------------------------------
> 
> Message: 2
> Date: Mon, 26 Sep 2022 13:47:34 +0000
> From: Richard Koch <koch at uoregon.edu>
> To: TeX on Mac OS X <macosx-tex at email.esm.psu.edu>
> Subject: Re: [OS X TeX] TeXLive 2022 manpath issue on mac
> Message-ID: <4B48318B-F936-43F6-B708-5066E691938A at uoregon.edu>
> Content-Type: text/plain; charset="us-ascii"
> 
> Douglas Stetner,
> 
> This is an interesting report. According to "man makewhatis", this utility searches directories for unformatted man pages and collects the results to be used by whatis and apropos.  If called without a list of directories, it searches MANPATH if set, and otherwise /usr/share/man.
> 
> This bug has never been reported before, so I suspect few people use makewhatis.
> 
> Note that /Library/TeX/texbin/man is a symbolic link to /usr/local/texlive/2022/texmf-dist/doc/man. Presumably the utility will work if it is pointed at this directory (although I didn't try it).
> 
> The main reason I'm writing is to report that I don't intend to work on this issue. I have too many other things on my plate. So if it interests a reader, have at it. If a solution is found that is easy to implement and breaks nothing else, I'll put it in MacTeX-2023.
> 
> Richard Koch



More information about the MacOSX-TeX mailing list