pandoc/test
Christian Despres 10c6c411f9
Add Writers.Tables helper functions and types, add tests for those (#6655)
Add Writers.Tables helper functions and types, add tests for those

The Writers.Tables module contains an AnnTable type that is a pandoc
Table with added inferred information that should be enough for
writers (in particular the HTML writer) to operate on without having
to lay out the table themselves.

The toAnnTable and fromAnnTable functions in that module convert
between AnnTable and Table. In addition to producing an AnnTable with
coherent and well-formed annotations, the toAnnTable function also
normalizes its input Table like the table builder does.

Various tests ensure that toAnnTable normalizes tables exactly like
the table builder, and that its annotations are coherent.
2020-09-05 14:36:51 -07:00
..
command LaTeX reader: Support squared, cubed, tothe in siunitx. 2020-09-02 11:06:26 -07:00
docx Docx writer: separate adjacent tables. 2020-08-24 09:31:39 -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 Revert "Ipnyb: allow lossless round-tripping of markdown cell content." 2020-07-02 09:03:56 -07:00
lua Lua: fix regression in package searcher 2020-05-12 17:10:30 +02:00
media
odt Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
pptx Handle native Underline in Powerpoint writer. 2020-06-22 17:56:28 -07:00
Tests Add Writers.Tables helper functions and types, add tests for those (#6655) 2020-09-05 14:36:51 -07:00
bodybg.gif
creole-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
creole-reader.txt
docbook-chapter.docbook docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-chapter.native docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-reader.docbook Docbook reader: implement <procedure> (#6442) 2020-06-14 10:45:52 -07:00
docbook-reader.native Docbook reader: implement <procedure> (#6442) 2020-06-14 10:45:52 -07:00
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_multiblock_table.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04: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 HTML reader/writer: Better handling of <q> with cite attribute (#5837) 2019-10-24 22:27:49 -07:00
html-reader.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
insert
jats-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
jats-reader.xml Update JATS dtd (#6020) 2019-12-30 22:18:55 -08:00
jira-reader.jira Add jira reader (#5913) 2019-12-17 21:07:46 -08:00
jira-reader.native Jira reader: improve icon conversion 2020-04-09 16:21:45 +02: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 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04: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 Fix tests for skylighting 0.10 2020-08-31 21:22:03 +02:00
lhs-test.html+lhs Fix tests for skylighting 0.10 2020-08-31 21:22:03 +02:00
lhs-test.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
lhs-test.latex+lhs Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07: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
lhs-test.rst+lhs
man-reader.man Man reader: allow block-level content in table cells. 2018-10-27 23:37:18 -07:00
man-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04: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 Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
markdown-reader-more.txt
mediawiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04: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 Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
pipe-tables.txt
rst-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
rst-reader.rst Add highlight directive to the rST reader (#6140) 2020-02-13 10:27:34 -08:00
s5-basic.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5-fancy.html HTML-based templates: Add CSS to suppress bullet on unordered task lists. 2019-12-05 09:36:34 -08:00
s5-fragment.html
s5-inserts.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5.native
tables-rstsubset.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04: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
tables.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.docbook4
tables.docbook5
tables.dokuwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.fb2 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.haddock Haddock Writer: Support Haddock tables 2020-04-20 13:57:36 +08:00
tables.html4
tables.html5
tables.icml
tables.jats_archiving Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jats_articleauthoring Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jats_publishing Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jira Jira writer: fix output of table headers 2020-01-07 22:11:51 +01:00
tables.latex
tables.man Move common groff functions to Text.Pandoc.Writers.Groff 2018-10-17 17:26:37 -07:00
tables.markdown
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 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.opendocument Place caption before table in OpenDocument format. (#5869) 2019-11-03 07:17:05 -08:00
tables.org Fix test/tables.org 2020-01-03 08:38:58 +01:00
tables.plain
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 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.texinfo
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 Add Writers.Tables helper functions and types, add tests for those (#6655) 2020-09-05 14:36:51 -07:00
testsuite.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
testsuite.txt
textile-reader.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
textile-reader.textile More spellcheck 2018-07-02 19:07:28 +03:00
tikiwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tikiwiki-reader.tikiwiki
twiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
twiki-reader.twiki
txt2tags.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
txt2tags.t2t More spellcheck 2018-07-02 19:07:28 +03:00
vimwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
vimwiki-reader.wiki Vimwiki reader: Add nested syntax highlighting (#6257) 2020-04-06 16:41:28 -07:00
writer.asciidoc asciidoc writer: don't include + in code blocks for regular asciidoc. 2019-09-04 14:57:22 -07:00
writer.asciidoctor Asciidoc writer: use ` +...+ ` form for inline code. 2019-05-05 21:57:30 -07:00
writer.context ConTeXt template: Adjustments to title formatting (#5949) 2019-12-11 08:28:11 -08:00
writer.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.docbook4 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -07:00
writer.docbook5 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -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 Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
writer.html5 HTML writer: improve alt-text/caption handling for HTML5 2020-07-01 14:54:52 +02:00
writer.icml Minor template & test changes for latest dev doctemplates. 2019-10-14 23:42:29 -07:00
writer.jats_archiving Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jats_articleauthoring Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jats_publishing Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jira Jira writer: keep image caption as alt attribute 2020-07-17 16:02:40 +02:00
writer.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
writer.man Man writer: suppress non-absolute link URLs. 2019-09-23 17:46:39 -07:00
writer.markdown Markdown writer: avoid unnecessary escapes before intraword _ 2020-04-17 22:42:21 -07:00
writer.mediawiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.ms Ms writer: fix definition lists so indent even when... 2020-03-07 21:54:29 -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 Use latest doclayout. 2019-10-30 21:26:21 -07:00
writer.opml Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.org Org writer: don't force blank line after headers 2020-07-31 16:04:18 +02:00
writer.plain Make plain output plainer. 2019-09-22 11:33:09 -07: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 Changes to build with new doctemplates/doclayout. 2019-10-29 22:21:35 -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 ConTeXt template: add a saner default for page numbers. 2019-11-16 18:38:05 -08:00
writers-lang-and-dir.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
writers-lang-and-dir.native