]> git.lyx.org Git - lyx.git/commitdiff
* lyx2lyx/lyx_1_6.py:
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 25 Jan 2009 10:55:06 +0000 (10:55 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 25 Jan 2009 10:55:06 +0000 (10:55 +0000)
- (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

index bc71d94418cd3686640cb9195888fa2541e3eb31..e6bf42515030a468efc74e7c813daacdfe8269b1 100644 (file)
@@ -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 + "!")