mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
lyx2lyx/lyx_2_2.py: remove unused code
This commit is contained in:
parent
62a69584e6
commit
e52a4b738c
@ -2007,9 +2007,7 @@ def revert_achemso(document):
|
||||
beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
|
||||
endPlain = find_end_of_layout(document.body, beginPlain)
|
||||
content = lyx2latex(document, document.body[beginPlain : endPlain])
|
||||
#content = lyx2latex(document, document.body[i : j + 1])
|
||||
document.body[i:j + 1] = put_cmd_in_ert("\\latin{" + content + "}")
|
||||
#del document.body[i : j + 1]
|
||||
else:
|
||||
document.warning("Malformed LyX document: Can't find end of flex inset Latin")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user