rmcgibbo / slidedeck

Beautiful HTML5 slides in markdown. A easy-to-use fork of the google-io-2012 slide deck
317 stars 47 forks source link

PDF Output #5

Closed kyleabeauchamp closed 9 years ago

kyleabeauchamp commented 11 years ago

I agree that viewing in the browser is the way to go, but I wonder if there's some easy way to get PDFs out of this thing.

The reason I want a PDF is to share slides as a single file in a reproducible way.

rmcgibbo commented 11 years ago
  1. host the slides on your website, share the link.
  2. perhaps the browser's print functionality would work?
kyleabeauchamp commented 11 years ago

I'm not ready to put these on the web, as I have unpublished results.

rmcgibbo commented 11 years ago

EDIT: the second options appears not to work on chrome (Ubuntu 12.04) at least.

kyleabeauchamp commented 11 years ago

I tried to print in firefox, and it is not so pretty. It doesn't screw things up too much, though, so it's useful for printing notes etc. Just set to landscape mode first.

rmcgibbo commented 11 years ago

What about putting it behind a password or something? From a computational/implementation sense, there's really zero chance that this feature's going to happen. I don't think there's really any tools beyond print-screen and the browser's print functionality that are going to take a web page and put in on paper. It's really going in the opposite direction from the vision of web slides.

kyleabeauchamp commented 11 years ago

Yeah, I think a password might be the way to go.

rmcgibbo commented 11 years ago

I'm not sure what the easiest way to do it is. If people have a stanford sunetid, you can serve from your stanford webspace and protect it with a .htaccess. Otherwise, the best bet might be something with google appengine.

rmcgibbo commented 11 years ago

Something like this could be sufficient, but it's not pretty. http://flask.pocoo.org/snippets/8/

ihaque commented 11 years ago

video won't show up in a pdf anyway. can slidedeck be extended to compile images into the HTML as data: URIs? Then you could just distribute one humongoid HTML file.