pandoc/test
John MacFarlane 1ee6e0e087 Use new doctemplates, doclayout.
+ Remove Text.Pandoc.Pretty; use doclayout instead. [API change]
+ Text.Pandoc.Writers.Shared: remove metaToJSON, metaToJSON'
  [API change].
+ Text.Pandoc.Writers.Shared: modify `addVariablesToContext`,
  `defField`, `setField`, `getField`, `resetField` to work with
  Context rather than JSON values. [API change]
+ Text.Pandoc.Writers.Shared: export new function `endsWithPlain` [API
  change].
+ Use new templates and doclayout in writers.
+ Use Doc-based templates in all writers.
+ Adjust three tests for minor template rendering differences.
+ Added indentation to body in docbook4, docbook5 templates.

The main impact of this change is better reflowing of content
interpolated into templates.  Previously, interpolated variables
were rendered independently and intepolated as strings, which could lead
to overly long lines.  Now the templates interpolated as Doc values
which may include breaking spaces, and reflowing occurs
after template interpolation rather than before.
2019-08-25 14:24:31 -07:00
..
command Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
docx Change order of ilvl and numId in document.xml (#5647) 2019-07-19 09:32:43 -07:00
epub add tests for EPUB2 and EPUB3 cover reader 2019-06-22 22:07:26 +02:00
fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
ipynb Include execution output in ipynb test. 2019-03-09 16:53:53 -08:00
lua Lua: traverse nested blocks and inlines in correct order 2019-08-16 20:52:15 +02:00
media
odt Add a test for MathML formulas in ODT documents 2019-06-20 21:55:31 +02:00
pptx Powerpoint code formatting is now context dependent (#5573) 2019-06-14 08:42:06 -07:00
Tests Use doctemplates 0.3, change type of writerTemplate. 2019-07-28 19:25:45 -07:00
bodybg.gif
creole-reader.native Creole reader (#4002) 2017-10-29 13:28:50 -04:00
creole-reader.txt Creole reader (#4002) 2017-10-29 13:28:50 -04:00
docbook-reader.docbook
docbook-reader.native
docbook-xref.docbook
docbook-xref.native DocBook reader: metadata handling improvements. 2018-07-30 14:38:38 -07:00
dokuwiki_external_images.dokuwiki Dokuwiki writer: remove automatic ':' prefix before internal image links (#5183) 2019-01-01 14:07:26 -08:00
dokuwiki_external_images.native
dokuwiki_inline_formatting.dokuwiki
dokuwiki_inline_formatting.native
dokuwiki_multiblock_table.dokuwiki Dokuwiki writer: fix LineBreaks in Tables (#4444) 2018-03-11 18:20:36 -07:00
dokuwiki_multiblock_table.native Dokuwiki writer: fix LineBreaks in Tables (#4444) 2018-03-11 18:20:36 -07:00
grofftest.sh grofftest.sh - set resource path more appropriately. 2018-11-02 17:22:56 -07:00
haddock-reader.haddock
haddock-reader.native
html-reader.html Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
html-reader.native consolidate simple-table detection (#5524) 2019-05-27 13:53:19 -04:00
insert
jats-reader.native Remove extraneous, significant whitespace in JATS writer output (#4335) 2018-03-05 09:44:34 -08:00
jats-reader.xml Remove extraneous, significant whitespace in JATS writer output (#4335) 2018-03-05 09:44:34 -08:00
lalune.jpg
latex-reader.latex LaTeX reader test: Allow compilation of file (#5364) 2019-03-13 18:21:00 -06:00
latex-reader.native Make sure \write18 is parsed as raw LaTeX. 2017-07-12 14:50:49 +02:00
lhs-test-markdown.native Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.fragment.html+lhs
lhs-test.html Update test for new skylighting. 2019-07-14 10:48:14 -07:00
lhs-test.html+lhs Update test for new skylighting. 2019-07-14 10:48:14 -07:00
lhs-test.latex Update test for skylighting 0.8.1.1. 2019-06-13 19:33:52 -07:00
lhs-test.latex+lhs LaTeX template: Ensure correct heading/table order (#5421) 2019-04-02 18:18:36 -06:00
lhs-test.markdown Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.markdown+lhs
lhs-test.native Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.rst RST writer: use more consistent indentation. 2018-04-19 13:47:16 -07:00
lhs-test.rst+lhs RST writer: use more consistent indentation. 2018-04-19 13:47:16 -07:00
man-reader.man Man reader: allow block-level content in table cells. 2018-10-27 23:37:18 -07:00
man-reader.native Man reader: allow block-level content in table cells. 2018-10-27 23:37:18 -07:00
markdown-citations.native Fix markdown-citations test for new abbreviations changes. 2018-11-20 23:56:13 -05:00
markdown-citations.txt
markdown-reader-more.native Markdown reader: distinguish autolinks in the AST. 2018-09-19 14:53:29 -07:00
markdown-reader-more.txt Markdown reader: use CommonMark rules for list item nesting. 2017-08-19 15:45:01 -07:00
mediawiki-reader.native MediaWiki reader: use _ instead of - in auto-identifiers. 2019-01-25 17:10:49 -08:00
mediawiki-reader.wiki
movie.jpg
opml-reader.native
opml-reader.opml
org-select-tags.native Org reader: add support for #+SELECT_TAGS. 2019-01-30 18:27:38 +01:00
org-select-tags.org Org reader: add support for #+SELECT_TAGS. 2019-01-30 18:27:38 +01:00
pipe-tables.native Markdown: Improved computation of relative cell widths in pipe tables. 2017-12-12 15:36:29 -08:00
pipe-tables.txt
rst-reader.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
rst-reader.rst Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
s5-basic.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
s5-fancy.html Removed deprecated ancient HTML math methods. 2018-04-25 17:18:56 -07:00
s5-fragment.html
s5-inserts.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
s5.native
tables-rstsubset.native RST writer: use simple tables when possible. 2018-10-06 22:33:24 -07:00
tables.asciidoc Asciidoc writer: shorter delimiters for tables, blockquotes. 2019-01-07 22:10:34 -08:00
tables.asciidoctor Adds Asciidoctor sprcific writer and tests 2019-02-09 08:21:53 -08:00
tables.context Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.docbook4 Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.docbook5 Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.dokuwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.fb2 Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.haddock Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.html4 Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.html5 Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.icml Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.jats Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.jira Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.latex Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.man Move common groff functions to Text.Pandoc.Writers.Groff 2018-10-17 17:26:37 -07:00
tables.markdown Small test suite update. Markdown tables. 2018-04-21 14:16:24 -07:00
tables.mediawiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.ms Groff writer character escaping changes. 2018-10-23 21:44:07 -07:00
tables.muse Muse writer: add support for grid tables 2018-10-25 18:35:02 +03:00
tables.native Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.opendocument Roll back automatic figure/table numbering in ODT/OpenDocument. 2019-06-08 14:17:52 -07:00
tables.org
tables.plain Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.rst RST writer: use simple tables when possible. 2018-10-06 22:33:24 -07:00
tables.rtf Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.tei
tables.texinfo Markdown reader/writer: spacing adjustments in tables. 2018-04-21 13:06:57 -07:00
tables.textile Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.txt Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.xwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.zimwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
test-pandoc.hs Improve output of Lua tests (#5499) 2019-05-20 12:52:28 -04:00
testsuite.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
testsuite.txt Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
textile-reader.native More spellcheck 2018-07-02 19:07:28 +03:00
textile-reader.textile More spellcheck 2018-07-02 19:07:28 +03:00
tikiwiki-reader.native TikiWiki reader: improve list parsing (#4723) 2018-06-28 13:35:54 +02:00
tikiwiki-reader.tikiwiki Added TikiWiki reader (#3800) 2017-07-21 10:09:54 +02:00
twiki-reader.native
twiki-reader.twiki
txt2tags.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
txt2tags.t2t More spellcheck 2018-07-02 19:07:28 +03:00
vimwiki-reader.native Vimwiki reader: improve handling of internal links. 2019-04-05 10:04:28 -07:00
vimwiki-reader.wiki Vimwiki reader: test empty preformatted text 2018-10-24 15:07:05 +03:00
writer.asciidoc Asciidoc writer: use ` +...+ ` form for inline code. 2019-05-05 21:57:30 -07:00
writer.asciidoctor Asciidoc writer: use ` +...+ ` form for inline code. 2019-05-05 21:57:30 -07:00
writer.context Customizable type of PDF/A for the ConTeXt writer (issue #5608) (#5610) 2019-07-15 11:55:04 -07:00
writer.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.docbook4 Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.docbook5 Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.dokuwiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
writer.haddock Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.html4 HTML writer: emit empty alt tag in figures (#5518) 2019-05-28 12:31:41 -04:00
writer.html5 HTML writer: emit empty alt tag in figures (#5518) 2019-05-28 12:31:41 -04:00
writer.icml Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.jats Updating JATS template to v1.1dtd (#5632) 2019-07-06 23:31:02 +02:00
writer.jira JIRA writer: Remove escapeStringForJira for code blocks 2019-08-11 21:57:12 +02:00
writer.latex LaTeX template: Ensure correct heading/table order (#5421) 2019-04-02 18:18:36 -06:00
writer.man Man writer: Improved definition list term output. 2019-07-13 16:41:43 -07:00
writer.markdown Markdown writer: prefer using raw_attribute when enabled. 2019-07-18 22:31:03 -07:00
writer.mediawiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.ms Man/Ms writers: don't escape - as \-. 2018-12-13 11:24:51 -08:00
writer.muse Use doctemplates 0.3, change type of writerTemplate. 2019-07-28 19:25:45 -07:00
writer.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.opendocument OpenDocument writer: Avoid duplicate attributes. 2019-06-12 21:51:09 -07:00
writer.opml Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.org Org writer: always indent src blocks content by 2 spaces 2019-05-12 14:49:52 +02:00
writer.plain Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.rst Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.rtf Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.tei TEI template: improve publicationStmt. 2018-08-16 21:19:03 -07:00
writer.texinfo Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.textile Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.xwiki Add XWiki Support (#4167) 2019-04-02 17:27:02 -06:00
writer.zimwiki Zimwiki writer: remove automatic colon prefix before internal images (#5183) 2019-01-01 14:08:38 -08:00
writers-lang-and-dir.context Customizable type of PDF/A for the ConTeXt writer (issue #5608) (#5610) 2019-07-15 11:55:04 -07:00
writers-lang-and-dir.latex LaTeX template: Add pdflang to hypersetup if lang is set. 2019-04-11 16:58:36 -07:00
writers-lang-and-dir.native