[texdoc] Default documentation for `yathesis`
Takuto ASAKURA
tkt.asakura at gmail.com
Wed Mar 25 09:31:21 CET 2020
Hi again,
In my case, the score for the yathesis-fr.pdf looks:
texdoc debug-score: (ed69358) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
texdoc debug-score: (ed69358) Name used: latex/yathesis/french/documentation/yathesis-fr.pdf
texdoc debug-score: (ed69358) Start heuristic scoring with pattern: yathesis
texdoc debug-score: (ed69358) New heuristic score: 1.0. Reason: subword match
texdoc debug-score: (ed69358) New heuristic score: 2.5. Reason: directory bonus
texdoc debug-score: (ed69358) Final heuristic score: 2.5
texdoc debug-score: (ed69358) Max pattern score: 2.5
texdoc debug-score: (ed69358) Catalogue details bonus: +1.5
texdoc debug-score: (ed69358) Final score: 4.0
So the difference is the "Catalogue details bonus" part. It seems you
don't have the (latest) texlive.tlpdb in your TeX Live. Which TeX Live
distribution are you using?
Anyway, Texdoc can find the fine result with the latest tlpdb.
At the time being, you can fix this by adding a line
alias yathesis = yathesis-fr
to your texdoc.cnf (you can see where to put the configuration file by
executing `texdoc -f`).
Best,
Takuto
> On 2020/03/25, at 2:32, Denis Bitouzé <denis.bitouze at univ-littoral.fr> wrote:
>
> Le 25/03/20 à 01h05, Takuto ASAKURA a écrit :
>
>> Hi Denis,
>
> Hi Takuto,
>
>> thanks for reporting it.
>
> You're welcome! :)
>
>> It doesn't reproduce on my computer:
>>
>> $ texdoc -l yathesis
>> 1 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
>> = [fr] Package documentation
>> 2 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/english/README-TRANSLATION.md
>> 3 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/comue.pdf
>> 4 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/labo.pdf
>> 5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/paris13.pdf
>> 6 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
>> 7 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/tiger.pdf
>> 8 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/ulco.pdf
>> 9 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/README.md
>> = Readme
>> 10 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/latexmkrc
>> 11 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
>
> Weird...
>
>> Could you please send me the output of the following?
>>
>> $ texdoc -dscore -lM yathesis
>
> Sure. Here it is:
>
> ┌────
> │ texdoc debug-version: /usr/local/texlive/2019/texmf-dist/scripts/texdoc/texdoclib.tlu v3.2.1
> │ texdoc debug-score: (80b7247) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/comue.pdf
> │ texdoc debug-score: (80b7247) Name used: latex/yathesis/french/exemples/specimen/a-plat/comue.pdf
> │ texdoc debug-score: (80b7247) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (80b7247) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (80b7247) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (80b7247) Final heuristic score: 2.5
> │ texdoc debug-score: (80b7247) Max pattern score: 2.5
> │ texdoc debug-score: (80b7247) Final score: 2.5
> │ texdoc debug-score: (68fe709) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/labo.pdf
> │ texdoc debug-score: (68fe709) Name used: latex/yathesis/french/exemples/specimen/a-plat/labo.pdf
> │ texdoc debug-score: (68fe709) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (68fe709) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (68fe709) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (68fe709) Final heuristic score: 2.5
> │ texdoc debug-score: (68fe709) Max pattern score: 2.5
> │ texdoc debug-score: (68fe709) Final score: 2.5
> │ texdoc debug-score: (d3e9296) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/README.md
> │ texdoc debug-score: (d3e9296) Name used: latex/yathesis/readme.md
> │ texdoc debug-score: (d3e9296) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (d3e9296) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (d3e9296) New heuristic score: 0.1. Reason: bad basename
> │ texdoc debug-score: (d3e9296) New heuristic score: 1.6. Reason: directory bonus
> │ texdoc debug-score: (d3e9296) Final heuristic score: 1.6
> │ texdoc debug-score: (d3e9296) Max pattern score: 1.6
> │ texdoc debug-score: (d3e9296) Adjust by 0.1 from global pattern "readme"
> │ texdoc debug-score: (d3e9296) Final score: 1.7
> │ texdoc debug-score: (3e460b0) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/paris13.pdf
> │ texdoc debug-score: (3e460b0) Name used: latex/yathesis/french/exemples/specimen/a-plat/paris13.pdf
> │ texdoc debug-score: (3e460b0) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (3e460b0) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (3e460b0) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (3e460b0) Final heuristic score: 2.5
> │ texdoc debug-score: (3e460b0) Max pattern score: 2.5
> │ texdoc debug-score: (3e460b0) Final score: 2.5
> │ texdoc debug-score: (78427b9) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/ulco.pdf
> │ texdoc debug-score: (78427b9) Name used: latex/yathesis/french/exemples/specimen/a-plat/ulco.pdf
> │ texdoc debug-score: (78427b9) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (78427b9) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (78427b9) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (78427b9) Final heuristic score: 2.5
> │ texdoc debug-score: (78427b9) Max pattern score: 2.5
> │ texdoc debug-score: (78427b9) Final score: 2.5
> │ texdoc debug-score: (eccdbb4) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/tiger.pdf
> │ texdoc debug-score: (eccdbb4) Name used: latex/yathesis/french/exemples/specimen/a-plat/tiger.pdf
> │ texdoc debug-score: (eccdbb4) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (eccdbb4) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (eccdbb4) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (eccdbb4) Final heuristic score: 2.5
> │ texdoc debug-score: (eccdbb4) Max pattern score: 2.5
> │ texdoc debug-score: (eccdbb4) Final score: 2.5
> │ texdoc debug-score: (233f2ed) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
> │ texdoc debug-score: (233f2ed) Name used: latex/yathesis/french/exemples/specimen/a-plat/these.pdf
> │ texdoc debug-score: (233f2ed) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (233f2ed) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (233f2ed) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (233f2ed) Final heuristic score: 2.5
> │ texdoc debug-score: (233f2ed) Max pattern score: 2.5
> │ texdoc debug-score: (233f2ed) Final score: 2.5
> │ texdoc debug-score: (143f310) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
> │ texdoc debug-score: (143f310) Name used: latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
> │ texdoc debug-score: (143f310) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (143f310) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (143f310) New heuristic score: 0.1. Reason: bad extension
> │ texdoc debug-score: (143f310) New heuristic score: 1.6. Reason: directory bonus
> │ texdoc debug-score: (143f310) Final heuristic score: 1.6
> │ texdoc debug-score: (143f310) Max pattern score: 1.6
> │ texdoc debug-score: (143f310) Final score: 1.6
> │ texdoc debug-score: (d9a29ba) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/latexmkrc
> │ texdoc debug-score: (d9a29ba) Name used: latex/yathesis/french/documentation/latexmkrc
> │ texdoc debug-score: (d9a29ba) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (d9a29ba) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (d9a29ba) New heuristic score: 0.1. Reason: bad extension
> │ texdoc debug-score: (d9a29ba) New heuristic score: 1.6. Reason: directory bonus
> │ texdoc debug-score: (d9a29ba) Final heuristic score: 1.6
> │ texdoc debug-score: (d9a29ba) Max pattern score: 1.6
> │ texdoc debug-score: (d9a29ba) Final score: 1.6
> │ texdoc debug-score: (5a24ea7) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/english/README-TRANSLATION.md
> │ texdoc debug-score: (5a24ea7) Name used: latex/yathesis/english/readme-translation.md
> │ texdoc debug-score: (5a24ea7) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (5a24ea7) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (5a24ea7) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (5a24ea7) Final heuristic score: 2.5
> │ texdoc debug-score: (5a24ea7) Max pattern score: 2.5
> │ texdoc debug-score: (5a24ea7) Adjust by 0.1 from global pattern "readme"
> │ texdoc debug-score: (5a24ea7) Final score: 2.6
> │ texdoc debug-score: (ed69358) Start scoring /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
> │ texdoc debug-score: (ed69358) Name used: latex/yathesis/french/documentation/yathesis-fr.pdf
> │ texdoc debug-score: (ed69358) Start heuristic scoring with pattern: yathesis
> │ texdoc debug-score: (ed69358) New heuristic score: 1.0. Reason: subword match
> │ texdoc debug-score: (ed69358) New heuristic score: 2.5. Reason: directory bonus
> │ texdoc debug-score: (ed69358) Final heuristic score: 2.5
> │ texdoc debug-score: (ed69358) Max pattern score: 2.5
> │ texdoc debug-score: (ed69358) Final score: 2.5
> │ yathesis 2.6 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/english/README-TRANSLATION.md
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/yathesis-fr.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/comue.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/labo.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/paris13.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/these.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/tiger.pdf
> │ yathesis 2.5 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/ulco.pdf
> │ yathesis 1.7 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/README.md
> │ yathesis 1.6 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/documentation/latexmkrc
> │ yathesis 1.6 /usr/local/texlive/2019/texmf-dist/doc/latex/yathesis/french/exemples/specimen/a-plat/latexmkrc
> └────
>
> Thanks!
> --
> Denis
More information about the texdoc
mailing list.