Hi, On Thu, Jan 07, 2016 at 11:48:05AM +0100, MinRK wrote: [...] > - document conversion from sagenb to ipynb
We should probably better focus on a good rst2ipynb translator. Indeed, there is a "sage -sws2rst" command already. This will have the benefit to be helpful for more people than just Sage users, and help us going towards Jupyter live documentation i.e. ipynb files connected together with a bit of sphinx (i dont' know if it is possible to add a navigation bar to ipynb worksheets, or use frames, or whatever ?). Moreover, all the developpers i met during tutorials and schools write their tutorials in .rst, simply because it is human writeable, it is easy to copy-paste from existing Sage doctests and tutorials, and can be easily versionned/shared/imported. Though json is far better than tar.bz or xml from the human point of view, it is still too verbose to be considered as a source format for worksheets, moreover from my little experience, people who write tutorials prefer to use an editor/IDE/whatever than a webpage. With pandoc and notedown, it is easy to do basic translation rst -> md -> ipynb. The main remaining task is to let the code blocks clever, that is: :: sage: a = 1 sage: 2*a 2 sage: 1+1 2 should be translated in ipynb as (simplified) cell: type: code language: sage input: a = 1 2*a output: 2 cell: type: code language: sage input: 1+1 output: 2 which is not the case when piping pandoc and notedown (we obtain a single input block, and the `sage:` are not removed). Another separate hook could deal with Sage specific tweaks (e.g. `blah` for :math:`blah`) Ciao, Thierry -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.