I'm using pythontex
to allow me to embed Python code in LaTeX files. (It's really great, BTW.) I edit my LaTeX with EMACS. Unfortunately, EMACS thinks that any environment should be indented, and if I have indent within \begin{pytex}
...\end{pytex}
, it generates a Python error.
That is, EMACS thinks this is correct:
\begin{pycode}
print("Hello World!")
\end{pycode}
But in fact, this is correct:
\begin{pycode}
print("Hello World!")
\end{pycode}
What do I put in Config-File to prevent the pycode
environment from being indented?