-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Labels
Description
Well, with
\usepackage[usefamily={py,sage},gobble=auto]{pythontex}
in my preamble, this works :
\begin{sageblock}
var("a,b,x")
E=a*x+b
S=E.solve(x)
\end{sageblock}
As well as this :
\begin{pyconsole}
a=1
b=2
a+b
\end{pyconsole}
But this fails :
\begin{sageconsole}
a=1
b=2
a+b
\end{sageconsole}
with the following "explanation" (*TeX Help* buffer in AUCTeX...) :
ERROR: LaTeX Error: Environment sageconsole undefined.
--- TeX said ---
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \begin{sageconsole}
--- HELP ---
LaTeX has encountered a \begin command for a nonexistent environment.
You probably misspelled the environment name.
Ditto if I try sagecon. Is this expected (i. e. partial implementation) or not (i. e. a bug) ?
I haven't been able to find a relevant issue (opened or closed) except #63 (closed about two years ago).
Reactions are currently unavailable