renderthis icon indicating copy to clipboard operation
renderthis copied to clipboard

Add support for printing presenter view with notes

Open jhelvy opened this issue 4 years ago • 5 comments

Might be able to do this using chromite and opening up presenter mode before printing.

jhelvy avatar Feb 20 '21 14:02 jhelvy

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!

jhelvy avatar Feb 21 '21 19:02 jhelvy

I was coming by to see if this was possible. Great package already but this would be a great addition!

szimmer avatar Apr 06 '21 12:04 szimmer

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.

jhelvy avatar Apr 06 '21 12:04 jhelvy

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...

adRn-s avatar Jul 12 '21 21:07 adRn-s

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.

jhelvy avatar Jul 12 '21 22:07 jhelvy