Andre Poenitz <[EMAIL PROTECTED]> writes:

| > Hmm... I read it as just a container for the other insets. And that it
| > never can be anything else than a real MathParInset.
| 
| Well, it seems to work, so your assumption is probably ok...
| Anyway, it looks strange...

I think this is ok. (and I do not think that it looks strange)

btw. this is the patch that fixes reading of matrix:

Index: math_parser.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v
retrieving revision 1.34
diff -u -p -r1.34 math_parser.C
--- math_parser.C       2001/02/26 12:53:35     1.34
+++ math_parser.C       2001/02/28 16:48:35
@@ -833,7 +833,8 @@ void mathed_parse(MathedArray & array, u
                                MathParInset * mm = new MathMatrixInset(nc, 0);
                                mm->SetAlign(ar2[0], ar);
                                data.insertInset(mm, LM_TC_ACTIVE_INSET);
-                               mathed_parse(mm->GetData(), FLAG_END, &mm);
+                               MathedArray dat;
+                               mathed_parse(dat, FLAG_END, &mm);
                        } else if (is_eqn_type(yylval.i)) {
                                if (plevel!= 0) {
                                        mathPrintError("Misplaced environment");


        Lgb

Reply via email to