[sage-support] Sage Server API, compute-call.

2010-07-26 Thread Andreas Green
Hello. I have recently set up a sage server for use as cas in a web-app. It works fine to log in, log out and interrupt via api-calls but when i try to use the compute-call (i.e. http://server:port/simple/compute?session=d9ae2d49d4a7daf949a9c594eade7e0code=2+3timeout=60 ) the server responds

[sage-support] help defining latex macros

2010-07-26 Thread Mike Witt
sage: version() 'Sage Version 4.5.1, Release Date: 2010-07-19' I'd like to to define a latex macro, in a worksheet, so that I can use it later to do something like this: html('State = $\\ket{0}$') I found some documentation, but I'm clearly not understanding it:

[sage-support] Using Tkinter with Sage Notebook Server

2010-07-26 Thread Chris Wright
I teach mathematics at a high school, and I am having our IT person set up a Sage Notebook Server this summer for our school. In addition to using Sage for our Calculus classes, I would like to use the turtle module for our geometry class. On sagenb.org, after importing the Tkinter and

Re: [sage-support] Using Tkinter with Sage Notebook Server

2010-07-26 Thread William Stein
On Mon, Jul 26, 2010 at 2:24 PM, Chris Wright chris.g.wri...@cox.net wrote: I teach mathematics at a high school, and I am having our IT person set up a Sage Notebook Server this summer for our school.  In addition to using Sage for our Calculus classes, I would like to use the turtle module

Re: [sage-support] Define an action

2010-07-26 Thread Johannes
maybe Y[k] is possible if you create a subclass of matrix and overload the [] operator. but you have to think about Y[1] returns the first row of the matrix so it would be inconsistent. greatz Am 25.07.2010 10:52, schrieb drenwal: Hello, I would like to define an action, let us say: def

Re: [sage-support] Re: help defining latex macros

2010-07-26 Thread Mike Witt
On 07/26/2010 01:24:34 PM, John H Palmieri wrote: On Jul 26, 12:59 pm, Mike Witt msg...@gmail.com wrote: sage: version() 'Sage Version 4.5.1, Release Date: 2010-07-19' I'd like to to define a latex macro, in a worksheet, so that I can use it later to do something like this: html('State =

[sage-support] Re: help defining latex macros

2010-07-26 Thread John H Palmieri
On Jul 26, 3:45 pm, Mike Witt msg...@gmail.com wrote: On 07/26/2010 01:24:34 PM, John H Palmieri wrote: On Jul 26, 12:59 pm, Mike Witt msg...@gmail.com wrote: sage: version() 'Sage Version 4.5.1, Release Date: 2010-07-19' I'd like to to define a latex macro, in a worksheet, so

Re: [sage-support] Re: help defining latex macros

2010-07-26 Thread Mike Witt
On 07/26/2010 04:17:05 PM, John H Palmieri wrote: On Jul 26, 3:45 pm, Mike Witt msg...@gmail.com wrote: On 07/26/2010 01:24:34 PM, John H Palmieri wrote: On Jul 26, 12:59 pm, Mike Witt msg...@gmail.com wrote: sage: version() 'Sage Version 4.5.1, Release Date: 2010-07-19' I'd