From: Günter Milde Date: Sun, 7 Jul 2019 18:51:53 +0000 (+0200) Subject: Fix lyx2lyx. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b59046bf275ecf75f5e8f5ab2224781515914aab;p=features.git Fix lyx2lyx. Wrong number in the "revert" list, Missing integer in "Provides" tag of local layout. --- 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]],