[tex-live] a problem with texdoc layout

Takuto ASAKURA tkt.asakura at gmail.com
Wed Oct 24 14:34:45 CEST 2018


Hi again,

ah, now I remember that we already fixed that arbitrary result problem:

	https://github.com/TeX-Live/texdoc/pull/26

So, please kindly wait for the next release of Texdoc.

Thanks,
Takuto

> On 2018/10/24, at 20:18, jfbu <jfbu at free.fr> wrote:
> 
> Hi Takuto,
> 
> I do have a personal texdoc.cnf
> 
> $ texdoc -f
> /usr/local/texlive/2018/texmf-dist/scripts/texdoc/texdoclib.tlu 3.0
> Configuration files are:
>    active	/Users/xxxx/Library/texmf/texdoc/texdoc.cnf
>    active	/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf
> Recommended file(s) for personal settings:
>    /Users/xxxx/Library/texmf/texdoc/texdoc.cnf
> 
> but its contents are completely commented out except for
> 
> viewer_pdf = open -a 'Adobe Reader' 
> 
> (I am on Mac OS X)
> 
> $ texdoc -DI layout
> texdoc debug-version: /usr/local/texlive/2018/texmf-dist/scripts/texdoc/texdoclib.tlu version 3.0
> texdoc debug-config: Setting 'debug_list=all' from command line option "-D".
> texdoc debug-config: Setting 'interact_switch=false' from command line option "-I".
> texdoc debug-config: Setting 'viewer_pdf=open -a 'Adobe Reader'' in file "/Users/xxxx/Library/texmf/texdoc/texdoc.cnf" on line 17.
> texdoc debug-config: Setting 'suffix_list=doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man, notes, -info, ref' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 95.
> texdoc debug-config: Setting 'lastfile_switch=true' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 509.
> texdoc debug-config: Setting 'lang=fr' from operating system locale.
> texdoc debug-config: Setting 'badbasename_list=readme, 00readme' from built-in defaults.
> texdoc debug-config: Setting 'verbosity_level=2' from built-in defaults.
> texdoc debug-config: Setting 'basename_list=readme, 00readme' from built-in defaults.
> texdoc debug-config: Setting 'badext_list=txt, ' from built-in defaults.
> texdoc debug-config: Setting 'max_lines=20' from built-in defaults.
> texdoc debug-config: Setting 'fuzzy_level=5' from built-in defaults.
> texdoc debug-config: Setting 'mode=view' from built-in defaults.
> texdoc debug-config: Setting 'ext_list=pdf, htm, html, txt, ps, dvi, ' from built-in defaults.
> texdoc debug-config: Setting 'machine_switch=false' from built-in defaults.
> texdoc debug-config: Setting 'zipext_list=' from built-in defaults.
> texdoc debug-config: Setting 'rm_file=rm -f' from built-in defaults.
> texdoc debug-config: Setting 'rm_dir=rmdir' from built-in defaults.
> texdoc debug-files: Configuration files are:
> texdoc debug-files: active	/Users/xxxx/Library/texmf/texdoc/texdoc.cnf
> texdoc debug-files: active	/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf
> texdoc debug-texdocs: texdocs[7] = /Users/xxxx/Library/texlive/2018/texmf-config/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[6] = /Users/xxxx/Library/texlive/2018/texmf-var/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[5] = /Users/xxxx/Library/texmf/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[5] using filesystem search
> texdoc debug-texdocs: texdocs[4] = /usr/local/texlive/2018/texmf-local/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[4] using index: /usr/local/texlive/2018/texmf-local (shift=doc/)
> texdoc debug-texdocs: texdocs[3] = /usr/local/texlive/2018/texmf-config/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[2] = /usr/local/texlive/2018/texmf-var/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[1] = /usr/local/texlive/2018/texmf-dist/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[1] using index: /usr/local/texlive/2018/texmf-dist (shift=doc/)
> texdoc debug-tlpdb: Using cached data from /Users/xxxx/Library/texlive/2018/texmf-var/texdoc/cache-tlpdb.lua
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/README.md
> texdoc debug-score: Name used: tools/readme.md
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -4.9
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/README.txt
> texdoc debug-score: Name used: tools/readme.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -4.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/afterpage.pdf
> texdoc debug-score: Name used: tools/afterpage.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/array.pdf
> texdoc debug-score: Name used: tools/array.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/bm.pdf
> texdoc debug-score: Name used: tools/bm.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/calc.pdf
> texdoc debug-score: Name used: tools/calc.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/changes.txt
> texdoc debug-score: Name used: tools/changes.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/dcolumn.pdf
> texdoc debug-score: Name used: tools/dcolumn.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/delarray.pdf
> texdoc debug-score: Name used: tools/delarray.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/enumerate.pdf
> texdoc debug-score: Name used: tools/enumerate.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/fileerr.pdf
> texdoc debug-score: Name used: tools/fileerr.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/fontsmpl.pdf
> texdoc debug-score: Name used: tools/fontsmpl.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/ftnright.pdf
> texdoc debug-score: Name used: tools/ftnright.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/hhline.pdf
> texdoc debug-score: Name used: tools/hhline.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/indentfirst.pdf
> texdoc debug-score: Name used: tools/indentfirst.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/layout.pdf
> texdoc debug-score: Name used: tools/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/longtable.pdf
> texdoc debug-score: Name used: tools/longtable.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/manifest.txt
> texdoc debug-score: Name used: tools/manifest.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/multicol.pdf
> texdoc debug-score: Name used: tools/multicol.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/rawfonts.pdf
> texdoc debug-score: Name used: tools/rawfonts.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/shellesc.pdf
> texdoc debug-score: Name used: tools/shellesc.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/showkeys.pdf
> texdoc debug-score: Name used: tools/showkeys.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/somedefs.pdf
> texdoc debug-score: Name used: tools/somedefs.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/tabularx.pdf
> texdoc debug-score: Name used: tools/tabularx.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/theorem.pdf
> texdoc debug-score: Name used: tools/theorem.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/tools-overview.pdf
> texdoc debug-score: Name used: tools/tools-overview.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/trace.pdf
> texdoc debug-score: Name used: tools/trace.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/varioref.pdf
> texdoc debug-score: Name used: tools/varioref.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/verbatim.pdf
> texdoc debug-score: Name used: tools/verbatim.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/xr.pdf
> texdoc debug-score: Name used: tools/xr.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/xspace.pdf
> texdoc debug-score: Name used: tools/xspace.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/layman.pdf
> texdoc debug-score: Name used: layouts/layman.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/License.txt
> texdoc debug-score: Name used: zwpagelayout/license.txt
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Adjust by -10 from global pattern 'license'
> texdoc debug-score: Final score: -20
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/refman/layout_e.pdf
> texdoc debug-score: Name used: refman/layout_e.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: Final heuristic score: 1
> texdoc debug-score: Max pattern score: 1
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 2.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
> texdoc debug-score: Name used: handin/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/idxlayout/idxlayout.pdf
> texdoc debug-score: Name used: idxlayout/idxlayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/adjusthead.pdf
> texdoc debug-score: Name used: zwpagelayout/adjusthead.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/canoniclayout/README
> texdoc debug-score: Name used: canoniclayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/coversample.pdf
> texdoc debug-score: Name used: zwpagelayout/coversample.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/changelayout/changelayout-guide.pdf
> texdoc debug-score: Name used: changelayout/changelayout-guide.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/changelayout/README
> texdoc debug-score: Name used: changelayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/README
> texdoc debug-score: Name used: zwpagelayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/idxlayout/README
> texdoc debug-score: Name used: idxlayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/pst-layout/README
> texdoc debug-score: Name used: pst-layout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
> texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
> texdoc debug-score: Final heuristic score: 0.1
> texdoc debug-score: Max pattern score: 0.1
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: 0.3
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/pst-layout/pst-layout-doc.pdf
> texdoc debug-score: Name used: pst-layout/pst-layout-doc.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: New heuristic score: 2. Reason: subword match for derived pattern: layout-doc
> texdoc debug-score: Final heuristic score: 2
> texdoc debug-score: Max pattern score: 2
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 3.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/refman/layout_d.pdf
> texdoc debug-score: Name used: refman/layout_d.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: Final heuristic score: 1
> texdoc debug-score: Max pattern score: 1
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 2.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/zwpagelayout.pdf
> texdoc debug-score: Name used: zwpagelayout/zwpagelayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf
> texdoc debug-score: Name used: latex-refsheet/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/README
> texdoc debug-score: Name used: layouts/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/canoniclayout/canoniclayout.pdf
> texdoc debug-score: Name used: canoniclayout/canoniclayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/adjustfoot.pdf
> texdoc debug-score: Name used: zwpagelayout/adjustfoot.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/layouts.pdf
> texdoc debug-score: Name used: layouts/layouts.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc info: View command: open -a 'Adobe Reader' "/usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf"
> texdoc info: Setting environment LC_CTYPE to: fr_FR.UTF-8
> 
> 
> 
> Notice that again this opened
> 
> /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
> 
> (number 3 in my original message at top of this thread)
> 
> If that matters I executed the whole thing above in a new Terminal window.
> 
> Now doing again
> 
> $ texdoc -DI layout
> 
> it opens number 1 in my original message
> 
> 
> here is output
> 
> $ texdoc -DI layout
> texdoc debug-version: /usr/local/texlive/2018/texmf-dist/scripts/texdoc/texdoclib.tlu version 3.0
> texdoc debug-config: Setting 'debug_list=all' from command line option "-D".
> texdoc debug-config: Setting 'interact_switch=false' from command line option "-I".
> texdoc debug-config: Setting 'viewer_pdf=open -a 'Adobe Reader'' in file "/Users/xxxx/Library/texmf/texdoc/texdoc.cnf" on line 17.
> texdoc debug-config: Setting 'suffix_list=doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man, notes, -info, ref' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 95.
> texdoc debug-config: Setting 'lastfile_switch=true' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 509.
> texdoc debug-config: Setting 'lang=fr' from operating system locale.
> texdoc debug-config: Setting 'max_lines=20' from built-in defaults.
> texdoc debug-config: Setting 'mode=view' from built-in defaults.
> texdoc debug-config: Setting 'machine_switch=false' from built-in defaults.
> texdoc debug-config: Setting 'basename_list=readme, 00readme' from built-in defaults.
> texdoc debug-config: Setting 'verbosity_level=2' from built-in defaults.
> texdoc debug-config: Setting 'ext_list=pdf, htm, html, txt, ps, dvi, ' from built-in defaults.
> texdoc debug-config: Setting 'badbasename_list=readme, 00readme' from built-in defaults.
> texdoc debug-config: Setting 'badext_list=txt, ' from built-in defaults.
> texdoc debug-config: Setting 'fuzzy_level=5' from built-in defaults.
> texdoc debug-config: Setting 'zipext_list=' from built-in defaults.
> texdoc debug-config: Setting 'rm_dir=rmdir' from built-in defaults.
> texdoc debug-config: Setting 'rm_file=rm -f' from built-in defaults.
> texdoc debug-files: Configuration files are:
> texdoc debug-files: active	/Users/xxxx/Library/texmf/texdoc/texdoc.cnf
> texdoc debug-files: active	/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf
> texdoc debug-texdocs: texdocs[7] = /Users/xxxx/Library/texlive/2018/texmf-config/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[6] = /Users/xxxx/Library/texlive/2018/texmf-var/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[5] = /Users/xxxx/Library/texmf/doc (index_mandatory=false, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[5] using filesystem search
> texdoc debug-texdocs: texdocs[4] = /usr/local/texlive/2018/texmf-local/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[4] using index: /usr/local/texlive/2018/texmf-local (shift=doc/)
> texdoc debug-texdocs: texdocs[3] = /usr/local/texlive/2018/texmf-config/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[2] = /usr/local/texlive/2018/texmf-var/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[1] = /usr/local/texlive/2018/texmf-dist/doc (index_mandatory=true, recursion_allowed=true)
> texdoc debug-texdocs: texdocs[1] using index: /usr/local/texlive/2018/texmf-dist (shift=doc/)
> texdoc debug-tlpdb: Using cached data from /Users/xxxx/Library/texlive/2018/texmf-var/texdoc/cache-tlpdb.lua
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/README.md
> texdoc debug-score: Name used: tools/readme.md
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -4.9
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/README.txt
> texdoc debug-score: Name used: tools/readme.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -4.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/afterpage.pdf
> texdoc debug-score: Name used: tools/afterpage.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/array.pdf
> texdoc debug-score: Name used: tools/array.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/bm.pdf
> texdoc debug-score: Name used: tools/bm.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/calc.pdf
> texdoc debug-score: Name used: tools/calc.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/changes.txt
> texdoc debug-score: Name used: tools/changes.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/dcolumn.pdf
> texdoc debug-score: Name used: tools/dcolumn.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/delarray.pdf
> texdoc debug-score: Name used: tools/delarray.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/enumerate.pdf
> texdoc debug-score: Name used: tools/enumerate.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/fileerr.pdf
> texdoc debug-score: Name used: tools/fileerr.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/fontsmpl.pdf
> texdoc debug-score: Name used: tools/fontsmpl.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/ftnright.pdf
> texdoc debug-score: Name used: tools/ftnright.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/hhline.pdf
> texdoc debug-score: Name used: tools/hhline.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/indentfirst.pdf
> texdoc debug-score: Name used: tools/indentfirst.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/layout.pdf
> texdoc debug-score: Name used: tools/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/longtable.pdf
> texdoc debug-score: Name used: tools/longtable.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/manifest.txt
> texdoc debug-score: Name used: tools/manifest.txt
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/multicol.pdf
> texdoc debug-score: Name used: tools/multicol.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/rawfonts.pdf
> texdoc debug-score: Name used: tools/rawfonts.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/shellesc.pdf
> texdoc debug-score: Name used: tools/shellesc.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/showkeys.pdf
> texdoc debug-score: Name used: tools/showkeys.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/somedefs.pdf
> texdoc debug-score: Name used: tools/somedefs.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/tabularx.pdf
> texdoc debug-score: Name used: tools/tabularx.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/theorem.pdf
> texdoc debug-score: Name used: tools/theorem.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/tools-overview.pdf
> texdoc debug-score: Name used: tools/tools-overview.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/trace.pdf
> texdoc debug-score: Name used: tools/trace.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/varioref.pdf
> texdoc debug-score: Name used: tools/varioref.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/verbatim.pdf
> texdoc debug-score: Name used: tools/verbatim.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/xr.pdf
> texdoc debug-score: Name used: tools/xr.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/tools/xspace.pdf
> texdoc debug-score: Name used: tools/xspace.pdf
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: New score: -5 from sty/cls association
> texdoc debug-score: Final score: -5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/idxlayout/README
> texdoc debug-score: Name used: idxlayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/README
> texdoc debug-score: Name used: layouts/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/zwpagelayout.pdf
> texdoc debug-score: Name used: zwpagelayout/zwpagelayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/layouts.pdf
> texdoc debug-score: Name used: layouts/layouts.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/layouts/layman.pdf
> texdoc debug-score: Name used: layouts/layman.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/pst-layout/README
> texdoc debug-score: Name used: pst-layout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
> texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
> texdoc debug-score: Final heuristic score: 0.1
> texdoc debug-score: Max pattern score: 0.1
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: 0.3
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/License.txt
> texdoc debug-score: Name used: zwpagelayout/license.txt
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Adjust by -10 from global pattern 'license'
> texdoc debug-score: Final score: -20
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/README
> texdoc debug-score: Name used: zwpagelayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/adjustfoot.pdf
> texdoc debug-score: Name used: zwpagelayout/adjustfoot.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf
> texdoc debug-score: Name used: latex-refsheet/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
> texdoc debug-score: Name used: handin/layout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 4. Reason: exact match
> texdoc debug-score: Final heuristic score: 4
> texdoc debug-score: Max pattern score: 4
> texdoc debug-score: Final score: 4
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/changelayout/README
> texdoc debug-score: Name used: changelayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/changelayout/changelayout-guide.pdf
> texdoc debug-score: Name used: changelayout/changelayout-guide.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/refman/layout_e.pdf
> texdoc debug-score: Name used: refman/layout_e.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: Final heuristic score: 1
> texdoc debug-score: Max pattern score: 1
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 2.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/adjusthead.pdf
> texdoc debug-score: Name used: zwpagelayout/adjusthead.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/pst-layout/pst-layout-doc.pdf
> texdoc debug-score: Name used: pst-layout/pst-layout-doc.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: New heuristic score: 2. Reason: subword match for derived pattern: layout-doc
> texdoc debug-score: Final heuristic score: 2
> texdoc debug-score: Max pattern score: 2
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 3.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/zwpagelayout/coversample.pdf
> texdoc debug-score: Name used: zwpagelayout/coversample.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Final score: -10
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/canoniclayout/README
> texdoc debug-score: Name used: canoniclayout/readme
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue "readme" bonus: +0.1
> texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
> texdoc debug-score: Final score: -9.8
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/canoniclayout/canoniclayout.pdf
> texdoc debug-score: Name used: canoniclayout/canoniclayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/refman/layout_d.pdf
> texdoc debug-score: Name used: refman/layout_d.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: New heuristic score: 1. Reason: subword match
> texdoc debug-score: Final heuristic score: 1
> texdoc debug-score: Max pattern score: 1
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: 2.5
> texdoc debug-score: ----------
> texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/idxlayout/idxlayout.pdf
> texdoc debug-score: Name used: idxlayout/idxlayout.pdf
> texdoc debug-score: Start heuristic scoring with pattern: layout
> texdoc debug-score: Final heuristic score: -10
> texdoc debug-score: Max pattern score: -10
> texdoc debug-score: Catalogue details bonus: +1.5
> texdoc debug-score: Final score: -8.5
> texdoc info: View command: open -a 'Adobe Reader' "/usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf"
> texdoc info: Setting environment LC_CTYPE to: fr_FR.UTF-8
> 
> 
> Best,
> 
> Jean-François
> 
> 
> Le 24 oct. 2018 à 12:56, Takuto ASAKURA <tkt.asakura at gmail.com> a écrit :
> 
>> 
>> Hi Jean-François,
>> 
>> actually, the result is slightly different on my computer:
>> 
>> $ texdoc -l layout
>> 1 /usr/local/texlive/2018/texmf-dist/doc/context/third/layout/t-layout.pdf
>>  = Package documentation
>> 2 /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
>> 3 /usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf
>> 4 /usr/local/texlive/2018/texmf-dist/doc/latex/tools/layout.pdf
>> 5 ...
>> 
>> This result reproduce several times, so it seems stable (as it should be).
>> I'm not sure why there's a difference... do you have your personal texdoc.cnf?
>> 
>> If it is possible, please show me your personal texdoc.cnf files (if any)
>> and the debug output for `texdoc -Dl layout`.
>> 
>> Anyway, I can agree that it is better to put "tools/layout.pdf" the first,
>> so I will handle that.
>> 
>> Best,
>> Takuto
>> 
>>> On 2018/10/24, at 19:22, jfbu <jfbu at free.fr> wrote:
>>> 
>>> Hi,
>>> 
>>> $ texdoc -l layout
>>> 1 /usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf
>>> 2 /usr/local/texlive/2018/texmf-dist/doc/latex/tools/layout.pdf
>>> 3 /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
>>> 4 ...
>>> 
>>> I think most users would prefer that tools/layout.pdf is opened by default.
>>> 
>>> Additional perplexity:
>>> 
>>> on my very first
>>> 
>>> texdoc layout
>>> 
>>> the file /usr/local/texlive/2018/texmf-dist/doc/latex/handin/layout.pdf
>>> 
>>> (i.e. number 3 above) was opened.
>>> 
>>> Then I did the texdoc -l layout above, hit RET and it opened 
>>> 
>>> /usr/local/texlive/2018/texmf-dist/doc/latex/latex-refsheet/layout.pdf
>>> 
>>> (as expected in view of the copied pasted list above)
>>> 
>>> Now trying again
>>> 
>>> texdoc layout
>>> 
>>> it keeps opening that file (number 1)
>>> I never got it to open again by default number 3.
>>> 
>>> I am with TL2018 last updated on Sat Sep 29 17:14:14 2018 (I presume system time, i.e. French Time is listed in log)
>>> 
>>> Best,
>>> 
>>> Jean-François
>>> 
>>> 
>> 
> 




More information about the tex-live mailing list