pandoc/tests/markdown-citations.mhra.txt
John MacFarlane 543aa28c38 Added new prettyprinting module.
* Added Text.Pandoc.Pretty.
  This is better suited for pandoc than the 'pretty' package.
  One advantage is that we now get proper wrapping; Emph [Inline]
  is no longer treated as a big unwrappable unit. Previously
  we only got breaks for spaces at the "outer level." We can also
  more easily avoid doubled blank lines.  Performance is
  significantly better as well.

* Removed Text.Pandoc.Blocks.
  Text.Pandoc.Pretty allows you to define blocks and concatenate
  them.

* Modified markdown, RST, org readers to use Text.Pandoc.Pretty
  instead of Text.PrettyPrint.HughesPJ.

* Text.Pandoc.Shared:  Added writerColumns to WriterOptions.

* Markdown, RST, Org writers now break text at writerColumns.

* Added --columns command-line option, which sets stColumns
  and writerColumns.

* Table parsing:  If the size of the header > stColumns,
  use the header size as 100% for purposes of calculating
  relative widths of columns.
2010-12-17 13:39:17 -08:00

63 lines
1.6 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]
- With some markup.[^12]
# 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).
[^11]: Like a citation without author: First Book, and now Doe with a locator Article, 33-34 (p. 44).
[^12]: *See* Doe, First Book, p. 32.