boldr by Nicolas Mérouze

Convert HTML presentations to PDF

You're maybe familiar with slideshow (aka S9) to have your presentation in HTML and to modify it very easily in Textile. For my presentations I now use slidedown which is very cool too. But my ultimate goal was to convert them to PDF.

WARNING: My solution is build with MacRuby. So install it before trying.

I finally find a way to do it, thanks to the work of Tom Ward with Snapper and Matt Aimonetti with his recent MacRuby sample. Here's the script which is very easy to use:

./to_pdf -n 27 http://nmerouze.github.com/blockcampparis09

This will convert the presentation to PDF! You can see the result here. The generated PDF is named slides.pdf but you can name it yourself in the command line:

./to_pdf -n 27 http://nmerouze.github.com/blockcampparis09 myfilename.pdf

The -n option is to know how many slides you have in the presentation.

If you liked the article and/or want to talk to me about it, you can follow me on twitter.