+2003-01-15 Michael Schmitt <Michael.Schmitt@teststep.org>
+
+ * lyx2lyx/lyxconvert_218.py(remove_figinset):
+ Fix bug 816, make function more robust.
+
2003-01-13 Angus Leeming <leeming@lyx.org>
* scripts/convertDefault.sh: make it return the exit status of the
2003-01-13 Angus Leeming <leeming@lyx.org>
* scripts/convertDefault.sh: make it return the exit status of the
break
j = find_end_of_inset(lines, i)
break
j = find_end_of_inset(lines, i)
- lyxwidth = string.split(lines[i])[3]+"pt"
- lyxheight = string.split(lines[i])[4]+"pt"
+ if ( len(string.split(lines[i])) > 2 ):
+ lyxwidth = string.split(lines[i])[3]+"pt"
+ lyxheight = string.split(lines[i])[4]+"pt"
+ else:
+ lyxwidth = ""
+ lyxheight = ""
filename = get_value(lines, "file", i+1, j)
filename = get_value(lines, "file", i+1, j)