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

RE: Questions about Elementary Math

From: Daniel Marques <dani@wiris.com>
Date: Wed, 25 Jun 2014 17:17:18 +0200
Message-ID: <225bd87642457cbaf3042737eab9b867@mail.gmail.com>
To: David Carlisle <davidc@nag.co.uk>, Grégory Pakosz <gpakosz@myscript.com>, www-math@w3.org
A little bit out of topic, but just wandering whether exists a proper LaTeX
package to render “elementary math”.


*From:* David Carlisle [mailto:davidc@nag.co.uk]
*Sent:* miércoles, 25 de junio de 2014 17:11
*To:* Grégory Pakosz; 'www-math@w3.org'
*Subject:* Re: Questions about Elementary Math

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,


Received on Wednesday, 25 June 2014 15:17:45 UTC

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