commit 6e607c99ac244b64fdb0dd2dee805f73d198de29
Author: Thibaut Cuvelier <[email protected]>
Date: Thu Jul 17 06:06:08 2025 +0200
DocBook special case: missing INDEX_PRINT_CODE.
This inset should not be output in a paragraph.
This change fixes the DocBook part of
https://www.lyx.org/trac/ticket/13194, although it is entirely unrelated to the
bug report at first glance.
---
src/output_docbook.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp
index d583091ae2..4e246622e9 100644
--- a/src/output_docbook.cpp
+++ b/src/output_docbook.cpp
@@ -387,7 +387,8 @@ void makeParagraph(
INCLUDE_CODE,
NOMENCL_PRINT_CODE,
TOC_CODE, // To be ignored in DocBook, the processor
afterwards should deal with ToCs.
- NOTE_CODE // Notes do not produce any output.
+ NOTE_CODE, // Notes do not produce any output.
+ INDEX_PRINT_CODE
};
auto isLyxCodeSpecialCase = [](InsetList::Element inset) {
return lyxCodeSpecialCases.find(inset.inset->lyxCode()) !=
lyxCodeSpecialCases.end();
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs