damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.67k stars 416 forks source link

Export to html keeping the theme #540

Open NEGU93 opened 4 years ago

NEGU93 commented 4 years ago

I want to export my RISE presentation. The main reason I use RISE is to have HTML plots so I can move them and change things within the presentation in a dynamic way so a pdf format will not work for me. I need it to be HTML.

From the export documentation then only the nbconvert option can be used for me.

However, when I use that option, the dark theme I chose (moon) get's not saved. I could use the --SlidesExporter.reveal_theme=moon command for that but the Theme gets not rendered correctly, has nothing to do with the presentation I see using the live RISE.

This is both a question and a feature request if it does not exist: Is there a way to export to HTML having the same theme as the live RISE presentation I see when clicking the slideshow button?

damianavila commented 4 years ago

Hi @NEGU93

Did you try using Decktape? https://rise.readthedocs.io/en/stable/exportpdf.html#using-decktape

Last time I tried it worked pretty well capturing the whole presentation, including the theme (but I did not test it recently, just be warned about it). Let me know if that option does not work for you and I will try to investigate further.

NEGU93 commented 4 years ago

Hi @NEGU93

Did you try using Decktape? https://rise.readthedocs.io/en/stable/exportpdf.html#using-decktape

Last time I tried it worked pretty well capturing the whole presentation, including the theme (but I did not test it recently, just be warned about it). Let me know if that option does not work for you and I will try to investigate further.

Isn't decktape for pdf export? I haven't try because I understood didn't let you export a html format.

damianavila commented 4 years ago

OH... sorry, even when you highlighted the HTML, I did miss that constrain.

Currently, the nbconvert exportation to static slides does not support themes (unless you do it by yourself with custom templates). I have an item in my long todo list to support something like that "easily" in nbconvert but it is not clear to me when that will be available.

tvatter commented 7 months ago

Wondering if that was still on the radar by any chance?

parmentelat commented 7 months ago

rise is no longer actively maintained, because of the move to jupyterlab - see also https://rise.readthedocs.io/en/latest/#disclaimer

so chances here are rather slim...