texdoc shows me German docs for some reason

Takuto ASAKURA tkt.asakura at gmail.com
Wed Aug 3 06:27:47 CEST 2022


Hi Norbert, hi George,

thanks for providing the entire locale settings and the search results. We have some reported issues with the locale judgment feature:

- https://github.com/TeX-Live/texdoc/issues/77
- https://github.com/TeX-Live/texdoc/issues/78

I hope fixing these issues will also solve the strange behaviors; we will use the provided cases for debugging.

Takuto

> On 2022/08/03, at 10:03, George N. White III <gnwiii at gmail.com> wrote:
> 
> 
> 
> On Tue, Aug 2, 2022 at 8:01 PM Norbert Preining <norbert at preining.info> wrote:
> > exists on the machine.  This is true even when the English version (which is
> > what I want) is also on the machine.  E.g., `texdoc geometry` shows me
> > 'geometry-de.pdf' even though 'geometry.pdf' is also sitting right there.
> 
> Indeed, I can confirm that
> [~] texdoc -l geometry
>  1 /home/norbert/tl/2022/texmf-dist/doc/latex/geometry/geometry-de.pdf
>    = [de] Package documentation (German)
>  2 /home/norbert/tl/2022/texmf-dist/doc/latex/geometry/geometry.pdf
>    = [en] Package documentation (English)
>  3 /home/norbert/tl/2022/texmf-dist/doc/latex/lapdf/geometry.pdf
>  4 /home/norbert/tl/2022/texmf-dist/doc/metapost/mp3d/tugboat-geometry-space.pdf
>    = [en] Paper on geometry, for TUGboat
>  5 /home/norbert/tl/2022/texmf-dist/doc/latex/geometry/README.md
>    = Package Readme
>  6 /home/norbert/tl/2022/texmf-dist/doc/latex/geometry/changes.txt
>  7 /home/norbert/tl/2022/texmf-dist/doc/luatex/luatexja/lltjp-geometry.pdf
> 
> while
> [~] locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC=C
> LC_TIME=C
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY=ja_JP.UTF-8
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT=C
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
> 
> 
> That is indeed strange.
>  
> Strange, but not unique:
> 
>  % locale
> LANG=en_CA.UTF-8
> LC_CTYPE="en_CA.UTF-8"
> LC_NUMERIC="en_CA.UTF-8"
> LC_TIME="en_CA.UTF-8"
> LC_COLLATE="en_CA.UTF-8"
> LC_MONETARY="en_CA.UTF-8"
> LC_MESSAGES="en_CA.UTF-8"
> LC_PAPER="en_CA.UTF-8"
> LC_NAME="en_CA.UTF-8"
> LC_ADDRESS="en_CA.UTF-8"
> LC_TELEPHONE="en_CA.UTF-8"
> LC_MEASUREMENT="en_CA.UTF-8"
> LC_IDENTIFICATION="en_CA.UTF-8"
> LC_ALL=
> % texdoc -l phonenumbers
>  1 /usr/local/texlive/2022/texmf-dist/doc/latex/phonenumbers/phonenumbers-de.pdf
>    = [de] German package documentation
>  2 /usr/local/texlive/2022/texmf-dist/doc/latex/phonenumbers/phonenumbers-en.pdf
>    = English package documentation
>  3 /usr/local/texlive/2022/texmf-dist/doc/latex/phonenumbers/README
>    = Readme
> 
> -- 
> George N. White III




More information about the tex-live mailing list.