Fix lyx2lyx.

Wrong number in the "revert" list,
Missing integer in "Provides" tag of local layout.
This commit is contained in:
Günter Milde 2019-07-07 20:51:53 +02:00
parent 8556cb1c66
commit e829c97f91

View 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]],