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 
<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.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to