decktape
decktape copied to clipboard
Add an option to toggle rendering fragments "all in one" or "one for each" slide(s)
Ideally, that should be a global option supported for all presentation backends.
For reveal.js this is possible by turning fragments via the url: http://yourpresentation/?fragments=false
The fragments
option has been set to false
in the reveal.js plugin a768e10e25af2d91111d055422794d1163317285.
The title of this issue should be renamed now - it should be "add option to allow creating one slide per fragment". In my presentations, I often use fragments to "animate" images, with sequences of images, each being a new fragment rendered over the old, progressing through the animation. The PDF is useless if it doesn't have these.
@jroper thanks for the feedback. I infer you're exporting reveal.js presentations for which I assumed passing fragments=true
in the URL query string would force the fragments to be rendered one per slide. Though it happens the query string parameter does not take precedence over the globally configured fragments
option.
So I've just pushed 9e1ad32, that should enable you to export one slide per fragment by adding ?fragments=true
to your presentation URLs, until a consistent solution across all the supported presentation frameworks is worked out. In the meantime, I'm renaming this issue.
This would really be a very useful improvement - I am using fragments a lot to improve the flow of argument in lectures, but it is painful for students to have PDFs one per each additional fragment. Manual removal in the post-processing would also add a lot of manual work per each release. So I would really love to see this issue fixed - adding the fragments=false parameter to the notebook URI does not work on my system.
@mfhepp what presentation framework do you use?
@astefanutti I am using RISE 5.5.1 with Jupyter Notebooks 5.7.4 from the Anaconda distribution.
It would be great to have it supported for remarkjs too by checking the value of countIncrementalSlide
in the remarkjs' presentation HTML passed to decktape
// Disable counting of incremental slides in the slide counting
countIncrementalSlides: false,