lyx2lyx/lyx_2_2.py: remove unused code

This commit is contained in:
Uwe Stöhr 2015-11-04 01:22:03 +01:00
parent 62a69584e6
commit e52a4b738c

View File

@ -2007,9 +2007,7 @@ def revert_achemso(document):
beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i) beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
endPlain = find_end_of_layout(document.body, beginPlain) endPlain = find_end_of_layout(document.body, beginPlain)
content = lyx2latex(document, document.body[beginPlain : endPlain]) 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 + "}") document.body[i:j + 1] = put_cmd_in_ert("\\latin{" + content + "}")
#del document.body[i : j + 1]
else: else:
document.warning("Malformed LyX document: Can't find end of flex inset Latin") document.warning("Malformed LyX document: Can't find end of flex inset Latin")
return return