[sage-support] notebook worksheet old versions

2008-10-30 Thread flavia
Hello! We are teaching exercises for a calculus class at JKU Linz. Every week the students write a small program in Sage and send us .sws files. I'm not sure if its a feature or a bug, but I can see all the revisions a file has been through. Case studies show that most of the time the owner

[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]
ok, it's working, I installed imagemagick, tex4ht, gv, gs (following the March 12 sage-devel latex in notebook instructions) Thanks, this helped. Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]
On 30 Říj, 09:01, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, it's working, I installed imagemagick, tex4ht, gv, gs (following the March 12 sage-devel latex in notebook instructions) Thanks, this helped. more preciselly, it is sufficient to install gs and imagemagick thank you for

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread kcrisman
Yes. Could you please post the said link. I really want to know what caused the problem you're describing. http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws I would try it out sagenb.org, but... :) However, I did try it on our departmental server (which is 3.0.4, I think) and

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread John Cremona
Does it help if you replace the initial ''' with r''' ? John Cremona 2008/10/30 kcrisman [EMAIL PROTECTED]: Yes. Could you please post the said link. I really want to know what caused the problem you're describing. http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws I would

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Simon King
Dear Kcrisman, On Oct 30, 2:22 pm, kcrisman [EMAIL PROTECTED] wrote: sage: def plot_or_not(): : ''' : What's up with this? x^3 : ''' : f(x)=x^3 File ipython console, line 5 SyntaxError: can't

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread kcrisman
It *should* work with triple-' as well, I believe. But at least triple- is a work-around. Simon, I didn't try that, because my own workaround was just to delete the docstring completely. It was a lab on Newton's method for students, and to be honest they don't really need the docstring.

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Jason Grout
Simon King wrote: Dear John, On Oct 30, 2:33 pm, John Cremona [EMAIL PROTECTED] wrote: Does it help if you replace the initial ''' with r''' ? Unfortunately: sage: def plot_or_not(): : r''' : What's up with this? Object `What's up with this` not found. : '''

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Justin C. Walker
On Oct 30, 2008, at 06:22 , kcrisman wrote: Yes. Could you please post the said link. I really want to know what caused the problem you're describing. http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws I would try it out sagenb.org, but... :) However, I did try it on our

[sage-support] Re: notebook worksheet old versions

2008-10-30 Thread William Stein
On Thu, Oct 30, 2008 at 12:44 AM, flavia [EMAIL PROTECTED] wrote: Hello! We are teaching exercises for a calculus class at JKU Linz. Every week the students write a small program in Sage and send us .sws files. I'm not sure if its a feature or a bug, but I can see all the revisions a file

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread kcrisman
I think the problem in the above is the question mark, not the apostrophe.  Removing the question mark makes the error go away for me. I'm not saying the question mark might not be a problem too; it doesn't yield any unusual behavior for me, but I may not have tested it enough. But any time

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread kcrisman
Coming in late, but if this is literally what your example is, I think   the problem is the f(x)=x^3.  Can you do that? If I try this def foo(x):      f(x) = x^3      return f(x) on 3.2.alpha0, without any doctstring, it blows up with Thanks for your thoughts. Interesting, because

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread William Stein
On Thu, Oct 30, 2008 at 6:22 AM, kcrisman [EMAIL PROTECTED] wrote: Yes. Could you please post the said link. I really want to know what caused the problem you're describing. http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws I would try it out sagenb.org, but... :) For the

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Justin C. Walker
On Oct 30, 2008, at 08:11 , kcrisman wrote: Coming in late, but if this is literally what your example is, I think the problem is the f(x)=x^3. Can you do that? If I try this def foo(x): f(x) = x^3 return f(x) on 3.2.alpha0, without any doctstring, it blows up with

[sage-support] Ubuntu 8.10

2008-10-30 Thread davedo2
The install doc says that install from source isn't yet working with gcc 4.3.0. However, the version of gcc installed with Ubuntu 8.10 is 4.3.1 - is this still a problem? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: Ubuntu 8.10

2008-10-30 Thread mabshoff
On Oct 30, 10:00 am, davedo2 [EMAIL PROTECTED] wrote: The install doc says that install from source isn't yet working with gcc 4.3.0. However, the version of gcc installed with Ubuntu 8.10 is 4.3.1 - is this still a problem? Nope, gcc 4.3.x works and I will fix the README.txt or where ever

[sage-support] Re: Ubuntu 8.10

2008-10-30 Thread mabshoff
On Oct 30, 10:02 am, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Oct 30, 10:00 am, davedo2 [EMAIL PROTECTED] wrote: The install doc says that install from source isn't yet working with gcc 4.3.0. However, the version of gcc installed with Ubuntu 8.10 is 4.3.1 - is this still a

[sage-support] Re: Ubuntu 8.10

2008-10-30 Thread davedo2
Michael, In the PDF version of the tutorial on the web site it says: ~~ Sage Installation Guide Release 2008.09.17 Note: On tests using various Linux computer systems the known problems are: Sage does not build with gcc 4.3.0 yet, but work is ongoing to ?x that. ~ On Oct 30,

[sage-support] Re: Ubuntu 8.10

2008-10-30 Thread Jaap Spies
mabshoff wrote: On Oct 30, 10:02 am, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Oct 30, 10:00 am, davedo2 [EMAIL PROTECTED] wrote: The install doc says that install from source isn't yet working with gcc 4.3.0. However, the version of gcc installed with Ubuntu 8.10 is 4.3.1 - is

[sage-support] Re: Ubuntu 8.10

2008-10-30 Thread mabshoff
On Oct 30, 10:56 am, Jaap Spies [EMAIL PROTECTED] wrote: mabshoff wrote: SNIP Can someone point me toward the place in the documentation where such a claim is made? http://www.sagemath.org/doc/inst/node5.html Almost at the bottom of the page. Thanks Jaap, this is now #4403. Jaap

[sage-support] Re: notebook worksheet old versions

2008-10-30 Thread flavia
Hello William! Thanks for the fast reply. Is there a way to dowload these worksheet files without all the older versions? I mean besides creating a fresh worksheet via file-copy. There's no such feature at present.  Maybe I'll add such a feature today.  But before I do, can you think of

[sage-support] Re: notebook worksheet old versions

2008-10-30 Thread William Stein
On Thu, Oct 30, 2008 at 11:10 AM, flavia [EMAIL PROTECTED] wrote: Hello William! Thanks for the fast reply. Is there a way to dowload these worksheet files without all the older versions? I mean besides creating a fresh worksheet via file-copy. There's no such feature at present. Maybe

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Minh Nguyen
Hi kcrisman, On Fri, Oct 31, 2008 at 12:22 AM, kcrisman [EMAIL PROTECTED] wrote: Yes. Could you please post the said link. I really want to know what caused the problem you're describing. http://math.uchicago.edu/~crisman/Weird_Notebook_Behavior.sws I would try it out sagenb.org, but...

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread William Stein
On Thu, Oct 30, 2008 at 12:02 PM, Minh Nguyen [EMAIL PROTECTED] wrote: Hi kcrisman, On Fri, Oct 31, 2008 at 12:22 AM, kcrisman [EMAIL PROTECTED] wrote: Yes. Could you please post the said link. I really want to know what caused the problem you're describing.

[sage-support] Re: Apostrophe in docstring?

2008-10-30 Thread Minh Nguyen
On Fri, Oct 31, 2008 at 6:10 AM, William Stein [EMAIL PROTECTED] wrote: [...] Can you make a trac ticket with the above info? It should be enough to make it easy for somebody to fix the problem, which is surely a bug in the Sage preparser (and is surely my fault). Your wish is my command

[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]
On 29 Říj, 22:50, William Stein [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 1:38 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks for the answer. I have debian etch with 5G harddisk which seems to be minimal for sage :( The sage-vmware image that we distribute which is an

[sage-support] simple question about \frac

2008-10-30 Thread pong
I plot both ln(|x|) and 1/x on the same graph and try to label them by t1=text('$\frac{1}{x}$', (1,4), fontsize=14, rgbcolor='red'); t2=text('$\ln(|x|)$', (1,5), fontsize=14) While SAGE understand perfectly what to do with \ln, it doesn't seem to know what to do with \frac: it complaints