[Python-modules-team] Bug#751008: ipython3-notebook: Print Preview Fails

Xavier grandmou at gmail.com
Mon Jun 9 18:02:27 UTC 2014


Hey, thank you for the quick answer. No rush needed, I'm just testing
the thing for now. Later maybe i'll propose to some colleagues to play
with it, cause this seems great :)

By the way,

$ ipython3 nbconvert --to slides Untitled0.ipynb

is showing the same behavior as:

$ ipython3 nbconvert --to html Untitled0.ipynb

2014-06-09 16:16 GMT+02:00 Julian Taylor <jtaylor.debian at googlemail.com>:
> The failure suggests you need to install node-marked too. Maybe also
> another patch is needed to adapt the path.

Installing node-marked doesn't change anything.

> I can't reproduce the failure with nodejs locally with a simple markdown
> notebook. Can you attach a example notebook as required programs depend
> on the content of the notebook.

I tested it a bit, here is the simplest example that fails:

http://pastebin.com/JU8Pisi3

It's a single Markdown cell, but it fails equally with Heading 1 to 6.
Python code and Raw NBConvert do not cause the problem to appear, and
render fine.

I've just installed a fresh amd64 Jessie chroot (it was an i386 when I
initially tested). It appears to be the same problem.

> As a workaround I think you can use the pandoc package instead to
> generate the previews which is suggested by ipython-notebook-common.

I didn't test pandoc. As a workaround, with texlive and
texlive-latex-extra installed, this runs fine, on both i386 and amd64:

$ ipython3 nbconvert --to latex --post PDF Untitled0.ipynb



More information about the Python-modules-team mailing list