RE: Questions about Elementary Math

Nevermind,


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.


Thanks.

Gregory


________________________________
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


Neil,


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">
      <mscarries>
        <none/>
        <mn> 1 </mn>
        <none/>
      </mscarries>
      <msrow>
        <mn> 241 </mn>
      </msrow>
      <msrow>
        <mo> + </mo>
        <none/>
        <mn> 29 </mn>
      </msrow>
      <msline position="0" length="3"/>
      <msrow>
        <mn> 270 </mn>
      </msrow>
    </mstack>
  </mstyle>
</math>


Gregory



________________________________
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.

    Neil



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:

Hello,


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.

https://code.google.com/p/web-xslt/source/browse/trunk/ctop

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,

Gregory


David

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