Pause within slides in revealjs #2300
Replies: 2 comments 3 replies
-
Could you provide a small reproducible example? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. I post here the same reproducible example I have posted as an issue. For my teaching, I write my slides with pauses within slides and render them using output "format: revealjs". It produces an HTML file with my slides. Then, I need to deliver the same material to the students in a different format, easier to read and print as compared to the slides. If I use as output "format: HTML", to deliver the material as lecture notes, I see no problem. It is a regular HTML file with the format I have defined via CSS, and the pause operator does not appear. When I use as output "format: pdf", to deliver the lecture notes, I render the file via xelatex and Pandoc the "three dots" appear in the final pdf file. I am aware that the "three dots" operator is just for slides. I am just wondering why it appears when I render the file in pdf and not when I render it to HTML (a general HTML, not the HTML file containing the slides). I guess in both cases there is an intermediate md file, and the translation is made via Pandoc. In Rmarkdown, I was forced to have two slightly different source files: one for the slides (with slide-specific commands), and the other one for the lecture notes (without slide-specific commands). With Quarto, the whole process is much more convenient. I can have the very same source file that I can render as slides, as lecture notes in HTML format, as lecture notes in pdf printable format (produced via xelatex). Here is a reproducible example.
. . . You can add options to executable code like this
. . . Compute the mean as . . . The
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been a Rmarkdown user for a long time. Recently I switched all Rmarkdown projects to Quarto.
I have a minor problem and haven't found any solution in previous discussions.
In my reavealjs slides, I use a lot the pause within slides by inserting three dots separated by spaces.
There is no problem when I render a qmd file to HTML format. The "pause operator" does not appear in the final HTML. However, when I render a qmd file to a pdf via latex, the pause operator (the three dots) appears everywhere in the final pdf.
Is there any way to instruct Pandoc to ignore the string ". . ." when producing the final pdf?
Thank you so much for your help.
Beta Was this translation helpful? Give feedback.
All reactions