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

Blank style while printing #522

Closed
mart-e opened this issue Jul 5, 2013 · 6 comments
Closed

Blank style while printing #522

mart-e opened this issue Jul 5, 2013 · 6 comments

Comments

@mart-e
Copy link

mart-e commented Jul 5, 2013

Hello,

I tried to do the pdf export (with chromium 27 on linux) but I get a blank page, like if there was almost no css.

For instance, with this presentation

screenshot from 2013-07-05 14 44 01

Any idea how I can get the css ?

Thanks

@lukasbestle
Copy link

You have to add ?print-pdf to load print styles: http://lab.hakim.se/reveal-js/?print-pdf

@mart-e
Copy link
Author

mart-e commented Jul 6, 2013

Stupid me not reading well the explanations -_-

However the rendering is still not good (but better), the size does not fit. What size for the paper should I use ?
Also notice that one of two silde is empty for the whole document. Maybe it's margin issues but I could not find where to put this parameter in chromium configuration.

screenshot from 2013-07-06 21 36 51

edit: ok seems that it is working on a google chrome on windows. Too bad I have to use these but I guess it's not a bug on your side...

@hakimel
Copy link
Owner

hakimel commented Jul 10, 2013

Yeah Chrome is the only supported browser for PDF export.

@hakimel hakimel closed this as completed Jul 10, 2013
@kynan
Copy link

kynan commented Jul 18, 2013

Are you saying it's supposed to work in google-chrome as opposed to chromium-browser on Linux? Or is Linux generally not supported?

Chromium 28 on Ubuntu doesn't offer a dedicated export to PDF option, it uses the default OS print dialog which allows you to print to file in the same manner as from any other program. When I use the print style sheet and print to PDF I only get the first slide (rendered fine) but instead of any further slides there is a scroll bar on the right.

@aitjcize
Copy link

I have the same problem on Linux, some of the pages are empty...

@jtomaszewski
Copy link

@aitjcize , see #808 for fix info

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

No branches or pull requests

6 participants