mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Do not break documents with complex beamer block ERT usage we cannot handle
Fixes: #9144
This commit is contained in:
parent
b555f31a34
commit
e9681bbe08
@ -3245,7 +3245,10 @@ def convert_beamerblocks(document):
|
|||||||
# Multipar ERT. Skip this.
|
# Multipar ERT. Skip this.
|
||||||
break
|
break
|
||||||
else:
|
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:
|
else:
|
||||||
break
|
break
|
||||||
j = find_end_of_layout(document.body, i)
|
j = find_end_of_layout(document.body, i)
|
||||||
|
Loading…
Reference in New Issue
Block a user