aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.txt
diff options
context:
space:
mode:
authorNathan Gass <gass@search.ch>2010-12-14 09:54:13 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-14 18:38:40 -0800
commit34d30efc5c58b8f60c44f5db369a3056780f654a (patch)
tree1949813ed8b83738df31adb77a1aaba399f3880e /tests/markdown-citations.txt
parent128cf46089f5a2fa688097f596563ecefd9c466b (diff)
downloadpandoc-34d30efc5c58b8f60c44f5db369a3056780f654a.tar.gz
Added citation tests.
Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations.
Diffstat (limited to 'tests/markdown-citations.txt')
-rw-r--r--tests/markdown-citations.txt56
1 files changed, 35 insertions, 21 deletions
diff --git a/tests/markdown-citations.txt b/tests/markdown-citations.txt
index 9b6992f90..43154d2d4 100644
--- a/tests/markdown-citations.txt
+++ b/tests/markdown-citations.txt
@@ -1,29 +1,43 @@
# Pandoc with citeproc-hs
-- [@nonexistent]
-- @nonexistent
-- @item1 says blah.
-- @item1 [p. 30] says blah.
-- @item1 [p. 30, with suffix] says blah.
-- @item1 [-@item2 p. 30; see also @item3] says blah.
-- In a note.[^1]
-- A citation group [see @item1, p. 34-35; also @item3 chap. 3].
-- Another one [see
- @item1 p. 34-35].
-- And another one in a note.[^2]
-- Citation with a suffix and locator [@item1, pp. 33, 35-37, and nowhere else].
-- Citation with suffix only [@item1, and nowhere else].
-- Now some modifiers.[^3]
+- [@nonexistent]
-[^1]:
- A citation without locators [@item3].
+- @nonexistent
-[^2]:
- Some citations [see @item2 chap. 3; @item3; @item1].
+- @item1 says blah.
+
+- @item1 [p. 30] says blah.
+
+- @item1 [p. 30, with suffix] says blah.
+
+- @item1 [-@item2 p. 30; see also @item3] says blah.
+
+- In a note.[^1]
+
+- A citation group [see @item1, p. 34-35; also @item3 chap. 3].
+
+- Another one [see @item1 p. 34-35].
+
+- And another one in a note.[^2]
+
+- Citation with a suffix and locator
+ [@item1, pp. 33, 35-37, and nowhere else].
+
+- Citation with suffix only [@item1, and nowhere else].
+
+- Now some modifiers.[^3]
+
+- With some markup [*see* @item1 p. **32**].
-[^3]:
- Like a citation without author: [-@item1], and now Doe with a
- locator [-@item2, p. 44].
# References
+[^1]:
+ A citation without locators [@item3].
+
+[^2]:
+ Some citations [see @item2 chap. 3; @item3; @item1].
+
+[^3]:
+ Like a citation without author: [-@item1], and now Doe with a
+ locator [-@item2 p. 44].