reveal.js-to-pdf
reveal.js-to-pdf copied to clipboard
Convert a Reveal.js slide deck to PDF
== Reveal.js To PDF
Converts a Reveal.js script to PDF. Originally written in Groovy, but now also available in an immutable Scala flavor.
- Renders slides in Firefox to PNG
- Crops images to 1440x900 and converts to PDF with ImageMagick
- Based on the original script by Dan Allen (https://github.com/mojavelinux/dzslides)
- Available in Scala and Groovy versions
=== How To Use - Scala Version
Requires sbt 0.13+, zsh and ImageMagick. And, of course, Firefox.
Slides2Png.scala
=== How To Use - Groovy Version
Requires Groovy, zsh and ImageMagick. And, of course, Firefox.
groovy slides2png.groovy
=== FAQ
Q: Should I Use The Groovy Or The Scala Version?
A: Yes! Really, they work about the same.
Q: How Does This Work In Windows?
A: I don't know. You'll probably need to install Cygwin first in order to get zsh and ImageMagick.