mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
(Georg): fix lyx2lyx conversion of InsetBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2b21af9a42
commit
8962f163c5
@ -1,3 +1,8 @@
|
||||
2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* lyxrevert_228.py: fix box status conversion
|
||||
* lyxconvert_227.py: ditto
|
||||
|
||||
2003-12-16 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyxrevert_228.py: fix sys import.
|
||||
|
@ -33,8 +33,12 @@ def convert_collapsable(lines):
|
||||
if i == -1:
|
||||
break
|
||||
|
||||
# We are interested in the next line
|
||||
i = i + 1
|
||||
if lines[i][:16] == "\\begin_inset Box":
|
||||
# Skip box parameters
|
||||
i = i + 10
|
||||
else:
|
||||
# We are interested in the next line
|
||||
i = i + 1
|
||||
if (lines[i] == "collapsed false"):
|
||||
lines[i] = "status open"
|
||||
elif (lines[i] == "collapsed true"):
|
||||
|
@ -33,8 +33,12 @@ def convert_collapsable(lines):
|
||||
if i == -1:
|
||||
break
|
||||
|
||||
# We are interested in the next line
|
||||
i = i + 1
|
||||
if lines[i][:16] == "\\begin_inset Box":
|
||||
# Skip box parameters
|
||||
i = i + 10
|
||||
else:
|
||||
# We are interested in the next line
|
||||
i = i + 1
|
||||
if (lines[i] == "status open"):
|
||||
lines[i] = "collapsed false"
|
||||
elif (lines[i] == "status collapsed" or
|
||||
|
Loading…
Reference in New Issue
Block a user