jhelvy / jhelvy/renderthis

`renderthis::to_pdf()` is unable to capture footnotes from Quarto presentation

Open
#67 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
178
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using renderthis_0.2.0 and Quarto version 1.2.269

I have created a Quarto script called index.qmd that has the one title slide followed by one content slide. I tried to add an aside and footer on the content slide

---
title: "Title"
author: "Name"
format: 
  revealjs:
    navigation-mode: linear
---

## Quarto

Quarto enables you to weave together content and executable code into a finished presentation. To learn more about Quarto presentations see <https://quarto.org/docs/presentations/>.

::: aside
Some additional commentary of more peripheral interest.
:::

::: footer
My footer
:::

I have rendered the file to index.html and tried to convert it to pdf using the command

renderthis::to_pdf("index.html")

When I take a look at the pdf file, the content slide seems to have lost the footer but the aside can be seen.

For reference, this is how it looks like in html

image

and in pdf

image

Hope this is reproducible from your end.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the provided index.qmd, rendered index.html, and renderthis::to_pdf("index.html") command, then compare the HTML and PDF slides. Done means the footer shown in the Quarto presentation is retained in the generated PDF while the aside continues to render.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.