pandoc/tests/markdown-citations.mhra.txt
John MacFarlane 68d38db194 Revamped tests, using markdown output instead of HTML.
This is easier to inspect.
2010-11-28 10:03:05 -08:00

56 lines
1.5 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Pandoc with citeproc-hs
- [@nonexistent]
- @nonexistent
- John Doe[^1] says blah.
- Doe[^2] says blah.
- Doe[^3] says blah.
- Doe[^4] says blah.
- In a note.[^5]
- A citation group.[^6]
- Another one.[^7]
- And another one in a note.[^8]
- Citation with a suffix and locator.[^9]
- Citation with suffix only.[^10]
- Now some modifiers.[^11]
# References
Doe, John, Article, *Journal of Generic Studies*, 6 (2006), 33-34.
---, *First Book* (Cambridge: Cambridge University Press, 2005).
Doe, John, and Jenny Roe, Why Water Is Wet, in *Third Book*, ed by Sam Smith (Oxford: Oxford University Press, 2007).
[^1]:
*First Book* (Cambridge: Cambridge University Press, 2005).
[^2]:
First Book, p. 30.
[^3]:
First Book, p. 30, with suffix.
[^4]:
First Book; Article, *Journal of Generic Studies*, 6 (2006), 33-34 (p. 30); see also John Doe and Jenny Roe, Why Water Is Wet, in *Third Book*, ed by Sam Smith (Oxford: Oxford University Press, 2007).
[^5]:
A citation without locators Doe and Roe.
[^6]:
See Doe, First Book, pp. 34-35; also Doe and Roe, chap. 3.
[^7]:
See Doe, First Book, pp. 34-35.
[^8]:
Some citations see Doe, Article, 33-34 (chap. 3); Doe and Roe; Doe, First Book.
[^9]:
Doe, First Book, pp. 33, 35-37, and nowhere else.
[^10]:
Doe, First Book, and nowhere else.
[^11]:
Like a citation without author: First Book, and now Doe with a locator Article, 33-34 (p. 44).