Hi,

I installed sagetex, and am trying to use it trhough texshop.

I followed the instructions for copying the file sage.engine into the
folder ~/Library/TeXShop/Engines/. I'm trying to run the basic code
given in the sagetex.pdf and I get the following errors:

! Undefined control sequence.
l.5 ...t, for a total of $26^3 \cdot 10^3 =  \sage
                                                  {26^3*10^3}$ license
plates.
?
! Undefined control sequence.
<recently read> \sageplot

l.6 $\sageplot
              {plot(sin(x), x, 0, 2*pi)}$
?

I tried placing the sagetex.sty and .py into the folder of the example
I am running, but it did nothing.

Hhere is my code:

%!TEX TS-program = sage
\documentclass{article}
\begin{document}
There are $26$ choices for each letter, and $10$ choices for
each digit, for a total of $26^3 \cdot 10^3 =  \sage{26^3*10^3}$
license plates.
$\sageplot{plot(sin(x), x, 0, 2*pi)}$
\end{document}


Any help?

-Juan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to