]> git.lyx.org Git - features.git/commit
Introduce InsetIndexMacros
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 19 Apr 2022 09:46:08 +0000 (11:46 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 19 Apr 2022 09:46:08 +0000 (11:46 +0200)
commit7d7b21ec3e60f0186929016d89a0dfeb4ad8c60f
tree70fccf1189f9b54e0cd560f4183acd756b5b57d7
parent335f158896c067caa138fa7bcf9a9b38fcca1e35
Introduce InsetIndexMacros

This adds native macros for subindexes (!level), |see and |seealso
as well as native support for ranges |( |) and pagination format
-- e.g., |textbf -- via the index dialog

Resolves #12478, #7232 and #5014

The feature is complete (incl. tex2lyx) except for

* file format change and lyx2lyx
* docbook/xhtml
* documentation
21 files changed:
lib/layouts/stdinsets.inc
lib/ui/stdcontext.inc
lib/ui/stdmenus.inc
src/FuncCode.h
src/LyXAction.cpp
src/Makefile.am
src/Text3.cpp
src/factory.cpp
src/frontends/qt/GuiIndex.cpp
src/frontends/qt/GuiIndex.h
src/frontends/qt/ui/IndexUi.ui
src/insets/InsetCode.h
src/insets/InsetIndex.cpp
src/insets/InsetIndex.h
src/insets/InsetIndexMacro.cpp [new file with mode: 0644]
src/insets/InsetIndexMacro.h [new file with mode: 0644]
src/insets/InsetText.cpp
src/tex2lyx/Parser.cpp
src/tex2lyx/Parser.h
src/tex2lyx/tex2lyx.h
src/tex2lyx/text.cpp