RE: How does your MathML application use the <semantics> tag?

WIRIS editor, when editing a LaTeX formula, adds the LaTeX part inside a
semantics:

<math xmlns="http://www.w3.org/1998/Math/MathML">

                <semantics>

                               <mrow>

                                               <mfrac>

                                                               <mi>x</mi>

                                                               <mn>4</mn>

                                               </mfrac>

                               </mrow>

                               <annotation
encoding="LaTeX">\frac{x}4</annotation>

                </semantics>

</math>

All WIRIS editor services works internally with MathML. Then, why is worth
storing the LaTeX? We use LaTeX as an input method for advanced authoring.
We convert the LaTeX to MathML and we store the authors original version,
which is what he will see when editing the formula again.



Dani







MathType embeds its rendering format ("MTEF")  inside of
<annotation encoding='MathType-MTEF'>  .... </semantics>

Neil Soiffer
Senior Scientist
Design Science, Inc.
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, Equation Editor ~



On Mon, Dec 3, 2012 at 8:02 AM, Frédéric WANG <fred.wang@free.fr> wrote:

Dear all,

I've been looking at the usage of the <semantics> by various software tools
generating MathML code. The most typical examples are LaTeX to MathML
converters that embed the LaTeX code inside an <annotation> or Computer
Algebra Systems adding content MathML inside an <annotation-xml>. The
information can be shared between applications during file transfer or copy
& paste operations. I started to write a survey here:

https://github.com/mathjax/MathJax/wiki/Usage-of-the-semantics-element

I'm wondering if some of you could provide details about how your MathML
programs use <semantics> to provide information and whether you expect this
information to be used by other applications.

Thanks,

-- 
Frédéric Wang
maths-informatique-jeux.com/blog/frederic

Received on Monday, 3 December 2012 16:46:40 UTC