astefanutti / decktape

PDF exporter for HTML presentations
MIT License
2.16k stars 175 forks source link

Converting a jupyterlab_rise presentation #325

Open f0k opened 4 months ago

f0k commented 4 months ago

First of all, thanks for maintaining this! It seems I'm close to have a working setup, but I'm hitting some walls.

I'm running jupyterlab 4.1.2 with the jupyterlab_rise 0.42.0 plugin. I understand that this is not the original RISE that the decktape plugin was developed for, but I am hoping to make it work.

What I encountered so far:

/edit: Ok, the minSlides option actually works, it was easier than expected. Would still be interesting to investigate why the generic plugin does not detect the changes. Another interesting take for me would be to have a plugin that waits for a specific keypress from me to take a screenshot of the current slide, and another that signals the end of the presentation.

/edit: The generic plugin does not detect the changes because the presentation is embedded in an iframe. Luckily the URL of the iframe is predictable, so we can do: