543aa28c38
* 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.
43 lines
863 B
Text
43 lines
863 B
Text
# Pandoc with citeproc-hs
|
|
|
|
- [@nonexistent]
|
|
|
|
- @nonexistent
|
|
|
|
- Reference [1] says blah.
|
|
|
|
- Reference [1] says blah.
|
|
|
|
- Reference [1] says blah.
|
|
|
|
- Reference [1] says blah.
|
|
|
|
- In a note.[^1]
|
|
|
|
- A citation group [1],[3].
|
|
|
|
- Another one [1].
|
|
|
|
- And another one in a note.[^2]
|
|
|
|
- Citation with a suffix and locator [1].
|
|
|
|
- Citation with suffix only [1].
|
|
|
|
- Now some modifiers.[^3]
|
|
|
|
- With some markup [1].
|
|
|
|
# References
|
|
|
|
[1] J. Doe, *First Book*, Cambridge: Cambridge University Press, 2005.
|
|
|
|
[2] J. Doe, “Article,” *Journal of Generic Studies*, vol. 6, 2006, pp. 33-34.
|
|
|
|
[3] J. Doe and J. Roe, “Why Water Is Wet,” *Third Book*, Smith, S., Ed., Oxford: Oxford University Press, 2007.
|
|
|
|
[^1]: A citation without locators [3].
|
|
|
|
[^2]: Some citations [1]-[3].
|
|
|
|
[^3]: Like a citation without author: [1], and now Doe with a locator [2].
|