aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.chicago-author-date.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-03 23:31:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-03 23:43:47 -0800
commit357b965b4455422cfdeb2676befda31d017f944f (patch)
tree732d4ad686a0bacd2b50b60dc947aba7d84a020c /tests/markdown-citations.chicago-author-date.txt
parentbea62bcab8ff095057a38eb2b8ecfaa3c9efb9e7 (diff)
parent38bc3f23166cc3b2088eebb8a234a3f5f5e65bbb (diff)
downloadpandoc-357b965b4455422cfdeb2676befda31d017f944f.tar.gz
Merge branch 'citeproc' into master.
Conflicts: src/Text/Pandoc/Definition.hs
Diffstat (limited to 'tests/markdown-citations.chicago-author-date.txt')
-rw-r--r--tests/markdown-citations.chicago-author-date.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/markdown-citations.chicago-author-date.txt b/tests/markdown-citations.chicago-author-date.txt
new file mode 100644
index 000000000..42a28c5d2
--- /dev/null
+++ b/tests/markdown-citations.chicago-author-date.txt
@@ -0,0 +1,32 @@
+# Pandoc with citeproc-hs
+
+- [@nonexistent]
+- @nonexistent
+- Doe (2005) says blah.
+- Doe (2005, 30) says blah.
+- Doe (2005, 30, with suffix) says blah.
+- Doe (2005; 2006, 30; see also Doe and Roe 2007) says blah.
+- In a note.[^1]
+- A citation group (see Doe 2005, 34–35; also Doe and Roe 2007, chap. 3).
+- Another one (see Doe 2005, 34–35).
+- And another one in a note.[^2]
+- Citation with a suffix and locator (Doe 2005, 33, 35–37, and nowhere else).
+- Citation with suffix only (Doe 2005, and nowhere else).
+- Now some modifiers.[^3]
+
+# References
+
+Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
+
+---. 2006. Article. *Journal of Generic Studies* 6: 33–34.
+
+Doe, John, and Jenny Roe. 2007. Why Water Is Wet. In *Third Book*, ed. Sam Smith. Oxford: Oxford University Press.
+
+[^1]:
+ A citation without locators (Doe and Roe 2007).
+
+[^2]:
+ Some citations (see Doe 2006, chap. 3; Doe and Roe 2007; Doe 2005).
+
+[^3]:
+ Like a citation without author: (2005), and now Doe with a locator (2006, 44).