From koffice-devel Sat Oct 30 11:41:24 2004 From: Nicolas Goutte Date: Sat, 30 Oct 2004 11:41:24 +0000 To: koffice-devel Subject: Re: [Patch] better MathML input filter for kformula & questions Message-Id: <200410301341.25148.nicolasg () snafu ! de> X-MARC-Message: https://marc.info/?l=koffice-devel&m=109914637815222 I have committed both files. (The test file is now kofficetests/documents/import/mathml/tags/apply.mml ) Have a nice day! On Friday 22 October 2004 04:25, Jean Krohn wrote: > -I basically just added support for new operators for the "apply" content > tag (divide, power, abs, not, implies). > > -I also added systematic explicit brackets around "apply"s to compensate > for the loss of the implicit ones; so, while the meaning of the expression > is conserved, the result gets rather crowded... (e.g. (((3 * 2) + (4^2))/5) > ) A solution would be to parse the whole "apply" expression and to put the > brackets accordingly, but, in the meantime, what behavior is preferred? > > -I found that adding a checklist of operators in "apply" clarified what was > left to do. Is this something I could generalise in > lib/kformula/kformulamathmlread.cc (the MathML input filter) ? > > I also attached a MathML file with stuff that didn't work before and works > now (the one pompously called testsuite.mml :-)). > > This is for a start, but I'd like to know if this is suitable before I do > some more (is it at all useful? did I get something completely wrong? does > my indenting suck? :-)). > > Cheers, > Jean _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel