Hi, during my sping cleans I found this patch for lyx2lyx: Index: lyxconvert_215.py =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/lyx2lyx/lyxconvert_215.py,v retrieving revision 1.5 diff -u -p -r1.5 lyxconvert_215.py --- lyxconvert_215.py 6 Jun 2003 15:48:35 -0000 1.5 +++ lyxconvert_215.py 7 Jun 2003 10:10:11 -0000 @@ -107,6 +107,12 @@ def remove_vcid(lines): if i != -1: del lines[i]
+def first_layout(lines): + while (lines[0] == ""): + del lines[0] + if lines[0][:7] != "\\layout": + lines[:0] = ["\\layout Standard"] + def remove_space_in_units(lines): margins = ["\\topmargin","\\rightmargin", "\\leftmargin","\\bottommargin"] @@ -132,6 +138,7 @@ def remove_space_in_units(lines): i = i + 1 def convert(header,body): + first_layout(body) remove_vcid(header) remove_cursor(body) update_toc(body) That is if the first line is not a layout then add the Standard layout. Does anyone has any elder files where this happens? Should I discard the patch? Best regards, -- José Abílio