Showing posts with label MathML. Show all posts
Showing posts with label MathML. Show all posts

Saturday, December 19, 2015

Which of Firefox and Microsoft Edge support MathML better?

This is just the view point looking at just one example and must not be construed to apply to whole of MathML. You may review some basic MathML information here.

Here is an example of displaying a matrix using the presentation elements of MathML. Browsers do not support MathML the same way, some do better than others. Generally speaking browsers that support HTML5 should support MathML to some extent. This post considers only the latest versions of Firefox and Microsoft Edge at present.

This page can be hosted on a web server(in this case on the local ISS, IIS Version 10.0.10586) on Windows 10 Pro)

Matrix Display with MathML


Matrix A
 
     
  A
  =
 
   
     
         x
         y
     

     
         z
         w
     

   

 

   




This is a very simple page but there are differences how the browsers display them. The MathML is highlighted in yellow in the HTML page.

Firefox 42
Firefox displays as shown here without any modification. This is the correct way of displaying a matrix.




Microsoft Edge 25

The HTML code used as is (with the

Monday, December 14, 2015

What is MathML?

ML stands for Markup Language and MathML is the markup you can use in web pages (html for example) to display mathematical equations, expressions etc.

MathML is the XML standard for encoding mathematics. It is not just for incorporating mathematics into web pages but also for communicating and exchanging mathematics in mathematical and scientific applications. While most browsers would implement MathML from a standards view point Chrome wanted to have its own way of implementing MathML. However check with the latest version of Chrome for its MathML support.

 The earliest MathML specification is at least some 8 years old. MathML is quite widely used in print books, eBooks, etc. It is also used as an exchange format to support mathematical symbols and content in Microsoft Word, Open Office etc. With all kinds of sensors entering the web by way of Internet of Things, I am positive MathML will be used more widely than at present.

Read more here:
http://www.w3.org/TR/MathML2/overview.html
http://www.dessci.com/en/reference/webmath/tech/mathml.htm