#19877: Add SageNB exporter, Jupyter extension
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.0
      Component:  packages:          |   Resolution:
  standard                           |
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Nicolas ThiƩry, Eric
                                     |  Gourgoulhon, Benjamin Ragan-Kelley,
                                     |  Karl-Dieter Crisman
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/add_sagenb_exporter__jupyter_extension|  
2526f08b7c7de7f58c2ad5ccd2e75c1d150ab74e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 Various comments.   Some are specific to this and others probably are more
 about whether Jupyter should be default without some work.  I appreciate
 any comments more experienced Jupyter folks can make.

 In general I think this branch is a good tool for those intent upon
 converting (perhaps except the `DATA` issue).  The fairly different nature
 of the Jupyter notebook (among other things) will note necessarily make it
 optimal to just convert all worksheets for many people (as opposed to new
 users who may wish to learn the different interaction from the start),
 though.

 ----
 Most important:  When one has a notebook that had data, one gets
 {{{
 NameError: name 'DATA' is not defined
 }}}
 I have no idea how to fix this, or if Jupyter even supports something like
 a data folder.
 ----
 Help link is good, but unfortunately it doesn't have a local copy of some
 of the help files (e.g., the "Notebook help" gives
 
[http://nbviewer.jupyter.org/github/ipython/ipython/blob/3.x/examples/Notebook/Index.ipynb
 this link]).  Since a lot of people (presumably still) occasionally need
 offline notebooks, that is unfortunate.
 ----
 > for sws notebooks with the "Typeset" button turned on, it would be nice
 to have the jupyter notebook start by a code cell with `%display latex` so
 that all outputs are actually typeset, as requested in the original
 notebook.

 Or even that html output would be recognized as such... that's probably
 too much to ask and sed through.


 ----
 No `%auto` - just mentioning, not a killer.

 ----

 Is there a way to close a notebook without turning off the server?  I
 didn't see something under "File".
 ----
 Doing a basic interact:
 {{{
 NameError: name 'slider' is not defined
 }}}
 ----
 I can't figure out how to do interacts at all, in fact.  Even
 {{{
 @interact
 def _(n=3):
     print n^2
 }}}
 gives just some html, which I guess makes sense since that is what it does
 in sagenb.

 ----

 Silly but necessary requests:
 {{{
 ./sage -h
 }}}
 still gives
 {{{
   --notebook=[...]    -- start the Sage notebook (valid options are
                          'default', 'sagenb', and 'jupyter')
 }}}
 {{{
  ./sage -n -h
 }}}
 could use an example syntax and where to look for full syntax for `export`

 ----
 When I make this change
 {{{
 %display latex
 for n in range(1,20):
     (n,sigma(n,2))
 }}}
 it doesn't typeset.  Not sure if this is just different.

--
Ticket URL: <https://trac.sagemath.org/ticket/19877#comment:44>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to