I have a ~50 page tutorial on using Sage/SageTeX with TeXShop. It is a living document so please consider making constructive comments.
http://devio.us/~bannon/sage/ If Drake and Stein are listening . . . Sage and SageTeX need to be further promoted by doing a Coursera course. Please do a Coursera course . . . the world will be a better place! On Friday, February 12, 2010 1:39:56 PM UTC-8, Oscar wrote: > > I just installed Sage (sage-4.3.2-OSX-64bit-10.6-i386-Darwin.dmg) in > my MacBook Pro (Mac OS 10.6.2). I am using TeXShop 2.30. > > I am trying to use sagetex with TeXShop with no success. > > - My source file begins with %!TEX TS-program = sage > - I included \usepackage{sagetext} in the preamble. > - sagetex.sty is in my ~Library/texmf/tex/latex directory. > - sagetex.py is in /Applications/sage/ > > The console says (among other things): > > LaTeX Warning: Reference `@sageinline0' on page 1 undefined on input > line 12. > > Package sagetex Warning: Graphics file sage-plots-for-sage_example.tex/ > plot-0.p > df on page 1 does not exist. Plot command is on input line 15. > > Package sagetex Warning: There were undefined Sage formulas and/or > plots. > Run Sage on sage_example.sage, and then run LaTeX on sage_example.tex > again. > > > How do I run Sage on sage_example.sage? Isn't TeXShop supposed to send > this to Sage and get output from Sage without my intervention? > - - - - - - > > The whole source below: > > %!TEX TS-program = sage > > \documentclass{article} > \usepackage{sagetex} > \usepackage{graphicx} > > \begin{document} > > This is an example of using \textsf{Sage} within a \LaTeX\ document: > > \[ > 2^{100}=\sage{2^100} > \] > > \sageplot[width=3in]{plot(sin(x)/x,-1,1)} > > \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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.