[sage-support] Color in html output and rounding matrices

2013-11-13 Thread Jotace
Hello to everyone, I was trying to make some camputational tool for my students, to allow them to compute powers of matrices quickly. I made a tiny htm page with some text giving explanations, and the following code embedden in a one-cell script DEF=[[0.25,0.55,0.2],[0.35,0.15,0.1],[0.45,0.3,0

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread Jotace
I had the very same problem with Moodle2.0 My "solution" is not to wite an html document inside Moodle. Rather, what I do is write the .html file externally, with Kompozer, then in Moodle i upload that external file. I don'n know if this works if, for instance you want to tak profit of the stru

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread mbuffat69
Yes the html editor in moodle escape < i.e. if 1<2: print 'hi' is converted automatically if 1<2: print 'hi' however the code in written with one line, i.e. I am unable to insert multi-lines using only Moreover string enclosed with "" does nor work (single quote works) At the moment

[sage-support] Re: Factorial Carry Value in Python

2013-11-13 Thread Juan Grados
0<= u_i <= l-i 2013/11/13 Juan Grados > Let be s between 1 and l!-1 an integer value then s can expressed uniquely > than: > > s = u1*(l-1)! + u2*(l-2)!+ ... ul*0 > > Is there any function to find the values u1, u2, ..., ul in SAGE or python? > > -- > ---

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread Jason Grout
On 11/13/13 1:43 PM, Stefan van Zwam wrote: I'm running into the same problem with Wordpress. When I switch their TinyMCE editor between "Text" and "Visual" modes, it will add in those tags. My "solution" is to edit only in Text mode (the Sage boxes are invisible anyway in Visual mode, which is

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread Jason Grout
On 11/13/13 2:49 PM, mbuffa...@gmail.com wrote: I follow the suggestion of Jason and remove the script tag 1+2 and it works. By the way, in moodle the html editor has a raw mode. However as pointed by Stefan, as soon as I return to the visual mode, the editor add the [CDATA[ stuff around the sc

[sage-support] Re: which version of ipython for building a sagecell server

2013-11-13 Thread Jason Grout
On 11/13/13 3:42 PM, mbuffa...@gmail.com wrote: I want to use the sage cellserver for online course with moodle. I presently use the sage*cell*.*sagemath*.org, but I want to use my own sagecell server at the university Those instructions are old (sorry for not noting it yet). I'm now runni

[sage-support] which version of ipython for building a sagecell server

2013-11-13 Thread mbuffat69
I want to use the sage cellserver for online course with moodle. I presently use the sage*cell*.*sagemath*.org, but I want to use my own sagecell server at the university I have try to compile the SAGE cellserver using the https://github.com/sagemath/sagecell I successfully compile SAGE 5.10.r

[sage-support] Factorial Carry Value in Python

2013-11-13 Thread Juan Grados
Let be s between 1 and l!-1 an integer value then s can expressed uniquely than: s = u1*(l-1)! + u2*(l-2)!+ ... ul*0 Is there any function to find the values u1, u2, ..., ul in SAGE or python? -- - MSc. Juan del Carmen Grados V

[sage-support] which version of ipython for building a sagecell server

2013-11-13 Thread mbuffat69
I want to use the sage cellserver for online course with moodle. I presently use the sage*cell*.*sagemath*.org, but I want to use my own sagecell server at the university I have try to compile the SAGE cellserver using the https://github.com/sagemath/sagecell I successfully compile SAGE 5.10.r

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread mbuffat69
I follow the suggestion of Jason and remove the script tag 1+2 and it works. By the way, in moodle the html editor has a raw mode. However as pointed by Stefan, as soon as I return to the visual mode, the editor add the [CDATA[ stuff around the script balise. As far as I understand, it seams to

[sage-support] Re: using cell server with moodle (problem with

2013-11-13 Thread Stefan van Zwam
I'm running into the same problem with Wordpress. When I switch their TinyMCE editor between "Text" and "Visual" modes, it will add in those tags. > > My "solution" is to edit only in Text mode (the Sage boxes are invisible anyway in Visual mode, which is complicating things). See http://matroid

Re: [sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Volker Braun
Your build didn't fail in conway_polynomials, that one just fails because one of the dependencies was not built. Do a make distclean && make -j1 for a serial build, this will make it easier to diagnose what failed. On Wednesday, November 13, 2013 8:13:59 AM UTC-8, Kerem Eryilmaz wrote: > > Good

Re: [sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Kerem Eryilmaz
Good tip. Here it is: kerem@linux-kerem:~/build/sage-5.12> ./sage -python Python 2.7.5 (default, Nov 13 2013, 14:26:19) [GCC 4.7.2 20130108 [gcc-4_7-branch revision 195012]] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sage.all import save Traceback (m

Re: [sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Volker Braun
Whats the output of cd sage-5.12 ./sage -python from sage.all import save On Wednesday, November 13, 2013 7:12:36 AM UTC-8, Kerem Eryilmaz wrote: > > No, I just used the -j8 parameter, removing which changes nothing. My > installation is not vanilla though, maybe I'll try it on a virtual machi

Re: [sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Kerem Eryilmaz
No, I just used the -j8 parameter, removing which changes nothing. My installation is not vanilla though, maybe I'll try it on a virtual machine to make sure it is not some wear-and-tear of my system. BTW, this is the second time I am writing this, because my reply vanished after I sent it. Ma

Re: [sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Jeroen Demeyer
On 2013-11-13 15:51, Kerem Eryilmaz wrote: Has anybody seen this happen before? Not as far as I know. Can you think of anything that might be unusual with your setup (in particular, environment variables). -- You received this message because you are subscribed to the Google Groups "sage-supp

[sage-support] Compilation of SAGE fails at "from sage.all import save"

2013-11-13 Thread Kerem Eryilmaz
I have recently decided to move my daily workflow to SAGE. I am on OpenSUSE 12.3, and trying to build SAGE 5.12 from source. However, the build stops at "conway_polynomials-0.4.p0" by throwing an import error as you can see from the logs below. I am new to SAGE, but based on what I have found o

[sage-support] Compilation of SAGE dies at "from sage.all import save"

2013-11-13 Thread Kerem Eryilmaz
I have recently decided to move my daily workflow to SAGE. I am on OpenSUSE 12.3, and trying to build SAGE 5.12 from source. However, the build stops at "conway_polynomials-0.4.p0" complaining that there is no such module "sage.all". I am new to SAGE, but based on what I have found online, I th

[sage-support] "No module named sage.all" while building sage

2013-11-13 Thread Kerem Eryilmaz
I have recently decided to move my daily workflow to SAGE. I am on OpenSUSE 12.3, and trying to build SAGE 5.12 from source. However, the build stops at "conway_polynomials-0.4.p0" complaining that there is no such module "sage.all". I am new to SAGE, but based on what I have found online, I thi