On Mon, Feb 13, 2023 at 08:47:26AM +0000, Gavin Smith wrote: > > Other than that I do not have much other idea than disabling it, for > > instance if documentlanguage is en. The result with Unicode::Collate is > > better for accented letters, but not so useful in english. There could > > even be a customization variable to use Unicode::Collate even in > > english. > > Another possibility is to use getSortKey:
This is done in https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=434dcffe6a531f2d25200b2059ddfd784ab58c6f The default is for now set to using preset keys. For now it can be changed in tp/Texinfo/Structuring.pm by setting $default_preset_keys to 0. I have compared the Texxinfo tests, and not pre-setting seems to be a bit faster. However, for the Texinfo manual pre-setting the keys leads to a net gain, with a doubling of the time without pre-setting. -- Pat