]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/lyxconvert_228.py
status tag patch from Georg
[features.git] / lib / lyx2lyx / lyxconvert_228.py
index 33e5af65858574b92276c9da3337a55abebee531..4f6443aaf4a6c468ccd3126678fe57ccece7305e 100644 (file)
@@ -73,6 +73,15 @@ def convert_minipage(lines):
         else:
             width = ' "0"'
 
+        if lines[i][:9] == "collapsed":
+            if lines[i][9:] == "true":
+               status = "collapsed"
+            else:
+               status = "open"
+            del lines[i]
+        else:
+           status = "collapsed"
+
         lines.insert(i, 'use_parbox 0')
         i = i + 1
         lines.insert(i, 'width' + width)
@@ -83,6 +92,8 @@ def convert_minipage(lines):
         i = i + 1
         lines.insert(i, 'height_special "totalheight"')
         i = i + 1
+        lines.insert(i, 'status ' + status)
+        i = i + 1
 
 def convert(header, body):
     convert_minipage(body)