]> git.lyx.org Git - features.git/commitdiff
Fix lyx2lyx.
authorGünter Milde <milde@lyx.org>
Sun, 7 Jul 2019 18:51:53 +0000 (20:51 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:35 +0000 (15:48 +0200)
Wrong number in the "revert" list,
Missing integer in "Provides" tag of local layout.

lib/lyx2lyx/lyx_2_4.py

index 91ac213451a88d7df3d37204360a9401ac832cbb..3ffb1bc69e192b7a680c5b25c35eb12bb98224dd 100644 (file)
@@ -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]],