From 8f5f4a74ae39e7c63d3c8cdc9ff30e6470b5bf14 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Wed, 21 Aug 2002 07:33:25 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5053 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyxconvert_218.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/lyx2lyx/lyxconvert_218.py b/lib/lyx2lyx/lyxconvert_218.py index fca9d518e1..4896ff6921 100644 --- a/lib/lyx2lyx/lyxconvert_218.py +++ b/lib/lyx2lyx/lyxconvert_218.py @@ -271,6 +271,14 @@ def remove_oldert(lines): lines[i:j+1] = new i = i+1 + i = 0 + while 1: + i = find_token(lines, "\\latex default", i) + if i == -1: + break + del lines[i] + + def remove_oldertinset(lines): i = 0 while 1: