-
DescriptionHello, I have several Github repositories that include quarto files (revealjs presentation) and I'm currently using Quarto CLI to publish to Github Pages. The question I'm asking myself is how to automatically generate the associated presentations in pdf format? Do you have any examples of github repositories that do this to give me some inspiration? Thanks in advance ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
You can see an example with multi-formats rendering, which is a workaround to some issues about files conflicts, cleaning, etc. at Quarto highlight-text extension "deploy" GitHub Action. Note that in your case you could simply add the Note that, PDF (LaTeX) and Reveal.js should work well together (they don't step on each other feet when cleaning files). |
Beta Was this translation helpful? Give feedback.
-
Just in case you are referring to PDF version of your slide, as a Print of the HTML to the PDF, then you need to use at tools that print to PDF like Decktape provide a docker container which could help using it in Github action for example. Anyhow, this is generic scripting. Quarto has no command to print to pdf from revealjs slide or any html format. Hope it helps |
Beta Was this translation helpful? Give feedback.
-
Thank you both @mcanouil and @cderv for your answers. |
Beta Was this translation helpful? Give feedback.
You can see an example with multi-formats rendering, which is a workaround to some issues about files conflicts, cleaning, etc. at Quarto highlight-text extension "deploy" GitHub Action.
Note that in your case you could simply add the
pdf
format as a target format in your default project:Note that, PDF (LaTeX) and Reveal.js should work well together (they don't step on each other feet when cleaning files).
If you have issues with
quarto render
you can iterate on the format with--to <format>
.