[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [Patch] better MathML input filter for kformula & questions
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-10-30 11:41:24
Message-ID: 200410301341.25148.nicolasg () snafu ! de
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic