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

PDF export: add option to export one page per fragment #1955

Closed
wants to merge 2 commits into from

Conversation

koehlma
Copy link
Contributor

@koehlma koehlma commented Aug 8, 2017

Allows to export one PDF page per fragment by appending ?pdf-print-fragments to the URL.

Fix issue: #1584

hakimel added a commit that referenced this pull request Jun 11, 2018
@hakimel
Copy link
Owner

hakimel commented Jun 11, 2018

This looks great–thanks!

I've merged your commits into the dev branch and made a few changes. Most importantly, this is now enabled by default when printing to PDF. To disable separate pages for fragments you'll need to set the pdfSeparateFragments config option to false.

@Ir1d
Copy link

Ir1d commented Jul 17, 2018

@hakimel Hi, is there a plan on when this feature will be released into npm? Thx!

infotexture added a commit to infotexture/reveal.js that referenced this pull request Jan 25, 2019
* release/3.7.0: (77 commits)
  3.7.0
  add 'resume presentation' button to pause overlay
  use absolute positioning for slide number
  rename new fragment style
  refactor fragment pdf exporting to support multiple fragments with same index hakimel#1955
  merge hakimel#1955 with minor changes
  add 'fade-in-then-half-out' fragment style, 'current-visible' was renamed to 'fade-in-then-out'
  add a full list of transitions to readme
  new syncFragments api method
  flatten slide number when there are only vertical slides
  Fixed notes timer when speaker notes window opened via RevealNotes.open()
  refactor code to match new background dom structure
  add Reveal.syncSlide
  data-background-content-opacity -> data-background-opacity
  add , adds wrapper element around background images/videos/iframes
  smaller font size for sub/sup
  speaker view has visible connection status, times out with error after 5s
  support interactive iframe backgrounds in vertical stacks
  revise readURL to handle one-based indices
  prevent linked slide numbers from changing color
  ...
djsutherland added a commit to djsutherland/reveal.js that referenced this pull request Feb 28, 2019
`isPrintingPDFFragments` was in the original PR of hakimel#1955, but when you changed it to do per-fragment by default in 3680f1a you left this now-unused helper function in. Not used and not in the API, so no reason to keep it. :)
wecacuee pushed a commit to wecacuee/reveal.js that referenced this pull request Aug 2, 2019
wecacuee pushed a commit to wecacuee/reveal.js that referenced this pull request Aug 2, 2019
R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
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

Successfully merging this pull request may close these issues.

3 participants