From: Juergen Spitzmueller Date: Fri, 13 Dec 2013 13:55:09 +0000 (+0100) Subject: Improve beamer conversion: Support default list overlay specification without ERT X-Git-Tag: 2.1.0rc1~338 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=50066b46ab7f7a1089dbeb687a00c1d75ca90919;p=features.git 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 f21c520e2f..5dafc8ab0d 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"