Skip to content

Latest commit

 

History

History
43 lines (21 loc) · 1.13 KB

README.asc

File metadata and controls

43 lines (21 loc) · 1.13 KB

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

How To Use - Groovy Version

Requires Groovy, zsh and ImageMagick. And, of course, Firefox.

groovy slides2png.groovy <url>

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.