RE: texi2dvi not passing locale to texindex

Vincent Belaïche <[email protected]> Sun, 3 May 2026 15:55:20 +0000
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <AMBP194MB2691D3B0079BA9BE07337F5D84302@AMBP194MB2691.EURP194.PROD.OUTLOOK.COM>
Dear Gavin,
Thank you for the great job. I tried it on ses-fr.texi (=some part of Emacs documentation translated to French) and it compiles with no error although LC_ALL is set to C. I attached what I get for the index, it looks a bit unususal, but it is ok IMHO.

   Vincent.
​​
PS : On my side I have drafted some evolution of Emacs configure script in order to enable ses-fr.texi compilation when texinfo.tex version is old enough. FYI, see https://cgit.git.savannah.gnu.org/cgit/emacs.git/log/?h=scratch/translations-of-manuals
What I do is extract the version of texinfo.tex and compare it to 2026-04-01.0 (actually this should be 2026-04-26.12), and if it is >= then fr is included into the DOCLANGS list which is a list of languages for which manual are compiled.



________________________________
De : Gavin Smith <[email protected]>
Envoyé : dimanche 26 avril 2026 14:29
À : Vincent Belaïche <[email protected]>
Cc : Eli Zaretskii <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>
Objet : Re: texi2dvi not passing locale to texindex

On Fri, Apr 24, 2026 at 07:20:35PM +0000, Vincent Belaïche wrote:
> Dear Eli & Gavin,
>
> The fix proposed by Gavin is IMHO sufficient for French. So if there is
> a release of Texinfo with this fix in txi-fr.tex, I would be quite happy
> as this would allow us to include ses-fr.texi into the set of compiled
> manuals, which was the object of the original emacs-devel discussion
> that triggered this thread.

I've made the changes I proposed to texinfo.tex and have changed the default
sort strings used for most of the accented characters in the Latin-1 block.
(commit 836b8924560, 2026-04-26).  This should cover nearly all of the
characters used for French.

There is still the possibility to make changes in the translation files
(like txi-fr.tex) as well, although these would take longer to become
prevalent among users than changes to the base texinfo.tex file.
Sans titre.png (image/png, 100.3 KB) - not displayed