[sage-devel] Re: embed Sage worksheets into PDFs?

2008-12-17 Thread Rob Beezer
Dan, Very nice! The pdftk route worked fine for me. I'll add that KPDF (KDE's pdf viewer) falls into the "scant support" category. Not much of a surprise there. Rob On Dec 17, 10:05 pm, Dan Drake wrote: > This is a response to an idea that William mentioned recently [1]. He > asked if it's

[sage-devel] embed Sage worksheets into PDFs?

2008-12-17 Thread Dan Drake
This is a response to an idea that William mentioned recently [1]. He asked if it's possible to embed a Sage worksheet into a PDF so that one could upload the PDF to a Sage notebook server, which would then extract the worksheet and let you edit it. Yes, it's possible! Take a look at: http://sage

[sage-devel] Re: LaTeX -> SWS Prototype

2008-12-17 Thread Rob Beezer
Hi Kwankyu, Most of the work in this conversion is done by the tex4ht tool. It is very flexible about *outputting* Unicode, but I'm not sure about how it is at accepting Unicode as input. The tex4ht web site says "XeTeX files can be compiled with htlatex-like instructions (e.g., htxelatex, htx

[sage-devel] Re: LaTeX -> SWS Prototype

2008-12-17 Thread Kwankyu
Hi Rob, Very nice work! I hope this tool be available to all Sage users soon. BTW, does it work with xelatex? Perhaps not. It will be good if it does. Kwankyu --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe f

[sage-devel] Riemann surfaces java code

2008-12-17 Thread David Joyner
Hi: FYI, here is a project which I'm told is expected to be released with an open source license: http://www.math.fsu.edu/~ylebedev/research/HyperbolicGeometry.html If you don't know it already and you like hyperbolic geometry, you might find it interesting. - David Joyner --~--~-~--~

[sage-devel] Re: LaTeX -> SWS Prototype

2008-12-17 Thread Rob Beezer
cript (about 55 lines) > > makes minor modifications to the jsMath so that it is in the proper > > format to copy into a worksheet wholesale as text.  The result is that > > the blocks of code are now "live" when viewed in the Sage notebook so > > the reader can exe

[sage-devel] Re: LaTeX -> SWS Prototype

2008-12-17 Thread Jason Bandlow
ge notebook so > the reader can execute or modify them as they read about Sage and/or > mathematics. > > http://buzzard.ups.edu/sage/sage-group-theory-20081217.sws > > At a minimum, this is a nice example of several open tools working > together (LaTeX, tex4ht, jsMath, Sage

[sage-devel] LaTeX -> SWS Prototype

2008-12-17 Thread Rob Beezer
athematics. http://buzzard.ups.edu/sage/sage-group-theory-20081217.sws At a minimum, this is a nice example of several open tools working together (LaTeX, tex4ht, jsMath, Sage NB). Hopefully some will see the potential for cleaning this up and expanding the possibilities. I think it could be a big

[sage-devel] Re: proposition calculus

2008-12-17 Thread Georg S. Weber
On 17 Dez., 19:12, "William Stein" wrote: > On Wed, Dec 17, 2008 at 10:00 AM, Georg S. Weber > > > > wrote: > > > Hi William, > > > On 12 Dez., 18:58, "William Stein" wrote: > >> Hi, > > >> Is anybody interested in stuff like this (e.g., it could be nice for > >> teaching a class about writin

[sage-devel] Re: Shouldn't range() return Integer list instead of int list?

2008-12-17 Thread William Stein
On Wed, Dec 17, 2008 at 1:27 PM, philt wrote: > > I didn't know that one, thanks! You could do sage: range = srange then range would be the special sage srange for the rest of your session... William --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread Jaap Spies
mabshoff wrote: > On Dec 17, 1:27 pm, Jaap Spies wrote: >> Jaap Spies wrote: > > Hi Jaap, > >>> -- >>> The following tests failed: >>>sage -t pha2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py >>> # 1 doctest

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread mhampton
All tests passed on an intel mac, 10.4.11. -M. Hampton On Dec 17, 12:20 pm, mabshoff wrote: > Hello folks, > > here goes 3.2.2.rc1. We finally merge the Sage Words library and with > that the last major piece of code is in 3.2.2. We also fixed a bad > memory leak in coercion due to some debug c

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread Jaap Spies
Gary Furnish wrote: > It should give the relative path to where you ran the test from... if > its not, thats a bug. > I did ./sage -tp 2 devel/sage/sage Jaap > On Wed, Dec 17, 2008 at 2:31 PM, mabshoff wrote: >> On Dec 17, 1:27 pm, Jaap Spies wrote: >>> Jaap Spies wrote: >> Hi Jaap, >> >>>

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread Gary Furnish
It should give the relative path to where you ran the test from... if its not, thats a bug. On Wed, Dec 17, 2008 at 2:31 PM, mabshoff wrote: > > On Dec 17, 1:27 pm, Jaap Spies wrote: >> Jaap Spies wrote: > > Hi Jaap, > >> > --

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread mabshoff
On Dec 17, 1:27 pm, Jaap Spies wrote: > Jaap Spies wrote: Hi Jaap, > > -- > > > The following tests failed: > > >    sage -t  pha2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py > > # 1 doctests failed > >

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread Jaap Spies
Jaap Spies wrote: > > -- > > The following tests failed: > > sage -t > pha2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py # 1 doctests > failed > --

[sage-devel] Re: Shouldn't range() return Integer list instead of int list?

2008-12-17 Thread philt
I didn't know that one, thanks! Phil --~--~-~--~~~---~--~~ 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://groups.go

[sage-devel] Re: Sage 3.2.2.rc1 released

2008-12-17 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > here goes 3.2.2.rc1. We finally merge the Sage Words library and with > that the last major piece of code is in 3.2.2. We also fixed a bad > memory leak in coercion due to some debug code that snuck in. So 3.2.2 > should be very solid. > > Unfortunately there w

[sage-devel] Re: Experimental spkg scilab-5.0.3

2008-12-17 Thread Jaap Spies
David Joyner wrote: > I unpacked the spkg, deleted --with-gfortran from spkg-install, > and rebuilt the spkg. The build failed again (same ubuntu 8.10 > machine), but with this tail: > Hi David, > > checking wctype.h usability... yes > checking wctype.h presence... yes > checking for wctype.h..

[sage-devel] Re: Get polygon() supporting 3D just as line() supports line2d() and line3d()

2008-12-17 Thread philt
Thank you all! I got more than expected, including a tips for my example resolution with matrices, thanks! Phil --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubs

[sage-devel] Re: Experimental spkg scilab-5.0.3

2008-12-17 Thread David Joyner
I unpacked the spkg, deleted --with-gfortran from spkg-install, and rebuilt the spkg. The build failed again (same ubuntu 8.10 machine), but with this tail: checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for dirent.h that defines DIR...

[sage-devel] Re: transform html with sage code to html+png

2008-12-17 Thread David Joyner
Are there options for the html colors (theme?) used, such as with beamer? On Wed, Dec 17, 2008 at 6:35 AM, Mike Hansen wrote: > > Hi Rob, > > On Tue, Dec 16, 2008 at 10:11 PM, Rob Beezer wrote: >> More generally, I'd like to see some thought given to creating/ >> extending some tools to make i

[sage-devel] Re: transform html with sage code to html+png

2008-12-17 Thread Rob Beezer
Hi Mike, That output looks good, though I suspect the jsMath output might do a better job placing the symbols than the PNG's as inline images. The PDF looks especially good. I'm most interested in providing a publishing avenue for folks who already know LaTeX quite well. Which prompts two qu

[sage-devel] Re: Experimental spkg scilab-5.0.3

2008-12-17 Thread Jaap Spies
David Joyner wrote: > FYI: > On an amd64 ubuntu 8.10 system: the install failed and here is the > tail of the install log: > checking whether we are using the GNU Fortran 77 compiler... no > checking whether accepts -g... no > configure: error: You asked me to use gfortran but i haven't been abl

[sage-devel] Re: Sage 3.2.2: Pickle far failure with Sage Words Library patch

2008-12-17 Thread Robert Bradshaw
On Dec 17, 2008, at 2:58 AM, Mike Hansen wrote: > Hi, > > On Mon, Dec 15, 2008 at 11:57 PM, mabshoff > wrote: >> (a) break the pickle jar by recreating it with the Sage Words >> library >> patch applied - this would break all existing pickles involving Words >> (b) work around it by provid

[sage-devel] Re: Experimental spkg scilab-5.0.3

2008-12-17 Thread mabshoff
On Dec 17, 10:32 am, "David Joyner" wrote: > FYI: Yep, hard coding gfortran won't hard. There is perl code IIRC in the scipy.spkg that tells you what the Fortran runtime is used to compiler ATLAS. That is what should be used. Cheers, Michael --~--~-~--~~~---~--~

[sage-devel] Re: Experimental spkg scilab-5.0.3

2008-12-17 Thread David Joyner
FYI: On an amd64 ubuntu 8.10 system: the install failed and here is the tail of the install log: ... scilab-5.0.3/.hg/00manifest.i scilab-5.0.3/.hg/undo.dirstate scilab-5.0.3/SPKG.txt Finished extraction Host system uname -a: Linux hera 2.6.27

[sage-devel] Sage 3.2.2.rc1 released

2008-12-17 Thread mabshoff
Hello folks, here goes 3.2.2.rc1. We finally merge the Sage Words library and with that the last major piece of code is in 3.2.2. We also fixed a bad memory leak in coercion due to some debug code that snuck in. So 3.2.2 should be very solid. Unfortunately there will be a 3.2.2.rc2 with at least

[sage-devel] Re: proposition calculus

2008-12-17 Thread William Stein
On Wed, Dec 17, 2008 at 10:00 AM, Georg S. Weber wrote: > > Hi William, > > On 12 Dez., 18:58, "William Stein" wrote: >> Hi, >> >> Is anybody interested in stuff like this (e.g., it could be nice for >> teaching a class about writing math proofs): >> >> sage: f = propcalc.formula("a&((b|c)^a->c)

[sage-devel] Re: proposition calculus

2008-12-17 Thread Georg S. Weber
Hi William, On 12 Dez., 18:58, "William Stein" wrote: > Hi, > > Is anybody interested in stuff like this (e.g., it could be nice for > teaching a class about writing math proofs): > > sage: f = propcalc.formula("a&((b|c)^a->c)<->b") > sage: g = propcalc.formula("boolean<->algebra") > sage: (f&~g

[sage-devel] Re: Sage 3.2.2: Pickle far failure with Sage Words Library patch

2008-12-17 Thread mabshoff
On Dec 17, 2:58 am, "Mike Hansen" wrote: > Hi, > > On Mon, Dec 15, 2008 at 11:57 PM, mabshoff wrote: > >  (a) break the pickle jar by recreating it with the Sage Words library > > patch applied - this would break all existing pickles involving Words > >  (b) work around it by providing some du

[sage-devel] Experimental spkg scilab-5.0.3

2008-12-17 Thread Jaap Spies
Hi, I made an experimental scilab-5.0.3.spkg: http://sage.math.washington.edu/home/jsp/SPKGS/Scilab/scilab-5.0.3.spkg Please test it by downloading it into $SAGEROOT and type ./sage -f -m scilab-5.0.3.spkg The -m argument keeps the package in the spkg/build directory for further experimentati

[sage-devel] AWS 2009: Quadratic forms

2008-12-17 Thread William Stein
Hi Sage-Devel, The 2009 Arizona Winter School is a large grad-student-oriented number theory conference that I help organize. It will be on Quadratic Forms and will take place March 14-18, 2009 at the University of Arizona in Tucson. The lecturers and their topics are * Manjul Bhargava: Th

[sage-devel] Re: questions about AlgebraIdeal

2008-12-17 Thread dmharvey
On Dec 13, 4:46 pm, John H Palmieri wrote: > I was thinking of adding some doctests, so I was looking at > algebra_ideal.py.  Now I'm confused. > > The file has lines (plus some documentation, which I'm omitting): > > class AlgebraIdeal(object): >     def __init__(self, A, gens = []): >        

[sage-devel] Re: transform html with sage code to html+png

2008-12-17 Thread John Cremona
Those are really very beautiful! The lectures were good at the time, but this is very impressive indeed! John 2008/12/17 Mike Hansen : > > Hi Rob, > > On Tue, Dec 16, 2008 at 10:11 PM, Rob Beezer wrote: >> More generally, I'd like to see some thought given to creating/ >> extending some tools

[sage-devel] Re: transform html with sage code to html+png

2008-12-17 Thread Mike Hansen
Hi Rob, On Tue, Dec 16, 2008 at 10:11 PM, Rob Beezer wrote: > More generally, I'd like to see some thought given to creating/ > extending some tools to make it easier for folks to write *about* > Sage, or write about using Sage to do mathematics, in addition to > using Sage to provide output int

[sage-devel] Re: Sage 3.2.2: Pickle far failure with Sage Words Library patch

2008-12-17 Thread Mike Hansen
Hi, On Mon, Dec 15, 2008 at 11:57 PM, mabshoff wrote: > (a) break the pickle jar by recreating it with the Sage Words library > patch applied - this would break all existing pickles involving Words > (b) work around it by providing some dummy class I would vote for (a) since for these classes