mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
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:
parent
086495bec5
commit
d651660964
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user