From e829c97f91c82f910505244432d483ca6d1bd405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= Date: Sun, 7 Jul 2019 20:51:53 +0200 Subject: [PATCH] Fix lyx2lyx. Wrong number in the "revert" list, Missing integer in "Provides" tag of local layout. --- lib/lyx2lyx/lyx_2_4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index 91ac213451..3ffb1bc69e 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -2249,7 +2249,7 @@ def revert_drs(document): document.body[beginPlain + 1:beginPlain] = precontent del document.body[i : beginPlain + 1] if not cov_req: - document.append_local_layout("Provides covington") + document.append_local_layout("Provides covington 1") add_to_preamble(document, ["\\usepackage{drs,covington}"]) cov_req = True i = beginPlain + 1 @@ -2297,7 +2297,7 @@ convert = [ [578, []] ] -revert = [[576, [revert_drs]], +revert = [[577, [revert_drs]], [576, [revert_linggloss, revert_subexarg]], [575, [revert_new_languages]], [574, [revert_lineno]],