On Fri, May 08, 2009 at 12:33:35PM +0200, Jürgen Spitzmüller wrote: > #5392 Assertion in InsetMathGrid
There is a patch attached to the bug. The accompanying comment got lost in the transition to trac. Essentially, all $...$ occurring in math are translated to \ensuremath{...}. This avoids nested math hulls and thus the cause of the crash. I think that this is a good thing, but existing documents are silently changed if they are saved again. There is no loss of functionality due to this fact and the output remains unchanged, so I would apply it if I get consensus. Note that previous attempts at fixing the bug did not take into account the fact that there can be multiple nesting and I think that it would be difficult doing so, whereas my approach is really simple and works in any case. -- Enrico