Georg Baum <[EMAIL PROTECTED]> writes:

| Here comes the long promised patch that fixes tabular column parsing in 
| tex2lyx. You can try it with the attached example.
>
| With this patch, tex2lyx is able to parse all standard LaTeX column 
| specifications (including those of array.sty). Vertical lines in 
| multicolumn cells should also be fixed. I had to put all multicolumn 
| specifications in the special field, because the logic in 
| LyXTabular::TeXCellPreamble() is too complicated to reproduce it in 
| tex2lyx, and the original attempt with last_rightline did not work in all 
| cases.
| In general I made the data structures a bit more general than LyX allows 
| it. This made it possible to separate
| 1) the parsing step and
| 2) the adjustment to LyX limitations.
| We will be able to simplify (or even remove) the second step when the 
| tabular code in LyX gets the long needed renovation.

Very good.  Please get someone to test it a bit before you commit
this.

-- 
        Lgb

Reply via email to