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)
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)