alex
alex

Reputation: 1135

Pandoc-citeproc isn't showing "p. " only the page number

Recently I've discovered the great pandoc-citeproc filter for adding literature sources to markdown documents -- in order to convert them to PDFs with bibliographic references. However, I would prefer to avoid the substitution of "p. ".

E.g.: When citing @einstein1934 [p. 21] this is converted to:

The documentation (see 24. Markdown citations) seems not to specify how to escape this behaviour in the examples.

EDIT This is the command I use to convert the document.

$ pandoc -s --bibliography sources.bib --citeproc document.md -o document.pdf

/EDIT

Upvotes: 1

Views: 338

Answers (1)

tarleb
tarleb

Reputation: 22599

This behavior is controlled by the chosen citation style. Use --csl with a suitable style. The default, as of March 2021, is Chicago Manual of Style 17th edition. Try APA, it uses the style you prefer.

Upvotes: 1

Related Questions