aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-18 12:38:45 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-18 12:38:45 -0800
commitaaf7de0ddaea292ba4e869a6f0fa5adaaf02b813 (patch)
treedf467b0c14647362137dd233efe9077f8474c919 /tests
parentdbe0cefc9a63af4333b17c06ad6308a9e0d85799 (diff)
downloadpandoc-aaf7de0ddaea292ba4e869a6f0fa5adaaf02b813.tar.gz
Markdown reader: Revised parser for new citation syntax.
Suffixes and prefixes are now [Inline]. The locator is separated from the citation key by a blank space. The locator consists of one introductory word and any number of words containing at least one digit. The suffix, if any, is separated from the locator by a comma, and continues til the end of the citation.
Diffstat (limited to 'tests')
-rw-r--r--tests/markdown-citations.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/markdown-citations.txt b/tests/markdown-citations.txt
index 59206f0a4..9840832ce 100644
--- a/tests/markdown-citations.txt
+++ b/tests/markdown-citations.txt
@@ -6,11 +6,11 @@
@item1 says blah.
@item1 [p. 30] says blah.
-@item1 [-@item2, p. 30; see also @item3] 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]
+@item1 p. 34-35; also @item3 chap. 3]. Another one [see
+@item1 p. 34-35]. And another one in a note.[^2]
Now some modifiers.[^3]
@@ -18,11 +18,11 @@ Now some modifiers.[^3]
A citation without locators [@item3].
[^2]:
- Some citations [see @item2, chap. 3; @item3; @item1].
+ Some citations [see @item2 chap. 3; @item3; @item1].
[^3]:
Like a citation without author: [-@item1], and now Doe with a
- locator [-@item2, p. 44].
+ locator [-@item2 p. 44].
# References