On Wed, Jan 7, 2009 at 6:59 PM, Jason Grout <jason-s...@creativetrax.com> wrote:
>
> Hi everyone,
>
> There was another request on sage-edu for a nice way to edit text cells
> in the notebook.  Patches which enable a very nice in-place wysiwyg


Just to emphasize the importance (and not meaning to hijack the
thread): There was also a request by Mike May at the booth for this too.
Mike May, if you don't know, is a huge resource for people who teach
using Maple, as he has tons of great Maple worksheets on his website.

I hope and think I convinced him that Sage is the way to go and he
plans to test out Sage this semester before giving it to his students.
(He seemed inclined anyway, so I just strongly encouraged his own idea.)
However, he explained clearly how he teaches and that he needs the
students to be able to *easily* edit the text he types into the worksheets.
I've forgotten why - maybe he used the cell for computation and asks
the students to
enter their answer as text in a grammatically correct sentence.

If Mike May does in fact switch over to Sage, this will be a huge benefit, IMHO,
since he is well-known in the Maple community, so this will be a sign
of confidence in Sage as a teaching platform by a widely respected teacher,
and also will be a great resource for really high quality teaching materials
down the road. He also agreed that the CC attribution license is
acceptable to him for his "maple->Sage translated" worksheets, if
he agrees to switch to Sage. (I spent some time trying to talk him out of the
non-commercial CC version, which I hope was successful.)


> editor for text cells are sitting on trac waiting to be reviewed.  Some
> people have reviewed them and found them to work well.  I'm not sure how
> much review is needed before they pass the test and are merged (the
> patches touch a lot of notebook and javascript code).  If anyone can
> test them, I'm pleading for more reviews (at least, I think that's the
> stage they are stuck at now).  I believe the main concerns are making
> sure that the patches work on a variety of platforms/browsers.  Another
> concern that has been expressed is a review of the javascript code (for
> example, the notebook AJAX communication code was replaced with jquery
> function calls).
>
> Instructions for applying the patches are below and at the bottom of the
> ticket at http://trac.sagemath.org/sage_trac/ticket/4705.  Note that
> some of these tickets have cleaned-up spkgs from mabshoff (listed at the
> bottom of the relevant ticket) that should be tested instead of the
> spkgs listed in the email below.
>
> Thanks,
>
> Jason
>
>
> Forwarded message from sage-edu:
>
> Luiz Felipe Martins wrote:
>  > > Here is a basic question: how to enter the HTML text between cells? Is
>  > > there a handy way to do it? The only thing I could figure out is to
>  > > jump back and forth from "Worksheet" to "Edit".
>  > >
>  > > (I also saw the LaTeX-Sage converter, but still have to experiment
> with it.)
>  > >
>
> There is a patch under review that enables you to shift-click on the
> new-cell bar and it will create an in-place wysiwyg editor (TinyMCE, see
> http://tinymce.moxiecode.com/examples/full.php).  You can edit the html
> text in-place and it feels just like a normal word processor (i.e., you
> don't see the html code).  After saving changes, you are then able to
> edit the text in-place by double-clicking on the text.
>
> If you would like to apply the patch and help review it, the
> instructions are at the bottom of
> http://trac.sagemath.org/sage_trac/ticket/4705.  For your convenience,
> I've copied them below.
>
> I think the main holdup of the patches is someone reviewing them.  We
> need to make sure that these changes work on a wide variety of platforms
> well.
>
> Thanks,
>
> Jason
>
>
>
>
> Apply the following patches from 4674, 3767, 4704, and 4705, in order:
>
> jsmath-spkg.patch
> jquery-and-friends-spkg.2.patch
> jquery-javascript-cleanup.patch
> tinymce-editable.patch
> safari-fix.patch
>
> Install the following packages from the above tickets. You may have to
> do ./sage -f <spkg URL> to force an installation if you've already
> installed an spkg.
>
> http://sage.math.washington.edu/home/jason/notebook/jquery-1.2.6.spkg
> http://sage.math.washington.edu/home/jason/notebook/jqueryui-1.6r807svn.spkg
>
> http://sage.math.washington.edu/home/jason/notebook/jsmath-3.6a.spkg
> http://sage.math.washington.edu/home/jason/notebook/tinyMCE-3.2.0.2.spkg
>
> Optionally, you can also install the jsmath image fonts by installing:
> http://sage.math.washington.edu/home/jason/notebook/jsmath-image-fonts-1.3p0.spkg
>
>
>
> Now rebuild sage by starting sage with "sage -br"
>
> Now you should be able to shift-click on a new cell bar to create a text
> cell using tinyMCE. You should also be able to double-click on an
> existing text cell to edit it in-place.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to