Open mmcky opened 4 years ago
If math blocks contain + or - then the $$ environment is not being respected during the conversion from ipynb to html and gets interpreted incorrectly.
+
-
$$
ipynb
html
Example:
.. math:: :label: firm_dynam_ee s_{t+1} = e_{t+1} \mathbb{1}\{s_t < \bar s\} + (a_{t+1} s_t + b_{t+1}) \mathbb{1}\{s_t \geq \bar s\}
This is a known issue of nbconvert
nbconvert
https://github.com/jupyter/nbconvert/issues/404
one option would be to remove all newlines from the source text of the math node when writing to a notebook (when targeting html)
If math blocks contain
+
or-
then the$$
environment is not being respected during the conversion fromipynb
tohtml
and gets interpreted incorrectly.Example:
This is a known issue of
nbconvert
https://github.com/jupyter/nbconvert/issues/404