bespokejs / bespoke

DIY Presentation Micro-Framework
http://markdalgleish.com/projects/bespoke.js/
MIT License
4.68k stars 443 forks source link

How can I adjust printed pdf slide sizes etc. ? #42

Closed pmalek closed 10 years ago

pmalek commented 10 years ago

I would like to print my presentation's https://github.com/pmalek/knngraphs/tree/gh-pages-src slides into pdf but when I try to print it in Google Chrome into pdf then I get like 2.5 slides on the page.

I have tried adjusting the styles but nothing changes. I have changed default styles/main.styl generated by bespoke generator to following:

slide_width = 1180px
slide_height = 700px

but the default values give the same results. I have also tried changing:

.bespoke-slide
  ...
  @media print
    height: 743px // seems to correspond with an A4, landscape page height

but nothing changes either.

screenshot from 2014-07-02 22 43 40

Additionally : how can I change the orientation so that printed slides are also landscape as the presentation in the browser?

markdalgleish commented 10 years ago

Print style issues have been addressed in the latest version of Bespoke.js Generator.

If you're still having problems, feel free to open an issue in that repo since this bug isn't technically with Bespoke itself.

pmalek commented 10 years ago

I have used the latest version here - 0.9. I will open an issue there then.