wg21 icon indicating copy to clipboard operation
wg21 copied to clipboard

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

Open AlisdairM opened this issue 2 years ago • 2 comments

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

AlisdairM avatar Mar 11 '23 01:03 AlisdairM

Same issue here

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