convert anim gif to pdf #3551
Replies: 3 comments 2 replies
-
I am having the exact same problem - tried using pdflatex as pdf-engine but the result is the same. Can LaTex not process gifs? |
Beta Was this translation helpful? Give feedback.
-
Reveal.js presentation are not converted to PDF via Pandoc or Quarto as you expect. If you want an actual PDF version of your Reveal.js HTML presentation, see https://quarto.org/docs/presentations/revealjs/presenting.html#print-to-pdf. For R user, see code below. quarto::quarto_render("myslides.qmd")
pagedown::chrome_print("myslides.html") This (or similar) can be added as a post-render script, see https://quarto.org/docs/projects/scripts.html#pre-and-post-render. |
Beta Was this translation helpful? Give feedback.
-
I am encountering the same problem, but not when printing slides, but wanting to export a pdf version of a book at the same time as html content. Would this behavior be possible? I currently need to provide alternative content for all animated gifs.... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
First, thanks for the nice tool!
I have a revealjs qmd file that I want to render as pdf.
It contains an animated .gif file.
When I render it with pandoc directly:
it does something without complaining, and it simply takes the first frame of the animated gif and places it into the pdf. That's what I want to happen.
However, the layout and figure sizes are all wrong and clipped, so I'm trying to render it with quarto instead, hoping that the resulting pdf would look better.
When quarto->xelatex hits the animated gif I get:
Does someone know how I can get this to work?
Also, is there a way to configure quarto to always place a PDF version of a presentation next to a link to the executable revealjs presentation on a website?
Beta Was this translation helpful? Give feedback.
All reactions