From 3c7c1d8574667d183514d87684edd5f1cd886509 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 22 Nov 2010 22:54:40 -0800 Subject: Changed markdown citation tests. Now the tests are produced in HTML format (so we can see all formatting). Also, we produce them in three different style, chicago-author-date, ieee, and mhra. --- tests/markdown-citations.chicago-author-date.html | 56 +++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/markdown-citations.chicago-author-date.html (limited to 'tests/markdown-citations.chicago-author-date.html') diff --git a/tests/markdown-citations.chicago-author-date.html b/tests/markdown-citations.chicago-author-date.html new file mode 100644 index 000000000..92ee8d770 --- /dev/null +++ b/tests/markdown-citations.chicago-author-date.html @@ -0,0 +1,56 @@ +

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).

-- cgit v1.2.3