mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix lyx2lyx problem connected with subfloats that prevented the User Guide from being exported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3caeb344b8
commit
0ff926b77b
@ -2186,7 +2186,7 @@ def revert_subfig(document):
|
||||
if k == -1:
|
||||
break
|
||||
# is the subfloat aligned?
|
||||
al = find_token(document.body, '\\align ', k - 1)
|
||||
al = find_token(document.body, '\\align ', k - 1, j)
|
||||
alignment_beg = ""
|
||||
alignment_end = ""
|
||||
if al != -1:
|
||||
|
Loading…
Reference in New Issue
Block a user