On Fri, 12 Feb 2010 at 01:39PM -0800, 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?
Yes, it should. What version of TeXShop do you have? When you say "sagetex.py is in /Applications/sage", does that mean you installed the sagetex spkg into Sage? Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature