You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When :revealjs_plugin_pdf: enabled is added as described in the readme, the browser console (Chrome and Firefox) displays the following error:
Uncaught ReferenceError: require is not defined
at print-pdf.js:13
I wonder if this plugin needs to be activated at all, because adding ?print-pdf at the end of the URL seems to work correctly, even if this plugin is not activated.
The text was updated successfully, but these errors were encountered:
What version of asciidoctor-reveal.js are you using? I think you are correct by stating that the plugin doesn't need to be activated. On master, I'm 100% sure but other versions I would need to look. I'll need to remove that part of the documentation.
I managed to track this down. With reveal.js 3.7.0 (the one recommended with asciidoctor-reveal.js 3.1.0), the PDF plugin no longer exists, printing works without it.
Later today I'll modify the documentation:
in a 3.1.x maintenance branch: say that the plugin is not required with reveal.js 3.7
on master: remove all references to the PDF printing plugin
When
:revealjs_plugin_pdf: enabled
is added as described in the readme, the browser console (Chrome and Firefox) displays the following error:I wonder if this plugin needs to be activated at all, because adding
?print-pdf
at the end of the URL seems to work correctly, even if this plugin is not activated.The text was updated successfully, but these errors were encountered: