render the file with fixed mathjax