]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyxconvert_228.py
add bibtopic support (bug 870).
[lyx.git] / lib / lyx2lyx / lyxconvert_228.py
index 33e5af65858574b92276c9da3337a55abebee531..ec984440381045a60d6e4f747c8a3b0e8b65211d 100644 (file)
@@ -1,4 +1,5 @@
 # This file is part of lyx2lyx
+# -*- coding: iso-8859-1 -*-
 # Copyright (C) 2003 José Matos <jamatos@fep.up.pt>
 #
 # This program is free software; you can redistribute it and/or
@@ -73,6 +74,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 +93,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)