]> git.lyx.org Git - lyx.git/commit
InsetIndex: revamp IndexEntry to handle both legacy and modern index insets; simplify...
authorThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 25 Apr 2022 02:57:42 +0000 (04:57 +0200)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Thu, 5 May 2022 02:16:51 +0000 (04:16 +0200)
commitf352a375d93517a994316ed5fac82b1804459f51
tree35713e9e12149897f4f7d5efc59f5d6a7ceaa0c7
parent54a519a0893af33220dea91bef55f8a5d71b907c
InsetIndex: revamp IndexEntry to handle both legacy and modern index insets; simplify and adapt the XHTML code.

DocBook comes in another commit, as the modifications are not required to keep the code compilable.

A semicolon is no more used between an index term and the places it appears, because some languages need a space before it and others not: this wasn't handled at all. With a dash, this problem disappears.
autotests/export/docbook/index_light.lyx [new file with mode: 0644]
autotests/export/docbook/index_nesting.lyx [new file with mode: 0644]
src/insets/InsetIndex.cpp
src/insets/InsetIndex.h