SyntaxHighlighter

2009/01/08

How to Display MathML in Blogger

God whispered to me the way.


To get it, I had to prepare MathML file and convert it in the Base64 format.

To make a mathml file, it might be easy to use OpenOffice Math.

When we transform the file by base64 program, break lines must be eliminated as following:
base64 -w 0 <MathML file>


By the way, using ASCIIMathML might be another way.
Just insert
<script type="text/javascript" src="http://www1.chapman.edu/~jipsen/mathml/ASCIIMathML.js"/>
in your page. And put formulas like
`2^(1112)`

However, once ASCIIMathML.js is included, all entries in the page are affected, right? How can I avoid it?

0 件のコメント:

コメントを投稿