Hey, thanks. That error disappeared, but now I got two:
When typesetting, I get the error: """""" LaTeX Warning: Reference `...@sagelabel0' on page 1 undefined on input line 6. Package sagetex Warning: Graphics file sage-plots-for-Untitled1.tex/ plot-0.pdf on page 1 does not exist on input line 7. Package sagetex Warning: There were undefined Sage formulas and/or plots. Package sagetex Warning: Run Sage on Untitled1.sage, and then run LaTeX on Unti tled1.tex again. """""" Then, when I run sage in the file, I get this error: """""" sanponpon:~ jaasiel$ /Applications/sage/sage Documents/latex_example/ xample2/Untitled1.sage Traceback (most recent call last): File "Documents/latex_example/xample2/Untitled1.py", line 5, in <module> sagetex.openout('Untitled1') AttributeError: 'module' object has no attribute 'openout' """""" On Sep 29, 4:29 pm, Dan Drake <dr...@kaist.edu> wrote: > On Tue, 29 Sep 2009 at 11:58AM -0700, Jaasiel Ornelas wrote: > > ! 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. > > You need to put a \usepackage{sagetex} in your preamble. > > Dan > > -- > --- Dan Drake > ----- http://mathsci.kaist.ac.kr/~drake > ------- > > signature.asc > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---