From f562e05942f45810346bea35089db20e9a12c679 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 31 Aug 2009 12:32:39 +0000 Subject: [PATCH] * InsetIndex.cpp: add some FIXMEs. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31250 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetIndex.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index cb3a276741..6b60824302 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -88,6 +88,9 @@ int InsetIndex::latex(odocstream & os, // ...and erase that stuff from latexstr latexstr = latexstr.erase(pos); // ...and similarly from plainstr + // FIXME This utterly fails if the "|" is in ERT + // which is necessary with font encodings other + // than T1. size_t ppos = plainstr.find(from_ascii("|")); if (ppos < plainstr.size()) plainstr.erase(ppos); @@ -97,6 +100,7 @@ int InsetIndex::latex(odocstream & os, // Separate the entires and subentries, i.e., split on "!" // FIXME This would do the wrong thing with escaped ! characters + // and with "!" in ERT. std::vector const levels = getVectorFromString(latexstr, from_ascii("!"), true); std::vector const levels_plain = -- 2.39.5