Error during the second compilation step
Hi,
I used the minimal example below to test SympyTeX on my system (Arch Linux with full install of Texlive). For the second LaTeX run I get the error message: ERROR: Missing $ inserted.
--- TeX said ---
$
l.10 ... is also \sympy{sympy.integrate(1+x**4,x)}
The first run is ok. Python runs as well (albeit there is a little problem, see the other issue)
Any idea what goes wrong? I really like the idea, thanks for the great work!
----------- minimal example-------------------------------
\documentclass[10pt]{article}
\usepackage{sympytex}
\begin{document}
\begin{sympyblock}
x = sympy.Symbol('x')
h = sympy.integrate(1+x4,x)
\end{sympyblock}
The integral of $1+x^4$ is also \sympy{sympy.integrate(1+x4,x)}.
or you can use a sympy variable, $h = \sympy{h}$
\end{document}