[texdoc] Wrong result for XeTeX

Bruno Voisin bvoisin at icloud.com
Tue Dec 13 01:12:54 CET 2022


> Le 12 déc. 2022 à 23:09, Philip Taylor (Small Acres) <P.Taylor at Trezaise.Uk> a écrit :
> 
> On 12/12/2022 21:49, Bruno Voisin wrote:
> 
>> Currently "texdoc xetex" opens the unimath-plain-xetex doc instead of xetex-reference.
> 
> OK here (Windows 7, 64-bit; TeX Live 2022 [but not recently updated]).

My setup is macOS 13.1, TeX Live 2022 (just updated). With -D I get

texdoc debug-score: (ff1adbe) Start scoring /usr/local/texlive/2022/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf
texdoc debug-score: (ff1adbe) Name used: xetex/xetexref/xetex-reference.pdf
texdoc debug-score: (ff1adbe) Start heuristic scoring with pattern: xetex
texdoc debug-score: (ff1adbe) New heuristic score: 1.0. Reason: subword match
texdoc debug-score: (ff1adbe) New heuristic score: 3.5. Reason: subword match for derived pattern: xetexref
texdoc debug-score: (ff1adbe) New heuristic score: 5.0. Reason: directory bonus
texdoc debug-score: (ff1adbe) Final heuristic score: 5.0
texdoc debug-score: (ff1adbe) Max pattern score: 5.0
texdoc debug-score: (ff1adbe) Catalogue details bonus: +1.5
texdoc debug-score: (ff1adbe) Final score: 6.5

and

texdoc debug-score: (cb23a7e) Start scoring /usr/local/texlive/2022/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf
texdoc debug-score: (cb23a7e) Name used: xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf
texdoc debug-score: (cb23a7e) Start heuristic scoring with pattern: xetex
texdoc debug-score: (cb23a7e) New heuristic score: 1.0. Reason: subword match
texdoc debug-score: (cb23a7e) New heuristic score: 3.5. Reason: subword match for derived pattern: xetex-doc
texdoc debug-score: (cb23a7e) New heuristic score: 5.0. Reason: directory bonus
texdoc debug-score: (cb23a7e) Final heuristic score: 5.0
texdoc debug-score: (cb23a7e) Max pattern score: 5.0
texdoc debug-score: (cb23a7e) Catalogue details bonus: +1.5
texdoc debug-score: (cb23a7e) Final score: 6.5

The only active texmf.cnf is /usr/local/texlive/2022/texmf-dist/texdoc/texdoc.cnf

Based on <https://www.ctan.org/pkg/unimath-plain-xetex>, the package unimath-plain-xetex that takes xetexref over was added to CTAN on November 7.

Bruno Voisin


More information about the texdoc mailing list.