Open yangchzh5 opened 6 years ago
Can also confirm that I am running into this issue.
LaTeX doesn't like to have \[ \]
around it's environments. It appears jupyter turns $$ .... $$
into \[ .... \]
which leads to:
\[
\begin{eqnarray}
...
\end{eqnarray}
\]
In Jupyter, you can remove the $$ .... $$
entirely and it will render correctly in jupyter lab and compile correctly in LaTeX.
@jrwrigh Thank you for pointing out the solution! I bumped into this issue today while working on a homework assignment and can confirm that simply removing the surrounding $$
solves the problem.
I wish for a more elegant solution on jupyter end: detect and treat this type of situation as a special case to stop converting $$
to \[
\]
in LaTeX. Otherwise, this issue can be closed.
I wrote
in my ipynb file, and it can successfully convert to tex form. However, I failed to convert it to pdf form.
Here is my error information:
Can somebody give me a hint? Thanks for advanced!