Re: pdf slides from a Jupyter/IPython notebook using RISE
Damián Avila <[email protected]> Wed, 12 Apr 2017 10:56:03 -0300
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CAH+mRR01MeRqTjzxdq7qXS8oW2OLyLsN9CZmnZGZA3eoNaaGzA@mail.gmail.com> |
--===============6393446158124469040== Content-Type: multipart/alternative; boundary=001a114186a0be6130054cf891b2 --001a114186a0be6130054cf891b2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Specifically for RISE, there have been some comments lately on this issue: https://github.com/damianavila/RISE/issues/127#issuecomment-289034824 I did not tested but it seems to be working. BTW, I hope to make to updates/enhancements soon to use the latest reveal.js that seems to be better at the pdf generation (several PRs on that topic merge lately). That should impact (and make better) the slides coming from nbconvert and also RISE. Cheers. 2017-03-20 14:24 GMT-03:00 Fernando Perez <[email protected]>: > > On Mon, Mar 20, 2017 at 8:07 AM, Thomas Kluyver <[email protected]> wrote: > >> You can try going into slideshow mode and then using the browser's print >> function. I think this has been a problem in the past, though, and I don= 't >> know if it's any better now. > > > Supposedly adding `?print-pdf` to the URL makes this possible, but I know > I and others have struggled with making it work reliably; e.g. > https://github.com/hakimel/reveal.js/issues/1252. Some more (old) > background is here: https://github.com/ipython/ipython/issues/3993. I > haven't tested recently, so I have no idea if it's any better. Would love > to hear if anyone has a reliable solution for this, coincidentally a > colleague was asking me about this very problem just a few days ago. > > Cheers > > f > -- > Fernando Perez (@fperez_org; http://fperez.org) > fperez.net-at-gmail: mailing lists only (I ignore this when swamped!) > fernando.perez-at-berkeley: contact me here for any direct mail > > _______________________________________________ > IPython-dev mailing list > [email protected] > https://mail.scipy.org/mailman/listinfo/ipython-dev > > --=20 *Dami=C3=A1n Avila* --001a114186a0be6130054cf891b2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr" style=3D"font-size:12.8px">Specifically f= or=C2=A0<span class=3D"gmail-il">RISE</span>, there have been some comments= lately on this issue:=C2=A0<a href=3D"https://github.com/damianavila/RISE/= issues/127#issuecomment-289034824" target=3D"_blank">https://github.com/<wb= r>damianavila/<span class=3D"gmail-il">RISE</span>/issues/127#<wbr>issuecom= ment-289034824</a><div><br></div><div>I did not tested but it seems to be w= orking.</div><div><br></div><div>BTW, I hope to make to updates/enhancement= s soon to use the latest reveal.js that seems to be better at the=C2=A0<spa= n class=3D"gmail-il">pdf</span>=C2=A0generation (several PRs on that topic = merge lately). That should impact (and make better) the=C2=A0<span class=3D= "gmail-il">slides</span>=C2=A0coming from nbconvert and also=C2=A0<span cla= ss=3D"gmail-il">RISE</span>.</div><div><br></div><div>Cheers.</div></div><d= iv class=3D"gmail-yj6qo gmail-ajU" style=3D"margin:2px 0px 0px;font-size:12= .8px"></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2017-= 03-20 14:24 GMT-03:00 Fernando Perez <span dir=3D"ltr"><<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>></spa= n>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><= div class=3D"gmail_extra"><span class=3D"gmail-"><br><div class=3D"gmail_qu= ote">On Mon, Mar 20, 2017 at 8:07 AM, Thomas Kluyver <span dir=3D"ltr"><= <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You = can try going into slideshow mode and then using the browser's print fu= nction. I think this has been a problem in the past, though, and I don'= t know if it's any better now.</blockquote></div><br></span>Supposedly = adding `?print-pdf` to the URL makes this possible, but I know I and others= have struggled with making it work reliably; e.g.=C2=A0<a href=3D"https://= github.com/hakimel/reveal.js/issues/1252" target=3D"_blank">https://github.= com/<wbr>hakimel/reveal.js/issues/1252</a>.<wbr>=C2=A0 Some more (old) back= ground is here:=C2=A0<a href=3D"https://github.com/ipython/ipython/issues/3= 993" target=3D"_blank">https://github.com/<wbr>ipython/ipython/issues/3993<= /a>.=C2=A0 I haven't tested recently, so I have no idea if it's any= better. Would love to hear if anyone has a reliable solution for this, coi= ncidentally a colleague was asking me about this very problem just a few da= ys ago.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra= ">Cheers</div><span class=3D"gmail-HOEnZb"><font color=3D"#888888"><div cla= ss=3D"gmail_extra"><br></div><div class=3D"gmail_extra">f<br>-- <br><div cl= ass=3D"gmail-m_-3088063422078974995gmail_signature">Fernando Perez (@fperez= _org; <a href=3D"http://fperez.org" target=3D"_blank">http://fperez.org</a>= )<br>fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<= br>fernando.perez-at-berkeley: contact me here for any direct mail<br></div= > </div></font></span></div> <br>______________________________<wbr>_________________<br> IPython-dev mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.scipy.org/mailman/listinfo/ipython-dev" rel=3D"nore= ferrer" target=3D"_blank">https://mail.scipy.org/<wbr>mailman/listinfo/ipyt= hon-dev</a><br> <br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla= ss=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><b><i>Dami=C3= =A1n Avila</i></b></div></div></div></div> </div></div> --001a114186a0be6130054cf891b2-- --===============6393446158124469040== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ IPython-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/ipython-dev --===============6393446158124469040==--