RISE icon indicating copy to clipboard operation
RISE copied to clipboard

Export to html keeping the theme

Open NEGU93 opened this issue 5 years ago • 5 comments

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?

NEGU93 avatar Mar 10 '20 09:03 NEGU93

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.

damianavila avatar Mar 14 '20 13:03 damianavila

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.

NEGU93 avatar Mar 14 '20 13:03 NEGU93

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.

damianavila avatar Mar 14 '20 21:03 damianavila

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

tvatter avatar Jan 24 '24 15:01 tvatter

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...

parmentelat avatar Jan 24 '24 15:01 parmentelat