Hi Katie, Sorry for the slow replies. I'm traveling and have not been keeping super current on email.
On Mon, 02 Aug 2010 at 09:06AM -0700, Katie Johnson wrote: > Does anyone know how to fix this? > > On Jul 28, 2:50 pm, Katie Johnson <katie.v.johnso...@gmail.com> wrote: > > I used Dan's minimal example. I copied his code into a file, ran it > > in TexShop and got no errors, but did get a warning: > > [...] > > (/usr/local/texlive/2009/texmf-dist/tex/latex/sagetex/sagetex.sty I think that is one problem: your TeX installation has one version of SageTeX and your Sage or TexShop installation has another. The versions need to match in order for things to work, and I've put code into SageTeX that will check for that, but you seem to have a slightly older version. Try this: open a terminal, and move the above file somewhere else, with something like: cd /usr/local/texlive/2009/texmf-dist/tex/latex/sagetex sudo mv sagetex.sty old-sagetex.sty That will move the old sagetex.sty file (which is what TeX needs to understand SageTeX stuff) out of the way. Now you will need a new copy of sagetex.sty, one that matches the SageTeX stuff built into Sage. Here's one way to do that: find where you installed Sage; call that directory SAGE_ROOT. Then, in a terminal, do this: cp SAGE_ROOT/local/share/texmf/tex/generic/sagetex/sagetex.sty YOUR_DOC where, of course, you replace SAGE_ROOT as above and YOUR_DOC is the directory where your sample document is. Then try typesetting your document and running Sage again. Does that work? (BTW, more permanent installation instructions are available at http://www.sagemath.org/doc/installation/sagetex.html) Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature