`texdoc` search algorithm and language settings
Takuto ASAKURA
tkt.asakura at gmail.com
Sat Nov 5 10:52:04 CET 2022
Hi,
we noticed that our locale setting detection from ENV vars is somewhat incomplete, and working on fixing it: https://github.com/TeX-Live/texdoc/issues/77
At the moment, writing an explicit locale setting (lang) in your texdoc.cnf is the most stable way to tell which language you prefer for the program.
Best,
Takuto
> On 2022/11/05, at 18:45, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:
>
> Hi,
>
> confirmed, the same on my computer.
>
> Zdeněk Wagner
> http://ttsm.icpf.cas.cz/team/wagner.shtml
>
> so 5. 11. 2022 v 7:21 odesílatel Werner LEMBERG <wl at gnu.org> napsal:
>>
>>
>> [Texdoc 3.4.1 (2022-03-19), without personal configuration file]
>>
>>
>> How is language-specific documentation selected? For example, the
>> default language environment settings on my GNU/Linux box are
>>
>> ```
>> LANG=en_US.UTF-8
>> LANGUAGE=de
>> ```
>>
>> Doing one of the following
>>
>> ```
>> texdoc impnattypo
>> LANGUAGE=en texdoc impnattypo
>> ```
>>
>> however, displays `impnattypo-fr.pdf`. I have to say
>>
>> ```
>> LANG= texdoc impnattypo
>> ```
>>
>> to eventually get `impnattypo.pdf`.
>>
>> This behaviour doesn't look right to me. Why is the `LANGUAGE`
>> setting ignored? And, more severe: Why is `LANG=en_US.UTF-8` ignored?
>>
>>
>> Werner
>
More information about the tex-live
mailing list.