]> git.lyx.org Git - features.git/commitdiff
Old lyx files (from 1.0 era) can start with a begin deeper
authorJosé Matox <jamatos@lyx.org>
Tue, 17 Jul 2007 11:53:46 +0000 (11:53 +0000)
committerJosé Matox <jamatos@lyx.org>
Tue, 17 Jul 2007 11:53:46 +0000 (11:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19097 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/LyX.py

index 0a9e44c6d892a43a613c172b27b5ffdb1cf113b5..f6b5d051af7c1b5ea7e649df71e1ce1377c9d6f5 100644 (file)
@@ -228,7 +228,7 @@ class LyX_Base:
             if not line:
                 continue
 
-            if line.split()[0] in ("\\layout", "\\begin_layout", "\\begin_body"):
+            if line.split()[0] in ("\\layout", "\\begin_layout", "\\begin_body", "\\begin_deeper"):
                 self.body.append(line)
                 break