]> git.lyx.org Git - lyx.git/commitdiff
tex2lyx glitch
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 28 Dec 2012 13:04:24 +0000 (14:04 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 28 Dec 2012 13:04:24 +0000 (14:04 +0100)
lib/lyx2lyx/lyx_2_1.py

index 380d8d8b6230f3401ec148866063918ecc4d7d12..847fc4b3d55faf5f9908b0c64443f741528ac049 100644 (file)
@@ -2928,7 +2928,7 @@ def convert_epigraph(document):
                 begsubst = ['\\begin_inset Argument post:1', 'status collapsed', '',
                             '\\begin_layout Plain Layout']
                 endsubst = ['\\end_layout', '', '\\end_inset', '', document.body[j]]
-                document.body[j : j] = endsubst
+                document.body[j : j + 1] = endsubst
                 document.body[endInset + 1 : endInset + 1] = begsubst
                 # Adjust range end
                 endlay += len(begsubst) + len(endsubst)