Ask Your Question

gabrielh's profile - activity

2018-09-28 07:29:00 +0200 received badge  Famous Question (source)
2015-08-28 21:06:25 +0200 received badge  Notable Question (source)
2015-03-02 16:20:25 +0200 received badge  Popular Question (source)
2013-08-31 21:33:54 +0200 received badge  Student (source)
2013-08-31 21:18:08 +0200 asked a question 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, Gabriel