I'm using nbconvert to convert from Jupyter notebook containing MathJax equations to tex files. One problem is that multi-line equations which contain alignment, i.e.
$$
/begin{align}
...
/end{align}
$$
are converted in tex to
\[
\begin{align}
...
\end{align}
\]
And it yield a tex bug: `unexpected close display math ] after \begin{document}