Closed jpggithub closed 2 months ago
Decktape relies on the global Reveal
variable and expect it to exist, as documented in https://revealjs.com/initialization/.
That being said, I've tested it by exporting the demo presentation from https://denehyg.github.io/reveal.js-menu and it works: test.pdf.
Seeing the message you have:
Reveal JS plugin isn't compatible with reveal.js version < 2.4.0
It may be caused by a version that's too old.
Thanks for testing decktape with reveal.js-menu!
The good news it that there is a way to have reveal.js-menu functionning with dectape.
The bad news it that I use Reveal 5.0.1 so I don't understand why I have the message above speaking of reveal.js version < 2.4.0.
More than that, my slides work very well on my Gitlab Pages with reveal.js-menu. The only problem is to make decktape working with this configuration :/
I've given this another try and it still works with the demo presentation https://denehyg.github.io/reveal.js-menu.
The most likely explanation is a difference between your presentation and the demo one w.r.t. initialising Reveal.
Let me close this, but feel free to re-open if needed.
Hi
I have some reveal.js presentations in a hugo+gitlab environment.
I'm unable to transform presentations that use reveal.js-menu. The plugin is in a folder of my hugo website tree.
Locally, everything is fine. I can see the presentation into a browser and I can transform it with
On my GitLab Pages, the presentation works well and the reveal.js-menu plugin works correctly. The problem is that I'm not be able to transform the presentation in pdf.
In my
.gitlab-ci.yml
I use the docker imageastefanutti/decktape
and the following command line:I obtain the following error:
The presentation is reduced to 1 blank slide instead or 4.
If I delete the reference to
RevealMenu
in theReveal.initialize({ plugins: ....
, I've got no menu but the presentation is correctly transformed in PDF.I don't understand why decktape can't find the
reveal.js-menu
stuff.Any hints?