Skip to content

swartzrock/reveal.js-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Convert a Reveal.js slide deck to PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages