sphinx: use mathjax for HTML output
We can now safely require Sphinx 1.1 that has mathjax support.
This should be as easy as replacing sphinx.ext.pngmath
by sphinx.ext.mathjax
in the file kwant/doc/source/conf.py
. Additionally, the latex commands defined further below (pngmath_latex_preamble
) must be made to work with mathjax. The following should do the trick: http://stackoverflow.com/a/19268549