First, thank you for you reply.
Okay, I deleted the code before the DE and now it compiles as expected. The
original file is long, so I am not sure where the troubles begin. Well, I
guess I have some work ahead of me if I am going to find the place where
the error originates.
On Wednesday, January 27, 2016 at 1:45:15 PM UTC-5, Dominique Laurain wrote:
>
> Hi Ron,
>
> It's difficult for me to assume the result you guessed, without a full
> complete example of tex file displaying the error (try to shorten your tex
> file and post it, next time).
>
> I tried next tex content in new file in cloud project without any issue or
> error from the pdf previewer...
>
> As you can read : i write "sage" and the semicolon ":" just after (no
> extra space).
>
> I assume that "sage:" at beginning of line has two purposes : 1) pretty
> printing of "sage:" 2) evaluating sage command following the "sage:" prompt
> and displaying the result in next line (that's why with my example, I get
> the function solution of your first order differentiate equation).
>
> I added the computation of sqrt(2)+1 only for an extra explanation about
> evaluation process.
>
> Dominique
>
>
> \documentclass{article}
> \title{Title of Document}
> \author{Name of Author}
> \usepackage{sagetex}
>
> \begin{document}
> \maketitle
>
> \begin{sagecommandline}
> sage: t = var('t')
> sage: x = function('x')(t)
> sage: DE = diff(x,t) + x - 1
> sage: desolve(DE,[x,t])
> \end{sagecommandline}
>
>
> \begin{sagecommandline}
> sage: (sqrt(2) + 1).n()
> \end{sagecommandline}
>
> \end{document}
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.