<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Invested Development &#187; Internet</title>
	<atom:link href="http://devblog.stuartthompson.net/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.stuartthompson.net</link>
	<description>Thoughtful Approaches to Software Architecture</description>
	<lastBuildDate>Tue, 18 Oct 2011 17:08:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mathematical Notation on the Web</title>
		<link>http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/</link>
		<comments>http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:22:31 +0000</pubDate>
		<dc:creator>stuartthompson</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Equations]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[MathML]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.stuartthompson.net/?p=106</guid>
		<description><![CDATA[I&#8217;ve recently been researching ways of displaying math equations online. To my surprise I have found that the packaged options for doing this are quite limited, especially on the Microsoft technology stack. There is fairly good coverage for Java and in the form of php and perl scripts, but very little natively for the .NET [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve recently been researching ways of displaying math equations online.  To my surprise I have found that the packaged options for doing this are quite limited, especially on the Microsoft technology stack.  There is fairly good coverage for <a href="http://www.java.com/en/">Java</a> and in the form of <a href="http://www.php.net/">php</a> and <a href="http://www.perl.org/">perl</a> scripts, but very little natively for the <a href="http://www.microsoft.com/net/">.NET framework</a>.  As usual there are several formats for storing equations, including <a href="http://en.wikipedia.org/wiki/Microsoft_Equation_Editor">OMML</a> from <a href="http://www.microsoft.com">Microsoft</a>, a recommendation from <a href="http://www.w3.org/">W3C</a> called <a href="http://www.w3.org/Math/">MathML</a> and what is best described as the <em>lingua franca</em> in the form of <a href="http://www.latex-project.org/">LaTeX</a>.</p>
<p><img class="alignnone size-full wp-image-105" title="image001" src="http://devblog.stuartthompson.net/wp-content/uploads/2009/08/image001.png" alt="image001" width="169" height="51" /></p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Native Browser Support</span><br />
Several <a href="http://www.lmgtfy.com/?q=render+math+equations+on+the+web">google searches</a> showed that I was <a href="http://stackoverflow.com/questions/1060764/mathml-or-omml-to-png-w-net">not alone</a> in <a href="http://markmail.org/message/ngmgljmz6xu5nltg">this search</a>.  However, most of the solutions I found came with caveats about which browsers they would work with and required the installation of additional software on client machines in order to work.  Installing additional software on client machines defeats the purpose of providing a browser-based experience and in some environments isn&#8217;t even an option.  I needed to find something that would work all modern browsers without requiring changes on the client.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Internet Explorer &#8211; MathPlayer</span><br />
<a href="http://www.dessci.com/en/">Design Science</a> (who originally created the <a href="http://en.wikipedia.org/wiki/Microsoft_Equation_Editor">Equation Editor</a> that is now part of <a href="http://office.microsoft.com/en-us/default.aspx">Microsoft Office</a>) offer a product called <a href="http://www.dessci.com/en/products/mathplayer/">Math Player</a>.  Math Player is an ActiveX control that renders MathML equations within <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Internet Explorer</a>. It provides good accessibility support, is free for non-commercial uses, and as ActiveX controls go it was a painless installation. However, because it is an ActiveX control is requires a client installation and only works in IE. Furthermore, the player only seemed to work for pages with the .xhtml extension that declared that XHTML doctype and exhibited some strange visual artifacts if either the MathML or containing page were not formatted correctly.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">FireFox MathML Support</span><br />
FireFox has made some good progress towards natively supporting MathML.  However, at present it does not contain a full solution and instead requires downloading the latest <a href="http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest/">nightly build</a> and the installation of <a href="http://www.mozilla.org/projects/mathml/fonts/">several fonts</a>.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Chrome MathML Support</span><br />
Despite being <a href="http://groups.google.com/group/google-chrome-help-suggestions/browse_thread/thread/5adc548c9528e2c3/bf667829953b4b27">widely</a> <a href="http://google-opensource.blogspot.com/2008/09/google-chrome-our-fresh-take-on-browser.html?showComment=1220390520000#c8643581418640429468">requested</a>, Chrome does not natively support MathML.  I could not find conclusive information either way as to whether MathML support is on the <a href="http://www.google.com/chrome">Chrome</a> development roadmap.</p>
<p style="text-align: justify;">For the next part of my research I&#8217;m going to look into <a title="LaTeX" href="http://www.latex-project.org/" target="_blank">LaTeX</a> as it really seems to be the de facto standard from a tools and community support perspective. I have seen several examples, including <a href="http://www.wikipedia.org">WikiPedia</a> that stores equations and diagrams in LaTeX format and then renders them to images on the fly as part of the page. That sounds like it could be a good way to go.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Mathematical+Notation+on+the+Web%3A+http%3A%2F%2Fdevblog.stuartthompson.net%2F%3Fp%3D106" title="Post to Twitter"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;headline=Mathematical+Notation+on+the+Web" title="Post to Yahoo Buzz"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz-micro3.png" alt="Post to Yahoo Buzz" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;title=Mathematical+Notation+on+the+Web" title="Post to Delicious"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;title=Mathematical+Notation+on+the+Web" title="Post to Digg"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;t=Mathematical+Notation+on+the+Web" title="Post to Facebook"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;title=Mathematical+Notation+on+the+Web" title="Post to Reddit"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/&amp;title=Mathematical+Notation+on+the+Web" title="Post to StumbleUpon"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://devblog.stuartthompson.net/2009/08/mathnotationontheweb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

