aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.mhra.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.mhra.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.mhra.html')
-rw-r--r--tests/markdown-citations.mhra.html126
1 files changed, 126 insertions, 0 deletions
diff --git a/tests/markdown-citations.mhra.html b/tests/markdown-citations.mhra.html
new file mode 100644
index 000000000..6572291d9
--- /dev/null
+++ b/tests/markdown-citations.mhra.html
@@ -0,0 +1,126 @@
+<h1 id="pandoc-with-citeproc-hs"
+>Pandoc with citeproc-hs</h1
+><p
+>[@nonexistent]</p
+><p
+>@nonexistent</p
+><p
+>John Doe<sup
+ ><a href="#fn1" class="footnoteRef" id="fnref1"
+ >1</a
+ ></sup
+ > says blah. Doe<sup
+ ><a href="#fn2" class="footnoteRef" id="fnref2"
+ >2</a
+ ></sup
+ > says blah. Doe<sup
+ ><a href="#fn3" class="footnoteRef" id="fnref3"
+ >3</a
+ ></sup
+ > says blah. Doe<sup
+ ><a href="#fn4" class="footnoteRef" id="fnref4"
+ >4</a
+ ></sup
+ > says blah.</p
+><p
+>In a note.<sup
+ ><a href="#fn5" class="footnoteRef" id="fnref5"
+ >5</a
+ ></sup
+ > A citation group.<sup
+ ><a href="#fn6" class="footnoteRef" id="fnref6"
+ >6</a
+ ></sup
+ > Another one.<sup
+ ><a href="#fn7" class="footnoteRef" id="fnref7"
+ >7</a
+ ></sup
+ > And another one in a note.<sup
+ ><a href="#fn8" class="footnoteRef" id="fnref8"
+ >8</a
+ ></sup
+ > Citation with a suffix and locator.<sup
+ ><a href="#fn9" class="footnoteRef" id="fnref9"
+ >9</a
+ ></sup
+ > Citation with suffix only.<sup
+ ><a href="#fn10" class="footnoteRef" id="fnref10"
+ >10</a
+ ></sup
+ ></p
+><p
+>Now some modifiers.<sup
+ ><a href="#fn11" class="footnoteRef" id="fnref11"
+ >11</a
+ ></sup
+ ></p
+><h1 id="references"
+>References</h1
+><p
+>Doe, John, ‘Article’, <em
+ >Journal of Generic Studies</em
+ >, 6 (2006), 33-34.</p
+><p
+>---, <em
+ >First Book</em
+ > (Cambridge: Cambridge University Press, 2005).</p
+><p
+>Doe, John, and Jenny Roe, ‘Why Water Is Wet’, in <em
+ >Third Book</em
+ >, ed by Sam Smith (Oxford: Oxford University Press, 2007).</p
+><div class="footnotes"
+><hr
+ /><ol
+ ><li id="fn1"
+ ><p
+ ><em
+ >First Book</em
+ > (Cambridge: Cambridge University Press, 2005). <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">↩</a></p
+ ></li
+ ><li id="fn2"
+ ><p
+ >First Book, p. 30. <a href="#fnref2" class="footnoteBackLink" title="Jump back to footnote 2">↩</a></p
+ ></li
+ ><li id="fn3"
+ ><p
+ >First Book, p. 30, with suffix. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
+ ></li
+ ><li id="fn4"
+ ><p
+ >First Book; ‘Article’, <em
+ >Journal of Generic Studies</em
+ >, 6 (2006), 33-34 (p. 30); see also John Doe and Jenny Roe, ‘Why Water Is Wet’, in <em
+ >Third Book</em
+ >, ed by Sam Smith (Oxford: Oxford University Press, 2007). <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
+ ></li
+ ><li id="fn5"
+ ><p
+ >A citation without locators Doe and Roe. <a href="#fnref5" class="footnoteBackLink" title="Jump back to footnote 5">↩</a></p
+ ></li
+ ><li id="fn6"
+ ><p
+ >See Doe, First Book, pp. 34-35; also Doe and Roe, chap. 3. <a href="#fnref6" class="footnoteBackLink" title="Jump back to footnote 6">↩</a></p
+ ></li
+ ><li id="fn7"
+ ><p
+ >See Doe, First Book, pp. 34-35. <a href="#fnref7" class="footnoteBackLink" title="Jump back to footnote 7">↩</a></p
+ ></li
+ ><li id="fn8"
+ ><p
+ >Some citations see Doe, Article, 33-34 (chap. 3); Doe and Roe; Doe, First Book. <a href="#fnref8" class="footnoteBackLink" title="Jump back to footnote 8">↩</a></p
+ ></li
+ ><li id="fn9"
+ ><p
+ >Doe, First Book, pp. 33, 35-37, and nowhere else. <a href="#fnref9" class="footnoteBackLink" title="Jump back to footnote 9">↩</a></p
+ ></li
+ ><li id="fn10"
+ ><p
+ >Doe, First Book, and nowhere else. <a href="#fnref10" class="footnoteBackLink" title="Jump back to footnote 10">↩</a></p
+ ></li
+ ><li id="fn11"
+ ><p
+ >Like a citation without author: First Book, and now Doe with a locator Article, 33-34 (p. 44). <a href="#fnref11" class="footnoteBackLink" title="Jump back to footnote 11">↩</a></p
+ ></li
+ ></ol
+ ></div
+>