pandoc/test/docx/golden
John MacFarlane 967e7f5fb9 Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light...
..and add new definitions isomorphic to xml-light's, but with
Text instead of String.  This allows us to keep most of the code in
existing readers that use xml-light, but avoid lots of unnecessary
allocation.

We also add versions of the functions from xml-light's
Text.XML.Light.Output and Text.XML.Light.Proc that operate
on our modified XML types, and functions that convert
xml-light types to our types (since some of our dependencies,
like texmath, use xml-light).

Update golden tests for docx and pptx.

OOXML test: Use `showContent` instead of `ppContent` in `displayDiff`.

Docx: Do a manual traversal to unwrap sdt and smartTag.
This is faster, and needed to pass the tests.

Benchmarks:

A = prior to 8ca191604d (Feb 8)
B = as of 8ca191604d (Feb 8)
C = this commit

| Reader  |  A    | B      | C     |
| ------- | ----- | ------ | ----- |
| docbook | 18 ms | 12 ms  | 10 ms |
| opml    | 65 ms | 62 ms  | 35 ms |
| jats    | 15 ms | 11 ms  |  9 ms |
| docx    | 72 ms | 69 ms  | 44 ms |
| odt     | 78 ms | 41 ms  | 28 ms |
| epub    | 64 ms | 61 ms  | 56 ms |
| fb2     | 14 ms | 5  ms  | 4 ms  |
2021-02-16 16:55:20 -08:00
..
block_quotes.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
codeblock.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
comments.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
custom_style_no_reference.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
custom_style_preserve.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
custom_style_reference.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
definition_list.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties-short-desc.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
headers.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
image.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
inline_code.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
inline_formatting.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
inline_images.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
link_in_notes.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
links.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists_continuing.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists_multiple_initial.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists_restarting.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
nested_anchors_in_header.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
notes.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
raw-blocks.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
raw-bookmarks.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
table_one_row.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
table_with_list_cell.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
tables.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
track_changes_deletion.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
track_changes_insertion.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
track_changes_move.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
track_changes_scrubbed_metadata.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
unicode.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
verbatim_subsuper.docx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00