jhelvy / jhelvy/renderthis

Can't render a qmd presentation

Open
#62 15 comments 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 all,
I have a qmd/revealjs presentation, but I have customised the theme and have created a template. The slides compile perfectly, but when I try to pdf them using renderthis I get a message

Error in to_pdf_complex(path_from(step_html, "url"), output_file, partial_slides,  : 
  Input does not appear to be xaringan or quarto slides:

I think this gets triggered by the check in

has_remark <- b$Runtime$evaluate("typeof slideshow !== 'undefined'")$result$value
  if (!has_remark) {
    stop("Input does not appear to be xaringan or quarto slides: ", input)
  }

Not sure how to deal with this though...

I'm testing this on a html file output by quarto both locally and deployed online (https://giabaio.github.io/test-quarto). Sorry if I'm missing an obvious point!

Thanks for your help!
Gianluca

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 failure with the linked Quarto-generated HTML and inspect the renderthis path that evaluates typeof slideshow !== 'undefined'. Determine how the qmd/revealjs output differs from the supported slide formats; done means the linked presentation can be rendered to PDF without the input-format error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.