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

2013-11-14 Thread Jason Grout
On 11/13/13 6:28 PM, mbuffa...@gmail.com wrote: 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 "" do

[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: 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: 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

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

2013-11-12 Thread Jason Grout
On 11/12/13 3:59 PM, mbuffa...@gmail.com wrote: I am trying to insert sage cell inside moodle page, in order to use sage for online course. I found the idea behind sage cell and ipython wonderful for online course, but I have a problem. I am using moodle 2.4 and insert the html code from http://