[tex-live] Bug in texlive/texdoc?

Manuel Pégourié-Gonnard mpg at elzevir.fr
Mon Aug 10 12:51:37 CEST 2009

Rowland McDonnell a écrit :
> texdoc nfss
> at the Terminal, and the following Web page opened:
> <file:///usr/local/texlive/2008/texmf-doc/doc/polish/tex-virtual-academy
> -pl/fonty/nfss.html>
Which make sense, in a way, since texdoc searchs based on the file name, and
this is the only file named nfss.something. You can see more results with the -s

mpg at roth:~% texdoc -s nfss
 2 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/psnfss/psfonts.pdf
 3 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/psnfss/psnfss2e.pdf
 4 /home/mpg/tl/trunk/Master/texmf-dist/doc/fonts/pclnfss/COPYING
 5 /home/mpg/tl/trunk/Master/texmf-dist/doc/fonts/pclnfss/README
 6 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/edmac/ed-nfss.txt
 7 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/mfnfss/changes.txt
 8 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/mfnfss/manifest.txt
 9 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/mfnfss/readme.txt
10 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/nfssext-cfr/README
11 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/psnfss/00readme.txt
12 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/psnfss/changes.txt
13 /home/mpg/tl/trunk/Master/texmf-dist/doc/latex/psnfss/manifest.txt
14 /home/mpg/tl/trunk/Master/texmf-dist/doc/plain/plnfss/LPPL.txt
15 /home/mpg/tl/trunk/Master/texmf-dist/doc/plain/plnfss/plnfss.txt

> I tried to use kpsewhich to find a file:
> kpsewhich fntguide.tex
> returned no information (I've been told to play around with kpsewhich to
> discover how it works, so I thought I'd try).
> find /usr/local/texlive/2008/ -name "fntguide.tex"
> returned
> /usr/local/texlive/2008//texmf-dist/source/latex/base/fntguide.tex
kpsewhich searches TeX input files in tex/, not source/. If you want to read
fntguide.pdf, try 'texdoc fntguide'. If you want to read the source, I think
using find/locate or browsing the tree is the best way.

> Can anyone provide information on what is wrong?
Technically, nothing is wrong, everything worked nominally. However, it would
certainly be desirable that 'texdoc nfss' gives something more relevant, which
can be done with an alias.

Currently, a keyword can be associated with only one alias (this may change in
the not-so-distant future), so we have to choose what 'texdoc nfss' should
return. I think the most relevant candidates are fntguide.pdf and psnfss2e.pdf.


More information about the tex-live mailing list