From: Dekel Tsur Date: Sat, 31 Aug 2002 11:27:01 +0000 (+0000) Subject: Work with nested tabulars X-Git-Tag: 1.6.10~18381 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e579a794e26e9614c6bb874ce446fea311a2e1d6;p=features.git Work with nested tabulars git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5189 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index a021d9343b..78eb9bb710 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2002-08-31 Dekel Tsur + + * lyx2lyx/lyxconvert_218.py (update_tabular): Work with nested tabulars + 2002-08-29 John Levon * images/math/: add AMS nrel diff --git a/lib/lyx2lyx/lyxconvert_218.py b/lib/lyx2lyx/lyxconvert_218.py index 6d72f9e61c..f5ea8b0235 100644 --- a/lib/lyx2lyx/lyxconvert_218.py +++ b/lib/lyx2lyx/lyxconvert_218.py @@ -404,20 +404,20 @@ def update_tabular(lines): if i == -1: break - # scan table header meta-info - lines[i+1] = string.replace(lines[i+1], 'version="2"', 'version="3"') - - j = find_token(lines, '', i) + j = find_end_of_tabular(lines, i+1) if j == -1: break - for k in xrange(i+2,j): - if check_token(lines[k], "