W3C home > Mailing lists > Public > www-math@w3.org > July 2014

RE: Questions about Elementary Math

From: Grégory Pakosz <gpakosz@myscript.com>
Date: Thu, 3 Jul 2014 16:31:44 +0000
To: Neil Soiffer <NeilS@dessci.com>, David Carlisle <davidc@nag.co.uk>
CC: "www-math@w3.org" <www-math@w3.org>
Message-ID: <1404405104034.72374@myscript.com>

I didn't reboot my Windows 7 + IE9 VM after having installed MathPlayer since instructions said I just had to relaunch IE.

In any case, is there a way to adjust the position of the divisor and the quotient?

My use case is the following: I recognize handwritten elementary math operations and I would like to position everything with respect to what's been written. In the screenshot attached, to achieve that, I would need to shift ":891 = 12" a bit to the left.



From: Grégory Pakosz
Sent: Thursday, July 03, 2014 5:54 PM
To: Neil Soiffer; David Carlisle
Cc: www-math@w3.org
Subject: RE: Questions about Elementary Math


Thanks for the information. MathFlow tools are not downloadable for evaluation.

That said, MathPlayer fails to render the following MathML, see screenshot attached.

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mstyle displaystyle="true">
    <mstack stackalign="right">
        <mn> 1 </mn>
        <mn> 241 </mn>
        <mo> + </mo>
        <mn> 29 </mn>
      <msline position="0" length="3"/>
        <mn> 270 </mn>


From: neil.soiffer@gmail.com <neil.soiffer@gmail.com> on behalf of Neil Soiffer <NeilS@dessci.com>
Sent: Thursday, June 26, 2014 7:03 PM
To: David Carlisle
Cc: Grégory Pakosz; www-math@w3.org
Subject: Re: Questions about Elementary Math

As noted, MathPlayer (which died at IE9 unless MS fixes a bug in enterprise mode -- enterprise mode was introduced a few months back), supports it. Along with MathPlayer, the MathFlow SDK tools (EquationComposer and DocumentComposer) also support it. That's where the rec's images came from.


On Wed, Jun 25, 2014 at 8:10 AM, David Carlisle <davidc@nag.co.uk<mailto:davidc@nag.co.uk>> wrote:
On 24/06/2014 15:56, Grégory Pakosz wrote:


I have two questions regarding elementary math as specified by MathML 3.0:

1) Is there a renderer out there that supports rendering additions, substractions, multiplications, and divisions with <mstack>, <mscarries>, and <mlongdiv> ? I failed to find one so far (downgrading IE to IE9 + installing a plugin isn't really future proof).

Possibly currently only MathPlayer supports it natively, and as you indicate that is not available in current IE
 however it's possible to transform the markup to mathml2 for rendering in other clients.

The MathJax "content mathml" extension and the firefox  mathml-mml3ff addon both work by using some XSLT of mine
to translate the markup to mathml2 mtable.


Most of that content mathml to presentation transformation has also been re-encoded in javascript to avoid the XSLT stage
(which is very slow in chrome) although not currently the elementary math part, that shouldn't be hard to add, given some time.

2) Despite being XML, <mstack> relies on children order instead of named elements like <dividend>, <divisor>, <quotient>. What's the rationale behind this choice?

Positional children are used quite a lot in the mathml design: mfrac msub etc  also do not have named arguments.

Thanks you,



(image/png attachment: sshot.png)

Received on Thursday, 3 July 2014 16:32:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:47 UTC