That works! I had followed the "more permanent instructions" previously, but somehow the wrong version still ended up in the right place. Anyway, it works now, even the automatic compiling in TeXShop. The only thing that is still acting funny is when I compile the example that came with SageTeX, but that doesn't really matter. It compiles sometimes, but not others, and when it doesn't, it gives me a variety of errors in TeXShop (when it's compiling the tex!). Like I said, oh well. If I have trouble later on with one of my personal documents, I'll repost.
Thank you for all of your help! :) ~Katie On Aug 2, 9:32 pm, Dan Drake <[email protected]> wrote: > 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 <[email protected]> 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 > athttp://www.sagemath.org/doc/installation/sagetex.html) > > Dan > > -- > --- Dan Drake > ----- http://mathsci.kaist.ac.kr/~drake > ------- > > signature.asc > < 1KViewDownload -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
