aboutsummaryrefslogtreecommitdiff
path: root/test/command/6951.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-12-15 08:51:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-12-15 08:51:43 -0800
commit7d799bfcda749e4a3ad6fcae59ac5ccb80b77ffd (patch)
treeadcb94164b55ca48f53820ebf0bee71ed93feaf2 /test/command/6951.md
parent03c897c7eea4ed3209d6d0fd2aa01f794a5ed893 (diff)
downloadpandoc-7d799bfcda749e4a3ad6fcae59ac5ccb80b77ffd.tar.gz
Allow both inline and external references to be used
with `--citeproc`. This fixes a regression, since pandoc-citeproc allowed these to be combined. Closes #6951.
Diffstat (limited to 'test/command/6951.md')
-rw-r--r--test/command/6951.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/6951.md b/test/command/6951.md
new file mode 100644
index 000000000..4a6301d80
--- /dev/null
+++ b/test/command/6951.md
@@ -0,0 +1,18 @@
+```
+% pandoc --citeproc -t plain --bibliography command/biblio.bib
+---
+references:
+- id: foo
+ title: Crazy
+ type: book
+...
+
+[@foo; @item1]
+
+^D
+(Crazy, n.d.; Doe 2005)
+
+Crazy. n.d.
+
+Doe, John. 2005. First Book. Cambridge: Cambridge University Press.
+```