9
MathML MathML Jayme Johnson Jayme Johnson HTCTU - 2010 HTCTU - 2010

MathML

  • Upload
    amelie

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

MathML. Jayme Johnson HTCTU - 2010. What is it?. W3C specification, first released in 2001 Low-level spec for describing mathematics Basis for machine to machine communication Foundation for math in web pages Currently at version 2.0 More info: http://www.w3.org/Math/. - PowerPoint PPT Presentation

Citation preview

Page 1: MathML

MathMLMathMLJayme JohnsonJayme Johnson

HTCTU - 2010HTCTU - 2010

Page 2: MathML

What is it?What is it?

W3C specification, first released in 2001W3C specification, first released in 2001

Low-level spec for describing mathematicsLow-level spec for describing mathematics

Basis for machine to machine communicationBasis for machine to machine communication

Foundation for math in web pagesFoundation for math in web pages

Currently at version 2.0Currently at version 2.0

More info: More info: http://www.w3.org/Math/http://www.w3.org/Math/

Page 3: MathML

What MathML Looks LikeWhat MathML Looks Like

<?xml version="1.0"?><?xml version="1.0"?>

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

<head>...</head><head>...</head>

<body><body>

<h1>Example</h1><h1>Example</h1>

........

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

<mi>x</mi><mo>+</mo><mn>3</mn><mi>x</mi><mo>+</mo><mn>3</mn>

</math></math>

</body></body>

</html></html>

Page 4: MathML

How it WorksHow it Works

XML-basedXML-based

PresentationML (rendering) and ContentML PresentationML (rendering) and ContentML (meaning)(meaning)

Author Document, save as html or xhtmlAuthor Document, save as html or xhtml

Publish web pagePublish web page

View in browser or other applicationView in browser or other application

Page 5: MathML

Presentation MarkupPresentation MarkupMarkup:Markup:

<mrow><mrow>

<mrow><mrow>

<msup><msup>

<mi>x</mi><mi>x</mi>

<mn>2</mn><mn>2</mn>

</msup></msup>

<mo>+</mo><mo>+</mo>

<mrow><mrow>

<mn>4</mn><mn>4</mn>

<mo>&InvisibleTimes;</mo><mo>&InvisibleTimes;</mo>

<mi>x</mi><mi>x</mi>

</mrow></mrow>

<mo>+</mo><mo>+</mo>

<mn>4</mn><mn>4</mn>

</mrow></mrow>

<mo>=</mo><mo>=</mo>

<mn>0</mn><mn>0</mn>

</mrow></mrow>

Page 6: MathML

Content MarkupContent MarkupMarkup:Markup:

<mrow><mrow>

<apply><apply>

<eq/><eq/>

<apply><apply>

<plus/><plus/>

<apply><apply>

<power/><power/>

<ci>x</ci><ci>x</ci>

<cn>2</cn><cn>2</cn>

</apply></apply>

<apply><apply>

<times/><times/>

<cn>4</cn><cn>4</cn>

<ci>x</ci><ci>x</ci>

</apply></apply>

<cn>4</cn><cn>4</cn>

</apply></apply>

<cn>0</cn><cn>0</cn>

</apply></apply>

</mrow></mrow>

Page 7: MathML

UnicodeUnicode

00000 to 000FF00000 to 000FF

http://www.w3.org/TR/MathML2/000.htmlhttp://www.w3.org/TR/MathML2/000.html

02200 to 022FF02200 to 022FF

http://www.w3.org/TR/MathML2/022.htmlhttp://www.w3.org/TR/MathML2/022.html

Complete listing:Complete listing:

http://www.w3.org/TR/MathML2/http://www.w3.org/TR/MathML2/chapter6.html#id.6.3chapter6.html#id.6.3

Page 8: MathML

How You Make ItHow You Make It

Edit your document with a MathML editorEdit your document with a MathML editor

Use a MathML capable browser to previewUse a MathML capable browser to preview

Publish your document to the webPublish your document to the web

More information about software for working More information about software for working with MathML: with MathML: http://www.w3.org/Math/Software/http://www.w3.org/Math/Software/

Page 9: MathML

How You Use ItHow You Use It

Use a MathML enabled Web Browser or ATUse a MathML enabled Web Browser or AT

New DAISY optionNew DAISY option

More AT options coming soon...More AT options coming soon...

Additional software for working with MathML: Additional software for working with MathML: http://www.w3.org/Math/Software/http://www.w3.org/Math/Software/