annotation-xml

annotation-xml 要素 (MathML)

仕様書

内容

[8] 任意の XML 内容が含められるようです。

[9] しかし実際の例示文を見るとたいていは RDF/XMLrdf:RDF 要素が1つだけ入っています。

[18] 子供HTML要素の場合、フロー内容でなければなりません >>17

相互運用性

[13] どのようなものを記述するべきかは著者に委ねられているようで、 相互運用性もほとんどなさそうに見えます。

関連

[7] annotation 要素もあります。

[10] マーク付け言語の流儀によっては存在する metadata 要素と似ています。

メモ

[1] The MathML Interface (2003-10-21 04:36:56 +09:00 版) <http://www.w3.org/TR/MathML/chapter7.html#interf.graphics>

SVG1.1

application/xhtml+xml (名無しさん)

[2] Content Markup (2003-10-21 04:36:56 +09:00 版) <http://www.w3.org/TR/MathML/chapter4.html#id.4.4.11.3.2> (名無しさん 2008-04-13 11:02:48 +00:00)

[3] OpenMath (名無しさん)

[4] Content Markup ( 版) <http://www.w3.org/TR/MathML/chapter4.html#id.4.4.11.2.2>

MathML-Presentation

[5] IRC logs: freenode / #whatwg / 20100617 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20100617>

[6] Ink Markup Language (InkML) ( ( 版)) <http://www.w3.org/TR/2011/REC-InkML-20110920/#annotationXMLElement>

[11] Bug 9887 – parsing algorithm should allow HTML content in MathML <annotation-xml> ( ( 版)) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=9887>

[12] Web Applications 1.0 r8465 Allow HTML content in certain places in MathML ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8464&to=8465>

[14] <semantics> - MathML | MDN ( ()) <https://developer.mozilla.org/ja/docs/Web/MathML/Element/semantics>

If no Presentation MathML is found, render the first <annotation> or <annotation-xml> child element of <semantics>.

Beware that <annotation-xml> elements are only recognized, if the encoding attribute is set to one of the following:

"application/mathml-presentation+xml"

"MathML-Presentation"

"SVG1.1"

"text/html"

"image/svg+xml"

"application/xml".

Note that "application/mathml+xml" is not mentioned here as it does not distinguish between Content or Presentation MathML.

[15] SnuggleTeX - MathML Semantic Enrichment Demo ( (David McKain著, )) <http://www2.ph.ed.ac.uk/snuggletex/UpConversionDemo>

<annotation encoding="SnuggleTeX">\[ \frac{2f(x)-e^x}{\sin xy^2(x-2)} \]</annotation>

<annotation encoding="LaTeX">\[ \frac{2f(x)-e^x}{\sin xy^2(x-2)} \]</annotation>

<annotation encoding="Maxima">((2 * f(x)) - exp(x)) / sin((x * (y^2) * (x - 2)))</annotation>

<annotation-xml encoding="SnuggleTeX-upconversion-options">

<s:upconversion-options xmlns:s="http://www.ph.ed.ac.uk/snuggletex">

[16] Descriptions | MathML | EPUB 3 Accessibility Guidelines ( ()) <http://www.idpf.org/accessibility/guidelines/content/mathml/desc.php>

<m:annotation-xml>

encoding="application/xhtml+xml"

name="alternate-representation">

<span xmlns="http://www.w3.org/1999/xhtml">

Frac Root a EndRoot Over b EndFrac

</span>

</m:annotation-xml>

</m:semantics>