From e9681bbe0817b1f92eb06ff65a6359b108f34bab Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 3 Aug 2014 12:21:35 +0200 Subject: [PATCH] Do not break documents with complex beamer block ERT usage we cannot handle Fixes: #9144 --- lib/lyx2lyx/lyx_2_1.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index 1a24675532..91ed291d9a 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++ b/lib/lyx2lyx/lyx_2_1.py @@ -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)