[sage-devel] Re: notebook features discussion

2008-04-23 Thread William Stein
On Wed, Apr 23, 2008 at 8:29 PM, John Voight <[EMAIL PROTECTED]> wrote: > > Hello! > > I've run some Sage labs using the notebook here at UVM and two things > have come up. > > (1) At the end of class, I asked my students to print out their work > and turn it in. I stopped this almost immedi

[sage-devel] Re: notebook features discussion

2008-04-23 Thread John Voight
Hello! I've run some Sage labs using the notebook here at UVM and two things have come up. (1) At the end of class, I asked my students to print out their work and turn it in. I stopped this almost immediately, since the printouts are hugely wasteful: blank pages, things overrun the margins, et

[sage-devel] Re: notebook features discussion

2008-04-23 Thread gerhard
> Does it go away if you pass the "fragile" option to the frame > environment? It seems that that is how people overcame this in the > past. Can you look in the source to the slides that was posted previously? > > \begin{frame}[fragile] Yes indeed, that works. I remember the problem, now that y

[sage-devel] Re: notebook features discussion

2008-04-23 Thread Jason Grout
gerhard wrote: >> What problems are you having? Beamer and SageTeX are largely orthogonal, >> but there are some tricky bits with verbatim environments > > When I add a sageblock in a frame, e.g., > \begin{sageblock} > var('x') > f = log(sin(x)/x) > \end{sageblock} > > I get the error messa

[sage-devel] Re: notebook features discussion

2008-04-23 Thread gerhard
> What problems are you having? Beamer and SageTeX are largely orthogonal, > but there are some tricky bits with verbatim environments When I add a sageblock in a frame, e.g., \begin{sageblock} var('x') f = log(sin(x)/x) \end{sageblock} I get the error message Runaway argument? ! Paragraph

[sage-devel] Re: notebook features discussion

2008-04-20 Thread Dan Drake
On Sun, 20 Apr 2008 at 09:34AM -0700, gerhard wrote: > PS: anybody got beamer with sagetex to work? What problems are you having? Beamer and SageTeX are largely orthogonal, but there are some tricky bits with verbatim environments, which are covered in the documentation. If there are other proble

[sage-devel] Re: notebook features discussion

2008-04-20 Thread William Stein
On Sun, Apr 20, 2008 at 1:25 PM, Soroosh Yazdani <[EMAIL PROTECTED]> wrote: > It would be nice if one had a way of checking the code of a procedure that > is called inside of another function. Specifically, when you type > M.myfunc??, sage prints out the source code, and in many cases, this code i

[sage-devel] Re: notebook features discussion

2008-04-20 Thread Soroosh Yazdani
It would be nice if one had a way of checking the code of a procedure that is called inside of another function. Specifically, when you type M.myfunc??, sage prints out the source code, and in many cases, this code is very generic, that calls another function, possibly after checking some boundary

[sage-devel] Re: notebook features discussion

2008-04-20 Thread Mike Hansen
> PS: anybody got beamer with sagetex to work? Yep. Franco Saliola posted some slides with the source of a talk he gave awhile back: http://groups.google.com/group/sage-devel/browse_frm/thread/be12e21544158624/e3d60d77ef171168?lnk=gst&q=slides+first+sage+franco#e3d60d77ef171168 --Mike --~--~

[sage-devel] Re: notebook features discussion

2008-04-20 Thread gerhard
Hmm, looks like everybody has all the features they want! And yes, the notebook is REALLY NICE to have... Seriously, though, I would like to split a notebook into distinct pages for easy presentation in talks and classes. -gerhard PS: anybody got beamer with sagetex to work? --~--~-~

[sage-devel] Re: notebook features discussion

2008-04-20 Thread John Cremona
Now that's a really pure-mathematical suggestion! John 2008/4/20 Nils Bruin <[EMAIL PROTECTED]>: > > Just a thought: if for some reason, the click event gets registered > twice instead of once, one would go around a cycle of length 3 "the > wrong way around". Perhaps change the cycle length a

[sage-devel] Re: notebook features discussion

2008-04-20 Thread Nils Bruin
Just a thought: if for some reason, the click event gets registered twice instead of once, one would go around a cycle of length 3 "the wrong way around". Perhaps change the cycle length and see how that affects the bug? --~--~-~--~~~---~--~~ To post to this group,

[sage-devel] Re: notebook features discussion

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 8:16 PM, <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 19 Apr 2008, William Stein wrote: > > > > > > > On Sat, Apr 19, 2008 at 4:49 PM, Andrey Novoseltsev <[EMAIL PROTECTED]> > > wrote: > >> > >> > > For some reason, that cycle got reversed. > >> > > >> > Are you su

[sage-devel] Re: notebook features discussion

2008-04-19 Thread boothby
On Sat, 19 Apr 2008, William Stein wrote: > > On Sat, Apr 19, 2008 at 4:49 PM, Andrey Novoseltsev <[EMAIL PROTECTED]> wrote: >> >> > > For some reason, that cycle got reversed. >> > >> > Are you sure? >> > >> >> Yes, that's exactly what happened for me - sometime ago the cycle was >> wrap/u

[sage-devel] Re: notebook features discussion

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 4:49 PM, Andrey Novoseltsev <[EMAIL PROTECTED]> wrote: > > > > For some reason, that cycle got reversed. > > > > Are you sure? > > > > Yes, that's exactly what happened for me - sometime ago the cycle was > wrap/unwrap/hide, and then it switched to wrap/hide/unwrap.

[sage-devel] Re: notebook features discussion

2008-04-19 Thread Andrey Novoseltsev
> >  For some reason, that cycle got reversed. > > Are you sure? > Yes, that's exactly what happened for me - sometime ago the cycle was wrap/unwrap/hide, and then it switched to wrap/hide/unwrap. Maybe it is something paltform dependent?.. I am using Firefox from Windows and it behaves in such a

[sage-devel] Re: notebook features discussion

2008-04-19 Thread Chris Chiasson
I think the notebook is really nice. On Apr 19, 9:47 am, gerhard <[EMAIL PROTECTED]> wrote: --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, vis

[sage-devel] Re: notebook features discussion

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 10:56 AM, <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 19 Apr 2008, William Stein wrote: > > > > > On Sat, Apr 19, 2008 at 9:51 AM, Andrey Novoseltsev <[EMAIL PROTECTED]> > wrote: > >> > >> How about syntax highlighting in code cells? > > > > We already implemente

[sage-devel] Re: notebook features discussion

2008-04-19 Thread boothby
On Sat, 19 Apr 2008, William Stein wrote: > > On Sat, Apr 19, 2008 at 9:51 AM, Andrey Novoseltsev <[EMAIL PROTECTED]> wrote: >> >> How about syntax highlighting in code cells? > > We already implemented that two different ways. Both ways were too > slow and/or inconsistent, so we disabled/r

[sage-devel] Re: notebook features discussion

2008-04-19 Thread root
>> For about 2/3 the things I personally want to output word wrap is >> better, and for the other half, word wrap is worse. > > >The above sentence is mathematically inconsistent because I had "half" at the >beginning of the sentence, changed it to 2/3, but didn't change the >other half to 1/3.

[sage-devel] Re: notebook features discussion

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 10:24 AM, William Stein <[EMAIL PROTECTED]> wrote: > On Sat, Apr 19, 2008 at 9:51 AM, Andrey Novoseltsev <[EMAIL PROTECTED]> wrote: > > > > How about syntax highlighting in code cells? > > We already implemented that two different ways. Both ways were too > slow and/

[sage-devel] Re: notebook features discussion

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 9:51 AM, Andrey Novoseltsev <[EMAIL PROTECTED]> wrote: > > How about syntax highlighting in code cells? We already implemented that two different ways. Both ways were too slow and/or inconsistent, so we disabled/removed the functionality. When it comes to the notebook

[sage-devel] Re: notebook features discussion

2008-04-19 Thread Andrey Novoseltsev
How about syntax highlighting in code cells? Also, I think that default line truncation can be improved: sometimes even if a line fits my screen without horizontal scrolling it gets truncated and I need to click on the output (twice) to make it look better. Is it possible to determine the width o