aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.chicago-author-date.html
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-22 22:54:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-22 22:54:40 -0800
commit3c7c1d8574667d183514d87684edd5f1cd886509 (patch)
treed54e43c617c6106b44860c186d3b99fc7dae4da8 /tests/markdown-citations.chicago-author-date.html
parent8e71b5b2792a4d6a4ec878de07a729c90709370d (diff)
downloadpandoc-3c7c1d8574667d183514d87684edd5f1cd886509.tar.gz
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.
Diffstat (limited to 'tests/markdown-citations.chicago-author-date.html')
-rw-r--r--tests/markdown-citations.chicago-author-date.html56
1 files changed, 56 insertions, 0 deletions
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 @@
+<h1 id="pandoc-with-citeproc-hs"
+>Pandoc with citeproc-hs</h1
+><p
+>[@nonexistent]</p
+><p
+>@nonexistent</p
+><p
+>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.</p
+><p
+>In a note.<sup
+ ><a href="#fn1" class="footnoteRef" id="fnref1"
+ >1</a
+ ></sup
+ > 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.<sup
+ ><a href="#fn2" class="footnoteRef" id="fnref2"
+ >2</a
+ ></sup
+ > Citation with a suffix and locator (Doe 2005, 33, 35-37, and nowhere else). Citation with suffix only (Doe 2005, and nowhere else).</p
+><p
+>Now some modifiers.<sup
+ ><a href="#fn3" class="footnoteRef" id="fnref3"
+ >3</a
+ ></sup
+ ></p
+><h1 id="references"
+>References</h1
+><p
+>Doe, John. 2005. <em
+ >First Book</em
+ >. Cambridge: Cambridge University Press.</p
+><p
+>---. 2006. Article. <em
+ >Journal of Generic Studies</em
+ > 6: 33-34.</p
+><p
+>Doe, John, and Jenny Roe. 2007. Why Water Is Wet. In <em
+ >Third Book</em
+ >, ed. Sam Smith. Oxford: Oxford University Press.</p
+><div class="footnotes"
+><hr
+ /><ol
+ ><li id="fn1"
+ ><p
+ >A citation without locators (Doe and Roe 2007). <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">↩</a></p
+ ></li
+ ><li id="fn2"
+ ><p
+ >Some citations (see Doe 2006, chap. 3; Doe and Roe 2007; Doe 2005). <a href="#fnref2" class="footnoteBackLink" title="Jump back to footnote 2">↩</a></p
+ ></li
+ ><li id="fn3"
+ ><p
+ >Like a citation without author: (2005), and now Doe with a locator (2006, 44). <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
+ ></li
+ ></ol
+ ></div
+>