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? Sony.. On Mar 6, 10:34 am, Marshall Hampton <hampto...@gmail.com> wrote: > The command "sage" is not in your path. As Harald said, you need to > do: > > /your/path/sage filename.sage > > where /your/path is the path to where you installed sage. > > -M. Hampton > > On Mar 6, 9:29 am, Sunil Koswatta <skosw...@yahoo.com> wrote: > > > Thanks for the reply again. Now I am having a hard time finding the sage > > command. I tried what you have suggested. The following is the outcome. > > > >sage filename.sage > > > -bash sage:command not found > > > Sony .. > > > --- On Fri, 3/6/09, Harald Schilly <harald.schi...@gmail.com> wrote: > > > > From: Harald Schilly <harald.schi...@gmail.com> > > > Subject: [sage-support] Re: sagetex issues > > > To: "sage-support" <sage-support@googlegroups.com> > > > Date: Friday, March 6, 2009, 8:37 AM > > > On Mar 6, 3:30 pm, Sunil Koswatta > > > <skosw...@yahoo.com> wrote: > > > > Thanks for the reply. I appreciate it. Perhaps, I > > > do not know how to "run" example1.sage. I have > > > tried numerous (assumed) commands and some of them are > > > listed below. > > > > no, you have to run sage *on* that file. i.e. if the sage > > > command is > > > in /you/sage/path/sage then run "/your/path/sage > > > filename.sage". Don't > > > start/open sage ! If sage is in your PATH variable, then > > > you just > > > don't need to specify the full path... > > > > h --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---