4 ms·
That's really amazing, I think I can speek for the all IPython team by saying that we are Really happy with this. We've cross a few authors that were writing b
by carreau 13y ago
That's really amazing, I think I can speek for the all IPython team by saying that we are Really happy with this.
We've cross a few authors that were writing books for O’Reilly with IPython Notebooks in the last few month and we have plan to help convert those to (and from) many format. We would be extremely happy to work with people from O'Reilly to simplify the conversion process.
We also have plan to integrate with publication in academic world (see https://github.com/ipython/ipython/issues/4119 https://github.com/ipython/ipython/issues/4119) but we really need more people involved than the few of us (Core Team).
Even if IPython seem like a big complicated project, moving forward in area like document conversion is not that hard, but just needs lots of eyes and tester to catch all cases.
As for people wanting to convert notebook to other format than those currently supported, it is perfectly possible using nbconvert with template.
We can spit the TeX that is just between begin/end document so you can include in your preferred dissertation template. It should be pretty easy to also just write a converter that export to asciidoc or doocbook.
For those interested of the idea behing how nbconvert I wrote this quite some time ago:
http://nbviewer.ipython.org/urls/raw.github.com/Carreau/posts/master/06-NBconvert-Doc-Draft.ipynb http://nbviewer.ipython.org/urls/raw.github.com/Carreau/post...
and
https://github.com/ipython/ipython-in-depth https://github.com/ipython/ipython-in-depth
Offer some example too.
Hope this will push some people to contribute, we'll always be happy do guide you in your first step.
- IanOzsvald 13y agoI'm working on an O'Reilly book using IPython Notebook, I'm basing my workflow on Olivier Grisel's script (with a couple of tiny fixes): https://github.com/ianozsvald/ipynbhelper https://github.com/ianozsvald/ipynbhelper which extracts the Notebook's 'markdown' blocks (which contain asciidoc which obviously won't render in the browser) & code blocks, these get exported as asciidoc for O'Reilly. It is clunky but I'm hoping we'll get better control as nbconvert evolves, so we're experimenting with this approach. Most of the code examples are not 'live', they're pasted in along with analysis results (the book is about high performance and parallel computing: http://shop.oreilly.com/product/0636920028963.do http://shop.oreilly.com/product/0636920028963.do ), as lots of the examples are best run from a fresh VM.