[sage-devel] partial success: notebook latex, adding \usepackage, using tikz

2009-04-16 Thread gerhard
This started out in grading notebooks, but does not really belong there. - I am happy to report the functionality to modify the latex header for notebook output is already present in sage: sage: import sage.misc.latex as l sage: l.LATEX_HEADER+='\\def \\pgfsysdriver {pgfsys-dvips.d

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
import sage.misc.latex as l l.LATEX_HEADER+='\\def \\foo {FOO defined successfully}\n' does indeed define a macro \foo that can be used from a %latex cell in the notebook. I am having no luck with tixz so far. I tried l.LATEX_HEADER+='\\def \\pgfsysdriver {pgfsys-dvips.def}\n\\usepackage {tikz}

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
I had noticed the emoticon, and I did get quite a laugh! It's quite appropriate too. So what triggers the use of SLIDE_HEADER in sage/misc/latex.py? I tried asking the question in support, because I was trying for a solution to some of my own suggestions.... -ge

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
python files, cache results, etc, but... -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http

[sage-devel] Re: grading homework

2009-04-14 Thread gerhard
adds comments/suggestions/code * grader merges data into grade book For Lectures/Talks, individual notebooks might be designed to fit onto a screen (slide), navigation might imply precomputing results in worksheets that can be directly imported into a given notebook page/slide. -gerhard

[sage-devel] Re: Commutative diagrams in notebook

2009-04-13 Thread gerhard
just to get back to the original question: did 'inserting a usepackage{}' command ever get resolved? It would be nice to be able to do this from the worksheet, rather than modifying sage code. I also wonder if packages like tikz could be made to work?

[sage-devel] Re: Sage in the news

2008-12-26 Thread gerhard
Curtesy of "simplified chinese on babelfish:" the sage function is very formidable, introduced that has such one: “this section opens the source software's supporter saying that Sage can complete anything, to calculates in the global warming effect mathematical model from 12 Uygur objects the rai

[sage-devel] Re: numpy.mgrid problem

2008-09-29 Thread gerhard
The example I have trouble with is import numpy s,t=numpy.mgrid[-7.:7.:.05,-5.:5:.05] print type(s[0,1]) print s Is this a bug? the explicit conversion to float suggested above does what I need. thanks, gerhard --~--~-~--~~~---~--~~ To post to

[sage-devel] numpy.mgrid problem

2008-09-27 Thread gerhard
I just noticed that from sage x=numpy.mgrid[0.:1.:0.1] coerces the results to integers. Is there a work-around? thanks, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: notebook features discussion

2008-04-23 Thread gerhard
ber the problem, now that you have pointed it out to me! Thank you, Jason. -gerhard --~--~-~--~~~---~--~~ 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,

[sage-devel] Re: notebook features discussion

2008-04-23 Thread gerhard
Runaway argument? ! Paragraph ended before \next was complete. \par I installed the sagetex package directly from ctan. The problem appears with bot sage 2.10.4 and 3.0. -gerhard > Dan > > -- > --- Dan Drake <[EMAIL PROTECTED]> > - KAIST Department of Mathematical Sciences >

[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] notebook features discussion

2008-04-19 Thread gerhard
leave it at the end of the current cell. Getting to the next cell is trivial given the binding to the right arrow key. The current behavior is extremely confusing on long outputs from a computation. -gerhard --~--~-~--~~~---~--~~ To post to this gr

[sage-devel] Re: tick marks

2008-04-12 Thread gerhard
need good graphics capabilities, and have made a lot of effort. -gerhard Note R also has an addon rggobi that allows data brushing. It might also be of interest --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: tick marks

2008-04-10 Thread gerhard
Just to illustrate, the results of something like plot(sin(40*x),(1.96,2.04)) are intriguing -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

[sage-devel] Re: tick marks

2008-04-09 Thread gerhard
> I'm interested. I took the liberty to mail the boundle to your gmail address. What is the preferred way to submit a bundle? > It seems like it.   We should fix this.  Does your > bundle fix this? No, I did not want to modify the behaviour of the cod

[sage-devel] Re: tick marks

2008-04-09 Thread gerhard
the axes can yield very surprising results. Should the range bounds be honored if the user sets them explicitely? -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: Vertex colors

2008-03-29 Thread gerhard
There is some research on colorschemes to use for CRT, overheads, etc (including considerations such as color blindness). See: http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_intro.html -gerhard --~--~-~--~~~---~--~~ To post to this group, send email

[sage-devel] Re: sage 2.10.1 build problems with Intel MKL library (lapack)

2008-02-17 Thread gerhard
-packages=yes \ --enable-R-shlib in the configure flags for R, is there an easier way than the sequence I use (as outlined in my first message)? Thanks, Gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com

[sage-devel] sage 2.10.1 build problems with Intel MKL library (lapack)

2008-02-17 Thread Gerhard Ertaler
I would like to report a minor problem compiling sage --- * my environment: laptop running Fedora 2.6.23.15-137.fc8 with the intle mkl libraries (blas, lapack) installed environmental variables CPPFLAGS and LDFLAGS are set to point to the intel include and lib director