pandoc/tests
John MacFarlane fadc7b0d87 Major rewrite of markdown reader.
* Use Builder's Inlines/Blocks instead of lists.

* Return values in the reader monad, which are then
  run (at the end of parsing) against the final
  parser state.  This allows links, notes, and
  example numbers to be resolved without a second
  parser pass.

* An effect of using Builder is that everything is
  normalized automatically.

* New exports from Text.Pandoc.Parsing:
  widthsFromIndices, NoteTable', KeyTable', Key', toKey',
  withQuoteContext, singleQuoteStart, singleQuoteEnd, doubleQuoteStart,
  doubleQuoteEnd, ellipses, apostrophe, dash

* Updated opendocument tests.

* Don't derive Show for ParserState.

* Benchmarks:  markdown reader takes 82% of the time it took before.
  Markdown writer takes 92% of the time (here the speedup is probably
  due to the fact that everything is normalized by default).
2012-08-01 21:45:40 -07:00
..
MarkdownTest_1.0.3
Tests Moved WriterOptions and associated types Shared -> Options. 2012-07-26 22:59:56 -07:00
biblio.bib Unicode reference ID in biblio test. 2011-12-29 23:11:25 -08:00
bodybg.gif
chicago-author-date.csl Updated chicago-author-date.csl. 2011-11-18 13:36:27 -08:00
docbook-reader.docbook DocBook reader: More improvements, passes tests. 2012-05-09 10:34:37 -07:00
docbook-reader.native DocBook reader: More improvements, passes tests. 2012-05-09 10:34:37 -07:00
fb2.basic.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.basic.markdown Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.images-embedded.fb2 FB2: support images embedded as data URIs + tests. 2012-07-22 11:13:14 -07:00
fb2.images-embedded.html FB2: support images embedded as data URIs + tests. 2012-07-22 11:13:14 -07:00
fb2.images.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.images.markdown Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.math.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.math.markdown Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.test-small.png Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.test.jpg Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.titles.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
fb2.titles.markdown Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
html-reader.html Update templates to use Content-Style-Type meta tag. 2011-11-08 11:54:10 -08:00
html-reader.native HTML reader: treat Plain as Para when needed. 2011-07-16 09:42:16 -07:00
ieee.csl Updated ieee.csl and mhra.csl in test directory. 2011-11-18 13:41:40 -08:00
insert
lalune.jpg
latex-reader.latex Added test for one column table in LaTeX. 2012-03-19 08:29:19 -07:00
latex-reader.native Added test for one column table in LaTeX. 2012-03-19 08:29:19 -07:00
lhs-test.fragment.html+lhs Updated tests for new HTML format. 2011-02-04 20:38:08 -08:00
lhs-test.html Complete rewrite of LaTeX reader. 2012-02-04 09:56:43 -08:00
lhs-test.html+lhs Complete rewrite of LaTeX reader. 2012-02-04 09:56:43 -08:00
lhs-test.latex Updated tests for changes in LaTeX template. 2012-06-08 11:00:27 -07:00
lhs-test.latex+lhs Updated tests for changes in LaTeX template. 2012-06-08 11:00:27 -07:00
lhs-test.markdown Mardkown writer tests: Use setext headers for levels 1-2. 2011-11-24 11:14:45 -08:00
lhs-test.markdown+lhs Updated tests for new native format. 2011-01-20 22:36:40 -08:00
lhs-test.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
lhs-test.rst LHS test changes for new wrapping & highlighting-kate version. 2011-01-06 21:04:57 -08:00
lhs-test.rst+lhs LHS test changes for new wrapping & highlighting-kate version. 2011-01-06 21:04:57 -08:00
markdown-citations.chicago-author-date.txt Added failing tests for note beginning with a citation. 2012-06-03 19:26:36 -07:00
markdown-citations.ieee.txt Added failing tests for note beginning with a citation. 2012-06-03 19:26:36 -07:00
markdown-citations.mhra.txt Added failing tests for note beginning with a citation. 2012-06-03 19:26:36 -07:00
markdown-citations.txt Added failing tests for note beginning with a citation. 2012-06-03 19:26:36 -07:00
markdown-reader-more.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
markdown-reader-more.txt Markdown reader: Fix parsing of consecutive lists. 2012-01-02 17:04:59 -08:00
mhra.csl Updated ieee.csl and mhra.csl in test directory. 2011-11-18 13:41:40 -08:00
movie.jpg
pipe-tables.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
pipe-tables.txt Revised code for pipe tables. 2012-07-22 22:09:15 -07:00
rst-reader.native Don't recognize inline-markup starts inside words. 2012-07-16 10:58:44 -07:00
rst-reader.rst Don't recognize inline-markup starts inside words. 2012-07-16 10:58:44 -07:00
s5.basic.html Put date in YYYY-MM-DD format if possible for HTML, docx metadata. 2012-01-28 15:54:34 -08:00
s5.fancy.html Put date in YYYY-MM-DD format if possible for HTML, docx metadata. 2012-01-28 15:54:34 -08:00
s5.fragment.html Updated tests. 2011-02-04 23:09:51 -08:00
s5.inserts.html Put date in YYYY-MM-DD format if possible for HTML, docx metadata. 2012-01-28 15:54:34 -08:00
s5.native Make sure native output ends in newline with --standalone. 2011-01-21 09:58:23 -08:00
tables-rstsubset.native Updated tests for new native format. 2011-01-20 22:36:40 -08:00
tables.asciidoc Updated tests for correct col width. 2011-11-18 19:50:45 -08:00
tables.context pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.docbook Docbook writer: Use CALS tables (instead of XHTML tables). 2011-07-24 23:24:03 -07:00
tables.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
tables.html Improved HTML table output (line breaks). 2011-02-04 23:35:10 -08:00
tables.latex LaTeX writer: More consistent interblock spacing. 2012-05-14 07:04:47 -07:00
tables.man pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.markdown pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.mediawiki pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
tables.opendocument OpenDocument writer: Use "First paragraph" style after most non-para blocks. 2011-03-16 12:35:32 -07:00
tables.org pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.plain pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.rst pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.rtf pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.texinfo pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.textile Added needed space after .bc and .bq. 2011-01-23 10:08:11 -08:00
tables.txt Allow language-neutral table captions. 2010-07-06 21:02:26 -07:00
test-pandoc.hs Integrated test suite with cabal. 2012-07-26 09:43:27 -07:00
testsuite.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
testsuite.txt New treatment of dashes in --smart mode. 2012-01-01 13:48:28 -08:00
textile-reader.native Textile reader: properly handle links with surrounding brackets. 2012-07-13 14:01:56 -07:00
textile-reader.textile Textile reader: properly handle links with surrounding brackets. 2012-07-13 14:01:56 -07:00
writer.asciidoc AsciiDoc: Don't use Roman numerals in ordered lists. 2011-11-18 21:26:25 -08:00
writer.context ConTeXt writer: don't escape &,^,<,>. 2012-06-27 15:05:13 -07:00
writer.docbook Docbook writer: Use sect1, sect2, etc. instead of section. 2012-01-27 11:32:02 -08:00
writer.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
writer.html Put date in YYYY-MM-DD format if possible for HTML, docx metadata. 2012-01-28 15:54:34 -08:00
writer.latex Updated tests for changes in LaTeX template. 2012-06-08 11:00:27 -07:00
writer.man Updated writer tests for new version of texmath. 2011-11-12 13:25:02 -08:00
writer.markdown Markdown writer: Improved definition lists. 2012-05-16 13:07:58 -07:00
writer.mediawiki MediaWiki writer: Avoid extra blank lines after sublists. 2012-06-27 14:46:46 -07:00
writer.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
writer.opendocument Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
writer.org Added new prettyprinting module. 2010-12-17 13:39:17 -08:00
writer.plain Added new prettyprinting module. 2010-12-17 13:39:17 -08:00
writer.rst RST writer: Better handling of inline formatting. 2012-03-24 15:53:57 -07:00
writer.rtf Updated writer tests for new version of texmath. 2011-11-12 13:25:02 -08:00
writer.texinfo Updated texinfo test to reflect template change. 2012-04-06 16:54:39 -07:00
writer.textile Bumped version to 1.8; depend on pandoc-types 1.8. 2011-01-26 17:22:53 -08:00