mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
lyx_2_2.py: add a safe guard
This commit is contained in:
parent
4933399507
commit
43a80ef7df
@ -1997,6 +1997,9 @@ def convert_moderncv(document):
|
|||||||
|
|
||||||
def revert_achemso(document):
|
def revert_achemso(document):
|
||||||
" Reverts the flex inset Latin to TeX code "
|
" Reverts the flex inset Latin to TeX code "
|
||||||
|
|
||||||
|
if document.textclass != "achemso":
|
||||||
|
return
|
||||||
i = 0
|
i = 0
|
||||||
j = 0
|
j = 0
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
Reference in New Issue
Block a user