On Sun, Mar 09, 2008 at 03:14:33PM +0100, Stefan Schimanski wrote: > > Am 09.03.2008 um 15:03 schrieb Abdelrazak Younes: > >> Stefan Schimanski wrote: >>> Hi! >>> Can anybody summarize the situation and issues to switch to >>> InsetMathMbox? >> >> This would be the solution for all text in math purpose. There are a >> number of bugs related to the fact that text in math are not real Text >> object. >> >> Last time I tried, InsetMathMbox needed some work in order to be complete; >> essentially metrics and drawing code. >> >> Having this in 1.6 would be a great step forward. > > I am playing around with it. The main problem right now is that Text > objects need a buffer object assigned, e.g. for Text::write. Some math > macros use mbox insets, but they are buffer independent (= global). I just > tried to create a dummy Buffer for those cases, but get some crashes now.
We should try to make MathInset::buffer() work. I tried a few days ago but got stuck in the macro corner. I think an important step would be to have macros buffer specific and also requiring/using a Buffer at cnstruction time. Andre'