aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.txt
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19Fixed markdown-citations.txt.John MacFarlane1-3/+1
2010-12-17Added new prettyprinting module.John MacFarlane1-9/+5
* 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-15Remove punctuation at start of suffix for natbib and biblatex output.Nathan Gass1-3/+3
This is necessary as the latex citation commands include there own punctuation, which resulted in doubled commas for markdown documents where citeproc output works correctly.
2010-12-14Added citation tests.Nathan Gass1-21/+35
Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations.
2010-11-28Revamped tests, using markdown output instead of HTML.John MacFarlane1-18/+15
This is easier to inspect.
2010-11-18Markdown citation parser improvements and test updates.John MacFarlane1-0/+4
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-18Markdown reader: Revised parser for new citation syntax.John MacFarlane1-5/+5
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.
2010-11-12Added material for citation tests.John MacFarlane1-0/+28
Currently they fail with a multibyte error from citeproc-hs when it tries to read locale.