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.