diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-06-12 10:16:44 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-06-12 10:16:44 -0700 |
commit | b0cd6c622494666add6bdd7674ec5b7791bc83d0 (patch) | |
tree | 981df4f298c84a4eaf2e52237ef0548474f70444 /test/command | |
parent | ea88979aa2ea4b41463216f00d9769d7c11f90fc (diff) | |
download | pandoc-b0cd6c622494666add6bdd7674ec5b7791bc83d0.tar.gz |
Fix regression in citeproc processing.
If inline references are used (in the metadata `references` field),
we should still only include in the bibliography items that are
actually cited -- unless `nocite` is used.
Closes #7376.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/7376.md | 16 | ||||
-rw-r--r-- | test/command/pandoc-citeproc-356.md | 9 |
2 files changed, 18 insertions, 7 deletions
diff --git a/test/command/7376.md b/test/command/7376.md new file mode 100644 index 000000000..229c61cfb --- /dev/null +++ b/test/command/7376.md @@ -0,0 +1,16 @@ +``` +% pandoc --citeproc -t plain +--- +references: +- id: item1 + type: book + author: + - family: Doe + given: Jane + issued: 2020 + title: The title +... +^D + + +``` diff --git a/test/command/pandoc-citeproc-356.md b/test/command/pandoc-citeproc-356.md index 4463ef63f..b4f998dae 100644 --- a/test/command/pandoc-citeproc-356.md +++ b/test/command/pandoc-citeproc-356.md @@ -15,11 +15,6 @@ references: [@bar] ^D -(Alice 2042) - -::: {#refs .references .csl-bib-body .hanging-indent} -::: {#ref-foo .csl-entry} -Alice. 2042. -::: -::: +[WARNING] Citeproc: citation bar not found +(**bar?**) ``` |