Skinning up.

Posted: 2004-03-20

Well, I’ve more or less finished munging the old website style into a skin for [Drupal], and it’s looking pretty good. Still need to check its valid XHTML, but it should not be far off.

As well as recreating the old style, I’ve made a number of new editions - perhaps the funkiest of which is the integration of the ASCIIMathML JavaScript library, which allows me to type in LaTeX-style maths such as this:

‘sum_(i=1)^n i=(n(n+1))/2’

and get your browser to translate it into MathML like this:

sum_(i=1)^n i=(n(n+1))/2

If it didn’t work, read on to find out how to fix it.

Note that to render the MathML correctly you need a browser that can cope with it, such as Firefox, Mozilla/Netscape 7, or if you are stuck with aging technology, Internet Explorer 6 plus MathPlayer. The transformation occurs just after the document has loaded, so if you look closely you’ll see the LaTeX-to-MathML transformation occuring.


Posted: 2004-03-20 | anj


Fighting entropy since 1993

© Dr Andrew N. Jackson — CC-BY