`texdoc` search algorithm and language settings

Werner LEMBERG wl at gnu.org
Sat Nov 5 07:21:21 CET 2022


[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.