From 3d018a6d942ca600ff7215966e0065b92df84bcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 25 Jan 2009 10:55:06 +0000 Subject: [PATCH] * lyx2lyx/lyx_1_6.py: - (convert_latexcommand_index): do not stop if a print_index inset is found, but just skip this inset and proceed. There might be index insets after this (bug 5713). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28273 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_6.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index bc71d94418..e6bf425150 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -1076,7 +1076,8 @@ def convert_latexcommand_index(document): if i == -1: return if document.body[i + 1] != "LatexCommand index": # Might also be index_print - return + i += 1 + continue j = find_end_of_inset(document.body, i + 2) if j == -1: document.warning("Unable to find end of index inset at line " + i + "!") -- 2.39.2