From: Jürgen Spitzmüller Date: Sun, 25 Jan 2009 10:55:06 +0000 (+0000) Subject: * lyx2lyx/lyx_1_6.py: X-Git-Tag: 2.0.0~7362 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3d018a6d942ca600ff7215966e0065b92df84bcd;p=features.git * 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 --- 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 + "!")