Fix lyx2lyx to handle reLyX files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5968 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2003-01-17 08:20:52 +00:00
parent 086495bec5
commit d651660964
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-01-17 Dekel Tsur <dekelts@tau.ac.il>
* lyx2lyx/lyxconvert_218.py (change_listof): Handle reLyX files.
2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ui/default.ui: re-add ellipsis on some menu entries

View File

@ -473,7 +473,7 @@ def change_listof(lines):
i = find_token(lines, "\\begin_inset LatexCommand \\listof", i)
if i == -1:
break
type = lines[i][33:-3]
type = re.search(r"listof(\w*)", lines[i]).group(1)[:-1]
lines[i] = "\\begin_inset FloatList "+type
i = i+1