MathML: Difference between revisions

Content deleted Content added
GreenC bot (talk | contribs)
Rescued 1 archive link; reformat 1 link. Wayback Medic 2.5 per WP:USURPURL and JUDI batch #23aa
Undid revision 1307712709 by 151.236.180.121 (talk): Test edit.
 
(9 intermediate revisions by 5 users not shown)
Line 57:
}}
| base_standards = [[XML]]
| related_standards = [[OpenMath]], [[OpenDocument]], [[Office Open XML]], {{abbr|[[OMDoc]]|Open Mathematical Documents}}
| abbreviation = MathML
}}
 
'''Mathematical Markup Language''' ('''MathML''') is a pair of [[mathematical markup language]]s, an application of [[XML]] for describing [[mathematics|mathematical]] notations and capturing both its structure and content. Its aim is to natively integrate mathematical formulae into [[World Wide Web]] pages and other documents. It is part of [[HTML5]] and standardised by [[International Organization for Standardization|ISO]]/IEC since 2015.<ref name="iso-iec-standard"/>
 
== History ==
Line 147:
 
=== MathML Core ===
In August 2021, a new specification called ''MathML Core'' was published, described as the “core"core subset of Mathematical Markup Language, or MathML, that is suitable for browser implementation."<ref>{{cite web
| title = MathML Core
| url = https://www.w3.org/TR/2022/WD-mathml-core-20220504/#abstract
Line 456:
 
== Other standards ==
The [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]] standard [[OpenDocument]] (ODF) natively supports MathML for mathematical content. OpenDocument is the default file format in office suites like [[LibreOffice]] and [[Collabora Online]], the MathML content is stored in the ODF files (e.g., .odt, .ods, .odp). Microsoft Office does not support MathML in its default office suite XML document format. Instead, it defines a different XML math syntax derived from older [[Microsoft Office]] products.
 
Another standard called [[OpenMath]] that has been more specifically designed (largely by the same people who devised Content MathML) for storing formulae semantically can be used to complement MathML. OpenMath data can be embedded in MathML using the {{code|lang=XML|1=<annotation-xml encoding="OpenMath">}} element. OpenMath ''content dictionaries'' can be used to define the meaning of {{code|lang=XML|<csymbol>}} elements. The following would define ''P''<sub>1</sub>(''x'') to be the first [[Legendre polynomial]]:
<syntaxhighlight lang="xml">
Line 467 ⟶ 469:
 
The [[OMDoc]] format has been created for markup of larger mathematical structures than formulae, from statements like definitions, theorems, proofs, and examples, to complete theories and even entire text books. Formulae in OMDoc documents can either be written in Content MathML or in OpenMath; for presentation, they are converted to Presentation MathML.
 
The [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]] standard [[Office Open XML]] (OOXML) defines a different XML math syntax, derived from [[Microsoft Office]] products. However, it is partially compatible<ref>{{cite web
| url = https://dpcarlisle.blogspot.com/2007/04/xhtml-and-mathml-from-office-20007.html
| title = XHTML and MathML from Office 2007
| first = David | last = Carlisle
| publisher = [[Blogspot]]
| publication-date = 2007-04-10
| access-date = 2007-09-20
}}</ref> through [[XSL Transformations]].
 
== See also ==
Line 487 ⟶ 480:
* [[KaTeX]]{{snd}}JavaScript library that converts LaTeX to MathML
* [[MathJax]]{{snd}}JavaScript library that converts LaTeX to MathML
* [[OpenDocument]] The ISO/IEC standard used by applications like [[LibreOffice]] and [[Collabora Online]] natively support MathML for mathematical content
 
== References ==
Line 512 ⟶ 506:
{{W3C Standards}}
{{Web browsers}}
{{ISO standards}}
 
{{Authority control}}