Fix broken docs

Debian's broken dh_sphinxdoc ... again. This time it's math handling (or
any external JavaScript other than the default stuff by the looks of
it). After a couple of hours fruitless debugging (again), I've just
decided to chop out the math blocks and render them as SVG.