Office Open XML file formats: Difference between revisions

Content deleted Content added
Added extensions not just to Word
Line 215:
 
=== Office MathML (OMML) ===
Office Math Markup Language is a mathematical markup language which can be embedded in WordprocessingML, with intrinsic support for including word processing markup like revision markings,<ref>{{ cite web | url=http://idippedut.dk/post/2008/01/Do-your-math---OOXML-and-OMML.aspx | title=Do your math&nbsp;— OOXML and OMML | date=2008-01-29 | accessdate=2008-02-12 | author=Jesper Lund Stocholm | publisher=A Mooh Point blog| date=2008-01-29| accessdate=2008-02-12}}</ref> footnotes, comments, images and elaborate formatting and styles.<ref>{{ cite web | url=http://blogs.msdn.com/murrays/archive/2007/06/05/science-and-nature-have-difficulties-with-word-2007-mathematics.aspx | title=Science and Nature have difficulties with Word 2007 mathematics | author=Murray Sargent | publisher=MSDN blogs | date=2007-06-05 | accessdate=2007-07-31}}</ref>
 
The OMML format is different from the [[World Wide Web Consortium]] (W3C) [[MathML]] recommendation that does not support those office features, but is partially compatible<ref>{{ cite web | url=http://dpcarlisle.blogspot.com/2007/04/xhtml-and-mathml-from-office-20007.html | title=XHTML and MathML from Office 2007 | author=David Carlisle | publisher=David Carlisle | date=2007-05-09 | accessdate=2007-09-20}}</ref> through [[XSL Transformations]].
Office Math Markup Language is a mathematical markup language which can be embedded in WordprocessingML, with intrinsic support for including word processing markup like revision markings,<ref>{{ cite web | url=http://idippedut.dk/post/2008/01/Do-your-math---OOXML-and-OMML.aspx | title=Do your math&nbsp;— OOXML and OMML | date=2008-01-29 | accessdate=2008-02-12 | author=Jesper Lund Stocholm | publisher=A Mooh Point blog}}</ref> footnotes, comments, images and elaborate formatting and styles.<ref>{{ cite web | url=http://blogs.msdn.com/murrays/archive/2007/06/05/science-and-nature-have-difficulties-with-word-2007-mathematics.aspx | title=Science and Nature have difficulties with Word 2007 mathematics | author=Murray Sargent | publisher=MSDN blogs | date=2007-06-05 | accessdate=2007-07-31}}</ref>
The OMML format is different from the [[World Wide Web Consortium]] (W3C) [[MathML]] recommendation that does not support those office features, but is partially compatible<ref>{{ cite web | url=http://dpcarlisle.blogspot.com/2007/04/xhtml-and-mathml-from-office-20007.html | title=XHTML and MathML from Office 2007 | author=David Carlisle | publisher=David Carlisle | date=2007-05-09 | accessdate=2007-09-20}}</ref> through [[XSL Transformations]].
 
The following Office MathML example defines the [[fraction (mathematics)|fraction]]: <math>\frac{\pi}{2}</math>
 
<source lang="xml">
<m:oMathPara><!-- mathematic block container used as a paragraph -->
<m:oMathPara>
<m:oMath><!-- mathematic formula -->
<m:f><!-- a fraction -->
<m:f>
<m:num><m:r><m:t>π</m:t></m:r></m:num><!-- numerator containing a single run of text -->
<m:num><m:r>
<m:den><m:r><m:t>2</m:t></m:r></m:den><!-- denominator containing a single run of text -->
<m:t>π</m:t>
</m:r></m:numf>
</m:den><m:roMath>
<m:t>2</m:t>
</m:r></m:den>
</m:f>
</m:oMath>
</m:oMathPara>
</source>
 
Some have queried the need for Office MathML (OMML) instead advocating the use of [[MathML]], a [[World Wide Web Consortium|W3C]] recommendation for the "inclusion of mathematical expressions in Web pages" and "machine to machine communication".<ref>{{ cite web | url=http://www.zdnet.com.au/news/software/soa/Microsoft-Office-dumped-by-Science-and-Nature/0,130061733,339278690,00.htm | title=Microsoft Office dumped by Science and Nature | publisher=ZDNet Australia | date=18 June 2007 }}</ref>
 
=== DrawingML ===<!-- [[English Metric Unit]] links to here -->