aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.mhra.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-28 10:02:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-28 10:03:05 -0800
commit68d38db19468c6a9bb7a4676dd072e7f81f619f2 (patch)
tree450b60caaa6d6734a84bc7868732426b417d99bb /tests/markdown-citations.mhra.txt
parent61b16116ce3c2ea672a753063f0fda89d32e3d1e (diff)
downloadpandoc-68d38db19468c6a9bb7a4676dd072e7f81f619f2.tar.gz
Revamped tests, using markdown output instead of HTML.
This is easier to inspect.
Diffstat (limited to 'tests/markdown-citations.mhra.txt')
-rw-r--r--tests/markdown-citations.mhra.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/markdown-citations.mhra.txt b/tests/markdown-citations.mhra.txt
new file mode 100644
index 000000000..acd700f0d
--- /dev/null
+++ b/tests/markdown-citations.mhra.txt
@@ -0,0 +1,56 @@
+# Pandoc with citeproc-hs
+
+- [@nonexistent]
+- @nonexistent
+- John Doe[^1] says blah.
+- Doe[^2] says blah.
+- Doe[^3] says blah.
+- Doe[^4] says blah.
+- In a note.[^5]
+- A citation group.[^6]
+- Another one.[^7]
+- And another one in a note.[^8]
+- Citation with a suffix and locator.[^9]
+- Citation with suffix only.[^10]
+- Now some modifiers.[^11]
+
+# References
+
+Doe, John, ‘Article’, *Journal of Generic Studies*, 6 (2006), 33-34.
+
+---, *First Book* (Cambridge: Cambridge University Press, 2005).
+
+Doe, John, and Jenny Roe, ‘Why Water Is Wet’, in *Third Book*, ed by Sam Smith (Oxford: Oxford University Press, 2007).
+
+[^1]:
+ *First Book* (Cambridge: Cambridge University Press, 2005).
+
+[^2]:
+ First Book, p. 30.
+
+[^3]:
+ First Book, p. 30, with suffix.
+
+[^4]:
+ First Book; ‘Article’, *Journal of Generic Studies*, 6 (2006), 33-34 (p. 30); see also John Doe and Jenny Roe, ‘Why Water Is Wet’, in *Third Book*, ed by Sam Smith (Oxford: Oxford University Press, 2007).
+
+[^5]:
+ A citation without locators Doe and Roe.
+
+[^6]:
+ See Doe, First Book, pp. 34-35; also Doe and Roe, chap. 3.
+
+[^7]:
+ See Doe, First Book, pp. 34-35.
+
+[^8]:
+ Some citations see Doe, Article, 33-34 (chap. 3); Doe and Roe; Doe, First Book.
+
+[^9]:
+ Doe, First Book, pp. 33, 35-37, and nowhere else.
+
+[^10]:
+ Doe, First Book, and nowhere else.
+
+[^11]:
+ Like a citation without author: First Book, and now Doe with a locator Article, 33-34 (p. 44).