Re: [patch] fix tabular valignment conversion in lyx2lyx

2005-02-18 Thread Jose' Matos
On Thursday 17 February 2005 19:52, Georg Baum wrote: > Ok, I did that. " +" means one or more space, and "\s+" means > [ \t\n\r\f\v], so it is not exactly equivalent, but the "\s+" works > equally well. I know what it does. By construction the file has no \n or \r, so this leaves us with \t

Re: [patch] fix tabular valignment conversion in lyx2lyx

2005-02-17 Thread Georg Baum
Am Donnerstag, 17. Februar 2005 09:22 schrieb Jose' Matos: > Convert all those places to use the regular expression, I assume that here > " +" is the same as "\s+", I would suggest to change to this last form as > it is easier to read. Ok, I did that. " +" means one or more space, and "\s+"

Re: [patch] fix tabular valignment conversion in lyx2lyx

2005-02-17 Thread Jose' Matos
On Wednesday 16 February 2005 20:44, Georg Baum wrote: > I changed lyx2lyx to use a regex, since both lyx versions can read both > forms. This works, but we have more places where '\begin_inset ÂTabular' > is searched. Shall I convert these to the regex, too, or do older lyx > versions have problem

[patch] fix tabular valignment conversion in lyx2lyx

2005-02-16 Thread Georg Baum
While testing the new tex2lyx tabular code I discovered a subtle bug in lyx2lyx. lyx 1.3 writes '\begin_inset Tabular', while lyx 1.4cvs writes '\begin_inset Tabular'. lyx2lyx fails to revert to 1.3 format, because it searches for the version with two spaces. Unfortunately lyx reads silently il