hovercraft icon indicating copy to clipboard operation
hovercraft copied to clipboard

examples for printing a presentation?

Open hpk42 opened this issue 11 years ago • 9 comments

Thanks for a nice tool!

Is there an example on how to print a hovercraft presentation? If not, could one be added?

hpk42 avatar Feb 28 '13 10:02 hpk42

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. :-)

regebro avatar Feb 28 '13 11:02 regebro

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.

hpk42 avatar Feb 28 '13 13:02 hpk42

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.

regebro avatar Feb 28 '13 15:02 regebro

sounds good. Any chance such a CSS gets integrated into hovercraft?

hpk42 avatar Feb 28 '13 15:02 hpk42

If a generic solution can be found, sure, but I don't know if that is possible at all. I'll have to investigate,

regebro avatar Feb 28 '13 15:02 regebro

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; }

}

cdw9 avatar Jan 09 '14 19:01 cdw9

I've tried deck2js, https://github.com/melix/deck2pdf , and it seems to work fine. I'll investigate options for integrations.

regebro avatar Nov 10 '14 16:11 regebro

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

jhermann avatar Mar 23 '16 17:03 jhermann

https://github.com/astefanutti/decktape seems to be maintained option

typekpb avatar Dec 02 '20 07:12 typekpb