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

Cannot generate a .pdf file if there are no external references #90

Closed
AlisdairM opened this issue Mar 11, 2023 · 2 comments
Closed

Cannot generate a .pdf file if there are no external references #90

AlisdairM opened this issue Mar 11, 2023 · 2 comments

Comments

@AlisdairM
Copy link

When collecting and forming the references at the end of the document, the pdf rendering cannot handle an empty set of references, while the html rendering has no trouble with such cases. A typical error that is reported when trying to generate a .pdf looks like:

% make RegularNullablePointer.pdf. // <-- command line

pandoc RegularNullablePointer.md -o generated/RegularNullablePointer.pdf -d ./data/defaults.yaml --bibliography ./data/csl.json
Error producing PDF.
! LaTeX Error: Command \CSLBlock undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...

l.98 \renewcommand{\CSLBlock}

make: *** [generated/RegularNullablePointer.pdf] Error 43

@ContingencyOfTautologicalContradictions

Same issue here

@ContingencyOfTautologicalContradictions

I could apparently solve the error by removing the line 35 of wg21/data/metadata.yaml

@mpark mpark closed this as completed in 0c965d0 Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants