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