[Baypiggies] Converting ipython notebooks to pdf

Santosh Philip santosh_philip at yahoo.com
Sat Feb 18 16:41:27 EST 2017


I convert my notebooks to Resturctured text in the following way:
ipython nbconvert --to rst ./*.ipynb

Then I use Sphinx to make them to them html pages or pdf pagesthis may be a potential pathway from notebook to pdf.

Santosh

      From: Braun Brelin <bbrelin at gmail.com>
 To: BayPiggies <baypiggies at python.org> 
 Sent: Saturday, February 18, 2017 11:24 AM
 Subject: [Baypiggies] Converting ipython notebooks to pdf
   
Hello all, 
I have an ipython notebook that I want to convert to PDF.  Mostly it works, except for the embedded HTML tables that I have in the notebook.  The PDF outputter ignore those so I end up with horribly formatted output. 
I tried converting to HTML first, and then PDF, but I'm still not getting any luck.  The HTML output shows the tables like so:
<table align='left', width='750px'><tr><td><p style='font-family:courier>some text here</p></td></tr></table> But converting it to PDF from the libreoffice convert function doesn't work either. 
Any help appreciated. 

_______________________________________________
Baypiggies mailing list
Baypiggies at python.org
To change your subscription options or unsubscribe:
https://mail.python.org/mailman/listinfo/baypiggies

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20170218/a27c2b23/attachment.html>


More information about the Baypiggies mailing list