aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-292.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/pandoc-citeproc-292.md')
-rw-r--r--test/command/pandoc-citeproc-292.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/command/pandoc-citeproc-292.md b/test/command/pandoc-citeproc-292.md
new file mode 100644
index 000000000..cffeb0539
--- /dev/null
+++ b/test/command/pandoc-citeproc-292.md
@@ -0,0 +1,43 @@
+```
+% pandoc --citeproc -t markdown-citations
+---
+csl: 'command/sage-harvard.csl'
+references:
+- author:
+ family: Doe
+ id: doe
+ issued:
+ year: 2007
+ type: article
+- author:
+ family: Zoe
+ id: zoe
+ issued:
+ - year: 2009
+ type: article
+- author:
+ family: Roe
+ id: roe
+ issued:
+ - year: 2007
+ type: article
+---
+
+[@zoe; @roe; see for comparison @doe, p. 3]
+^D
+(Roe, 2007; Zoe, 2009; see for comparison Doe, 2007: 3)
+
+::: {#refs .references .csl-bib-body .hanging-indent}
+::: {#ref-doe .csl-entry}
+Doe (2007).
+:::
+
+::: {#ref-roe .csl-entry}
+Roe (2007).
+:::
+
+::: {#ref-zoe .csl-entry}
+Zoe (2009).
+:::
+:::
+```