Open dpsanders opened 5 years ago
I haven't tested it, but you could try the recommendations from https://github.com/gnab/remark/issues/50.
A summary of something that worked for me:
I'm really not sure why it prints correctly only if one does step 2 and 3. When I have more time I can try and test command line solutions proposed in https://github.com/gnab/remark/issues/50 and if they work include them in the docs.
TLDR:
The "print to file" also works in Firefox 71 on Ubuntu 18.04. I noticed that you can skip steps 2 & 3 if you resize your browser window such that the slides fill the full width of the window (and there is some space at the top and bottom of the slides). I have no clue as to why this space is needed. When leaving the space at the top, though, all slides seem to be offset by that amount from the top of the pdf page, suggesting that the padding of the slides is also printed, which may be (part of) the cause of the slides not appearing when the space is on the sides.
FWIW I've been using https://github.com/astefanutti/decktape for a long time now. It's really great.
Looks interesting! Does it just work out of the box with Remark.jl as well? If that's the case, it would be great if you could PR an example to the README or post it here!
For pdf export I use the R package pagedown
julia> using RCall
R> install.packages("pagedown")
R> pagedown::chrome_print("presentation/build/index.html")
Correction: But decktape is much better, sorry for the noise.
Is it possible to export the slides to PDF? I guess maybe using Pandoc somehow.