I recently upgraded this slidedeck from reveal.js 2.6.2 to 3.5.0. Everything works fine, except that the PDF export now has 45 000 pages instead of 350 pages like before the upgrade.
To reproduce, click on this link and ask for the print dialog in Chrome, which will already show the number of pages.
My index.html
hasn't changed. It has still this code:
<script>
if (window.location.search.match(/print-pdf/gi)) {
document.write('<link rel="stylesheet" href="website/reveal/css/print/pdf.css">');
}
</script>
Which is still equivalent to the PDF export instructions in the latest readme.
According to the PDF export instructions,
Slides that are too tall to fit within a single page will expand onto multiple pages.
When I opened your presentation in browser based on Chromium, I saw quite a lot of empty space between slides. I think the problem may be somewhere here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With