On Wed, 03 Oct 2012 at 07:34AM -0500, Jason Grout wrote: > > the first, I use > > latex sage-slide.tex > > but the output is "sage-slide.sage" not "sage-slide.sagetex.sage" > > That tells us that you are probably using a very old version of Sage. > That may be the problem. What version of Sage are you using?
That's definitely an old version of SageTeX there. (In fact, it was you,
Jason, who suggested the name change! That was a good idea.) The
original poster should definitely upgrade to a newer version of Sage.
> > next, I use
> > sage sage-slide.sage
> >
> > the error msg is
> > Traceback (most recent call last):
> > File "sage-slides.py", line 5, in <module>
> > sagetex.openout('sage-slides')
> > AttributeError: 'module' object has no attribute 'openout'
That is really strange. SageTeX's Python module doesn't have any openout
function, and according to "hg grep", it never did. There's no openout
anywhere in the Sage source. I have no idea where that came from.
Upgrading to the most recent version of Sage sounds like the best thing
to do here.
Dan
--
--- Dan Drake
----- http://math.pugetsound.edu/~ddrake
-------
signature.asc
Description: Digital signature
