On 10/3/12 6:51 AM, 黃 裕雄 wrote:
> Dear Professor
> Recently, I find the your example for sage and tex.
> I am very happy and interesting to use it.
> I want to use your example "age-slide.tex" to generate the math output
>
> the following is my command:
>
> 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?
>
> 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'
>
I'm not sure what would cause that, but my guess is that it has to do
with having an old version of Sage. I've also sent this message to the
sage-support mailing list
(https://groups.google.com/forum/?fromgroups#!forum/sage-support), where
people know more about sagetex. I suggest that you subscribe to that
mailing list for replies there.
Thanks,
Jason
> I try it many times, I don't know how to correctly it.
> Would you tell how to do it?
>
> Thanks a lot.
>
> Huang, Yu Hsiung
> [email protected]
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.