On Fri, 06 Mar 2009 at 05:43PM -0800, Sony wrote:
> It seems to be working now.  Thank you very much.  Unfortunately, now
> I have a new problem.  Please see below.
> __________________________________________
> sony$ /Applications/sage/sage /Users/Sony/Desktop/sagetexEx/
> xample1.sage
> Traceback (most recent call last):
>   File "/Users/Sony/Desktop/sagetexEx/xample1.py", line 4, in <module>
>     import sagetex
> ImportError: No module named sagetex
> sony$
> __________________________________________
> 
> I placed sagetex.sty in Users/Sony/Library/texmf/tex/latex and
> sagetex.py in the sage folder.
> What am I not doing right?

Well, if the xample1.sage file is generated, then TeX can find
sagetex.sty, so that's not the problem. I think you've put sagetex.py
(the Python module) in the wrong place -- try putting in the same
directory as your document (/Users/Sony/Desktop/sagetexEx/). There are
other ways around this, but that's the easiest way to do it.

Dan

-- 
---  Dan Drake <dr...@kaist.edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to