[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 your Sage

[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

[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 advice

[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:

[sage-support] Re: sagetex issues

2009-03-06 Thread Harald Schilly
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

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 1:33 AM, Dan Drake dr...@kaist.edu 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, but is

[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 wst...@gmail.com

[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 harald.schi...@gmail.com wrote: From: Harald

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 7:28 AM, Alex Lara lrodr...@gmail.com 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

[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 or

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread William Stein
On Fri, Mar 6, 2009 at 7:54 AM, Robert Dodier robert.dod...@gmail.com 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

[sage-support] Re: Problems using sagetex package

2009-03-06 Thread Robert Dodier
On Mar 6, 8:56 am, William Stein wst...@gmail.com 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

[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 skosw...@yahoo.com wrote: Thanks for the reply again. Now I am having a hard time

[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

[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 aw...@math.utexas.edu Date: Fri, Mar 6, 2009 at 12:00 PM Subject: quad forms in SAGE question To: William Stein wst...@gmail.com, Jonathan Hanke jonha...@math.duke.edu, Craig Citro

[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 amc...@gmail.com 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

[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

[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 dr...@kaist.edu wrote: On Fri,

[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

[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] 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

[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

[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

[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/

[sage-support] Re: Excessive snapshots

2009-03-06 Thread mabshoff
On Mar 6, 11:22 pm, Rob Beezer goo...@beezer.cotse.net 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

[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