You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many cases where readers would like a static PDF version of a page. This issue is for tracking this enhancement.
There are two obvious approaches to me for this:
Using nbconvert or pandoc, which will use latex under the hood to do the conversion
Using puppeteer, which simulates a browser and renders the PDF as the page is styled
I'm thinking the puppeteer approach would be the coolest, as then we have the same design in static or "live". @yuvipanda has a pretty nifty version of this already working over here:
So I wonder if we could repurpose that tool, or at least that workflow to accomplish the same thing with jupyter book. Ideally, we could do this within the "jupyter page" framework for really nice single-page output.
The text was updated successfully, but these errors were encountered:
I think that what this would let us do is to define the layout / style of each page with CSS, and then just render that as PDF. So yeah, I think it could let us get something like the link you showed.
There are many cases where readers would like a static PDF version of a page. This issue is for tracking this enhancement.
There are two obvious approaches to me for this:
I'm thinking the puppeteer approach would be the coolest, as then we have the same design in static or "live". @yuvipanda has a pretty nifty version of this already working over here:
https://github.com/yuvipanda/nbpdfexport/blob/master/nbpdfexport/__init__.py
So I wonder if we could repurpose that tool, or at least that workflow to accomplish the same thing with jupyter book. Ideally, we could do this within the "jupyter page" framework for really nice single-page output.
The text was updated successfully, but these errors were encountered: