[sage-devel] Re: Conversion Jupyter Notebook -> Doctests

2016-01-27 Thread Volker Braun
It would be pretty easy to do since ipynb has an official api to read files. We could also combine it with the sagenb->ipynb converter... On Wednesday, January 27, 2016 at 3:39:23 PM UTC-5, kcrisman wrote: > > > > On Wednesday, January 27, 2016 at 1:22:15 AM UTC-5, Clemens Heuberger > wrote: >

Re: [sage-devel] Re: Conversion Jupyter Notebook -> Doctests

2016-01-27 Thread Jason Grout
Min (in the Jupyter project) wrote a program to doctest .ipynb files a while ago: https://gist.github.com/minrk/2620735. I think it expects an old version of the .ipynb format, but it is a good starting point to update to the newest .ipynb format. Thanks, Jason On Wed, Jan 27, 2016 at 3:39 PM k

[sage-devel] Re: Conversion Jupyter Notebook -> Doctests

2016-01-27 Thread kcrisman
On Wednesday, January 27, 2016 at 1:22:15 AM UTC-5, Clemens Heuberger wrote: > > Is there a way to convert a jupyter notebook .ipynb to a "doctestable > file"? > Such a thing existed for the sage notebook. > > Is it possible that there is an ipynb -> rst out there, or in development? That mi