features/indexmacros
Jürgen Spitzmüller
spitz at lyx.org
Thu May 5 15:47:37 UTC 2022
Am Donnerstag, dem 05.05.2022 um 04:27 +0200 schrieb Thibaut Cuvelier:
> I've pushed my refactoring of the XHTML output. According to my
> tests, it is functionally equivalent to the previous code, but with
> cleaner XHTML output (new lines, use of dashes for
> internationalisation).
> Also, I believe the code is much easier to understand and modify in
> the long term (it also handles more than three levels of index, even
> if I doubt it will ever be useful). Algorithmically, it has a very
> similar time complexity but has arrays to store the index in a format
> closer to the XHTML output. Except for very large indices, this
> should not have a significant impact on users.
Excellent.
> Next: port the DocBook code to reuse as much as possible of the new
> XHTML implementation; add features to the XHTML export (multiple
> indices and ranges should be more or less easy to implement).
>
> Feedback welcome on the code :)!
It's not really area I am competent, but it looks good.
--
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220505/32fdb01d/attachment.asc>
More information about the lyx-devel
mailing list