hovercraft
hovercraft copied to clipboard
examples for printing a presentation?
Thanks for a nice tool!
Is there an example on how to print a hovercraft presentation? If not, could one be added?
Printing is a problem with prezi-style presentations, as there are no clear separate pages, so I have no good solution for that yet. I would like to add a way to make PDF's out of the presentations, but I haven't looked into that yet, so I don't actually know how it would be done. I suspect making PDF's and printing them is the best way to get to a "printing" solution.
It would also be possible to create several types of PDF's, like PDF's with presenter notes, and PDF's with an area for note-taking, and PDF's with 6 slides to the page, etc. That would be a nice addition.
Opinions and ideas for how to best create PDF's are welcome. The HTML to PDF tools I have seen has been very crude, so I don't think that's an option, but I'm willing to get my mind changed on that. :-)
For me a simple 4/6/8 slides-per-page PDF, no presenter nodes, would be sufficient. Not sure how to best create them from ReST - last time i did it was via rst->latex->pdf but that is many years ago.
Creating it from ReST would require you do redo the styling in LaTeX, so I don't think that's a real option. But If you don't care about the styling at all, then this is an option.
I googled a bit about printing impress.js presentations, and there are some CSS-tricks you can do to create page breaks for every slide, and then disable javascript and hence print that way (including to PDF) that might be a possible way as well.
sounds good. Any chance such a CSS gets integrated into hovercraft?
If a generic solution can be found, sure, but I don't know if that is possible at all. I'll have to investigate,
I put together some simple styles that will print out one slide per page:
@media print {
body { overflow: visible !important; } #impress, #impress > div { position: static !important; transform: none !important; transform-style: flat !important; } .step { position: static !important; page-break-after: always; transform: none !important; transform-style: flat !important; width: 100% !important; } #hovercraft-help { display: none; }
}
I've tried deck2js, https://github.com/melix/deck2pdf , and it seems to work fine. I'll investigate options for integrations.
deck2pdf
is nice, you can also create a thumbnail image from the generated PDF like this:
https://github.com/Springerle/hovercraft-slides/blob/master/%7B%7Bcookiecutter.repo_name%7D%7D/tasks.py#L132-L135
https://github.com/astefanutti/decktape seems to be maintained option