[IPython-dev] nbconvert: eqnarray environment missing in html output

Zoltán Vörös zvoros at gmail.com
Fri Sep 20 11:38:27 EDT 2013

Hi all,

Sorry for the spamming, for, in some sense, this message still concerns 
the issue that I raised a couple of hours ago. I converted the notebook 
to html, but it seems to me that the eqnarray environment is complete 
stripped from the output. Why should this happen? Is this an issue in 
pandoc, or in nbconvert? In any case, why is the behaviour different, 
depending on the output format? Any ideas as to what could go wrong?

Side note: quite a few people were complaining here on the mailing list 
that the print option has been removed from the notebook, and the 
official line is that one could generate the pdf file by calling

 > ipython nbconvert --to latex somenotebook.ipynb

and then compiling it with latex. Apart from the above-mentioned issue, 
my experience is that the quality of the pdf is quite low, simply 
because latex doesn't handle png files very well. An alternative is to call

 > ipython nbconvert --to html somenotebook.ipynb

and load the output into the browser, and use the browser's 
print-to-file facilities to create the desired pdf file. While it is 
certainly true that figures can be cut into two at page boundaries, yet, 
the quality is much higher than with the latex approach.


More information about the IPython-dev mailing list