MathML in Blogger
As you can probably see, my newly born blog is mainly in Greek. Despite this fact, I intend to keep a HOWTOs category in English, where I will publish information that I guess would be useful to a broader audience. This is the first such post, and it is pertinent to the ability to publish mathematical formulas in a Blogger powered blog.
This was a feature that I missed immediately as my blog will gradually evolve to a reference around anything computational finance. Therefore, inevitably some notation was needed. As I work with Firefox on a Mac, I noticed that MathML code would not be properly rendered. This is due to the fact, at least AFAIK, that Mozilla renders MathML in *.xhtml pages, while Blogger publishes *.html. As we do not have a way to change this, I came upon a solution which is unexpectdly elegant and efficient, ASCIIMathML.
Oh! and I should not forget to tell you how to install this script. Well you go to the aforementioned site and download ASCIIMathML.js . You should put it online somewhere, I used my pages.google.com account but a nice solution I have recently found is Orbitfiles. Then,
just add the following between your <head> </head> in your template:
That is about it. This solution will work under IE with MathPlayer and under Firefox. Ooops, I forgot. In the case of Firefox you also have to download the appropriate fonts.
Ολόκληρο το άρθρο...