On 1/24/12 3:17 PM, Stephen Hartke wrote:
    On 1/22/12 12:56 PM, Stephen Hartke wrote:

        Cutting and pasting on an Android phone does not work well (I had to
        switch to plain text to paste into the code box)..  Will there

        eventually be an option to "preload" code into the single cell
        server?

On Mon, Jan 23, 2012 at 9:20 PM, Jason Grout
<jason-s...@creativetrax.com <mailto:jason-s...@creativetrax.com>> wrote:

    In fact, preloading code is one of the main purposes for the Sage
    cell server embedded into web pages.  Check out the examples on
    utmost.aimath.org <http://utmost.aimath.org>, or Rob Beezer's home
    page at http://buzzard.ups.edu/.  You can also see John Travis's
    excellent examples of using this in WebWork problems (he posted here
    a while ago on it).

    Basically, when you initialize a single cell on a web page, you
    specify a div for the input.  You just put your code in that div,
    and it is used to initialize the edit area.  (Sparse) docs are at
    https://github.com/sagemath/__sagecell/blob/master/doc/__embedding.rst
    <https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst>
    -- see particularly the example at the bottom for an example you can
    cut and paste into a web page (change localhost:8080 to
    aleph.sagemath.org <http://aleph.sagemath.org>).


Jason,

Fantastic!  That's really cool.  It would be great to have examples
accessible from the main sagemath.org <http://sagemath.org>
webpage---that way people could get a taste of Sage (and particularly
the interacts!) without having to install it or make an account on
sagenb.org <http://sagenb.org>.


We're just polishing up the last little bits for a Sage Cell Server 1.0 release. The plan is to advertise it like crazy then. Of course, you can use it now if you'd like.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to