renderthis
renderthis copied to clipboard
Add support for printing presenter view with notes
Might be able to do this using chromite and opening up presenter mode before printing.
I started trying to implement this with this branch.
I was hoping that using chromote would work by just tacking on "#p1"
to the url, but the print out doesn't look very good. @gadenbuie any idea how to make this work? You know chromote far better than me!
I was coming by to see if this was possible. Great package already but this would be a great addition!
Not quite yet. I haven't figured out how to get the formatting correct.
It also doesn't seem to work if you try to print from the Browser. For example, if you open these slides in Chrome, open presenter mode with p
, then try to print, the formatting is all wrong.
Maybe we could do something like making the GIF first and then taking the slides from these frames? Then you simply render all notes in something like tufte and the images go in the margins...
If you want all the slides as images, you can use build_png()
, which builds to the PDF then converts each slide to a png. There's also a pdf_to_png()
function (which is used inside build_png()
), but it's not exported.
I suppose if you have the Rmd file you could parse it to get the presenter notes then somehow combine the images and notes into a pdf. It'd be more work to get this looking right though, and I'd much rather use Chrome if possible as it already does all the alignment.