commit a1d297b2cc82bfb025c94e37a59827d25de0a4e1
Author: Thibaut Cuvelier <[email protected]>
Date: Mon Feb 7 04:49:32 2022 +0100
DocBook: add a TODO for a newly discovered bug.
---
src/insets/InsetIndex.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index c578c03..fef2467 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -189,6 +189,8 @@ void InsetIndex::latex(otexstream & ios, OutputParams const
& runparams_in) cons
void InsetIndex::docbook(XMLStream & xs, OutputParams const & runparams) const
{
// Get the content of the inset as LaTeX, as some things may be encoded
as ERT (like {}).
+ // TODO: if there is an ERT within the index term, its conversion
should be tried, in case it becomes useful;
+ // otherwise, ERTs should become comments. For now, they are just
copied as-is, which is barely satisfactory.
odocstringstream odss;
otexstream ots(odss);
InsetText::latex(ots, runparams);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs