pandoc/tests/markdown-citations.txt
John MacFarlane f3bb3c1ff1 Markdown citation parser improvements and test updates.
Now we handle a suffix after a bare locator, e.g.
@item1 [p. 30, suffix]
The suffix now includes any punctuation that introduces it.
A few tests fail because of problems with citeproc (extra space
before the suffix, missing space after comma separating multiple
page ranges in the locator).
2010-11-18 13:22:20 -08:00

32 lines
725 B
Text

# 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]
[^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].
# References