Numerical experiments, Tips, Tricks and Gotchas
Rendering of LaTex in IPython nbconvert appears to be broken [1]. I discovered this when I converted a notebook to HTML.
The fix for slides in the IPython 2.x series was suggested [2].
This perfectly works for HTML as well. It is necessary just to edit mathjax.tpl
. In my case the template is located in
C:\Anaconda3\Lib\site-packages\IPython\nbconvert\templates\html\
Replace
<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
© Nikolai Shokhirev, 2012-2024
email: nikolai(dot)shokhirev(at)gmail(dot)com