Re: Bug in lyxconvert_217.py

2002-09-03 Thread José Abílio Oliveira Matos
On Tuesday 03 September 2002 12:28, Dekel Tsur wrote: > > Apparently, it is not difficult to write a code that will also handle this > case. See attached patch. This patch should be safe as long as we don't change the number of lines inside. Go on, I will test it trying the nested tabular case

Re: Bug in lyxconvert_217.py

2002-09-03 Thread Dekel Tsur
On Sun, Sep 01, 2002 at 10:18:36PM +0100, José Abílio Oliveira Matos wrote: > > Nothing prevents me from writing or other token inside a paragraph. So I should be able to skip what is > inside a paragraph. > Does it makes sense? I only skipped that, for the moment, since I > don't expect th

Re: Bug in lyxconvert_217.py

2002-09-01 Thread José Abílio Oliveira Matos
On Sat, Aug 31, 2002 at 12:49:23AM +0300, Dekel Tsur wrote: > On Fri, Aug 30, 2002 at 03:26:47PM +0100, José Abílio Oliveira Matos wrote: > > On Thursday 29 August 2002 19:21, Dekel Tsur wrote: > > [...] > > > Another solution may be write a function find_end_of() which find the > > > correct end

Re: Bug in lyxconvert_217.py

2002-08-30 Thread Dekel Tsur
On Fri, Aug 30, 2002 at 03:26:47PM +0100, José Abílio Oliveira Matos wrote: > On Thursday 29 August 2002 19:21, Dekel Tsur wrote: > [...] > > Another solution may be write a function find_end_of() which find the > > correct end of the tabular. find_end_of() should be a generalization of > > find_e

Re: Bug in lyxconvert_217.py

2002-08-30 Thread José Abílio Oliveira Matos
On Thursday 29 August 2002 19:21, Dekel Tsur wrote: [...] > Another solution may be write a function find_end_of() which find the > correct end of the tabular. find_end_of() should be a generalization of > find_end_of_inset() which have two additional arguments: start token & end > token (for find

Re: Bug in lyxconvert_217.py

2002-08-29 Thread Dekel Tsur
On Wed, Aug 28, 2002 at 04:26:22PM +0100, José Abílio Oliveira Matos wrote: > > Just create a tabular, and put a tabular in the 1st cell of the first > > tabular. BTW, I think that just using i=i+1 will solve the bug. > > No it doesn't because the table will be wrong since we are catching the e

Re: Bug in lyxconvert_217.py

2002-08-28 Thread José Abílio Oliveira Matos
On Wednesday 28 August 2002 12:52, Dekel Tsur wrote: > > I don't have a LyX executable that generates the 2.17 format. I do so I will take care of that. > Just create a tabular, and put a tabular in the 1st cell of the first > tabular. BTW, I think that just using i=i+1 will solve the bug.

Re: Bug in lyxconvert_217.py

2002-08-28 Thread Dekel Tsur
On Wed, Aug 28, 2002 at 12:50:01PM +0100, José Abílio Oliveira Matos wrote: > On Wednesday 28 August 2002 12:38, Dekel Tsur wrote: > > In update_tabular, the line > > i = i + len(new_table) > > causes the conversion to ignore nested tabulars. > > Ok, do you have any example at hand, that