ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 31 Aug 2013 21:18:08 +0200Using sagesilent LaTeX commandhttps://ask.sagemath.org/question/10491/using-sagesilent-latex-command/Hello all,
I'm trying to make a piece of code using SageTex, and saw that the problem really comes down to this:
\newcommand{\test}[1] {
\begin{sage silent} #1 \end{sagesilent}
}
\test{f = sin(x) - 1}
(please note, I have added a blank space in the begin{sage silent} as the editor of this piece of code would otherwise give some weird result. hope you don't mind...)
This gives then the following error:
Runaway argument ? File ended while scanning use of \next.
What am I doing wrong here? Any feedback would be greatly appreciated!
All the best,
GabrielgabrielhSat, 31 Aug 2013 21:18:08 +0200https://ask.sagemath.org/question/10491/