]> git.lyx.org Git - features.git/commitdiff
Improve beamer conversion: Support default list overlay specification without ERT
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Dec 2013 13:55:09 +0000 (14:55 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Dec 2013 13:55:34 +0000 (14:55 +0100)
lib/lyx2lyx/lyx_2_1.py

index f21c520e2f3208202b8239ca10dfdf8f77d2d976..5dafc8ab0d0b64513ef4a8f4ce4c86e9a5954d77 100644 (file)
@@ -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"