]> git.lyx.org Git - features.git/commitdiff
Do not break documents with complex beamer block ERT usage we cannot handle
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 3 Aug 2014 10:21:35 +0000 (12:21 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 3 Aug 2014 10:21:35 +0000 (12:21 +0200)
Fixes: #9144
lib/lyx2lyx/lyx_2_1.py

index 1a2467553273e2f54082bca54f83ff282c0a016e..91ed291d9aa2f905b872ddba64d63ee3cdfb5f63 100644 (file)
@@ -3245,7 +3245,10 @@ def convert_beamerblocks(document):
                                 # Multipar ERT. Skip this.
                                 break
                             else:
-                                convert_TeX_brace_to_Argument(document, i, 2, 2, False, True, False)
+                                # ERT has contents after the closing bracket. We cannot convert this.
+                                # convert_TeX_brace_to_Argument cannot either.
+                                #convert_TeX_brace_to_Argument(document, i, 2, 2, False, True, False)
+                                break
                         else:
                             break
                         j = find_end_of_layout(document.body, i)