aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-02-09 20:02:39 -0800
committerJohn MacFarlane <[email protected]>2023-02-09 20:02:39 -0800
commit6c934abe6dd6022dbe15e2742dc030ccabd72dff (patch)
tree70e28f899fa2a71204f2dd3216f05345c14c1d8c /test/command
parent6f83099f6ef1891a709147e803352262ef00a9f2 (diff)
Citeproc: Fix bug in metaValueToReference.
This bug caused us to get some repeated content when converting MetaBlock to Inlines. Closes #8611.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8611.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/command/8611.md b/test/command/8611.md
new file mode 100644
index 000000000..3c303b410
--- /dev/null
+++ b/test/command/8611.md
@@ -0,0 +1,34 @@
+```
+% pandoc -f markdown -s -t bibtex
+---
+nocite: "[@*]"
+references:
+- id: mcdowell:why
+ title: |
+ Why is Sellars's Essay Called "Empiricism and the Philosophy of Mind"?
+ author:
+ - family: McDowell
+ given: John
+ journal: Proceedings of the Aristotelian Society
+ type: chapter
+ container-title: 'Empiricism, Perceptual Knowledge, Normativity, and Realism: Essays on Wilfrid Sellars'
+ editor:
+ - family: deVries
+ given: Willem A.
+ issued: 2009
+ publisher: Oxford University Press
+ publisher-place: Oxford
+...
+^D
+@incollection{mcdowell:why,
+ author = {McDowell, John},
+ editor = {deVries, Willem A.},
+ publisher = {Oxford University Press},
+ title = {Why Is {Sellars’s} {Essay} {Called} “{Empiricism} and the
+ {Philosophy} of {Mind}”?},
+ booktitle = {Empiricism, Perceptual Knowledge, Normativity, and
+ Realism: Essays on Wilfrid Sellars},
+ year = {2009},
+ address = {Oxford}
+}
+```