#5653: [with patch, needs review] display docstrings in the notebook using html
and jsMath
-------------------------+--------------------------------------------------
 Reporter:  jhpalmieri   |       Owner:  jhpalmieri
     Type:  enhancement  |      Status:  assigned  
 Priority:  major        |   Milestone:  sage-4.0  
Component:  notebook     |    Keywords:            
-------------------------+--------------------------------------------------

Comment(by mpatel):

 I've written a few !JavaScript functions for "tear out" introspection, but
 I'm not sure where to put them.  For now, I've put them in
 `javascript_local/introspect.js` and added
 {{{
 head += '<script type="text/javascript"
 src="/javascript_local/introspect.js"></script>\n'
 }}}
 to `notebook.py`, but the "local" repository seems to be gone.
 Alternatively, I can put them in `javascript/introspect.js` and use the
 "extcode" repository, but I think the latter will soon change
 significantly (see [http://groups.google.com/group/sage-
 devel/browse_thread/thread/a08b413375558b46/d643be6b6bd04968#d643be6b6bd04968
 sage-devel]).

 `js.py` is another possibility, but I'd rather not put them there, since
 it might be useful to load `introspect.js` into a "torn out" window.

 A related issue:  It would be nice to have just one `<script>` element
 load jsMath with all of Sage's customizations (extensions, plug-ins,
 macros, etc.) into regular, published, printed, and docbrowser worksheets,
 as well as "torn out" introspection windows and offline documentation.
 Maybe `easy/load.js` is the right place (see #4714),
 but I think notebook.py generates the macro list on-the-fly.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5653#comment:24>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

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

Reply via email to