Re: [math-on-web] CG meeting minutes, 2018/03/01

A small addition: the latest release of MathLive also outputs MathML. Visit
mathlive.io to try it out interactively: the MathML is generated on the fly
and both the markup and the browser's interpretation of it are displayed as
you type.

The MathML is generated from the internal representation of the formula I
keep in memory, but there's also a utility function to convert LaTeX to
MathML.

This is still a work in progress and I welcome input on the MathML I
generate.

I would also be interested in a repository of what would be considered
"good" MathML. What I mean is there are many ways of representing a formula
in MathML. What is considered good practice? Is there anything like that
somewhere?

For example, how to represent function application "f(x)"? When to use
<mfence> vs. <mo>(<\mo>? When to use attributes such as "separator"? How do
you represent the choice operator (\choose in LaTeX)?

I also plan to work on generating a representation of the formula as an
Abstract Syntax Tree which would be suitable for symbolic computation and
other automated processing. The AST would be represented as a JSON object
for ease of manipulation and cross-software exchange. If anybody is
interested in collaborating on this or has some ideas to share, I'd love to
hear it. And I suppose this work can be considered part of the workstream
we had discussed earlier about formats for software interchange...

Best,
Arno.



 * Arno: on Mathlive improvements
   * accessibility is in
   * HTML improvements coming in

Received on Friday, 9 March 2018 03:01:21 UTC