[texdoc] texdoc dtk
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Thu May 12 19:10:31 CEST 2011
Le 11/05/2011 11:42, Arno Trautmann a écrit :
> texdoc dtk
>
> results in
>
> /texmf-dist/doc/generic/pst-optic/more_docs/dtk.pdf
>
> which is surely not what one is looking for, but rather result number 2
> from texdoc -s dtk:
>
> /texmf-dist/doc/latex/dtk/doc/beispiel.pdf
>
> Would be great if this could be fixed,
>
I added an alias for this, thanks for informing me.
Btw, I don't want to go into a big discussion about aliases and whether or not
texdoc should be "smart", but indeed the goal is to provide the user with
something more effective and TeX-specific than the usual Unix tools, and to help
in the cases where package authors use generic or otherwise hard-to-guess
filenames. For the record, there are only 175 alias entries for about 4500 TL
packages, which seems to me like a reasonnable rate, and quite maintainable.
Thanks again,
Manuel.
PS: anyway, in this case -l yells the desired result second out of two, which
tends to prove the heuristics are working pretty well even if the first result
isn't the expected one.
More information about the texdoc
mailing list