On Mon, Feb 17, 2003 at 12:31:19PM +0100, Christian Ridderström wrote:
> I beg to differ... it's a "dangerous bug". First of all, it doesn't 
> compile the dvi, and secondly, saving it produces a different output.
> This is what the difference looks like:

So test it and if you are happy tell Jean-Marc to incorporate the attached
patch into 1.3.1cvs.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
Index: src/mathed/math_parser.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v
retrieving revision 1.259
diff -u -p -r1.259 math_parser.C
--- src/mathed/math_parser.C    5 Feb 2003 11:44:14 -0000       1.259
+++ src/mathed/math_parser.C    17 Feb 2003 11:37:36 -0000
@@ -747,11 +747,6 @@ void Parser::parse1(MathGridInset & grid
                        else
                                cell->back() = MathAtom(new 
MathScriptInset(cell->back(), up));
                        MathScriptInset * p = cell->back().nucleus()->asScriptInset();
-                       // special handling of {}-bases
-                       // is this always correct?
-                       if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() &&
-                                       p->nuc().back()->extraBraces())
-                               p->nuc() = p->nuc().back()->asNestInset()->cell(0);
                        parse(p->cell(up), FLAG_ITEM, mode);
                        if (limits) {
                                p->limits(limits);

Reply via email to