[tex-live] TL 2009: texdoc -l and ChangeLog and some others

Manuel Pégourié-Gonnard mpg at elzevir.fr
Wed Jan 6 01:25:55 CET 2010


On 06/01/2010 00:47, Victor Ivrii wrote:
> texdoc -l does not list files ChangeLog, Changes

This is intended (new in texdoc 0.60, IIRC). They are displayed by 'texdoc -s'
which show results considered less relevant by the scoring system.

mpg at roth:~% texdoc -l texdoc
 1 /usr/local/texlive/2009/texmf/doc/texdoc/texdoc.pdf
 2 /usr/local/texlive/2009/texmf/doc/man/man1/texdoc.man1.pdf
mpg at roth:~% texdoc -s texdoc
 1 /usr/local/texlive/2009/texmf/doc/texdoc/texdoc.pdf
 2 /usr/local/texlive/2009/texmf/doc/man/man1/texdoc.man1.pdf
 3 /usr/local/texlive/2009/texmf/doc/man/man1/texdoctk.man1.pdf
 4 /usr/local/texlive/2009/texmf/doc/tetex/TETEXDOC.pdf
 5 /usr/local/texlive/2009/texmf-dist/doc/latex/greektex/greektexdoc.pdf
 6 /usr/local/texlive/2009/texmf/doc/texdoc/News
mpg at roth:~%

(Arguably the order is wrong, texdoc/News should come as the third result.)

If you want files without extension to be shown by -l, add a line like

badext_list = # (empty list)

in you texdoc.cnf. (Default is that 'txt' and no extension are "bad".)

> and such esoteric as
> README.eurosans

This is another problem. texdoc filters by extension, since a lot of non-doc
files end up in the doc trees. Here texdoc sees 'eurosans' as the extension,
which is not on the list of allowed extensions, so the file is not selected at all.

>  (texdoc eurofont). Probably this is not the complete list but
> ChangeLog without any modifications is listed 46 times.

I don't understand. Listed where?

> Would be it
> possible to make them listed (if possible not only ChangeLog but its
> derivatives and derivatives of README
Concerning ChangeLog etc, I tend to think it's better not to show them with -l
but only with -s by default, unless a lot of users say they disagree, and you
can change that locally of you want.

Concerning README.foobar, I'll need to make a special case for it in the code.

Thanks for your feedback,

More information about the tex-live mailing list