The handling of interactive sessions in DocOnce when compiling to the ipynb format has been changed. Previously, the entire session became a computational cell, but this is not what you (normally) want. You want to break up the session such that each output like >>> a ends a cell and enables printing a when executing the cell. In this way, you can recreate the entire interactive session in the notebook. This also works for sessions with IPython syntax.
Special features to be aware of when translating DocOnce to IPython/Jupyter notebooks is document
here:
The handling of interactive sessions in DocOnce when compiling to the ipynb format has been changed. Previously, the entire session became a computational cell, but this is not what you (normally) want. You want to break up the session such that each output like
>>> a
ends a cell and enables printinga
when executing the cell. In this way, you can recreate the entire interactive session in the notebook. This also works for sessions with IPython syntax.Special features to be aware of when translating DocOnce to IPython/Jupyter notebooks is document here:
http://hplgit.github.io/doconce/doc/pub/ipynb/info.html