bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: index sorting in texi2any in C issue with spaces


From: Werner LEMBERG
Subject: Re: index sorting in texi2any in C issue with spaces
Date: Sun, 04 Feb 2024 12:35:26 +0000 (UTC)

>> An alternative is not to have such a variable but just to have an
>> option to collate according to the user's locale.  Then the user
>> would run e.g.  "LC_COLLATE=ll_LL.UTF-8 texi2any ..." to use
>> collation from the ll_LL.UTF-8 locale.  They would have to have the
>> locale installed that was appropriate for whichever manual they
>> were processing (assuming the "variable weighting" option is
>> appropriate.)
> 
> I do not like that possibility, I think that we should avoid using
> the user locales when it comes to document output in general.

+1

> 3) sorting based on @documentlanguage using, in perl
>    Unicode::Collate::Locale with locale @documentlanguage and in C
>    strxfrm_l with "@documentlanguage.utf-8" (at least on GNU/Linux,
>    the locale name setup for strxfrm_l could be different on other
>    platforms).

Sounds good.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]