Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during the second compilation step #2

Open
torwag opened this issue Dec 3, 2014 · 0 comments
Open

Error during the second compilation step #2

torwag opened this issue Dec 3, 2014 · 0 comments

Comments

@torwag
Copy link

torwag commented Dec 3, 2014

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+x
4,x)}.
or you can use a sympy variable, $h = \sympy{h}$
\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant