bug-texinfo
[Top][All Lists]
Advanced

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

library for unicode collation in C for texi2any?


From: Patrice Dumas
Subject: library for unicode collation in C for texi2any?
Date: Thu, 12 Oct 2023 11:39:14 +0200

Hello,

There is a translation to C of texi2any code going on, for the future,
after the next release, mainly for the conversion to HTML in a first
step.

One thing I could not find easily in C is something to replace the
Unicode::Collate perl module for index entries sorting using 'smart'
rules for sorting, that could be either found in Gnulib, included easily
in the Texinfo distribution or would be, in general, installed.  Unless
I missed something, there is no such facility in libunistring, it seems
to be in libICU, but I do not know how easy it could be
integrated/shipped with Texinfo and I do not think that it is installed
in the general case.


Do you have information, on how to do 'smart' unicode sorting in
C, including for tests, which could allow shipping of code as we already
do with libunistring in gnulib in case it is not already installed, such
that it is used in the general case?  Could also be example of projects
that have managed to do that.




As a side note, I think that we are not in a hurry, there will be code
to call perl functions from C anyway for the user defined functions, the
index entries sorting could be implemented in perl only for some years
too, there should already be important speed-ups even if that part is
still in perl.

-- 
Pat



reply via email to

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