[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Dan Drake
On Thu, 05 Mar 2009 at 10:45PM -0800, Alex Lara wrote: > > What do you get when you run "sage -maxima"? > > > > --Mike > > I got this: > > *** - invalid byte #xC3 in CHARSET:ASCII conversion > Break 1 [4]> I am totally guessing here, but is there a non-ascii character somewhere in the path to yo

[sage-support] sagetex issues

2009-03-06 Thread Sony
Hello I have downloaded and installed the sage (os x 10.5 intel version). Sage seems to be working fine. Then I downloaded sagetex 2.0 package. I moved sagetex.sty into user/library/texmf/tex/latex folder. Then I moved sagetex.py into the sage folder. Then I ran a simple latex code (copied fr

[sage-support] Re: sagetex issues

2009-03-06 Thread Dan Drake
On Thu, 05 Mar 2009 at 08:55PM -0800, Sony wrote: > It did not worked. I am getting the following in the console. [...] > Package sagetex Warning: There were undefined Sage formulas and/or > plots. > Run Sage on example1.sage, and then run LaTeX on example1.tex again. You have to follow the advic

[sage-support] Re: sagetex issues

2009-03-06 Thread Sunil Koswatta
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. sage: sage example1.sage sage: sage `example1.sage' sage: sage `example1.sage` sage: sage "example1.sage" sage: load(`exa

[sage-support] Re: sagetex issues

2009-03-06 Thread Harald Schilly
On Mar 6, 3:30 pm, Sunil Koswatta 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-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 1:33 AM, Dan Drake wrote: > On Thu, 05 Mar 2009 at 10:45PM -0800, Alex Lara wrote: >> > What do you get when you run "sage -maxima"? >> > >> > --Mike >> >> I got this: >> >> *** - invalid byte #xC3 in CHARSET:ASCII conversion >> Break 1 [4]> > > I am totally guessing here,

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Alex Lara
Hi there, I suppose it has to be with permissions. Sage is installed at my home directory. If a run sage as a root (su and then ./sage) maxima works!!! But if only run sage with sudo ./sage it does'nt. Do you have an idea why is that? ---Alex On Mar 6, 8:21 am, William Stein wrote: > On Fri,

[sage-support] Re: sagetex issues

2009-03-06 Thread Sunil Koswatta
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 wrote: > From: Harald Schilly > Subject: [sage-su

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 7:28 AM, Alex Lara wrote: > > Hi there, > > I suppose it has to be with permissions. Sage is installed at my home > directory. If a run sage as a root (su and then ./sage) maxima > works!!! But if only run sage with sudo ./sage it does'nt. > > Do you have an idea why is tha

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Robert Dodier
William Stein wrote: > > On Thu, 05 Mar 2009 at 10:45PM -0800, Alex Lara wrote: > >> *** - invalid byte #xC3 in CHARSET:ASCII conversion Try this: change the environment variable LC_CTYPE e.g. LC_CTYPE=ES_es or LC_CTYPE=ES_es.UTF-8 or something like that. Or maybe somehow indicated ISO 8859-1 o

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 7:54 AM, Robert Dodier wrote: > > William Stein wrote: > >> > On Thu, 05 Mar 2009 at 10:45PM -0800, Alex Lara wrote: > >> >> *** - invalid byte #xC3 in CHARSET:ASCII conversion > > Try this: change the environment variable LC_CTYPE > e.g. LC_CTYPE=ES_es or LC_CTYPE=ES_es.UT

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Robert Dodier
On Mar 6, 8:56 am, William Stein wrote: > That said -- I'm really looking forward to Sage switching to Maxima + ECL. I;'m pretty sure ECL will exhibit some variation on Clisp's behavior, for better or worse. Robert Dodier --~--~-~--~~~---~--~~ To post to this gr

[sage-support] Re: sagetex issues

2009-03-06 Thread Marshall Hampton
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 wrote: > Thanks for the reply again. Now I am having a hard time finding the sage >

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Alex Lara
Sagetex is working!!! (and also Maxima). I did the following: I found that LANG=ex_MX.UTF-8 but .bashrc had export LC_ALL=C. So I commented and run sudo dpkg-reconfigure locales After that Maxima start to works. Thanks for the support. Alex On Mar 6, 8:54 am, Robert Dodier wrote: > Will

[sage-support] Fwd: quad forms in SAGE question

2009-03-06 Thread William Stein
I'm forwarding this to sage-support... -- Forwarded message -- From: Fernando Rodriguez-Villegas Date: Fri, Mar 6, 2009 at 12:00 PM Subject: quad forms in SAGE question To: William Stein , Jonathan Hanke , Craig Citro Hi Guys,  Could you please tell me whether the invariants

[sage-support] Turning display of parents on and off

2009-03-06 Thread Alasdair
Thanks to the help of Robert Bradshaw, and to the file IPython/ hooks.py, I've cobbled together the following sage.init file: import IPython from IPython import ipapi from IPython.genutils import Term from pprint import PrettyPrinter pformat = PrettyPrinter().pformat def repr_and_parent(self,

[sage-support] Re: Turning display of parents on and off

2009-03-06 Thread Carl Witty
On Mar 6, 3:02 pm, Alasdair wrote: > However, it doesn't work.  In console mode show_parent() should turn > the display of parents on, and hide_parent() should turn it off.  It > seems to work once - but not again.  That is, parent display can be > turned on, and then off, but not on again - show

[sage-support] Re: sagetex issues

2009-03-06 Thread Sony
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/sagete

[sage-support] Re: sagetex issues

2009-03-06 Thread Dan Drake
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

[sage-support] Re: sagetex issues

2009-03-06 Thread Sony
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 wrote: > On Fri, 06 Mar 2009 at

[sage-support] Excessive snapshots

2009-03-06 Thread Rob Beezer
I'm finding many, many files in each workseet's "snapshots" directory - many of them identical. They are created about two per minute, even if there are no changes. I have one directory with 15,000 files in it. This is with 3.4.rc0. I got the impression that this was partially fixed in http://

[sage-support] Chemistry usage

2009-03-06 Thread Rachel Shirron
I was wondering what Sage can do that is particularly useful for chemistry. I am taking quantum right now and hoping to be able to use Sage to help me in class as well as for my research. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@goog

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Marshall Hampton
Yes, running 3.3 should fix that. You can safely delete most of those snapshots if you want to save some space. Also, you can edit user_conf.py (in sage/server/notebook) to change the autosave_interval to something bigger (this is #5371 that you referred to, although there we are only thinking o

[sage-support] Division error in Sage 3.3 but not in Sage 3.1.1

2009-03-06 Thread Alex Lara
Hi guys, I recently upgrade sage from 3.2.3 to 3.3. I'm also have sage 3.1.1 The thing is that the following commands give different results: F.=FiniteField(9) A. = PolynomialRing(F) K. = FractionField(A) f= 2/(t^2+2*t); g =t^9/(t^18 + t^10 + t^2);f+g In 3.1.1 gives the right answer (I guess) b

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
Marshall, Thanks for the reply. I'm using 3.4.rc0, built from the source. I find three copies of user_conf.py: ./devel/sage-main/sage/server/notebook/user_conf.py ./devel/sage-main/build/lib.linux-x86_64-2.5/sage/server/notebook/ user_conf.py ./devel/sage-main/build/sage/server/notebook/user_c

[sage-support] Jmol problem

2009-03-06 Thread Kwankyu
Hi, In my Sage 3.3 notebook on Mac OS 10.5/Firefox 3.07, Jmol 3d graphics are shown as just black rectangles. I know this was a problem that other people experienced. But is it now fixed? If this occurs only to me, how can I fix it? --~--~-~--~~~---~--~~ To post t

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
My 30 MB nb.sobj was also being saved twice a minute. Is this a reasonable size for this file? After some head-scratching, I found the thread http://tinyurl.com/aht325 which had the following commands to use at the sage command line: sage: nb = load('/home/rob/.sage/sage_notebook/ nb.sobj',com

[sage-support] Re: Excessive snapshots

2009-03-06 Thread mabshoff
On Mar 6, 11:22 pm, Rob Beezer wrote: > My 30 MB nb.sobj was also being saved twice a minute.  Is this a > reasonable size for this file? > > After some head-scratching, I found the threadhttp://tinyurl.com/aht325 > > which had the following commands to use at the sage command line: > > sage: n

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
Hi Michael, No - didn't rebuild. Guess I figured it was some sort of configuration file that got read at start-up. :-( At least now I know which version to edit. I don't think this explains why it was saving twice a minute originally, when I'd built from source. user_conf.py must have been r