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} -- 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