wg21
wg21 copied to clipboard
Cannot generate a .pdf file if there are no external references
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
l.98 \renewcommand{\CSLBlock}
make: *** [generated/RegularNullablePointer.pdf] Error 43
Same issue here
I could apparently solve the error by removing the line 35 of wg21/data/metadata.yaml