Fix the display of code samples in the Mathjax example doc, and squash
some warnings when building the docs.
This still doesn't make most of the examples display, because pandoc
makes the \begin{} & \end{} block into a raw latex block, which isn't
rendered in the HTML output. Not sure what to do about that.