Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandoc fatal error when knitting self-contained documents (Pandoc error 99) #1

Open
miles-drake opened this issue May 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@miles-drake
Copy link
Collaborator

miles-drake commented May 14, 2021

Pandoc fails to compile documents using this template as a single, self-contained HTML file. That is:

output:
  html_document:
    self_contained: true

Pandoc produces the following error:

File template_libs/sg/css not found in resource path
Error: pandoc document conversion failed with error 99
Execution halted

Removing "template_libs/sg/css/design-system-base.css" allows documents to compile correctly. "design-system-base.css" is the full, original Design System style sheet. It is most likely that there is some malformed CSS, incorrect relative paths, or references to non-existent external files within the style sheet.

Since removing the style sheet entirely is not viable, the best way to identify the problem section seems to be selectively removing parts of the style sheet until Pandoc compiles correctly.

@miles-drake miles-drake added the bug Something isn't working label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant