On Fri, 17 Jan 2003, Dekel Tsur wrote: > On Thu, Jan 16, 2003 at 02:40:08AM +0100, Michael Schmitt wrote: > > Index: lib/lyx2lyx/lyxconvert_218.py > > =================================================================== > > RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_218.py,v > > retrieving revision 1.28 > > diff -u -r1.28 lyxconvert_218.py > > --- lib/lyx2lyx/lyxconvert_218.py 2003/01/15 14:17:56 1.28 > > +++ lib/lyx2lyx/lyxconvert_218.py 2003/01/16 01:34:36 > > @@ -473,7 +473,7 @@ > > i = find_token(lines, "\\begin_inset LatexCommand \\listof", i) > > if i == -1: > > break > > - type = lines[i][33:-3] > > + type = lines[i][33:-1] > > lines[i] = "\\begin_inset FloatList "+type > > i = i+1
In principle, we should fix reLyX in that case. However, a quick look at the code tells me that it is probably much more difficult. If the regex solves the problem, we should commit your proposal. Michael