mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Find the end of this layout, not the first end_layout tag we see!
Math manual now exports right. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36138 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bae5fe21bc
commit
296ae1b3f0
@ -167,7 +167,7 @@ def revert_phantom_types(document, ptype, cmd):
|
||||
document.warning("Can't find layout for inset at line " + str(i))
|
||||
i = end
|
||||
continue
|
||||
bend = find_token(document.body, "\\end_layout", blay, end)
|
||||
bend = find_end_of_layout(document.body, blay)
|
||||
if bend == -1:
|
||||
document.warning("Malformed LyX document: Could not find end of Phantom inset's layout.")
|
||||
i = end
|
||||
|
Loading…
Reference in New Issue
Block a user