commit 50066b46ab7f7a1089dbeb687a00c1d75ca90919
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Dec 13 14:55:09 2013 +0100
Improve beamer conversion: Support default list overlay specification
without ERT
diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index f21c520..5dafc8a 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -2178,6 +2178,13 @@ def convert_beamerargs(document):
if document.body[p + 9].endswith(">"):
# strip off the >
document.body[p + 9] = document.body[p +
9][:-1]
+ elif document.body[p + 4].startswith("<"):
+ # This is an overlay specification (without ERT)
+ # strip off the <
+ document.body[p + 4] = document.body[p + 4][1:]
+ if document.body[p + 4].endswith(">"):
+ # strip off the >
+ document.body[p + 4] = document.body[p +
4][:-1]
elif layoutname != "Itemize":
# Shift this one
document.body[p] = "\\begin_inset Argument 2"