typeset MathJax on demand