From d4a00c1a8a514cbec8a50b30ecb35659021d80da Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 28 Dec 2012 14:04:24 +0100 Subject: [PATCH] tex2lyx glitch --- lib/lyx2lyx/lyx_2_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index 380d8d8b62..847fc4b3d5 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++ b/lib/lyx2lyx/lyx_2_1.py @@ -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) -- 2.39.5