summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Docbook writer: Updated to use Pretty.John MacFarlane2010-12-21
|
* Pretty: don't print a breaking space before a newline.John MacFarlane2010-12-21
|
* Shared: Made splitBy take a test instead of an element.John MacFarlane2010-12-21
|
* XML: Replaced escapeStringAsXML with a faster version.John MacFarlane2010-12-21
| | | | | | Benchmarked with criterion, it's about 8x faster than the old version. This speeds up docbook, opendocument, and html writers.
* Added link to repo of CSL styles to README.John MacFarlane2010-12-20
|
* Markdown writer: use \ for newline instead of two spaces at eol.John MacFarlane2010-12-20
| | | | (Unless --strict.)
* Markdown writer: Use delimited code block if there are attributes.John MacFarlane2010-12-20
| | | | (Unless in strict mode.)
* Plain writer: set stateStrictMarkdown automatically.John MacFarlane2010-12-20
|
* ConTeXt writer: Updated to use Text.Pandoc.Pretty.John MacFarlane2010-12-20
|
* Renamed 'enclosed' to 'inside'.John MacFarlane2010-12-20
| | | | This avoids conflict with 'enclosed' in Text.Pandoc.Parsing.
* Pretty: Fixed parens.John MacFarlane2010-12-19
|
* Fixed markdown-citations.ieee.txt.John MacFarlane2010-12-19
|
* Fixed markdown-citations.txt.John MacFarlane2010-12-19
|
* Fixed biblatex/natbib citation writer tests.John MacFarlane2010-12-19
|
* Pretty: Added enclosed, parens.John MacFarlane2010-12-19
|
* LaTeX writer: A bit of code polish.John MacFarlane2010-12-19
|
* LaTeX writer: Modified to use Pretty.John MacFarlane2010-12-19
| | | | Improved footnote formatting, removed spurious blank lines.
* Shared: Use stringify to simplify inlineListToIdentifier.John MacFarlane2010-12-19
|
* Pretty: Added braces and brackets.John MacFarlane2010-12-19
|
* LaTeX writer: Use \paragraph, \subparagraph for level 4,5 headers.John MacFarlane2010-12-18
|
* Added new prettyprinting module.John MacFarlane2010-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* test-pandoc: removed need to depend on MissingH.John MacFarlane2010-12-15
|
* Added 'tests' Cabal flag.John MacFarlane2010-12-15
| | | | | | | + This ensures that test-pandoc gets built. + 'cabal test' now runs this. + The old tests/RunTests.hs has been removed, and src/test-pandoc.hs added.
* HTML reader: allow : in tags.John MacFarlane2010-12-15
| | | | Resolves Issue #274.
* Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass2010-12-15
| | | | output.
* Remove punctuation at start of suffix for natbib and biblatex output.Nathan Gass2010-12-15
| | | | | | 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.
* Support multiple bibliography files with natbib and biblatex output.Nathan Gass2010-12-15
|
* Added 'normalize' to Text.Pandoc.Shared.John MacFarlane2010-12-14
|
* Added normalize funcion to latex citation tests.Nathan Gass2010-12-14
| | | | | | | This is necessary because converting from markdown to latex correctly changes hyphens to en-dashes and some spaces to non-breaking spaces. Converting back to markdown does not undo this changes, and so the tests have to undo them.
* Fixed preamble parsing in LaTeX reader.John MacFarlane2010-12-14
|
* Added citation tests.Nathan Gass2010-12-14
| | | | | Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations.
* Fixed regression in parsing _emph_John MacFarlane2010-12-14
| | | | | | | | | There was a bug in parsing '_emph_, ...': when followed by a comma, underscore emphasis did not register. (Thanks to gwern for pointing this out.) This bug was introduced by the change in c66921f2acea456af527b93e2daa1d8594798642
* Moved special handling of punctuation in suffix out of markdown reader.Nathan Gass2010-12-13
| | | | | This allows different writers to handle punctuation in the suffix differently.
* Added support for latex cite commands in latex reader.Nathan Gass2010-12-13
|
* Disabled colored boxes around cites in latex template.Nathan Gass2010-12-13
|
* Added option to write citation markup in markdown writer.Nathan Gass2010-12-13
|
* Added support to write natbib or biblatex citations in latex output.Nathan Gass2010-12-13
|
* Markdown reader: Further fix to abbrevs.John MacFarlane2010-12-13
|
* Markdown reader: Fixed abbrev handler to allow abbrev at end of line.John MacFarlane2010-12-13
| | | | | E.g., Mr. Frank.
* Markdown reader: Fixed referenceKey parser to allow space after newline.John MacFarlane2010-12-13
|
* Fixed inlineListToIdentifier to treat '\160' as ' '.John MacFarlane2010-12-13
|
* Fixed table in README.John MacFarlane2010-12-13
|
* Fixed internal link in README.John MacFarlane2010-12-13
|
* Markdown reader: Fixed regression in reference key parser.John MacFarlane2010-12-13
| | | | | | | * The recent change allowing spaces and newlines in the URL caused problems when reference keys are stacked up without blank lines between. This is now fixed. * Added test.
* Benchmark: use nf for writers.John MacFarlane2010-12-12
| | | | whnf gives inaccurate results.
* Markdown reader: fix superscripts with links.John MacFarlane2010-12-12
| | | | | | | | Moved inlineNote parser after superscript parser, so ^[link](/foo)^ gets recognized as a superscripted link, not an inline note followed by garbage. Thanks to Conal Elliott for pointing out the problem.
* Recognize .json extension as json reader/writer.John MacFarlane2010-12-12
|
* Removed deprecated -C/--custom-header option.John MacFarlane2010-12-11
| | | | Use --template instead.
* Added JSON reader and writer.John MacFarlane2010-12-11
|\ | | | | | | | | The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
| * Added json format for reading and writing.John MacFarlane2010-12-09
| | | | | | | | This is faster to parse than native.