Finally, I got it to work. Thank you very much. However, the example1.dvi file was not saved in the folder that contains the example1.tex file. I have to look for it.
Is there a way to make the texshop to do all the work? Sony .. On Mar 6, 7:54 pm, Dan Drake <dr...@kaist.edu> wrote: > 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 > > signature.asc > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---