Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples for printing a presentation? #15

Open
hpk42 opened this issue Feb 28, 2013 · 9 comments
Open

examples for printing a presentation? #15

hpk42 opened this issue Feb 28, 2013 · 9 comments

Comments

@hpk42
Copy link

hpk42 commented Feb 28, 2013

Thanks for a nice tool!

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

@regebro
Copy link
Owner

regebro commented Feb 28, 2013

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

@hpk42
Copy link
Author

hpk42 commented Feb 28, 2013

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.

@regebro
Copy link
Owner

regebro commented Feb 28, 2013

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.

@hpk42
Copy link
Author

hpk42 commented Feb 28, 2013

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

@regebro
Copy link
Owner

regebro commented Feb 28, 2013

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

@cdw9
Copy link

cdw9 commented Jan 9, 2014

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

}

@regebro
Copy link
Owner

regebro commented Nov 10, 2014

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

@jhermann
Copy link

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

@typekpb
Copy link

typekpb commented Dec 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants