aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2021-12-29 15:00:59 +0200
committerIgor Pashev <pashev.igor@gmail.com>2021-12-29 15:00:59 +0200
commitb4361712899fd0183fea5513180cb383979616de (patch)
tree688ab7ee2ab3a8cd32b4e37b506099aec95388f7 /test
parent726ad97faebe59e024d68d293e663c02bbe423c8 (diff)
parentd960282b105a6469c760b4308a3b81da723b7256 (diff)
downloadpandoc-b4361712899fd0183fea5513180cb383979616de.tar.gz
Merge https://github.com/jgm/pandoc
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Command.hs16
-rw-r--r--test/Tests/Helpers.hs23
-rw-r--r--test/Tests/Lua.hs101
-rw-r--r--test/Tests/Lua/Module.hs2
-rw-r--r--test/Tests/Old.hs20
-rw-r--r--test/Tests/Readers/Docx.hs16
-rw-r--r--test/Tests/Readers/FB2.hs2
-rw-r--r--test/Tests/Readers/Markdown.hs48
-rw-r--r--test/Tests/Readers/Org/Inline/Citation.hs87
-rw-r--r--test/Tests/Readers/Org/Meta.hs2
-rw-r--r--test/Tests/Readers/RST.hs9
-rw-r--r--test/Tests/Readers/RTF.hs42
-rw-r--r--test/Tests/Shared.hs16
-rw-r--r--test/Tests/Writers/AsciiDoc.hs16
-rw-r--r--test/Tests/Writers/Docx.hs3
-rw-r--r--test/Tests/Writers/HTML.hs120
-rw-r--r--test/Tests/Writers/JATS.hs48
-rw-r--r--test/Tests/Writers/Markua.hs40
-rw-r--r--test/Tests/Writers/OOXML.hs78
-rw-r--r--test/Tests/Writers/Powerpoint.hs322
-rw-r--r--test/command/1279.md2
-rw-r--r--test/command/1390.md8
-rw-r--r--test/command/1592.md46
-rw-r--r--test/command/1608.md184
-rw-r--r--test/command/168.md52
-rw-r--r--test/command/1718.md10
-rw-r--r--test/command/1773.md4
-rw-r--r--test/command/1881.md180
-rw-r--r--test/command/2103.md2
-rw-r--r--test/command/2118.md8
-rw-r--r--test/command/2549.md24
-rw-r--r--test/command/256.md34
-rw-r--r--test/command/262.md3
-rw-r--r--test/command/2649.md9
-rw-r--r--test/command/3113.md7
-rw-r--r--test/command/3123.md8
-rw-r--r--test/command/3236.md16
-rw-r--r--test/command/3257.md4
-rw-r--r--test/command/3324.md2
-rw-r--r--test/command/3348.md80
-rw-r--r--test/command/3401.md4
-rw-r--r--test/command/3407.md7
-rw-r--r--test/command/3475.md8
-rw-r--r--test/command/3510.md16
-rw-r--r--test/command/3511.md44
-rw-r--r--test/command/3516.md57
-rw-r--r--test/command/3518.md2
-rw-r--r--test/command/3523.md8
-rw-r--r--test/command/3530.md60
-rw-r--r--test/command/3533-rst-csv-tables.md299
-rw-r--r--test/command/3534.md55
-rw-r--r--test/command/3537.md12
-rw-r--r--test/command/3539.md220
-rw-r--r--test/command/3558.md7
-rw-r--r--test/command/3577.md9
-rw-r--r--test/command/3585.md25
-rw-r--r--test/command/3587.md96
-rw-r--r--test/command/3681.md48
-rw-r--r--test/command/3701.md3
-rw-r--r--test/command/3706.md114
-rw-r--r--test/command/3708.md65
-rw-r--r--test/command/3733.md8
-rw-r--r--test/command/3752.md18
-rw-r--r--test/command/3755.md34
-rw-r--r--test/command/3779.md39
-rw-r--r--test/command/3792.md2
-rw-r--r--test/command/3794.md3
-rw-r--r--test/command/3804.md5
-rw-r--r--test/command/3840.md3
-rw-r--r--test/command/3853.md8
-rw-r--r--test/command/3880.md4
-rw-r--r--test/command/3916.md12
-rw-r--r--test/command/3947.md6
-rw-r--r--test/command/3958.md6
-rw-r--r--test/command/3971.md2
-rw-r--r--test/command/3983.md18
-rw-r--r--test/command/3989.md19
-rw-r--r--test/command/4007.md12
-rw-r--r--test/command/4012.md5
-rw-r--r--test/command/4016.md2
-rw-r--r--test/command/4019.md2
-rw-r--r--test/command/4054.md15
-rw-r--r--test/command/4056.md60
-rw-r--r--test/command/4063.md45
-rw-r--r--test/command/4068.md30
-rw-r--r--test/command/4119.md75
-rw-r--r--test/command/4134.md7
-rw-r--r--test/command/4159.md5
-rw-r--r--test/command/4162.md5
-rw-r--r--test/command/4164.md2
-rw-r--r--test/command/4183.md12
-rw-r--r--test/command/4186.md8
-rw-r--r--test/command/4193.md6
-rw-r--r--test/command/4199.md5
-rw-r--r--test/command/4235.md10
-rw-r--r--test/command/4240.md21
-rw-r--r--test/command/4253.md2
-rw-r--r--test/command/4280.md2
-rw-r--r--test/command/4281.md15
-rw-r--r--test/command/4284.md88
-rw-r--r--test/command/4306.md16
-rw-r--r--test/command/4374.md15
-rw-r--r--test/command/4382.md4
-rw-r--r--test/command/4424.md2
-rw-r--r--test/command/4454.md6
-rw-r--r--test/command/4499.md4
-rw-r--r--test/command/4513.md42
-rw-r--r--test/command/4528.md2
-rw-r--r--test/command/4553.md16
-rw-r--r--test/command/4576.md2
-rw-r--r--test/command/4579.md66
-rw-r--r--test/command/4624.md13
-rw-r--r--test/command/4635.md12
-rw-r--r--test/command/4639.md2
-rw-r--r--test/command/4667.md2
-rw-r--r--test/command/4669.md20
-rw-r--r--test/command/4677.md3
-rw-r--r--test/command/4715.md19
-rw-r--r--test/command/4722.md44
-rw-r--r--test/command/4742.md39
-rw-r--r--test/command/4743.md28
-rw-r--r--test/command/4781.md28
-rw-r--r--test/command/4805-beamer-columns-alignment.md2
-rw-r--r--test/command/4811.md26
-rw-r--r--test/command/4817.md15
-rw-r--r--test/command/4819.md25
-rw-r--r--test/command/4832.md24
-rw-r--r--test/command/4833.md4
-rw-r--r--test/command/4842.md4
-rw-r--r--test/command/4845.md17
-rw-r--r--test/command/4848.md67
-rw-r--r--test/command/4860.md13
-rw-r--r--test/command/4877.md6
-rw-r--r--test/command/4919.md9
-rw-r--r--test/command/4928.md187
-rw-r--r--test/command/4933.md6
-rw-r--r--test/command/5014.md47
-rw-r--r--test/command/5050.md2
-rw-r--r--test/command/5079.md34
-rw-r--r--test/command/5080.md4
-rw-r--r--test/command/5099.md20
-rw-r--r--test/command/512.md3
-rw-r--r--test/command/5121.md3
-rw-r--r--test/command/5128.md2
-rw-r--r--test/command/5178.md23
-rw-r--r--test/command/5182.md7
-rw-r--r--test/command/5271.md33
-rw-r--r--test/command/5285.md22
-rw-r--r--test/command/5321.md14
-rw-r--r--test/command/5360.md19
-rw-r--r--test/command/5367.md2
-rw-r--r--test/command/5368.md31
-rw-r--r--test/command/5410.md2
-rw-r--r--test/command/5416.md4
-rw-r--r--test/command/5540.md8
-rw-r--r--test/command/5549.md3
-rw-r--r--test/command/5619.md29
-rw-r--r--test/command/5627.md12
-rw-r--r--test/command/5642.md3
-rw-r--r--test/command/5650.md6
-rw-r--r--test/command/5655.md10
-rw-r--r--test/command/5682.md2
-rw-r--r--test/command/5686.md26
-rw-r--r--test/command/5700.md37
-rw-r--r--test/command/5708.md45
-rw-r--r--test/command/5711.md34
-rw-r--r--test/command/5714.md11
-rw-r--r--test/command/5753.md8
-rw-r--r--test/command/5795.md7
-rw-r--r--test/command/5797.md2
-rw-r--r--test/command/5805.md2
-rw-r--r--test/command/5813.md3
-rw-r--r--test/command/5845.md15
-rw-r--r--test/command/5878.md10
-rw-r--r--test/command/5986.md5
-rw-r--r--test/command/6009.md13
-rw-r--r--test/command/6026.md30
-rw-r--r--test/command/6034.md5
-rw-r--r--test/command/6114.md8
-rw-r--r--test/command/6137.md168
-rw-r--r--test/command/6288.md4
-rw-r--r--test/command/6324.md13
-rw-r--r--test/command/6658.md2
-rw-r--r--test/command/6699.md6
-rw-r--r--test/command/6709.md4
-rw-r--r--test/command/6719.md4
-rw-r--r--test/command/6739.md3
-rw-r--r--test/command/6741.md8
-rw-r--r--test/command/6791.md45
-rw-r--r--test/command/6792.md2
-rw-r--r--test/command/6802.md5
-rw-r--r--test/command/6836.md36
-rw-r--r--test/command/6844.md6
-rw-r--r--test/command/6869.md15
-rw-r--r--test/command/6873.md30
-rw-r--r--test/command/6890.md116
-rw-r--r--test/command/6970.md12
-rw-r--r--test/command/6993.md18
-rw-r--r--test/command/7003.md29
-rw-r--r--test/command/7006.md9
-rw-r--r--test/command/7080.md11
-rw-r--r--test/command/7092.md4
-rw-r--r--test/command/7129.md66
-rw-r--r--test/command/7134.md45
-rw-r--r--test/command/7145.md62
-rw-r--r--test/command/7155.md22
-rw-r--r--test/command/7208.md2
-rw-r--r--test/command/7216.md2
-rw-r--r--test/command/7272.md2
-rw-r--r--test/command/7329.md67
-rw-r--r--test/command/7339.md8
-rw-r--r--test/command/7340.md2
-rw-r--r--test/command/7400.md3
-rw-r--r--test/command/7416.md6
-rw-r--r--test/command/7434.md14
-rw-r--r--test/command/7436.md23
-rw-r--r--test/command/7482.md47
-rw-r--r--test/command/7494.md62
-rw-r--r--test/command/7497.md37
-rw-r--r--test/command/7520.md22
-rw-r--r--test/command/7521.md11
-rw-r--r--test/command/7529.md7
-rw-r--r--test/command/7546.md6
-rw-r--r--test/command/7557.md20
-rw-r--r--test/command/7568.md16
-rw-r--r--test/command/7573.md11
-rw-r--r--test/command/7589.md72
-rw-r--r--test/command/7615.md6
-rw-r--r--test/command/7623.md12
-rw-r--r--test/command/7632.md66
-rw-r--r--test/command/7668.md36
-rw-r--r--test/command/7692.md13
-rw-r--r--test/command/7697.md27
-rw-r--r--test/command/7713.md29
-rw-r--r--test/command/7723.md8
-rw-r--r--test/command/7726.md22
-rw-r--r--test/command/7738.md6
-rw-r--r--test/command/7761.md35
-rw-r--r--test/command/853.md7
-rw-r--r--test/command/934.md36
-rw-r--r--test/command/982.md2
-rw-r--r--test/command/987.md2
-rw-r--r--test/command/adjacent_latex_blocks.md5
-rw-r--r--test/command/ascii.md14
-rw-r--r--test/command/bar-endinput.tex3
-rw-r--r--test/command/biblatex-article.md2
-rw-r--r--test/command/biblatex-gillies.md2
-rw-r--r--test/command/biblatex-shore.md2
-rw-r--r--test/command/biblatex-sigfridsson.md2
-rw-r--r--test/command/cite-in-inline-note.md22
-rw-r--r--test/command/citeproc-87.md55
-rw-r--r--test/command/citeproc-author-in-text-suffix.md30
-rw-r--r--test/command/csv.md132
-rw-r--r--test/command/docbook-bibliography.md33
-rw-r--r--test/command/dots.md7
-rw-r--r--test/command/empty_paragraphs.md30
-rw-r--r--test/command/gfm.md132
-rw-r--r--test/command/hspace.md24
-rw-r--r--test/command/html-read-figure.md30
-rw-r--r--test/command/html-trim-definition-list-terms.md14
-rw-r--r--test/command/hyphenat.md26
-rw-r--r--test/command/ifstrequal.md9
-rw-r--r--test/command/indented-fences.md6
-rw-r--r--test/command/input-with-endinput.md15
-rw-r--r--test/command/jats-figure-alt-text.md18
-rw-r--r--test/command/latex-center.md3
-rw-r--r--test/command/latex-color.md126
-rw-r--r--test/command/latex-command-comment.md4
-rw-r--r--test/command/latex-fontawesome.md4
-rw-r--r--test/command/latex-tabular-column-specs.md112
-rw-r--r--test/command/lettrine.md15
-rw-r--r--test/command/lstlisting.md23
-rw-r--r--test/command/macro-defs-in-preamble.md10
-rw-r--r--test/command/macros.md38
-rw-r--r--test/command/md-abbrevs.md5
-rw-r--r--test/command/multiple-metadata-blocks.md8
-rw-r--r--test/command/pandoc-citeproc-31.md5
-rw-r--r--test/command/pandoc-citeproc-312.md2
-rw-r--r--test/command/pandoc-citeproc-327.md4
-rw-r--r--test/command/pandoc-citeproc-338.md3
-rw-r--r--test/command/pandoc-citeproc-386.md4
-rw-r--r--test/command/refs.md242
-rw-r--r--test/command/setext-fenced-div.md3
-rw-r--r--test/command/shift-heading-level-by.md39
-rw-r--r--test/command/sloppypar.md214
-rw-r--r--test/command/table-with-cell-align.md65
-rw-r--r--test/command/table-with-column-span.md243
-rw-r--r--test/command/tabularx.md483
-rw-r--r--test/command/translations.md8
-rw-r--r--test/command/video-audio.md10
-rw-r--r--test/command/write18.md4
-rw-r--r--test/command/yaml-metadata-blocks.md78
-rw-r--r--test/command/yaml-with-chomp.md12
-rw-r--r--test/creole-reader.native1102
-rw-r--r--test/docbook-chapter.native190
-rw-r--r--test/docbook-reader.docbook21
-rw-r--r--test/docbook-reader.native3711
-rw-r--r--test/docbook-xref.native206
-rw-r--r--test/docx/0_level_headers.native6
-rw-r--r--test/docx/diagram.docxbin0 -> 22716 bytes
-rw-r--r--test/docx/diagram.native2
-rw-r--r--test/docx/empty_field.docxbin0 -> 14312 bytes
-rw-r--r--test/docx/empty_field.native7
-rw-r--r--test/docx/golden/image.docxbin26776 -> 26861 bytes
-rw-r--r--test/docx/golden/inline_images.docxbin26703 -> 26711 bytes
-rw-r--r--test/docx/golden/nested_anchors_in_header.docxbin10126 -> 10163 bytes
-rw-r--r--test/docx/image_vml.native5
-rw-r--r--test/docx/image_writer_test.native8
-rw-r--r--test/docx/nested_anchors_in_header.native8
-rw-r--r--test/docx/nested_instrText.docxbin0 -> 14112 bytes
-rw-r--r--test/docx/nested_instrText.native5
-rw-r--r--test/docx/pageref.docxbin0 -> 14431 bytes
-rw-r--r--test/docx/pageref.native4
-rw-r--r--test/docx/relative_indentation_blockquotes.docxbin0 -> 12655 bytes
-rw-r--r--test/docx/relative_indentation_blockquotes.native6
-rw-r--r--test/epub/epub2_cover.epubbin17937 -> 11794 bytes
-rw-r--r--test/epub/epub2_no_cover.epubbin9730 -> 3584 bytes
-rw-r--r--test/epub/epub2_picture.epubbin17939 -> 11742 bytes
-rw-r--r--test/epub/features.epubbin66371 -> 8970 bytes
-rw-r--r--test/epub/features.native1769
-rw-r--r--test/epub/formatting.epubbin13460 -> 14022 bytes
-rw-r--r--test/epub/formatting.native6386
-rw-r--r--test/epub/img.epubbin61768 -> 20478 bytes
-rw-r--r--test/epub/img_no_cover.epubbin50594 -> 10602 bytes
-rw-r--r--test/epub/wasteland.epubbin35496 -> 25840 bytes
-rw-r--r--test/epub/wasteland.native5489
-rw-r--r--test/fb2/reader/emphasis.native41
-rw-r--r--test/fb2/reader/epigraph.native27
-rw-r--r--test/fb2/reader/meta.native50
-rw-r--r--test/fb2/reader/notes.native32
-rw-r--r--test/fb2/reader/poem.native39
-rw-r--r--test/fb2/reader/titles.native46
-rw-r--r--test/haddock-reader.native432
-rw-r--r--test/html-reader.native4121
-rw-r--r--test/ipynb/mime.ipynb187
-rw-r--r--test/ipynb/mime.native154
-rw-r--r--test/ipynb/mime.out.ipynb169
-rw-r--r--test/ipynb/rank.ipynb60
-rw-r--r--test/ipynb/rank.out.html14
-rw-r--r--test/ipynb/simple.in.native12
-rw-r--r--test/ipynb/simple.ipynb15
-rw-r--r--test/ipynb/simple.out.native118
-rw-r--r--test/jats-reader.native3481
-rw-r--r--test/jira-reader.native1132
-rw-r--r--test/latex-reader.native2707
-rw-r--r--test/lhs-test-markdown.native132
-rw-r--r--test/lhs-test.native132
-rw-r--r--test/lua/implicit-doc-filter.lua2
-rw-r--r--test/lua/module/pandoc-types.lua25
-rw-r--r--test/lua/module/pandoc-utils.lua184
-rw-r--r--test/lua/module/pandoc.lua323
-rw-r--r--test/man-reader.native1251
-rw-r--r--test/markdown-citations.native539
-rw-r--r--test/markdown-reader-more.native1655
-rw-r--r--test/mediawiki-reader.native1849
-rw-r--r--test/opml-reader.native189
-rw-r--r--test/org-select-tags.native110
-rw-r--r--test/pipe-tables.native1253
-rw-r--r--test/pptx/background-image/input.native17
-rw-r--r--test/pptx/background-image/output.pptxbin0 -> 53318 bytes
-rw-r--r--test/pptx/background-image/templated.pptxbin0 -> 66433 bytes
-rw-r--r--test/pptx/blanks/just-speaker-notes/input.native7
-rw-r--r--test/pptx/blanks/just-speaker-notes/output.pptxbin0 -> 32227 bytes
-rw-r--r--test/pptx/blanks/just-speaker-notes/templated.pptxbin0 -> 45333 bytes
-rw-r--r--test/pptx/blanks/nbsp-in-body/input.native6
-rw-r--r--test/pptx/blanks/nbsp-in-body/output.pptx (renamed from test/pptx/code-custom.pptx)bin28184 -> 29165 bytes
-rw-r--r--test/pptx/blanks/nbsp-in-body/templated.pptx (renamed from test/pptx/slide_breaks_slide_level_1_templated.pptx)bin40858 -> 42273 bytes
-rw-r--r--test/pptx/blanks/nbsp-in-heading/input.native5
-rw-r--r--test/pptx/blanks/nbsp-in-heading/output.pptx (renamed from test/pptx/code.pptx)bin28183 -> 29165 bytes
-rw-r--r--test/pptx/blanks/nbsp-in-heading/templated.pptxbin0 -> 42273 bytes
-rw-r--r--test/pptx/code-custom/output.pptxbin0 -> 29776 bytes
-rw-r--r--test/pptx/code-custom/templated.pptx (renamed from test/pptx/slide_breaks_templated.pptx)bin41683 -> 42877 bytes
-rw-r--r--test/pptx/code/input.native (renamed from test/pptx/code.native)0
-rw-r--r--test/pptx/code/output.pptxbin0 -> 29773 bytes
-rw-r--r--test/pptx/code/templated.pptx (renamed from test/pptx/code_templated.pptx)bin41337 -> 42876 bytes
-rw-r--r--test/pptx/comparison/both-columns/input.native23
-rw-r--r--test/pptx/comparison/both-columns/output.pptxbin0 -> 44530 bytes
-rw-r--r--test/pptx/comparison/both-columns/templated.pptxbin0 -> 57662 bytes
-rw-r--r--test/pptx/comparison/extra-image/input.native24
-rw-r--r--test/pptx/comparison/extra-image/output.pptxbin0 -> 44559 bytes
-rw-r--r--test/pptx/comparison/extra-image/templated.pptxbin0 -> 57688 bytes
-rw-r--r--test/pptx/comparison/extra-text/input.native23
-rw-r--r--test/pptx/comparison/extra-text/output.pptxbin0 -> 44530 bytes
-rw-r--r--test/pptx/comparison/extra-text/templated.pptxbin0 -> 57662 bytes
-rw-r--r--test/pptx/comparison/non-text-first/input.native21
-rw-r--r--test/pptx/comparison/non-text-first/output.pptxbin0 -> 44444 bytes
-rw-r--r--test/pptx/comparison/non-text-first/templated.pptxbin0 -> 57553 bytes
-rw-r--r--test/pptx/comparison/one-column/input.native21
-rw-r--r--test/pptx/comparison/one-column/output.pptxbin0 -> 27862 bytes
-rw-r--r--test/pptx/comparison/one-column/templated.pptxbin0 -> 41000 bytes
-rw-r--r--test/pptx/content-with-caption/heading-text-image/input.native3
-rw-r--r--test/pptx/content-with-caption/heading-text-image/output.pptxbin0 -> 44278 bytes
-rw-r--r--test/pptx/content-with-caption/heading-text-image/templated.pptxbin0 -> 57390 bytes
-rw-r--r--test/pptx/content-with-caption/image-text/input.native2
-rw-r--r--test/pptx/content-with-caption/image-text/output.pptxbin0 -> 44979 bytes
-rw-r--r--test/pptx/content-with-caption/image-text/templated.pptxbin0 -> 58079 bytes
-rw-r--r--test/pptx/content-with-caption/text-image/input.native2
-rw-r--r--test/pptx/content-with-caption/text-image/output.pptxbin0 -> 44218 bytes
-rw-r--r--test/pptx/content-with-caption/text-image/templated.pptxbin0 -> 57330 bytes
-rw-r--r--test/pptx/document-properties-short-desc/input.native (renamed from test/pptx/document-properties-short-desc.native)0
-rw-r--r--test/pptx/document-properties-short-desc/output.pptx (renamed from test/pptx/document-properties-short-desc.pptx)bin26967 -> 28573 bytes
-rw-r--r--test/pptx/document-properties-short-desc/templated.pptx (renamed from test/pptx/document-properties-short-desc_templated.pptx)bin40113 -> 41671 bytes
-rw-r--r--test/pptx/document-properties/input.native (renamed from test/pptx/document-properties.native)0
-rw-r--r--test/pptx/document-properties/output.pptx (renamed from test/pptx/document-properties.pptx)bin27375 -> 28976 bytes
-rw-r--r--test/pptx/document-properties/templated.pptx (renamed from test/pptx/document-properties_templated.pptx)bin40517 -> 42073 bytes
-rw-r--r--test/pptx/endnotes-toc/output.pptx (renamed from test/pptx/endnotes_toc.pptx)bin27747 -> 29363 bytes
-rw-r--r--test/pptx/endnotes-toc/templated.pptx (renamed from test/pptx/endnotes_toc_templated.pptx)bin40899 -> 42467 bytes
-rw-r--r--test/pptx/endnotes/input.native (renamed from test/pptx/endnotes.native)0
-rw-r--r--test/pptx/endnotes/output.pptx (renamed from test/pptx/endnotes.pptx)bin26928 -> 28544 bytes
-rw-r--r--test/pptx/endnotes/templated.pptx (renamed from test/pptx/endnotes_templated.pptx)bin40078 -> 41645 bytes
-rw-r--r--test/pptx/footer/basic/output.pptxbin0 -> 52727 bytes
-rw-r--r--test/pptx/footer/basic/reference.pptxbin0 -> 49063 bytes
-rw-r--r--test/pptx/footer/fixed-date/output.pptxbin0 -> 51354 bytes
-rw-r--r--test/pptx/footer/fixed-date/reference.pptxbin0 -> 47996 bytes
-rw-r--r--test/pptx/footer/higher-slide-number/output.pptxbin0 -> 52740 bytes
-rw-r--r--test/pptx/footer/higher-slide-number/reference.pptxbin0 -> 49082 bytes
-rw-r--r--test/pptx/footer/input.native66
-rw-r--r--test/pptx/footer/no-title-slide/output.pptxbin0 -> 52314 bytes
-rw-r--r--test/pptx/footer/no-title-slide/reference.pptxbin0 -> 48423 bytes
-rw-r--r--test/pptx/images/input.native (renamed from test/pptx/images.native)0
-rw-r--r--test/pptx/images/output.pptx (renamed from test/pptx/images.pptx)bin44579 -> 46195 bytes
-rw-r--r--test/pptx/images/templated.pptx (renamed from test/pptx/images_templated.pptx)bin57729 -> 59299 bytes
-rw-r--r--test/pptx/incremental-lists/with-flag/input.native139
-rw-r--r--test/pptx/incremental-lists/with-flag/output.pptxbin0 -> 77125 bytes
-rw-r--r--test/pptx/incremental-lists/with-flag/templated.pptxbin0 -> 90277 bytes
-rw-r--r--test/pptx/incremental-lists/without-flag/input.native137
-rw-r--r--test/pptx/incremental-lists/without-flag/output.pptxbin0 -> 75374 bytes
-rw-r--r--test/pptx/incremental-lists/without-flag/templated.pptxbin0 -> 88522 bytes
-rw-r--r--test/pptx/inline-formatting/input.native (renamed from test/pptx/inline_formatting.native)0
-rw-r--r--test/pptx/inline-formatting/output.pptx (renamed from test/pptx/inline_formatting.pptx)bin26121 -> 27736 bytes
-rw-r--r--test/pptx/inline-formatting/templated.pptx (renamed from test/pptx/inline_formatting_templated.pptx)bin39272 -> 40839 bytes
-rw-r--r--test/pptx/layouts/deleted.pptxbin0 -> 55694 bytes
-rw-r--r--test/pptx/layouts/input.native23
-rw-r--r--test/pptx/layouts/moved.pptxbin0 -> 66430 bytes
-rw-r--r--test/pptx/list-level/input.native20
-rw-r--r--test/pptx/list-level/output.pptx (renamed from test/pptx/lists.pptx)bin27015 -> 28632 bytes
-rw-r--r--test/pptx/list-level/templated.pptx (renamed from test/pptx/tables_templated.pptx)bin40686 -> 41735 bytes
-rw-r--r--test/pptx/lists/input.native (renamed from test/pptx/lists.native)0
-rw-r--r--test/pptx/lists/output.pptx (renamed from test/pptx/tables.pptx)bin27532 -> 28639 bytes
-rw-r--r--test/pptx/lists/templated.pptx (renamed from test/pptx/lists_templated.pptx)bin40166 -> 41742 bytes
-rw-r--r--test/pptx/pauses/without-incremental/output.pptxbin0 -> 50083 bytes
-rw-r--r--test/pptx/pauses/without-incremental/templated.pptxbin0 -> 63157 bytes
-rw-r--r--test/pptx/raw-ooxml/input.native (renamed from test/pptx/raw_ooxml.native)0
-rw-r--r--test/pptx/raw-ooxml/output.pptx (renamed from test/pptx/raw_ooxml.pptx)bin26908 -> 28524 bytes
-rw-r--r--test/pptx/raw-ooxml/templated.pptx (renamed from test/pptx/raw_ooxml_templated.pptx)bin40059 -> 41626 bytes
-rw-r--r--test/pptx/reference-deleted-layouts.pptxbin0 -> 18160 bytes
-rw-r--r--test/pptx/reference-depth.pptx (renamed from test/pptx/reference_depth.pptx)bin43743 -> 43743 bytes
-rw-r--r--test/pptx/reference-moved-layouts.pptxbin0 -> 44237 bytes
-rw-r--r--test/pptx/remove-empty-slides/input.native (renamed from test/pptx/remove_empty_slides.native)0
-rw-r--r--test/pptx/remove-empty-slides/output.pptxbin0 -> 44958 bytes
-rw-r--r--test/pptx/remove-empty-slides/templated.pptxbin0 -> 58053 bytes
-rw-r--r--test/pptx/slide-breaks-slide-level-1/output.pptx (renamed from test/pptx/slide_breaks_slide_level_1.pptx)bin27705 -> 29314 bytes
-rw-r--r--test/pptx/slide-breaks-slide-level-1/templated.pptx (renamed from test/pptx/code-custom_templated.pptx)bin41337 -> 42422 bytes
-rw-r--r--test/pptx/slide-breaks-toc/output.pptx (renamed from test/pptx/slide_breaks_toc.pptx)bin29481 -> 31087 bytes
-rw-r--r--test/pptx/slide-breaks-toc/templated.pptx (renamed from test/pptx/slide_breaks_toc_templated.pptx)bin42634 -> 44191 bytes
-rw-r--r--test/pptx/slide-breaks/input.native (renamed from test/pptx/slide_breaks.native)0
-rw-r--r--test/pptx/slide-breaks/output.pptx (renamed from test/pptx/slide_breaks.pptx)bin28531 -> 30139 bytes
-rw-r--r--test/pptx/slide-breaks/templated.pptxbin0 -> 43244 bytes
-rw-r--r--test/pptx/slide-level-0/h1-h2-with-table/input.native14
-rw-r--r--test/pptx/slide-level-0/h1-h2-with-table/output.pptxbin0 -> 27871 bytes
-rw-r--r--test/pptx/slide-level-0/h1-h2-with-table/templated.pptxbin0 -> 40979 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-image/input.native2
-rw-r--r--test/pptx/slide-level-0/h1-with-image/output.pptx (renamed from test/pptx/remove_empty_slides.pptx)bin44025 -> 44202 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-image/templated.pptx (renamed from test/pptx/remove_empty_slides_templated.pptx)bin57172 -> 57302 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-table/input.native13
-rw-r--r--test/pptx/slide-level-0/h1-with-table/output.pptxbin0 -> 27778 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-table/templated.pptxbin0 -> 40881 bytes
-rw-r--r--test/pptx/slide-level-0/h2-with-image/input.native2
-rw-r--r--test/pptx/slide-level-0/h2-with-image/output.pptxbin0 -> 44202 bytes
-rw-r--r--test/pptx/slide-level-0/h2-with-image/templated.pptxbin0 -> 57302 bytes
-rw-r--r--test/pptx/speaker-notes-after-metadata/input.native (renamed from test/pptx/speaker_notes_after_metadata.native)0
-rw-r--r--test/pptx/speaker-notes-after-metadata/output.pptx (renamed from test/pptx/speaker_notes_after_metadata.pptx)bin31636 -> 31577 bytes
-rw-r--r--test/pptx/speaker-notes-after-metadata/templated.pptx (renamed from test/pptx/speaker_notes_after_metadata_templated.pptx)bin44775 -> 44673 bytes
-rw-r--r--test/pptx/speaker-notes-afterheader/input.native (renamed from test/pptx/speaker_notes_afterheader.native)0
-rw-r--r--test/pptx/speaker-notes-afterheader/output.pptx (renamed from test/pptx/speaker_notes_afterheader.pptx)bin30657 -> 30589 bytes
-rw-r--r--test/pptx/speaker-notes-afterheader/templated.pptx (renamed from test/pptx/speaker_notes_afterheader_templated.pptx)bin43803 -> 43693 bytes
-rw-r--r--test/pptx/speaker-notes-afterseps/input.native (renamed from test/pptx/speaker_notes_afterseps.native)0
-rw-r--r--test/pptx/speaker-notes-afterseps/output.pptx (renamed from test/pptx/speaker_notes_afterseps.pptx)bin51548 -> 51450 bytes
-rw-r--r--test/pptx/speaker-notes-afterseps/templated.pptx (renamed from test/pptx/speaker_notes_afterseps_templated.pptx)bin64695 -> 64552 bytes
-rw-r--r--test/pptx/speaker-notes/input.native (renamed from test/pptx/speaker_notes.native)0
-rw-r--r--test/pptx/speaker-notes/output.pptx (renamed from test/pptx/speaker_notes.pptx)bin35360 -> 35289 bytes
-rw-r--r--test/pptx/speaker-notes/templated.pptx (renamed from test/pptx/speaker_notes_templated.pptx)bin48507 -> 48392 bytes
-rw-r--r--test/pptx/start-numbering-at/input.native (renamed from test/pptx/start_numbering_at.native)0
-rw-r--r--test/pptx/start-numbering-at/output.pptx (renamed from test/pptx/start_numbering_at.pptx)bin26991 -> 28605 bytes
-rw-r--r--test/pptx/start-numbering-at/templated.pptx (renamed from test/pptx/start_numbering_at_templated.pptx)bin40142 -> 41707 bytes
-rw-r--r--test/pptx/tables/input.native (renamed from test/pptx/tables.native)0
-rw-r--r--test/pptx/tables/output.pptxbin0 -> 29122 bytes
-rw-r--r--test/pptx/tables/templated.pptxbin0 -> 42228 bytes
-rw-r--r--test/pptx/two-column/all-text/input.native (renamed from test/pptx/two_column.native)0
-rw-r--r--test/pptx/two-column/all-text/output.pptx (renamed from test/pptx/two_column.pptx)bin26038 -> 27649 bytes
-rw-r--r--test/pptx/two-column/all-text/templated.pptx (renamed from test/pptx/two_column_templated.pptx)bin39189 -> 40754 bytes
-rw-r--r--test/pptx/two-column/text-and-image/input.native12
-rw-r--r--test/pptx/two-column/text-and-image/output.pptxbin0 -> 45470 bytes
-rw-r--r--test/pptx/two-column/text-and-image/templated.pptxbin0 -> 58574 bytes
-rw-r--r--test/rst-reader.native2168
-rw-r--r--test/rtf/accent.native18
-rw-r--r--test/rtf/accent.rtf3
-rw-r--r--test/rtf/bookmark.native11
-rw-r--r--test/rtf/bookmark.rtf8
-rw-r--r--test/rtf/footnote.native130
-rw-r--r--test/rtf/footnote.rtf11
-rw-r--r--test/rtf/formatting.native45
-rw-r--r--test/rtf/formatting.rtf201
-rw-r--r--test/rtf/heading.native10
-rw-r--r--test/rtf/heading.rtf223
-rw-r--r--test/rtf/image.native12
-rw-r--r--test/rtf/image.rtf6
-rw-r--r--test/rtf/link.native9
-rw-r--r--test/rtf/link.rtf7
-rw-r--r--test/rtf/list_complex.native64
-rw-r--r--test/rtf/list_complex.rtf299
-rw-r--r--test/rtf/list_simple.native10
-rw-r--r--test/rtf/list_simple.rtf17
-rw-r--r--test/rtf/table_error_codes.native422
-rw-r--r--test/rtf/table_error_codes.rtf300
-rw-r--r--test/rtf/table_simple.native73
-rw-r--r--test/rtf/table_simple.rtf19
-rw-r--r--test/rtf/unicode.native3
-rw-r--r--test/rtf/unicode.rtf9
-rw-r--r--test/s5-basic.html3
-rw-r--r--test/s5-fancy.html7
-rw-r--r--test/s5-fragment.html3
-rw-r--r--test/s5-inserts.html3
-rw-r--r--test/tables-rstsubset.native1274
-rw-r--r--test/tables.haddock60
-rw-r--r--test/tables.html56
-rw-r--r--test/tables.latex24
-rw-r--r--test/tables.markdown28
-rw-r--r--test/tables.markua58
-rw-r--r--test/tables.muse48
-rw-r--r--test/tables.native1257
-rw-r--r--test/tables.opendocument4
-rw-r--r--test/tables.plain28
-rw-r--r--test/tables.rst60
-rw-r--r--test/tables/nordics.latex8
-rw-r--r--test/tables/planets.latex8
-rw-r--r--test/tables/students.latex4
-rw-r--r--test/test-pandoc.hs4
-rw-r--r--test/testsuite.native2643
-rw-r--r--test/textile-reader.native1503
-rw-r--r--test/tikiwiki-reader.native987
-rw-r--r--test/twiki-reader.native1113
-rw-r--r--test/txt2tags.native6267
-rw-r--r--test/vimwiki-reader.native2878
-rw-r--r--test/writer.asciidoc12
-rw-r--r--test/writer.asciidoctor16
-rw-r--r--test/writer.context12
-rw-r--r--test/writer.custom15
-rw-r--r--test/writer.docbook432
-rw-r--r--test/writer.docbook535
-rw-r--r--test/writer.haddock43
-rw-r--r--test/writer.html4153
-rw-r--r--test/writer.html5168
-rw-r--r--test/writer.jats_archiving28
-rw-r--r--test/writer.jats_articleauthoring20
-rw-r--r--test/writer.jats_publishing28
-rw-r--r--test/writer.latex17
-rw-r--r--test/writer.man18
-rw-r--r--test/writer.markdown45
-rw-r--r--test/writer.markua700
-rw-r--r--test/writer.mediawiki31
-rw-r--r--test/writer.ms12
-rw-r--r--test/writer.muse16
-rw-r--r--test/writer.native2575
-rw-r--r--test/writer.opendocument79
-rw-r--r--test/writer.opml2
-rw-r--r--test/writer.org55
-rw-r--r--test/writer.plain38
-rw-r--r--test/writer.rst4
-rw-r--r--test/writer.rtf68
-rw-r--r--test/writer.tei22
-rw-r--r--test/writer.texinfo26
-rw-r--r--test/writers-lang-and-dir.latex56
573 files changed, 63097 insertions, 12315 deletions
diff --git a/test/Tests/Command.hs b/test/Tests/Command.hs
index 539be1a1a..f437e026b 100644
--- a/test/Tests/Command.hs
+++ b/test/Tests/Command.hs
@@ -12,6 +12,7 @@ Run commands, and test results, defined in markdown files.
module Tests.Command (runTest, tests)
where
+import Data.Maybe (fromMaybe)
import Data.Algorithm.Diff
import System.Environment (getExecutablePath)
import qualified Data.ByteString as BS
@@ -90,18 +91,19 @@ extractCode :: Block -> String
extractCode (CodeBlock _ code) = T.unpack code
extractCode _ = ""
-dropPercent :: String -> String
-dropPercent ('%':xs) = dropWhile (== ' ') xs
-dropPercent xs = xs
+dropPercent :: String -> Maybe String
+dropPercent ('%':xs) = Just $ dropWhile (== ' ') xs
+dropPercent _ = Nothing
runCommandTest :: FilePath -> FilePath -> Int -> String -> TestTree
-runCommandTest testExePath fp num code =
- goldenTest testname getExpected getActual compareValues updateGolden
+runCommandTest testExePath fp num code = do
+ goldenTest testname getExpected getActual compareValues' updateGolden
where
testname = "#" <> show num
codelines = lines code
(continuations, r1) = span ("\\" `isSuffixOf`) codelines
- cmd = dropPercent (unwords (map init continuations ++ take 1 r1))
+ cmd = fromMaybe (error "Command test line does not begin with %")
+ (dropPercent (unwords (map init continuations ++ take 1 r1)))
r2 = drop 1 r1
(inplines, r3) = break (=="^D") r2
normlines = takeWhile (/=".") (drop 1 r3)
@@ -109,7 +111,7 @@ runCommandTest testExePath fp num code =
norm = unlines normlines
getExpected = return norm
getActual = snd <$> execTest testExePath cmd input
- compareValues expected actual
+ compareValues' expected actual
| actual == expected = return Nothing
| otherwise = return $ Just $ "--- test/command/" ++ fp ++ "\n+++ " ++
cmd ++ "\n" ++ showDiff (1,1)
diff --git a/test/Tests/Helpers.hs b/test/Tests/Helpers.hs
index a48a5894e..6c06e3f71 100644
--- a/test/Tests/Helpers.hs
+++ b/test/Tests/Helpers.hs
@@ -16,6 +16,7 @@ module Tests.Helpers ( test
, TestResult(..)
, setupEnvironment
, showDiff
+ , testGolden
, (=?>)
, purely
, ToString(..)
@@ -23,13 +24,16 @@ module Tests.Helpers ( test
)
where
+import System.FilePath
import Data.Algorithm.Diff
import qualified Data.Map as M
+import qualified Text.Pandoc.UTF8 as UTF8
import Data.Text (Text, unpack)
+import qualified Data.Text as T
import System.Exit
-import System.FilePath (takeDirectory)
import qualified System.Environment as Env
import Test.Tasty
+import Test.Tasty.Golden.Advanced (goldenTest)
import Test.Tasty.HUnit
import Text.Pandoc.Builder (Blocks, Inlines, doc, plain)
import Text.Pandoc.Class
@@ -61,6 +65,23 @@ test fn name (input, expected) =
dashes "" = replicate 72 '-'
dashes x = replicate (72 - length x - 5) '-' ++ " " ++ x ++ " ---"
+testGolden :: TestName -> FilePath -> FilePath -> (Text -> IO Text) -> TestTree
+testGolden name expectedPath inputPath fn =
+ goldenTest
+ name
+ (UTF8.readFile expectedPath)
+ (UTF8.readFile inputPath >>= fn)
+ compareVals
+ (UTF8.writeFile expectedPath)
+ where
+ compareVals expected actual
+ | expected == actual = return Nothing
+ | otherwise = return $ Just $
+ "\n--- " ++ expectedPath ++ "\n+++\n" ++
+ showDiff (1,1)
+ (getDiff (lines . filter (/='\r') $ T.unpack actual)
+ (lines . filter (/='\r') $ T.unpack expected))
+
-- | Set up environment for pandoc command tests.
setupEnvironment :: FilePath -> IO [(String, String)]
setupEnvironment testExePath = do
diff --git a/test/Tests/Lua.hs b/test/Tests/Lua.hs
index 31c011900..00193614d 100644
--- a/test/Tests/Lua.hs
+++ b/test/Tests/Lua.hs
@@ -1,5 +1,6 @@
-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE TypeApplications #-}
{- |
Module : Tests.Lua
Copyright : © 2017-2021 Albert Krewinkel
@@ -13,11 +14,10 @@ Unit and integration tests for pandoc's Lua subsystem.
-}
module Tests.Lua ( runLuaTest, tests ) where
-import Control.Monad (when)
+import HsLua as Lua hiding (Operation (Div), error)
import System.FilePath ((</>))
-import Test.Tasty (TestTree, localOption)
-import Test.Tasty.HUnit (Assertion, assertEqual, testCase)
-import Test.Tasty.QuickCheck (QuickCheckTests (..), ioProperty, testProperty)
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit ((@=?), Assertion, HasCallStack, assertEqual, testCase)
import Text.Pandoc.Arbitrary ()
import Text.Pandoc.Builder (bulletList, definitionList, displayMath, divWith,
doc, doubleQuoted, emph, header, lineBlock,
@@ -25,8 +25,8 @@ import Text.Pandoc.Builder (bulletList, definitionList, displayMath, divWith,
singleQuoted, space, str, strong,
HasMeta (setMeta))
import Text.Pandoc.Class (runIOorExplode, setUserDataDir)
-import Text.Pandoc.Definition (Block (BlockQuote, Div, Para), Inline (Emph, Str),
- Attr, Meta, Pandoc, pandocTypesVersion)
+import Text.Pandoc.Definition (Attr, Block (BlockQuote, Div, Para), Pandoc,
+ Inline (Emph, Str), pandocTypesVersion)
import Text.Pandoc.Error (PandocError (PandocLuaError))
import Text.Pandoc.Filter (Filter (LuaFilter), applyFilters)
import Text.Pandoc.Lua (runLua)
@@ -34,25 +34,12 @@ import Text.Pandoc.Options (def)
import Text.Pandoc.Shared (pandocVersion)
import qualified Control.Monad.Catch as Catch
-import qualified Foreign.Lua as Lua
import qualified Data.Text as T
import qualified Data.Text.Encoding as TE
tests :: [TestTree]
-tests = map (localOption (QuickCheckTests 20))
- [ testProperty "inline elements can be round-tripped through the lua stack" $
- \x -> ioProperty (roundtripEqual (x::Inline))
-
- , testProperty "block elements can be round-tripped through the lua stack" $
- \x -> ioProperty (roundtripEqual (x::Block))
-
- , testProperty "meta blocks can be round-tripped through the lua stack" $
- \x -> ioProperty (roundtripEqual (x::Meta))
-
- , testProperty "documents can be round-tripped through the lua stack" $
- \x -> ioProperty (roundtripEqual (x::Pandoc))
-
- , testCase "macro expansion via filter" $
+tests =
+ [ testCase "macro expansion via filter" $
assertFilterConversion "a '{{helloworld}}' string is expanded"
"strmacro.lua"
(doc . para $ str "{{helloworld}}")
@@ -163,12 +150,12 @@ tests = map (localOption (QuickCheckTests 20))
Lua.getglobal "PANDOC_VERSION"
Lua.liftIO .
assertEqual "pandoc version is wrong" (TE.encodeUtf8 pandocVersion)
- =<< Lua.tostring' Lua.stackTop
+ =<< Lua.tostring' Lua.top
, testCase "Pandoc types version is set" . runLuaTest $ do
Lua.getglobal "PANDOC_API_VERSION"
Lua.liftIO . assertEqual "pandoc-types version is wrong" pandocTypesVersion
- =<< Lua.peek Lua.stackTop
+ =<< Lua.peek Lua.top
, testCase "require file" $
assertFilterConversion "requiring file failed"
@@ -177,38 +164,67 @@ tests = map (localOption (QuickCheckTests 20))
(doc $ para (str . T.pack $ "lua" </> "require-file.lua"))
, testCase "Allow singleton inline in constructors" . runLuaTest $ do
- Lua.liftIO . assertEqual "Not the expected Emph" (Emph [Str "test"])
- =<< Lua.callFunc "pandoc.Emph" (Str "test")
- Lua.liftIO . assertEqual "Unexpected element" (Para [Str "test"])
- =<< Lua.callFunc "pandoc.Para" ("test" :: String)
+ Lua.liftIO . assertEqual "Not the expected Emph"
+ (Emph [Str "test"]) =<< do
+ Lua.OK <- Lua.dostring "return pandoc.Emph"
+ Lua.push @Inline (Str "test")
+ Lua.call 1 1
+ Lua.peek @Inline top
+ Lua.liftIO . assertEqual "Unexpected element"
+ (Para [Str "test"]) =<< do
+ Lua.getglobal' "pandoc.Para"
+ Lua.pushString "test"
+ Lua.call 1 1
+ Lua.peek @Block top
Lua.liftIO . assertEqual "Unexptected element"
(BlockQuote [Para [Str "foo"]]) =<< (
do
Lua.getglobal' "pandoc.BlockQuote"
Lua.push (Para [Str "foo"])
_ <- Lua.call 1 1
- Lua.peek Lua.stackTop
+ Lua.peek @Block Lua.top
)
, testCase "Elements with Attr have `attr` accessor" . runLuaTest $ do
Lua.push (Div ("hi", ["moin"], [])
[Para [Str "ignored"]])
- Lua.getfield Lua.stackTop "attr"
+ Lua.getfield Lua.top "attr"
Lua.liftIO . assertEqual "no accessor" (("hi", ["moin"], []) :: Attr)
- =<< Lua.peek Lua.stackTop
+ =<< Lua.peek @Attr Lua.top
, testCase "module `pandoc.system` is present" . runLuaTest $ do
Lua.getglobal' "pandoc.system"
- ty <- Lua.ltype Lua.stackTop
+ ty <- Lua.ltype Lua.top
Lua.liftIO $ assertEqual "module should be a table" Lua.TypeTable ty
+ , testGroup "global modules"
+ [ testCase "module 'lpeg' is loaded into a global" . runLuaTest $ do
+ s <- Lua.dostring "assert(type(lpeg)=='table')"
+ Lua.liftIO $ Lua.OK @=? s
+
+ , testCase "module 're' is loaded into a global" . runLuaTest $ do
+ s <- Lua.dostring "assert(type(re)=='table')"
+ Lua.liftIO $ Lua.OK @=? s
+
+ , testCase "module 'lpeg' is available via `require`" . runLuaTest $ do
+ s <- Lua.dostring
+ "package.path = ''; package.cpath = ''; require 'lpeg'"
+ Lua.liftIO $ Lua.OK @=? s
+
+ , testCase "module 're' is available via `require`" . runLuaTest $ do
+ s <- Lua.dostring
+ "package.path = ''; package.cpath = ''; require 're'"
+ Lua.liftIO $ Lua.OK @=? s
+ ]
+
, testCase "informative error messages" . runLuaTest $ do
Lua.pushboolean True
- eitherPandoc <- Catch.try (Lua.peek Lua.stackTop :: Lua.Lua Pandoc)
+ -- Lua.newtable
+ eitherPandoc <- Catch.try (peek @Pandoc Lua.top)
case eitherPandoc of
Left (PandocLuaError msg) -> do
- let expectedMsg = "Could not get Pandoc value: "
- <> "table expected, got boolean"
+ let expectedMsg = "Pandoc expected, got boolean\n"
+ <> "\twhile retrieving Pandoc"
Lua.liftIO $ assertEqual "unexpected error message" expectedMsg msg
Left e -> error ("Expected a Lua error, but got " <> show e)
Right _ -> error "Getting a Pandoc element from a bool should fail."
@@ -221,21 +237,8 @@ assertFilterConversion msg filterPath docIn expectedDoc = do
applyFilters def [LuaFilter ("lua" </> filterPath)] ["HTML"] docIn
assertEqual msg expectedDoc actualDoc
-roundtripEqual :: (Eq a, Lua.Peekable a, Lua.Pushable a) => a -> IO Bool
-roundtripEqual x = (x ==) <$> roundtripped
- where
- roundtripped :: Lua.Peekable a => IO a
- roundtripped = runLuaTest $ do
- oldSize <- Lua.gettop
- Lua.push x
- size <- Lua.gettop
- when (size - oldSize /= 1) $
- error ("not exactly one additional element on the stack: " ++ show size)
- Lua.peek (-1)
-
-runLuaTest :: Lua.Lua a -> IO a
+runLuaTest :: HasCallStack => Lua.LuaE PandocError a -> IO a
runLuaTest op = runIOorExplode $ do
- setUserDataDir (Just "../data")
res <- runLua op
case res of
Left e -> error (show e)
diff --git a/test/Tests/Lua/Module.hs b/test/Tests/Lua/Module.hs
index 8be445f65..e4d1e8bd9 100644
--- a/test/Tests/Lua/Module.hs
+++ b/test/Tests/Lua/Module.hs
@@ -29,7 +29,7 @@ tests =
("lua" </> "module" </> "pandoc-path.lua")
, testPandocLua "pandoc.types"
("lua" </> "module" </> "pandoc-types.lua")
- , testPandocLua "pandoc.util"
+ , testPandocLua "pandoc.utils"
("lua" </> "module" </> "pandoc-utils.lua")
]
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs
index ad9f249c4..450449946 100644
--- a/test/Tests/Old.hs
+++ b/test/Tests/Old.hs
@@ -146,7 +146,7 @@ tests pandocPath =
"dokuwiki_external_images.native" "dokuwiki_external_images.dokuwiki"
]
, testGroup "opml"
- [ test' "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
+ [ test' "basic" ["-r", "native", "-w", "opml", "--columns=80", "-s"]
"testsuite.native" "writer.opml"
, test' "reader" ["-r", "opml", "-w", "native", "-s"]
"opml-reader.opml" "opml-reader.native"
@@ -175,7 +175,7 @@ tests pandocPath =
"tikiwiki-reader.tikiwiki" "tikiwiki-reader.native" ]
, testGroup "other writers" $ map (\f -> testGroup f $ writerTests' f)
[ "opendocument" , "context" , "texinfo", "icml", "tei"
- , "man" , "plain" , "rtf", "org", "asciidoc", "asciidoctor"
+ , "man" , "plain" , "asciidoc", "asciidoctor"
, "xwiki", "zimwiki"
]
, testGroup "writers-lang-and-dir"
@@ -207,7 +207,10 @@ tests pandocPath =
, testGroup "org"
[ test' "reader" ["-r", "org", "-w", "native", "-s"]
"org-select-tags.org" "org-select-tags.native"
+ , testGroup "writer" $ writerTests' "org"
]
+ , testGroup "rtf"
+ [ testGroup "writer" $ writerTests' "rtf" ]
, testGroup "ipynb"
[ test' "reader" ["-f", "ipynb-raw_html-raw_tex+raw_attribute",
"-t", "native", "-s"]
@@ -216,7 +219,16 @@ tests pandocPath =
"--markdown-headings=setext", "-t",
"ipynb-raw_html-raw_tex+raw_attribute", "-s"]
"ipynb/simple.in.native" "ipynb/simple.ipynb"
+ , test' "reader" ["-t", "native", "-f", "ipynb",
+ "--ipynb-output=all"]
+ "ipynb/mime.ipynb" "ipynb/mime.native"
+ , test' "writer" ["-f", "native", "-t", "ipynb",
+ "--wrap=preserve"]
+ "ipynb/mime.native" "ipynb/mime.out.ipynb"
+ , test' "reader" ["-f", "ipynb", "-t", "html"]
+ "ipynb/rank.ipynb" "ipynb/rank.out.html"
]
+ , testGroup "markua" [ testGroup "writer" $ writerTests' "markua"]
]
where
test' = test pandocPath
@@ -259,7 +271,7 @@ writerTests pandocPath format
"tables" opts "tables.native" ("tables" <.> format)
]
where
- opts = ["-r", "native", "-w", format, "--columns=78",
+ opts = ["-r", "native", "-w", format, "--columns=80",
"--variable", "pandoc-version="]
extendedWriterTests :: FilePath -> String -> [TestTree]
@@ -273,7 +285,7 @@ extendedWriterTests pandocPath format
("tables" </> name <.> format)
in map testForTable ["planets", "nordics", "students"]
where
- opts = ["-r", "native", "-w", format, "--columns=78",
+ opts = ["-r", "native", "-w", format, "--columns=80",
"--variable", "pandoc-version="]
s5WriterTest :: FilePath -> String -> [String] -> String -> TestTree
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index 220c7d9c5..be5b89b88 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -148,6 +148,18 @@ tests = [ testGroup "document"
"docx/instrText_hyperlink.docx"
"docx/instrText_hyperlink.native"
, testCompare
+ "nested fields with <w:instrText> tag"
+ "docx/nested_instrText.docx"
+ "docx/nested_instrText.native"
+ , testCompare
+ "empty fields with <w:instrText> tag"
+ "docx/empty_field.docx"
+ "docx/empty_field.native"
+ , testCompare
+ "pageref hyperlinks in <w:instrText> tag"
+ "docx/pageref.docx"
+ "docx/pageref.native"
+ , testCompare
"inline image"
"docx/image.docx"
"docx/image_no_embed.native"
@@ -306,6 +318,10 @@ tests = [ testGroup "document"
"docx/block_quotes.docx"
"docx/block_quotes_parse_indent.native"
, testCompare
+ "blockquotes (parsing indent relative to the indent of the parent style as blockquote)"
+ "docx/relative_indentation_blockquotes.docx"
+ "docx/relative_indentation_blockquotes.native"
+ , testCompare
"hanging indents"
"docx/hanging_indent.docx"
"docx/hanging_indent.native"
diff --git a/test/Tests/Readers/FB2.hs b/test/Tests/Readers/FB2.hs
index 42054a235..d540f8b6a 100644
--- a/test/Tests/Readers/FB2.hs
+++ b/test/Tests/Readers/FB2.hs
@@ -7,7 +7,7 @@
Stability : alpha
Portability : portable
-Tests for the EPUB mediabag.
+Tests for the FB2 reader.
-}
module Tests.Readers.FB2 (tests) where
diff --git a/test/Tests/Readers/Markdown.hs b/test/Tests/Readers/Markdown.hs
index f055ab197..02fc0d8ce 100644
--- a/test/Tests/Readers/Markdown.hs
+++ b/test/Tests/Readers/Markdown.hs
@@ -36,6 +36,9 @@ markdownGH :: Text -> Pandoc
markdownGH = purely $ readMarkdown def {
readerExtensions = githubMarkdownExtensions }
+markdownMMD :: Text -> Pandoc
+markdownMMD = purely $ readMarkdown def {
+ readerExtensions = multimarkdownExtensions }
infix 4 =:
(=:) :: ToString c
=> String -> (Text, c) -> TestTree
@@ -360,6 +363,51 @@ tests = [ testGroup "inline code"
("**this should \"be bold**"
=?> para (strong "this should \8220be bold"))
]
+ , testGroup "sub- and superscripts"
+ [
+ test markdownMMD "normal subscript"
+ ("H~2~"
+ =?> para ("H" <> subscript "2"))
+ , test markdownMMD "normal superscript"
+ ("x^3^"
+ =?> para ("x" <> superscript "3"))
+ , test markdownMMD "short subscript delimeted by space"
+ ("O~2 is dangerous"
+ =?> para ("O" <> subscript "2" <> space <> "is dangerous"))
+ , test markdownMMD "short subscript delimeted by newline"
+ ("O~2\n"
+ =?> para ("O" <> subscript "2"))
+ , test markdownMMD "short subscript delimeted by EOF"
+ ("O~2"
+ =?> para ("O" <> subscript "2"))
+ , test markdownMMD "short subscript delimited by punctuation"
+ ("O~2."
+ =?> para ("O" <> subscript "2" <> "."))
+ , test markdownMMD "short subscript delimited by emph"
+ ("O~2*combustible!*"
+ =?> para ("O" <> subscript "2" <> emph "combustible!"))
+ , test markdownMMD "no nesting in short subscripts"
+ ("y~*2*"
+ =?> para ("y~" <> emph "2"))
+ , test markdownMMD "short superscript delimeted by space"
+ ("x^2 = y"
+ =?> para ("x" <> superscript "2" <> space <> "= y"))
+ , test markdownMMD "short superscript delimeted by newline"
+ ("x^2\n"
+ =?> para ("x" <> superscript "2"))
+ , test markdownMMD "short superscript delimeted by ExF"
+ ("x^2"
+ =?> para ("x" <> superscript "2"))
+ , test markdownMMD "short superscript delimited by punctuation"
+ ("x^2."
+ =?> para ("x" <> superscript "2" <> "."))
+ , test markdownMMD "short superscript delimited by emph"
+ ("x^2*combustible!*"
+ =?> para ("x" <> superscript "2" <> emph "combustible!"))
+ , test markdownMMD "no nesting in short superscripts"
+ ("y^*2*"
+ =?> para ("y^" <> emph "2"))
+ ]
, testGroup "footnotes"
[ "indent followed by newline and flush-left text" =:
"[^1]\n\n[^1]: my note\n\n \nnot in note\n"
diff --git a/test/Tests/Readers/Org/Inline/Citation.hs b/test/Tests/Readers/Org/Inline/Citation.hs
index a11804983..2d0d460a2 100644
--- a/test/Tests/Readers/Org/Inline/Citation.hs
+++ b/test/Tests/Readers/Org/Inline/Citation.hs
@@ -19,9 +19,9 @@ import Text.Pandoc.Builder
tests :: [TestTree]
tests =
- [ testGroup "Markdown-style citations"
+ [ testGroup "Org-cite citations"
[ "Citation" =:
- "[@nonexistent]" =?>
+ "[cite:@nonexistent]" =?>
let citation = Citation
{ citationId = "nonexistent"
, citationPrefix = []
@@ -29,10 +29,10 @@ tests =
, citationMode = NormalCitation
, citationNoteNum = 0
, citationHash = 0}
- in (para $ cite [citation] "[@nonexistent]")
+ in (para $ cite [citation] "[cite:@nonexistent]")
, "Citation containing text" =:
- "[see @item1 p. 34-35]" =?>
+ "[cite:see @item1 p. 34-35]" =?>
let citation = Citation
{ citationId = "item1"
, citationPrefix = [Str "see"]
@@ -40,7 +40,37 @@ tests =
, citationMode = NormalCitation
, citationNoteNum = 0
, citationHash = 0}
- in (para $ cite [citation] "[see @item1 p. 34-35]")
+ in (para $ cite [citation] "[cite:see @item1 p. 34-35]")
+
+ , "Author-in-text citation with locator and suffix" =:
+ "[cite/t:see @item1 p. 34-35 and *passim*; @item2]" =?>
+ let citations =
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix =
+ [ Str "p."
+ , Space
+ , Str "34-35"
+ , Space
+ , Str "and"
+ , Space
+ , Strong [ Str "passim" ]
+ ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ in (para $ cite citations "[cite/t:see @item1 p. 34-35 and *passim*; @item2]")
]
, testGroup "org-ref citations"
@@ -169,53 +199,6 @@ tests =
in (para $ cite [citation] "[[citep:Dominik201408][See page 20::, for example]]")
]
- , testGroup "Berkeley-style citations" $
- let pandocCite = Citation
- { citationId = "Pandoc"
- , citationPrefix = mempty
- , citationSuffix = mempty
- , citationMode = NormalCitation
- , citationNoteNum = 0
- , citationHash = 0
- }
- pandocInText = pandocCite { citationMode = AuthorInText }
- dominikCite = Citation
- { citationId = "Dominik201408"
- , citationPrefix = mempty
- , citationSuffix = mempty
- , citationMode = NormalCitation
- , citationNoteNum = 0
- , citationHash = 0
- }
- dominikInText = dominikCite { citationMode = AuthorInText }
- in
- [ "Berkeley-style in-text citation" =:
- "See @Dominik201408." =?>
- para ("See "
- <> cite [dominikInText] "@Dominik201408"
- <> ".")
-
- , "Berkeley-style parenthetical citation list" =:
- "[(cite): see; @Dominik201408;also @Pandoc; and others]" =?>
- let pandocCite' = pandocCite {
- citationPrefix = toList "also"
- , citationSuffix = toList "and others"
- }
- dominikCite' = dominikCite {
- citationPrefix = toList "see"
- }
- in (para $ cite [dominikCite', pandocCite'] "")
-
- , "Berkeley-style plain citation list" =:
- "[cite: See; @Dominik201408; and @Pandoc; and others]" =?>
- let pandocCite' = pandocInText { citationPrefix = toList "and" }
- in (para $ "See "
- <> cite [dominikInText] ""
- <> "," <> space
- <> cite [pandocCite'] ""
- <> "," <> space <> "and others")
- ]
-
, "LaTeX citation" =:
"\\cite{Coffee}" =?>
let citation = Citation
diff --git a/test/Tests/Readers/Org/Meta.hs b/test/Tests/Readers/Org/Meta.hs
index 6363d84b0..41a41cb00 100644
--- a/test/Tests/Readers/Org/Meta.hs
+++ b/test/Tests/Readers/Org/Meta.hs
@@ -238,7 +238,7 @@ tests =
, " :setting: foo"
, " :END:"
] =?>
- (mempty::Blocks)
+ (setMeta "setting" ("foo" :: T.Text) (doc mempty))
, "Logbook drawer" =:
T.unlines [ " :LogBook:"
diff --git a/test/Tests/Readers/RST.hs b/test/Tests/Readers/RST.hs
index a12b59fc2..e9ab8cc11 100644
--- a/test/Tests/Readers/RST.hs
+++ b/test/Tests/Readers/RST.hs
@@ -179,6 +179,15 @@ tests = [ "line block with blank line" =:
, "custom code role with language field"
=: ".. role:: lhs(code)\n :language: haskell\n\n:lhs:`a`"
=?> para (codeWith ("", ["lhs", "haskell"], []) "a")
+ , "custom role with class field"
+ =: ".. role:: classy\n :class: myclass\n\n:classy:`a`"
+ =?> para (spanWith ("", ["myclass"], []) "a")
+ , "custom role with class field containing multiple whitespace-separated classes"
+ =: ".. role:: classy\n :class: myclass1 myclass2\n myclass3\n\n:classy:`a`"
+ =?> para (spanWith ("", ["myclass1", "myclass2", "myclass3"], []) "a")
+ , "custom role with inherited class field"
+ =: ".. role:: classy\n :class: myclass1\n.. role:: classier(classy)\n :class: myclass2\n\n:classier:`a`"
+ =?> para (spanWith ("", ["myclass2", "myclass1"], []) "a")
, "custom role with unspecified parent role"
=: ".. role:: classy\n\n:classy:`text`"
=?> para (spanWith ("", ["classy"], []) "text")
diff --git a/test/Tests/Readers/RTF.hs b/test/Tests/Readers/RTF.hs
new file mode 100644
index 000000000..1b335274b
--- /dev/null
+++ b/test/Tests/Readers/RTF.hs
@@ -0,0 +1,42 @@
+{- |
+ Module : Tests.Readers.RTF
+ Copyright : © 2021 John MacFarlane
+ License : GNU GPL, version 2 or above
+
+ Maintainer : jgm@berkeley.edu
+ Stability : alpha
+ Portability : portable
+
+Tests for the RTF reader.
+-}
+module Tests.Readers.RTF (tests) where
+
+import Test.Tasty
+import Tests.Helpers
+import Text.Pandoc
+import System.FilePath (replaceExtension, (</>), (<.>))
+
+rtfTest :: TestName -> TestTree
+rtfTest name = testGolden name native path
+ (\t -> runIOorExplode
+ (readRTF def t >>=
+ writeNative def{ writerTemplate = Just mempty }))
+ where native = replaceExtension path ".native"
+ path = "rtf" </> name <.> "rtf"
+
+
+tests :: [TestTree]
+tests = map rtfTest [ "footnote"
+ , "accent"
+ , "unicode"
+ , "image"
+ , "link"
+ , "heading"
+ , "formatting"
+ , "list_simple"
+ , "list_complex"
+ , "bookmark"
+ , "table_simple"
+ , "table_error_codes"
+ ]
+
diff --git a/test/Tests/Shared.hs b/test/Tests/Shared.hs
index e415ea153..5365812fe 100644
--- a/test/Tests/Shared.hs
+++ b/test/Tests/Shared.hs
@@ -56,6 +56,7 @@ testLegacyTable :: [TestTree]
testLegacyTable =
[ testCase "decomposes a table with head" $ gen1 @?= expect1
, testCase "decomposes a table without head" $ gen2 @?= expect2
+ , testCase "decomposes the table from issue 7683" $ gen3 @?= expect3
]
where
pln = toList . plain . str
@@ -110,3 +111,18 @@ testLegacyTable =
,[pln "j", mempty, mempty]]
)
gen2 = toLegacyTable emptyCaption spec1 (th []) [body1] (tf footRows1)
+
+ spec3 = replicate 4 (AlignDefault, ColWidthDefault)
+ body3 = tb 0
+ []
+ [[cl "a" 2 1, cl "b" 1 2, cl "c" 2 1]
+ ,[cl "d" 1 1, cl "e" 1 1]
+ ]
+ expect3 = ( []
+ , replicate 4 AlignDefault
+ , replicate 4 0
+ , []
+ , [[pln "a", pln "b", mempty, pln "c"]
+ ,[mempty, pln "d", pln "e", mempty]]
+ )
+ gen3 = toLegacyTable emptyCaption spec3 (th []) [body3] (tf [])
diff --git a/test/Tests/Writers/AsciiDoc.hs b/test/Tests/Writers/AsciiDoc.hs
index 04655635f..7b2dd11e8 100644
--- a/test/Tests/Writers/AsciiDoc.hs
+++ b/test/Tests/Writers/AsciiDoc.hs
@@ -38,6 +38,22 @@ tests = [ testGroup "emphasis"
para (singleQuoted (strong (text "foo"))) =?>
"`**foo**'"
]
+ , testGroup "blocks"
+ [ testAsciidoc "code block without line numbers" $
+ codeBlockWith ("", [ "haskell" ], []) "foo" =?> unlines
+ [ "[source,haskell]"
+ , "----"
+ , "foo"
+ , "----"
+ ]
+ , testAsciidoc "code block with line numbers" $
+ codeBlockWith ("", [ "haskell", "numberLines" ], []) "foo" =?> unlines
+ [ "[source%linesnum,haskell]"
+ , "----"
+ , "foo"
+ , "----"
+ ]
+ ]
, testGroup "tables"
[ testAsciidoc "empty cells" $
simpleTable [] [[mempty],[mempty]] =?> unlines
diff --git a/test/Tests/Writers/Docx.hs b/test/Tests/Writers/Docx.hs
index da25b95e0..93b56e1c2 100644
--- a/test/Tests/Writers/Docx.hs
+++ b/test/Tests/Writers/Docx.hs
@@ -31,7 +31,8 @@ tests = [ testGroup "inlines"
"docx/golden/links.docx"
, docxTest
"inline image"
- def
+ def{ writerExtensions =
+ enableExtension Ext_native_numbering (writerExtensions def) }
"docx/image_writer_test.native"
"docx/golden/image.docx"
, docxTest
diff --git a/test/Tests/Writers/HTML.hs b/test/Tests/Writers/HTML.hs
index 404f6da98..a81badae8 100644
--- a/test/Tests/Writers/HTML.hs
+++ b/test/Tests/Writers/HTML.hs
@@ -2,14 +2,18 @@
module Tests.Writers.HTML (tests) where
import Data.Text (unpack)
+import qualified Data.Text as T
import Test.Tasty
import Tests.Helpers
import Text.Pandoc
import Text.Pandoc.Arbitrary ()
import Text.Pandoc.Builder
+htmlWithOpts :: (ToPandoc a) => WriterOptions -> a -> String
+htmlWithOpts opts = unpack . purely (writeHtml4String opts{ writerWrapText = WrapNone }) . toPandoc
+
html :: (ToPandoc a) => a -> String
-html = unpack . purely (writeHtml4String def{ writerWrapText = WrapNone }) . toPandoc
+html = htmlWithOpts def
htmlQTags :: (ToPandoc a) => a -> String
htmlQTags = unpack
@@ -33,6 +37,21 @@ infix 4 =:
=> String -> (a, String) -> TestTree
(=:) = test html
+noteTestDoc :: Blocks
+noteTestDoc =
+ header 1 "Page title" <>
+ header 2 "First section" <>
+ para ("This is a footnote." <>
+ note (para "Down here.") <>
+ " And this is a " <>
+ link "https://www.google.com" "" "link" <>
+ ".") <>
+ blockQuote (para ("A note inside a block quote." <>
+ note (para "The second note.")) <>
+ para "A second paragraph.") <>
+ header 2 "Second section" <>
+ para "Some more text."
+
tests :: [TestTree]
tests =
[ testGroup "inline code"
@@ -50,7 +69,7 @@ tests =
, testGroup "blocks"
[ "definition list with empty <dt>" =:
definitionList [(mempty, [para $ text "foo bar"])]
- =?> "<dl><dt></dt><dd><p>foo bar</p></dd></dl>"
+ =?> "<dl>\n<dt></dt>\n<dd>\n<p>foo bar</p>\n</dd>\n</dl>"
, "heading with disallowed attributes" =:
headerWith ("", [], [("invalid","1"), ("lang", "en")]) 1 "test"
=?>
@@ -86,6 +105,103 @@ tests =
=?> ("<var><code class=\"sourceCode haskell\">" ++
"<span class=\"op\">&gt;&gt;=</span></code></var>")
]
+ , testGroup "footnotes"
+ [ test (htmlWithOpts def{writerReferenceLocation=EndOfDocument})
+ "at the end of a document" $
+ noteTestDoc =?>
+ T.unlines
+ [ "<h1>Page title</h1>"
+ , "<h2>First section</h2>"
+ , "<p>This is a footnote.<a href=\"#fn1\" class=\"footnote-ref\" id=\"fnref1\"><sup>1</sup></a> And this is a <a href=\"https://www.google.com\">link</a>.</p>"
+ , "<blockquote>"
+ , "<p>A note inside a block quote.<a href=\"#fn2\" class=\"footnote-ref\" id=\"fnref2\"><sup>2</sup></a></p>"
+ , "<p>A second paragraph.</p>"
+ , "</blockquote>"
+ , "<h2>Second section</h2>"
+ , "<p>Some more text.</p>"
+ , "<div class=\"footnotes footnotes-end-of-document\">"
+ , "<hr />"
+ , "<ol>"
+ , "<li id=\"fn1\"><p>Down here.<a href=\"#fnref1\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "<li id=\"fn2\"><p>The second note.<a href=\"#fnref2\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "</ol>"
+ , "</div>"
+ ]
+ , test (htmlWithOpts def{writerReferenceLocation=EndOfBlock})
+ "at the end of a block" $
+ noteTestDoc =?>
+ T.unlines
+ [ "<h1>Page title</h1>"
+ , "<h2>First section</h2>"
+ , "<p>This is a footnote.<a href=\"#fn1\" class=\"footnote-ref\" id=\"fnref1\"><sup>1</sup></a> And this is a <a href=\"https://www.google.com\">link</a>.</p>"
+ , "<div class=\"footnotes footnotes-end-of-block\">"
+ , "<ol>"
+ , "<li id=\"fn1\"><p>Down here.<a href=\"#fnref1\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "</ol>"
+ , "</div>"
+ , "<blockquote>"
+ , "<p>A note inside a block quote.<a href=\"#fn2\" class=\"footnote-ref\" id=\"fnref2\"><sup>2</sup></a></p>"
+ , "<p>A second paragraph.</p>"
+ , "</blockquote>"
+ , "<div class=\"footnotes footnotes-end-of-block\">"
+ , "<ol start=\"2\">"
+ , "<li id=\"fn2\"><p>The second note.<a href=\"#fnref2\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "</ol>"
+ , "</div>"
+ , "<h2>Second section</h2>"
+ , "<p>Some more text.</p>"
+ ]
+ , test (htmlWithOpts def{writerReferenceLocation=EndOfSection})
+ "at the end of a section" $
+ noteTestDoc =?>
+ T.unlines
+ [ "<h1>Page title</h1>"
+ , "<h2>First section</h2>"
+ , "<p>This is a footnote.<a href=\"#fn1\" class=\"footnote-ref\" id=\"fnref1\"><sup>1</sup></a> And this is a <a href=\"https://www.google.com\">link</a>.</p>"
+ , "<blockquote>"
+ , "<p>A note inside a block quote.<a href=\"#fn2\" class=\"footnote-ref\" id=\"fnref2\"><sup>2</sup></a></p>"
+ , "<p>A second paragraph.</p>"
+ , "</blockquote>"
+ , "<div class=\"footnotes footnotes-end-of-section\">"
+ , "<hr />"
+ , "<ol>"
+ , "<li id=\"fn1\"><p>Down here.<a href=\"#fnref1\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "<li id=\"fn2\"><p>The second note.<a href=\"#fnref2\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "</ol>"
+ , "</div>"
+ , "<h2>Second section</h2>"
+ , "<p>Some more text.</p>"
+ ]
+ , test (htmlWithOpts def{writerReferenceLocation=EndOfSection, writerSectionDivs=True})
+ "at the end of a section, with section divs" $
+ noteTestDoc =?>
+ -- Footnotes are rendered _after_ their section (in this case after the level2 section
+ -- that contains it).
+ T.unlines
+ [ "<div class=\"section level1\">"
+ , "<h1>Page title</h1>"
+ , "<div class=\"section level2\">"
+ , "<h2>First section</h2>"
+ , "<p>This is a footnote.<a href=\"#fn1\" class=\"footnote-ref\" id=\"fnref1\"><sup>1</sup></a> And this is a <a href=\"https://www.google.com\">link</a>.</p>"
+ , "<blockquote>"
+ , "<p>A note inside a block quote.<a href=\"#fn2\" class=\"footnote-ref\" id=\"fnref2\"><sup>2</sup></a></p>"
+ , "<p>A second paragraph.</p>"
+ , "</blockquote>"
+ , "</div>"
+ , "<div class=\"footnotes footnotes-end-of-section\">"
+ , "<hr />"
+ , "<ol>"
+ , "<li id=\"fn1\"><p>Down here.<a href=\"#fnref1\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "<li id=\"fn2\"><p>The second note.<a href=\"#fnref2\" class=\"footnote-back\">↩︎</a></p></li>"
+ , "</ol>"
+ , "</div>"
+ , "<div class=\"section level2\">"
+ , "<h2>Second section</h2>"
+ , "<p>Some more text.</p>"
+ , "</div>"
+ , "</div>"
+ ]
+ ]
]
where
tQ :: (ToString a, ToPandoc a)
diff --git a/test/Tests/Writers/JATS.hs b/test/Tests/Writers/JATS.hs
index 5b96ed2ed..e605f55e1 100644
--- a/test/Tests/Writers/JATS.hs
+++ b/test/Tests/Writers/JATS.hs
@@ -61,21 +61,39 @@ tests =
, "</fn></p>"
])
]
- , "bullet list" =: bulletList [ plain $ text "first"
- , plain $ text "second"
- , plain $ text "third"
- ]
- =?> "<list list-type=\"bullet\">\n\
- \ <list-item>\n\
- \ <p>first</p>\n\
- \ </list-item>\n\
- \ <list-item>\n\
- \ <p>second</p>\n\
- \ </list-item>\n\
- \ <list-item>\n\
- \ <p>third</p>\n\
- \ </list-item>\n\
- \</list>"
+ , testGroup "bullet list"
+ [ "plain items" =: bulletList [ plain $ text "first"
+ , plain $ text "second"
+ , plain $ text "third"
+ ]
+ =?> "<list list-type=\"bullet\">\n\
+ \ <list-item>\n\
+ \ <p>first</p>\n\
+ \ </list-item>\n\
+ \ <list-item>\n\
+ \ <p>second</p>\n\
+ \ </list-item>\n\
+ \ <list-item>\n\
+ \ <p>third</p>\n\
+ \ </list-item>\n\
+ \</list>"
+
+ , "item with implicit figure" =:
+ bulletList [ simpleFigure (text "caption") "a.png" "" ] =?>
+ T.unlines
+ [ "<list list-type=\"bullet\">"
+ , " <list-item>"
+ , " <p specific-use=\"wrapper\">"
+ , " <fig>"
+ , " <caption><p>caption</p></caption>"
+ , " <graphic mimetype=\"image\" mime-subtype=\"png\"" <>
+ " xlink:href=\"a.png\" xlink:title=\"\" />"
+ , " </fig>"
+ , " </p>"
+ , " </list-item>"
+ , "</list>"
+ ]
+ ]
, testGroup "definition lists"
[ "with internal link" =: definitionList [(link "#go" "" (str "testing"),
[plain (text "hi there")])] =?>
diff --git a/test/Tests/Writers/Markua.hs b/test/Tests/Writers/Markua.hs
new file mode 100644
index 000000000..62239f3da
--- /dev/null
+++ b/test/Tests/Writers/Markua.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE OverloadedStrings #-}
+module Tests.Writers.Markua (tests) where
+
+import Test.Tasty
+import Tests.Helpers
+import Text.Pandoc
+import Text.Pandoc.Arbitrary ()
+import Text.Pandoc.Builder
+
+{-
+ "my test" =: X =?> Y
+
+is shorthand for
+
+ test html "my test" $ X =?> Y
+
+which is in turn shorthand for
+
+ test html "my test" (X,Y)
+-}
+
+infix 4 =:
+(=:) :: (ToString a, ToPandoc a)
+ => String -> (a, String) -> TestTree
+(=:) = test (purely (writeMarkua def) . toPandoc)
+
+tests :: [TestTree]
+tests = [ testGroup "simple blurb/aside"
+ ["blurb" =: divWith ("",["blurb"],[]) (bulletList [para "blurb content"])
+ =?> "B> * blurb content"
+ ,"aside" =: divWith ("",["aside"],[]) (bulletList [para "aside list"])
+ =?> "A> * aside list"
+ ]
+ ,testGroup "multiclass blurb/aside"
+ ["blurb" =: divWith ("",["blurb", "otherclass"],[]) (bulletList [para "blurb content"])
+ =?> "B> * blurb content"
+ ,"aside" =: divWith ("",["otherclass", "aside"],[]) (bulletList [para "aside list"])
+ =?> "A> * aside list"
+ ]
+ ]
diff --git a/test/Tests/Writers/OOXML.hs b/test/Tests/Writers/OOXML.hs
index 83f05cfec..43543954c 100644
--- a/test/Tests/Writers/OOXML.hs
+++ b/test/Tests/Writers/OOXML.hs
@@ -3,13 +3,15 @@
module Tests.Writers.OOXML (ooxmlTest) where
-import Text.Pandoc
+import Text.Pandoc hiding (Attr)
import Test.Tasty
import Test.Tasty.Golden.Advanced
+import Control.Applicative ((<|>))
import Codec.Archive.Zip
import Text.XML.Light
import qualified Data.ByteString as BS
import qualified Data.ByteString.Lazy as BL
+import Data.Foldable (asum)
import qualified Data.Text.IO as T
import Data.List (isSuffixOf, sort, (\\), intercalate, union)
import Data.Maybe (catMaybes, mapMaybe)
@@ -17,34 +19,59 @@ import Tests.Helpers
import Data.Algorithm.Diff
import System.FilePath.Glob (compile, match)
-compareXMLBool :: Content -> Content -> Bool
+compareXML :: Content -> Content -> Maybe XMLDifference
-- We make a special exception for times at the moment, and just pass
-- them because we can't control the utctime when running IO. Besides,
-- so long as we have two times, we're okay.
-compareXMLBool (Elem myElem) (Elem goodElem)
+compareXML (Elem goodElem) (Elem myElem)
| (QName "created" _ (Just "dcterms")) <- elName myElem
, (QName "created" _ (Just "dcterms")) <- elName goodElem =
- True
-compareXMLBool (Elem myElem) (Elem goodElem)
+ Nothing
+compareXML (Elem goodElem) (Elem myElem)
| (QName "modified" _ (Just "dcterms")) <- elName myElem
, (QName "modified" _ (Just "dcterms")) <- elName goodElem =
- True
-compareXMLBool (Elem myElem) (Elem goodElem) =
- elName myElem == elName goodElem &&
- elAttribs myElem == elAttribs goodElem &&
- and (zipWith compareXMLBool (elContent myElem) (elContent goodElem))
-compareXMLBool (Text myCData) (Text goodCData) =
- cdVerbatim myCData == cdVerbatim goodCData &&
- cdData myCData == cdData goodCData &&
- cdLine myCData == cdLine goodCData
-compareXMLBool (CRef myStr) (CRef goodStr) =
- myStr == goodStr
-compareXMLBool _ _ = False
-
-displayDiff :: Content -> Content -> String
+ Nothing
+compareXML (Elem goodElem) (Elem myElem) =
+ (if elName myElem == elName goodElem
+ then Nothing
+ else Just
+ (ElemNamesDiffer
+ (Comparison {mine = elName myElem, good = elName goodElem}))
+ )
+ <|> (if sort (elAttribs myElem) == sort (elAttribs goodElem)
+ then Nothing
+ else Just
+ (ElemAttributesDiffer
+ (Comparison { mine = sort (elAttribs myElem)
+ , good = sort (elAttribs goodElem)
+ })))
+ <|> asum (zipWith compareXML (elContent myElem) (elContent goodElem))
+compareXML (Text goodCData) (Text myCData) =
+ (if cdVerbatim myCData == cdVerbatim goodCData
+ && cdData myCData == cdData goodCData
+ then Nothing
+ else Just (CDatasDiffer (Comparison { mine = myCData, good = goodCData })))
+compareXML (CRef goodStr) (CRef myStr) =
+ if myStr == goodStr
+ then Nothing
+ else Just (CRefsDiffer (Comparison { mine = myStr, good = goodStr }))
+compareXML g m = Just (OtherContentsDiffer (Comparison {mine = m, good = g}))
+
+data XMLDifference
+ = ElemNamesDiffer (Comparison QName)
+ | ElemAttributesDiffer (Comparison [Attr])
+ | CDatasDiffer (Comparison CData)
+ | CRefsDiffer (Comparison String)
+ | OtherContentsDiffer (Comparison Content)
+ deriving (Show)
+
+data Comparison a = Comparison { good :: a, mine :: a }
+ deriving (Show)
+
+displayDiff :: Element -> Element -> String
displayDiff elemA elemB =
showDiff (1,1)
- (getDiff (lines $ showContent elemA) (lines $ showContent elemB))
+ (getDiff (lines $ ppElement elemA) (lines $ ppElement elemB))
goldenArchive :: FilePath -> IO Archive
goldenArchive fp = toArchive . BL.fromStrict <$> BS.readFile fp
@@ -57,6 +84,7 @@ testArchive writerFn opts fp = do
txt <- T.readFile fp
bs <- runIOorExplode $ do
setTranslations "en-US"
+ setVerbosity ERROR -- otherwise test output is confusingly noisy
readNative def txt >>= writerFn opts
return $ toArchive bs
@@ -106,11 +134,13 @@ compareXMLFile' fp goldenArch testArch = do
let testContent = Elem testXMLDoc
goldenContent = Elem goldenXMLDoc
+ display difference = "Non-matching xml in "
+ ++ fp ++ ":\n"
+ ++ "* " ++ show difference ++ "\n"
+ ++ displayDiff testXMLDoc goldenXMLDoc
- if compareXMLBool goldenContent testContent
- then Right ()
- else Left $
- "Non-matching xml in " ++ fp ++ ":\n" ++ displayDiff testContent goldenContent
+
+ maybe (Right ()) (Left . display) (compareXML goldenContent testContent)
compareXMLFile :: FilePath -> Archive -> Archive -> Maybe String
compareXMLFile fp goldenArch testArch =
diff --git a/test/Tests/Writers/Powerpoint.hs b/test/Tests/Writers/Powerpoint.hs
index 87ebe990c..0e8ef076b 100644
--- a/test/Tests/Writers/Powerpoint.hs
+++ b/test/Tests/Writers/Powerpoint.hs
@@ -1,5 +1,6 @@
module Tests.Writers.Powerpoint (tests) where
+import Control.Arrow ((***))
import Tests.Writers.OOXML (ooxmlTest)
import Text.Pandoc
import Test.Tasty
@@ -12,13 +13,13 @@ import Data.Text (pack)
-- we want to run all our tests with both default formatting and a
-- template.
-modifyPptxName :: FilePath -> FilePath
-modifyPptxName fp =
- addExtension (dropExtension fp ++ "_templated") "pptx"
+modifyPptxName :: FilePath -> String -> FilePath
+modifyPptxName fp suffix =
+ addExtension (takeDirectory fp ++ suffix) "pptx"
pptxTests :: String -> WriterOptions -> FilePath -> FilePath -> (TestTree, TestTree)
pptxTests name opts native pptx =
- let referenceDoc = "pptx/reference_depth.pptx"
+ let referenceDoc = "pptx/reference-depth.pptx"
in
( ooxmlTest
writePowerpoint
@@ -31,7 +32,7 @@ pptxTests name opts native pptx =
name
opts{writerReferenceDoc=Just referenceDoc}
native
- (modifyPptxName pptx)
+ (modifyPptxName pptx "/templated")
)
groupPptxTests :: [(TestTree, TestTree)] -> [TestTree]
@@ -42,91 +43,230 @@ groupPptxTests pairs =
, testGroup "With `--reference-doc` pptx file" refs
]
+testGroup' :: String -> [(TestTree, TestTree)] -> (TestTree, TestTree)
+testGroup' descr = (testGroup descr *** testGroup descr) . unzip
+
tests :: [TestTree]
-tests = groupPptxTests [ pptxTests "Inline formatting"
- def
- "pptx/inline_formatting.native"
- "pptx/inline_formatting.pptx"
- , pptxTests "Slide breaks (default slide-level)"
- def
- "pptx/slide_breaks.native"
- "pptx/slide_breaks.pptx"
- , pptxTests "slide breaks (slide-level set to 1)"
- def{ writerSlideLevel = Just 1 }
- "pptx/slide_breaks.native"
- "pptx/slide_breaks_slide_level_1.pptx"
- , pptxTests "lists"
- def
- "pptx/lists.native"
- "pptx/lists.pptx"
- , pptxTests "start ordered list at specified num"
- def
- "pptx/start_numbering_at.native"
- "pptx/start_numbering_at.pptx"
- , pptxTests "tables"
- def
- "pptx/tables.native"
- "pptx/tables.pptx"
- , pptxTests "table of contents"
- def{ writerTableOfContents = True }
- "pptx/slide_breaks.native"
- "pptx/slide_breaks_toc.pptx"
- , pptxTests "end notes"
- def
- "pptx/endnotes.native"
- "pptx/endnotes.pptx"
- , pptxTests "end notes, with table of contents"
- def { writerTableOfContents = True }
- "pptx/endnotes.native"
- "pptx/endnotes_toc.pptx"
- , pptxTests "images"
- def
- "pptx/images.native"
- "pptx/images.pptx"
- , pptxTests "two-column layout"
- def
- "pptx/two_column.native"
- "pptx/two_column.pptx"
- , pptxTests "speaker notes"
- def
- "pptx/speaker_notes.native"
- "pptx/speaker_notes.pptx"
- , pptxTests "speaker notes after a separating block"
- def
- "pptx/speaker_notes_afterseps.native"
- "pptx/speaker_notes_afterseps.pptx"
- , pptxTests "speaker notes after a separating header"
- def
- "pptx/speaker_notes_afterheader.native"
- "pptx/speaker_notes_afterheader.pptx"
- , pptxTests "speaker notes after metadata"
- def
- "pptx/speaker_notes_after_metadata.native"
- "pptx/speaker_notes_after_metadata.pptx"
- , pptxTests "remove empty slides"
- def
- "pptx/remove_empty_slides.native"
- "pptx/remove_empty_slides.pptx"
- , pptxTests "raw ooxml"
- def
- "pptx/raw_ooxml.native"
- "pptx/raw_ooxml.pptx"
- , pptxTests "metadata, custom properties"
- def
- "pptx/document-properties.native"
- "pptx/document-properties.pptx"
- , pptxTests "metadata, short description"
- def
- "pptx/document-properties-short-desc.native"
- "pptx/document-properties-short-desc.pptx"
- , pptxTests "inline code and code blocks"
- def
- "pptx/code.native"
- "pptx/code.pptx"
- , pptxTests "inline code and code blocks, custom formatting"
- def { writerVariables = Context $ M.fromList
- [(pack "monofont", toVal $ pack "Consolas")] }
- "pptx/code.native"
- "pptx/code-custom.pptx"
- ]
+tests = let
+ regularTests = groupPptxTests
+ [ pptxTests "Inline formatting"
+ def
+ "pptx/inline-formatting/input.native"
+ "pptx/inline-formatting/output.pptx"
+ , pptxTests "Slide breaks (default slide-level)"
+ def
+ "pptx/slide-breaks/input.native"
+ "pptx/slide-breaks/output.pptx"
+ , pptxTests "slide breaks (slide-level set to 1)"
+ def{ writerSlideLevel = Just 1 }
+ "pptx/slide-breaks/input.native"
+ "pptx/slide-breaks-slide-level-1/output.pptx"
+ , pptxTests "lists"
+ def
+ "pptx/lists/input.native"
+ "pptx/lists/output.pptx"
+ , pptxTests "start ordered list at specified num"
+ def
+ "pptx/start-numbering-at/input.native"
+ "pptx/start-numbering-at/output.pptx"
+ , pptxTests "List continuation paragraph indentation"
+ def
+ "pptx/list-level/input.native"
+ "pptx/list-level/output.pptx"
+ , pptxTests "tables"
+ def
+ "pptx/tables/input.native"
+ "pptx/tables/output.pptx"
+ , pptxTests "table of contents"
+ def{ writerTableOfContents = True }
+ "pptx/slide-breaks/input.native"
+ "pptx/slide-breaks-toc/output.pptx"
+ , pptxTests "end notes"
+ def
+ "pptx/endnotes/input.native"
+ "pptx/endnotes/output.pptx"
+ , pptxTests "end notes, with table of contents"
+ def { writerTableOfContents = True }
+ "pptx/endnotes/input.native"
+ "pptx/endnotes-toc/output.pptx"
+ , pptxTests "images"
+ def
+ "pptx/images/input.native"
+ "pptx/images/output.pptx"
+ , pptxTests "two-column layout"
+ def
+ "pptx/two-column/all-text/input.native"
+ "pptx/two-column/all-text/output.pptx"
+ , pptxTests "two-column (not comparison)"
+ def
+ "pptx/two-column/text-and-image/input.native"
+ "pptx/two-column/text-and-image/output.pptx"
+ , pptxTests "speaker notes"
+ def
+ "pptx/speaker-notes/input.native"
+ "pptx/speaker-notes/output.pptx"
+ , pptxTests "speaker notes after a separating block"
+ def
+ "pptx/speaker-notes-afterseps/input.native"
+ "pptx/speaker-notes-afterseps/output.pptx"
+ , pptxTests "speaker notes after a separating header"
+ def
+ "pptx/speaker-notes-afterheader/input.native"
+ "pptx/speaker-notes-afterheader/output.pptx"
+ , pptxTests "speaker notes after metadata"
+ def
+ "pptx/speaker-notes-after-metadata/input.native"
+ "pptx/speaker-notes-after-metadata/output.pptx"
+ , pptxTests "remove empty slides"
+ def
+ "pptx/remove-empty-slides/input.native"
+ "pptx/remove-empty-slides/output.pptx"
+ , pptxTests "raw ooxml"
+ def
+ "pptx/raw-ooxml/input.native"
+ "pptx/raw-ooxml/output.pptx"
+ , pptxTests "metadata, custom properties"
+ def
+ "pptx/document-properties/input.native"
+ "pptx/document-properties/output.pptx"
+ , pptxTests "metadata, short description"
+ def
+ "pptx/document-properties-short-desc/input.native"
+ "pptx/document-properties-short-desc/output.pptx"
+ , pptxTests "inline code and code blocks"
+ def
+ "pptx/code/input.native"
+ "pptx/code/output.pptx"
+ , pptxTests "inline code and code blocks, custom formatting"
+ def { writerVariables = Context $ M.fromList
+ [(pack "monofont", toVal $ pack "Consolas")] }
+ "pptx/code/input.native"
+ "pptx/code-custom/output.pptx"
+ , testGroup' "Using slide level 0, if the first thing on a slide is"
+ [ pptxTests ("a h1 it's used as the slide title")
+ def { writerSlideLevel = Just 0 }
+ "pptx/slide-level-0/h1-with-image/input.native"
+ "pptx/slide-level-0/h1-with-image/output.pptx"
+ , pptxTests ("a h2 it's used as the "
+ <> "slide title")
+ def { writerSlideLevel = Just 0 }
+ "pptx/slide-level-0/h2-with-image/input.native"
+ "pptx/slide-level-0/h2-with-image/output.pptx"
+ , testGroup' "a heading it's used as the slide title"
+ [ pptxTests "(works with a table)"
+ def { writerSlideLevel = Just 0 }
+ "pptx/slide-level-0/h1-with-table/input.native"
+ "pptx/slide-level-0/h1-with-table/output.pptx"
+ , pptxTests ("(content with caption layout)")
+ def { writerSlideLevel = Just 0 }
+ "pptx/slide-level-0/h1-h2-with-table/input.native"
+ "pptx/slide-level-0/h1-h2-with-table/output.pptx"
+ ]
+ ]
+ , testGroup' "comparison layout"
+ [ testGroup' "comparison layout is used..."
+ [ pptxTests "when two columns contain text + non-text"
+ def
+ "pptx/comparison/both-columns/input.native"
+ "pptx/comparison/both-columns/output.pptx"
+ , pptxTests "even when only one col contains text + non-text"
+ def
+ "pptx/comparison/one-column/input.native"
+ "pptx/comparison/one-column/output.pptx"
+ ]
+ , testGroup' "extra ... in one column gets overlaid"
+ [ pptxTests "text"
+ def
+ "pptx/comparison/extra-text/input.native"
+ "pptx/comparison/extra-text/output.pptx"
+ , pptxTests "image"
+ def
+ "pptx/comparison/extra-image/input.native"
+ "pptx/comparison/extra-image/output.pptx"
+ ]
+ , pptxTests "is not used if the non-text comes first"
+ def
+ "pptx/comparison/non-text-first/input.native"
+ "pptx/comparison/non-text-first/output.pptx"
+ ]
+ , testGroup' "Content with Caption layout is ..."
+ [ pptxTests "used for heading, text, image on the same slide"
+ def
+ "pptx/content-with-caption/heading-text-image/input.native"
+ "pptx/content-with-caption/heading-text-image/output.pptx"
+ , pptxTests "used for text and an image on the same slide"
+ def
+ "pptx/content-with-caption/text-image/input.native"
+ "pptx/content-with-caption/text-image/output.pptx"
+ , pptxTests "not used if the image comes first"
+ def
+ "pptx/content-with-caption/image-text/input.native"
+ "pptx/content-with-caption/image-text/output.pptx"
+ ]
+ , testGroup' "The Blank layout is used if a slide contains only..."
+ [ pptxTests "speaker notes"
+ def
+ "pptx/blanks/just-speaker-notes/input.native"
+ "pptx/blanks/just-speaker-notes/output.pptx"
+ , pptxTests "an empty heading with a body of only NBSPs"
+ def
+ "pptx/blanks/nbsp-in-body/input.native"
+ "pptx/blanks/nbsp-in-body/output.pptx"
+ , pptxTests "a heading containing only non-breaking spaces"
+ def
+ "pptx/blanks/nbsp-in-heading/input.native"
+ "pptx/blanks/nbsp-in-heading/output.pptx"
+ ]
+ , pptxTests ("Incremental lists are supported")
+ def { writerIncremental = True }
+ "pptx/incremental-lists/with-flag/input.native"
+ "pptx/incremental-lists/with-flag/output.pptx"
+ , pptxTests ("One-off incremental lists are supported")
+ def
+ "pptx/incremental-lists/without-flag/input.native"
+ "pptx/incremental-lists/without-flag/output.pptx"
+ , pptxTests "Background images"
+ def
+ "pptx/background-image/input.native"
+ "pptx/background-image/output.pptx"
+ ]
+ referenceSpecificTests =
+ [ ooxmlTest
+ writePowerpoint
+ "Basic footer"
+ def { writerReferenceDoc = Just "pptx/footer/basic/reference.pptx"}
+ "pptx/footer/input.native"
+ "pptx/footer/basic/output.pptx"
+ , ooxmlTest
+ writePowerpoint
+ "Footer with fixed date, replaced by meta block date"
+ def { writerReferenceDoc = Just "pptx/footer/fixed-date/reference.pptx"}
+ "pptx/footer/input.native"
+ "pptx/footer/fixed-date/output.pptx"
+ , ooxmlTest
+ writePowerpoint
+ "Footer not shown on title slide"
+ def { writerReferenceDoc = Just "pptx/footer/no-title-slide/reference.pptx"}
+ "pptx/footer/input.native"
+ "pptx/footer/no-title-slide/output.pptx"
+ , ooxmlTest
+ writePowerpoint
+ "Footer with slide number starting from 3"
+ def { writerReferenceDoc = Just "pptx/footer/higher-slide-number/reference.pptx"}
+ "pptx/footer/input.native"
+ "pptx/footer/higher-slide-number/output.pptx"
+ , ooxmlTest
+ writePowerpoint
+ "Layouts can be moved around in reference doc"
+ def {writerReferenceDoc = Just "pptx/reference-moved-layouts.pptx"}
+ "pptx/layouts/input.native"
+ "pptx/layouts/moved.pptx"
+ , ooxmlTest
+ writePowerpoint
+ "Layouts can be missing from the reference doc"
+ def {writerReferenceDoc = Just "pptx/reference-deleted-layouts.pptx"}
+ "pptx/layouts/input.native"
+ "pptx/layouts/deleted.pptx"
+ ]
+ in regularTests <> referenceSpecificTests
diff --git a/test/command/1279.md b/test/command/1279.md
index d3572f245..522e399cf 100644
--- a/test/command/1279.md
+++ b/test/command/1279.md
@@ -1,5 +1,5 @@
```
-pandoc -s -t markdown
+% pandoc -s -t markdown
---
author: 'John Doe[^1]'
date: 2014
diff --git a/test/command/1390.md b/test/command/1390.md
index ffd2cef8d..4fea32290 100644
--- a/test/command/1390.md
+++ b/test/command/1390.md
@@ -3,7 +3,13 @@
\newcommand\foo{+}
Testing: $\mu\foo\eta$.
^D
-[Para [Str "Testing:",Space,Math InlineMath "\\mu+\\eta",Str "."]]
+[ Para
+ [ Str "Testing:"
+ , Space
+ , Math InlineMath "\\mu+\\eta"
+ , Str "."
+ ]
+]
```
<!-- It would be nice to handle this case, but I don't
diff --git a/test/command/1592.md b/test/command/1592.md
index 0f6151063..c3dc933a8 100644
--- a/test/command/1592.md
+++ b/test/command/1592.md
@@ -2,35 +2,35 @@
% pandoc -t native
[hi]{.smallcaps}
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -t native
[hi]{style="font-variant: small-caps;"}
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -t native
<span class="smallcaps">hi</span>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -f html -t native
<p><span class="smallcaps">hi</span></p>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -f html -t native
<p><span style="font-variant:small-caps">hi</span></p>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
@@ -41,7 +41,7 @@
```
```
-pandoc -f native -t markdown
+% pandoc -f native -t markdown
[Para [SmallCaps [Str "hi"]]]
^D
[hi]{.smallcaps}
@@ -51,14 +51,24 @@ pandoc -f native -t markdown
% pandoc -f html -t native
<bdo dir="ltr">foo</bdo>
^D
-[Plain [Span ("",[],[("dir","ltr")]) [Str "foo"]]]
+[ Plain
+ [ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
+]
```
```
% pandoc -f html -t native
<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
^D
-[Plain [Span ("",[],[("dir","rtl")]) [Str "foo",Span ("",[],[("dir","ltr")]) [Str "bar"],Str "baz"]]]
+[ Plain
+ [ Span
+ ( "" , [] , [ ( "dir" , "rtl" ) ] )
+ [ Str "foo"
+ , Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
+ , Str "baz"
+ ]
+ ]
+]
```
```
@@ -66,5 +76,23 @@ pandoc -f native -t markdown
<p><bdo dir="rtl">This text will go right
to left.</bdo></p>
^D
-[Para [Span ("",[],[("dir","rtl")]) [Str "This",Space,Str "text",Space,Str "will",Space,Str "go",Space,Str "right",SoftBreak,Str "to",Space,Str "left."]]]
+[ Para
+ [ Span
+ ( "" , [] , [ ( "dir" , "rtl" ) ] )
+ [ Str "This"
+ , Space
+ , Str "text"
+ , Space
+ , Str "will"
+ , Space
+ , Str "go"
+ , Space
+ , Str "right"
+ , SoftBreak
+ , Str "to"
+ , Space
+ , Str "left."
+ ]
+ ]
+]
```
diff --git a/test/command/1608.md b/test/command/1608.md
index f7ef2b839..77fdaf6d3 100644
--- a/test/command/1608.md
+++ b/test/command/1608.md
@@ -28,14 +28,178 @@ Triangles with sides of length \(a=p^2-q^2\), \(b=2pq\) and \(c=p^2+q^2\) are ri
These are all pretty interesting facts.
\end{remark}
^D
-[Div ("def:tri",["definition"],[])
- [Para [Strong [Str "Definition",Space,Str "1"],Space,Str "(right-angled",Space,Str "triangles).",Space,Space,Str "A",Space,Emph [Str "right-angled",Space,Str "triangle"],Space,Str "is",Space,Str "a",Space,Str "triangle",Space,Str "whose",Space,Str "sides",Space,Str "of",Space,Str "length\160",Math InlineMath "a",Str ",",Space,Math InlineMath "b",Space,Str "and\160",Math InlineMath "c",Str ",",Space,Str "in",Space,Str "some",Space,Str "permutation",Space,Str "of",Space,Str "order,",Space,Str "satisfies",Space,Math InlineMath "a^2+b^2=c^2",Str "."]]
-,Div ("",["lemma"],[])
- [Para [Strong [Str "Lemma",Space,Str "2"],Str ".",Space,Space,Emph [Str "The",Space,Str "triangle",Space,Str "with",Space,Str "sides",Space,Str "of",Space,Str "length\160",Math InlineMath "3",Str ",",Space,Math InlineMath "4",Space,Str "and\160",Math InlineMath "5",Space,Str "is",Space,Str "right-angled."]]]
-,Div ("",["proof"],[])
- [Para [Emph [Str "Proof."],Space,Str "This",Space,Str "lemma",Space,Str "follows",Space,Str "from",Space,Link ("",[],[("reference-type","ref"),("reference","def:tri")]) [Str "Definition\160\&1"] ("#def:tri",""),Space,Str "since",Space,Math InlineMath "3^2+4^2=9+16=25=5^2",Str ".",Str "\160\9723"]]
-,Div ("thm:py",["theorem"],[])
- [Para [Strong [Str "Theorem",Space,Str "3"],Space,Str "(Pythagorean",Space,Str "triplets).",Space,Space,Emph [Str "Triangles",Space,Str "with",Space,Str "sides",Space,Str "of",Space,Str "length",Space,Math InlineMath "a=p^2-q^2",Str ",",Space,Math InlineMath "b=2pq",Space,Str "and",Space,Math InlineMath "c=p^2+q^2",Space,Str "are",Space,Str "right-angled",Space,Str "triangles."]]]
-,Div ("",["remark"],[])
- [Para [Emph [Str "Remark",Space,Str "1"],Str ".",Space,Space,Str "These",Space,Str "are",Space,Str "all",Space,Str "pretty",Space,Str "interesting",Space,Str "facts."]]]
+[ Div
+ ( "def:tri" , [ "definition" ] , [] )
+ [ Para
+ [ Strong [ Str "Definition" , Space , Str "1" ]
+ , Space
+ , Str "(right-angled"
+ , Space
+ , Str "triangles)."
+ , Space
+ , Space
+ , Str "A"
+ , Space
+ , Emph [ Str "right-angled" , Space , Str "triangle" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "triangle"
+ , Space
+ , Str "whose"
+ , Space
+ , Str "sides"
+ , Space
+ , Str "of"
+ , Space
+ , Str "length\160"
+ , Math InlineMath "a"
+ , Str ","
+ , Space
+ , Math InlineMath "b"
+ , Space
+ , Str "and\160"
+ , Math InlineMath "c"
+ , Str ","
+ , Space
+ , Str "in"
+ , Space
+ , Str "some"
+ , Space
+ , Str "permutation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "satisfies"
+ , Space
+ , Math InlineMath "a^2+b^2=c^2"
+ , Str "."
+ ]
+ ]
+, Div
+ ( "" , [ "lemma" ] , [] )
+ [ Para
+ [ Strong [ Str "Lemma" , Space , Str "2" ]
+ , Str "."
+ , Space
+ , Space
+ , Emph
+ [ Str "The"
+ , Space
+ , Str "triangle"
+ , Space
+ , Str "with"
+ , Space
+ , Str "sides"
+ , Space
+ , Str "of"
+ , Space
+ , Str "length\160"
+ , Math InlineMath "3"
+ , Str ","
+ , Space
+ , Math InlineMath "4"
+ , Space
+ , Str "and\160"
+ , Math InlineMath "5"
+ , Space
+ , Str "is"
+ , Space
+ , Str "right-angled."
+ ]
+ ]
+ ]
+, Div
+ ( "" , [ "proof" ] , [] )
+ [ Para
+ [ Emph [ Str "Proof." ]
+ , Space
+ , Str "This"
+ , Space
+ , Str "lemma"
+ , Space
+ , Str "follows"
+ , Space
+ , Str "from"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "def:tri" )
+ ]
+ )
+ [ Str "1" ]
+ ( "#def:tri" , "" )
+ , Space
+ , Str "since"
+ , Space
+ , Math InlineMath "3^2+4^2=9+16=25=5^2"
+ , Str "."
+ , Str "\160\9723"
+ ]
+ ]
+, Div
+ ( "thm:py" , [ "theorem" ] , [] )
+ [ Para
+ [ Strong [ Str "Theorem" , Space , Str "3" ]
+ , Space
+ , Str "(Pythagorean"
+ , Space
+ , Str "triplets)."
+ , Space
+ , Space
+ , Emph
+ [ Str "Triangles"
+ , Space
+ , Str "with"
+ , Space
+ , Str "sides"
+ , Space
+ , Str "of"
+ , Space
+ , Str "length"
+ , Space
+ , Math InlineMath "a=p^2-q^2"
+ , Str ","
+ , Space
+ , Math InlineMath "b=2pq"
+ , Space
+ , Str "and"
+ , Space
+ , Math InlineMath "c=p^2+q^2"
+ , Space
+ , Str "are"
+ , Space
+ , Str "right-angled"
+ , Space
+ , Str "triangles."
+ ]
+ ]
+ ]
+, Div
+ ( "" , [ "remark" ] , [] )
+ [ Para
+ [ Emph [ Str "Remark" , Space , Str "1" ]
+ , Str "."
+ , Space
+ , Space
+ , Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "interesting"
+ , Space
+ , Str "facts."
+ ]
+ ]
+]
```
diff --git a/test/command/168.md b/test/command/168.md
index 43c3b865a..acd42b97d 100644
--- a/test/command/168.md
+++ b/test/command/168.md
@@ -11,13 +11,25 @@ nested div
:::
:::::::::::::::::::::::::::::::
^D
-[Div ("",["warning"],[])
- [Para [Str "This",Space,Str "is",Space,Str "the",Space,Str "warning!"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "list"]]
- ,[Plain [Str "another"]]]
- ,Div ("myid",["class"],[("key","val")])
- [Para [Str "nested",Space,Str "div"]]]]
+[ Div
+ ( "" , [ "warning" ] , [] )
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "warning!"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "list" ] ] , [ Plain [ Str "another" ] ] ]
+ , Div
+ ( "myid" , [ "class" ] , [ ( "key" , "val" ) ] )
+ [ Para [ Str "nested" , Space , Str "div" ] ]
+ ]
+]
```
```
@@ -26,7 +38,14 @@ foo
:::
bar
^D
-[Para [Str "foo",SoftBreak,Str ":::",SoftBreak,Str "bar"]]
+[ Para
+ [ Str "foo"
+ , SoftBreak
+ , Str ":::"
+ , SoftBreak
+ , Str "bar"
+ ]
+]
```
```
@@ -37,7 +56,18 @@ Here is a paragraph.
And another.
:::::
^D
-[Div ("",["Warning"],[])
- [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "paragraph."]
- ,Para [Str "And",Space,Str "another."]]]
+[ Div
+ ( "" , [ "Warning" ] , [] )
+ [ Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para [ Str "And" , Space , Str "another." ]
+ ]
+]
```
diff --git a/test/command/1718.md b/test/command/1718.md
index 7e07bf1e9..c93067869 100644
--- a/test/command/1718.md
+++ b/test/command/1718.md
@@ -7,5 +7,13 @@ Note[^1].
[^2]: the second, unused, note.
^D
[WARNING] Note with key '2' defined at line 5 column 1 but not used.
-[Para [Str "Note",Note [Para [Str "the",Space,Str "first",Space,Str "note."]],Str "."]]
+[ Para
+ [ Str "Note"
+ , Note
+ [ Para
+ [ Str "the" , Space , Str "first" , Space , Str "note." ]
+ ]
+ , Str "."
+ ]
+]
```
diff --git a/test/command/1773.md b/test/command/1773.md
index b93267287..c529ec972 100644
--- a/test/command/1773.md
+++ b/test/command/1773.md
@@ -2,5 +2,7 @@
% pandoc -f latex+raw_tex -t native
\noindent hi
^D
-[Para [RawInline (Format "latex") "\\noindent ",Str "hi"]]
+[ Para
+ [ RawInline (Format "latex") "\\noindent " , Str "hi" ]
+]
```
diff --git a/test/command/1881.md b/test/command/1881.md
index f91c50d68..7a2468c1b 100644
--- a/test/command/1881.md
+++ b/test/command/1881.md
@@ -20,35 +20,92 @@
</tbody>
</table>
^D
-[Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",["header"],[])
- [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",["odd"],[])
- [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [ "header" ] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignRight
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignLeft
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [ "odd" ] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignRight
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignLeft
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
@@ -62,26 +119,49 @@
</tr>
</table>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",["odd"],[])
- [Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [ "odd" ] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignRight
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignLeft
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignRight
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/2103.md b/test/command/2103.md
index 14a522a5e..e5220def6 100644
--- a/test/command/2103.md
+++ b/test/command/2103.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
| A happy pandoc user said "fix this bug please
| or I'll go crazy!"
^D
diff --git a/test/command/2118.md b/test/command/2118.md
index b38f48c80..8be5c4886 100644
--- a/test/command/2118.md
+++ b/test/command/2118.md
@@ -7,5 +7,11 @@
\label{fig:setminus}
\end{figure}
^D
-[Para [Image ("fig:setminus",[],[("width","80%")]) [Str "Set",Space,Str "subtraction"] ("setminus.png","fig:")]]
+[ Para
+ [ Image
+ ( "fig:setminus" , [] , [ ( "width" , "80%" ) ] )
+ [ Str "Set" , Space , Str "subtraction" ]
+ ( "setminus.png" , "fig:" )
+ ]
+]
```
diff --git a/test/command/2549.md b/test/command/2549.md
index 8f4aea852..12b21d0a1 100644
--- a/test/command/2549.md
+++ b/test/command/2549.md
@@ -4,7 +4,9 @@
\section{A section}\label{foo}
}
^D
-[Header 1 ("foo",[],[]) [Str "A",Space,Str "section"]]
+[ Header
+ 1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
+]
```
```
@@ -13,15 +15,24 @@
\section{A section}\label{foo}
}
^D
-[Div ("bar",[],[])
- [Header 1 ("foo",[],[]) [Str "A",Space,Str "section"]]]
+[ Div
+ ( "bar" , [] , [] )
+ [ Header
+ 1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
+ ]
+]
```
```
% pandoc -f latex -t native
Bar \hypertarget{foo}{Foo}
^D
-[Para [Str "Bar",Space,Span ("foo",[],[]) [Str "Foo"]]]
+[ Para
+ [ Str "Bar"
+ , Space
+ , Span ( "foo" , [] , [] ) [ Str "Foo" ]
+ ]
+]
```
```
@@ -32,7 +43,8 @@ bar
\end{verbatim}
}
^D
-[Div ("foo",[],[])
- [CodeBlock ("",[],[]) "bar"]]
+[ Div
+ ( "foo" , [] , [] ) [ CodeBlock ( "" , [] , [] ) "bar" ]
+]
```
diff --git a/test/command/256.md b/test/command/256.md
index 08e483e5c..7e3f34dbd 100644
--- a/test/command/256.md
+++ b/test/command/256.md
@@ -2,11 +2,41 @@
% pandoc --abbreviations=command/abbrevs -t native
Foo. bar baz h.k. and e.g. and Mr. Brown.
^D
-[Para [Str "Foo.\160bar",Space,Str "baz",Space,Str "h.k.\160and",Space,Str "e.g.",Space,Str "and",Space,Str "Mr.",Space,Str "Brown."]]
+[ Para
+ [ Str "Foo.\160bar"
+ , Space
+ , Str "baz"
+ , Space
+ , Str "h.k.\160and"
+ , Space
+ , Str "e.g."
+ , Space
+ , Str "and"
+ , Space
+ , Str "Mr."
+ , Space
+ , Str "Brown."
+ ]
+]
```
```
% pandoc -t native
Foo. bar baz h.k. and e.g. and Mr. Brown.
^D
-[Para [Str "Foo.",Space,Str "bar",Space,Str "baz",Space,Str "h.k.",Space,Str "and",Space,Str "e.g.\160and",Space,Str "Mr.\160Brown."]]
+[ Para
+ [ Str "Foo."
+ , Space
+ , Str "bar"
+ , Space
+ , Str "baz"
+ , Space
+ , Str "h.k."
+ , Space
+ , Str "and"
+ , Space
+ , Str "e.g.\160and"
+ , Space
+ , Str "Mr.\160Brown."
+ ]
+]
```
diff --git a/test/command/262.md b/test/command/262.md
index bda2acb35..61af20ede 100644
--- a/test/command/262.md
+++ b/test/command/262.md
@@ -5,7 +5,8 @@
.. _hello:
.. _goodbye: example.com
^D
-<p><a href="example.com">hello</a> and <a href="example.com">goodbye</a></p>
+<p><a href="example.com">hello</a> and <a
+href="example.com">goodbye</a></p>
```
```
diff --git a/test/command/2649.md b/test/command/2649.md
index 52ae16ce4..4ab059ea0 100644
--- a/test/command/2649.md
+++ b/test/command/2649.md
@@ -90,17 +90,20 @@
<tbody>
<tr class="odd">
<td><p>1</p></td>
-<td><p><a href="Sébastien_Loeb" title="wikilink">Sébastien Loeb</a></p></td>
+<td><p><a href="Sébastien_Loeb" title="wikilink">Sébastien
+Loeb</a></p></td>
<td><p>78</p></td>
</tr>
<tr class="even">
<td><p>2</p></td>
-<td><p><strong><a href="Sébastien_Ogier" title="wikilink">Sébastien Ogier</a></strong></p></td>
+<td><p><strong><a href="Sébastien_Ogier" title="wikilink">Sébastien
+Ogier</a></strong></p></td>
<td><p>38</p></td>
</tr>
<tr class="odd">
<td><p>10</p></td>
-<td><p><a href="Hannu_Mikkola" title="wikilink">Hannu Mikkola</a></p></td>
+<td><p><a href="Hannu_Mikkola" title="wikilink">Hannu
+Mikkola</a></p></td>
<td><p>18</p></td>
</tr>
</tbody>
diff --git a/test/command/3113.md b/test/command/3113.md
index 5ca171d97..7452995b5 100644
--- a/test/command/3113.md
+++ b/test/command/3113.md
@@ -8,6 +8,11 @@ C&=&D,\\
E&=&F
\end{eqnarray}
^D
-[Para [Math DisplayMath "\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\\end{aligned}"]]
+[ Para
+ [ Math
+ DisplayMath
+ "\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\\end{aligned}"
+ ]
+]
```
diff --git a/test/command/3123.md b/test/command/3123.md
index b71241cdf..a97165bc8 100644
--- a/test/command/3123.md
+++ b/test/command/3123.md
@@ -2,12 +2,16 @@
% pandoc -f markdown -t native
<?php echo "1" ; ?>
^D
-[RawBlock (Format "html") "<?php echo \"1\" ; ?>"]
+[ RawBlock (Format "html") "<?php echo \"1\" ; ?>" ]
```
```
% pandoc -f markdown -t native
a<?php echo "1" ; ?>
^D
-[Para [Str "a",RawInline (Format "html") "<?php echo \"1\" ; ?>"]]
+[ Para
+ [ Str "a"
+ , RawInline (Format "html") "<?php echo \"1\" ; ?>"
+ ]
+]
```
diff --git a/test/command/3236.md b/test/command/3236.md
index 1d1a9b2c3..b9a98f160 100644
--- a/test/command/3236.md
+++ b/test/command/3236.md
@@ -1,9 +1,21 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand{\mycolor}{red}
\includegraphics[width=17cm]{\mycolor /header}
Magnificent \mycolor{} header.
^D
-[Para [Image ("",[],[("width","17cm")]) [Str "image"] ("red/header",""),SoftBreak,Str "Magnificent",Space,Str "red",Space,Str "header."]]
+[ Para
+ [ Image
+ ( "" , [] , [ ( "width" , "17cm" ) ] )
+ [ Str "image" ]
+ ( "red/header" , "" )
+ , SoftBreak
+ , Str "Magnificent"
+ , Space
+ , Str "red"
+ , Space
+ , Str "header."
+ ]
+]
```
diff --git a/test/command/3257.md b/test/command/3257.md
index 31d9426ee..ef2419481 100644
--- a/test/command/3257.md
+++ b/test/command/3257.md
@@ -2,12 +2,12 @@
% pandoc -t native
(i<j)
^D
-[Para [Str "(i<j)"]]
+[ Para [ Str "(i<j)" ] ]
```
```
% pandoc -t native
i<j-1, j>k
^D
-[Para [Str "i<j-1,",Space,Str "j>k"]]
+[ Para [ Str "i<j-1," , Space , Str "j>k" ] ]
```
diff --git a/test/command/3324.md b/test/command/3324.md
index 9e9228ed1..45405fee5 100644
--- a/test/command/3324.md
+++ b/test/command/3324.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
Signatures
\
diff --git a/test/command/3348.md b/test/command/3348.md
index 86b1514d1..964136086 100644
--- a/test/command/3348.md
+++ b/test/command/3348.md
@@ -7,24 +7,64 @@
line of text
----- ------------------------------------------------
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidth 8.333333333333333e-2)
- ,(AlignLeft,ColWidth 0.6805555555555556)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "foo"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "bar"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "foo"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "long",SoftBreak,Str "line",Space,Str "of",Space,Str "text"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 8.333333333333333e-2 )
+ , ( AlignLeft , ColWidth 0.6805555555555556 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "foo" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "bar" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "foo" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "long"
+ , SoftBreak
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "text"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/3401.md b/test/command/3401.md
index 99528553a..3b16e84a4 100644
--- a/test/command/3401.md
+++ b/test/command/3401.md
@@ -5,7 +5,7 @@ See #3401 and <http://orgmode.org/manual/Macro-replacement.html>
#+MACRO: HELLO /Hello, $1/
{{{HELLO(World)}}}
^D
-[Para [Emph [Str "Hello,",Space,Str "World"]]]
+[ Para [ Emph [ Str "Hello," , Space , Str "World" ] ] ]
```
Inverted argument order
@@ -15,5 +15,5 @@ Inverted argument order
#+MACRO: A $2,$1
{{{A(1,2)}}}
^D
-[Para [Str "2,1"]]
+[ Para [ Str "2,1" ] ]
```
diff --git a/test/command/3407.md b/test/command/3407.md
index aec253ff5..edc1bcb2b 100644
--- a/test/command/3407.md
+++ b/test/command/3407.md
@@ -9,5 +9,10 @@
% pandoc -f rst -t native
:foo:`text`
^D
-[Para [Code ("",["interpreted-text"],[("role","foo")]) "text"]]
+[ Para
+ [ Code
+ ( "" , [ "interpreted-text" ] , [ ( "role" , "foo" ) ] )
+ "text"
+ ]
+]
```
diff --git a/test/command/3475.md b/test/command/3475.md
index afba4ea3c..41a738f67 100644
--- a/test/command/3475.md
+++ b/test/command/3475.md
@@ -1,7 +1,7 @@
RST implicit internal links to headers:
```
-pandoc -f rst
+% pandoc -f rst
Years
-----
@@ -12,7 +12,7 @@ Years_
```
```
-pandoc -f rst
+% pandoc -f rst
Years_
Years
@@ -23,7 +23,7 @@ Years
```
```
-pandoc -f rst
+% pandoc -f rst
Years and years
---------------
@@ -34,7 +34,7 @@ Years and years
```
```
-pandoc -f rst
+% pandoc -f rst
Years and *years*
-----------------
diff --git a/test/command/3510.md b/test/command/3510.md
index 7993db848..48522f7e1 100644
--- a/test/command/3510.md
+++ b/test/command/3510.md
@@ -10,11 +10,13 @@ Text
More text
^D
-[Para [Str "Text"]
-,Header 1 ("subsection",[],[]) [Str "Subsection"]
-,Para [Str "Included",Space,Str "text"]
-,Plain [Str "Lorem",Space,Str "ipsum."]
-,CodeBlock ("",["haskell"],[]) "putStrLn outString\n"
-,RawBlock (Format "latex") "\\emph{Hello}"
-,Para [Str "More",Space,Str "text"]]
+[ Para [ Str "Text" ]
+, Header 1 ( "subsection" , [] , [] ) [ Str "Subsection" ]
+, Para [ Str "Included" , Space , Str "text" ]
+, Plain [ Str "Lorem" , Space , Str "ipsum." ]
+, CodeBlock
+ ( "" , [ "haskell" ] , [] ) "putStrLn outString\n"
+, RawBlock (Format "latex") "\\emph{Hello}"
+, Para [ Str "More" , Space , Str "text" ]
+]
```
diff --git a/test/command/3511.md b/test/command/3511.md
index b8bcedbb0..0fede7a0e 100644
--- a/test/command/3511.md
+++ b/test/command/3511.md
@@ -10,16 +10,20 @@
not continuation
^D
-[BulletList
- [[Plain [Str "a"]
- ,BulletList
- [[Plain [Str "b"]
- ,BulletList
- [[Plain [Str "c"]]]]]]
- ,[CodeBlock ("",[],[]) "code"]]
-,OrderedList (1000,Decimal,Period)
- [[Plain [Str "one"]]]
-,CodeBlock ("",[],[]) "not continuation"]
+[ BulletList
+ [ [ Plain [ Str "a" ]
+ , BulletList
+ [ [ Plain [ Str "b" ]
+ , BulletList [ [ Plain [ Str "c" ] ] ]
+ ]
+ ]
+ ]
+ , [ CodeBlock ( "" , [] , [] ) "code" ]
+ ]
+, OrderedList
+ ( 1000 , Decimal , Period ) [ [ Plain [ Str "one" ] ] ]
+, CodeBlock ( "" , [] , [] ) "not continuation"
+]
```
```
@@ -34,13 +38,15 @@
continuation
^D
-[BulletList
- [[Plain [Str "a"]]
- ,[Plain [Str "b"]
- ,BulletList
- [[Plain [Str "c"]]]]
- ,[CodeBlock ("",[],[]) "not code"]]
-,OrderedList (1000,Decimal,Period)
- [[Para [Str "one"]
- ,Para [Str "continuation"]]]]
+[ BulletList
+ [ [ Plain [ Str "a" ] ]
+ , [ Plain [ Str "b" ]
+ , BulletList [ [ Plain [ Str "c" ] ] ]
+ ]
+ , [ CodeBlock ( "" , [] , [] ) "not code" ]
+ ]
+, OrderedList
+ ( 1000 , Decimal , Period )
+ [ [ Para [ Str "one" ] , Para [ Str "continuation" ] ] ]
+]
```
diff --git a/test/command/3516.md b/test/command/3516.md
index dc8770bad..615befb3e 100644
--- a/test/command/3516.md
+++ b/test/command/3516.md
@@ -24,26 +24,43 @@ on Windows builds.
| | |
+---+---+
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 5.555555555555555e-2)
- ,(AlignDefault,ColWidth 5.555555555555555e-2)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ , ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
diff --git a/test/command/3518.md b/test/command/3518.md
index ec3322192..a4ba7a3a0 100644
--- a/test/command/3518.md
+++ b/test/command/3518.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t plain
+% pandoc -f latex -t plain
$\alpha^2 \cdot \alpha^{2+3} \equiv \alpha^7$
^D
α² ⋅ α² ⁺ ³ ≡ α⁷
diff --git a/test/command/3523.md b/test/command/3523.md
index cb0089489..c3574943c 100644
--- a/test/command/3523.md
+++ b/test/command/3523.md
@@ -19,8 +19,12 @@
\end{document}
^D
<div class="epigraph">
-<p>Das Recht hat kein Dasein f<span>ü</span>r sich, sein Wesen vielmehr ist das Leben des Menschen selbst, von einer besonderen Seite angesehen.</p>
-<p>Das Recht hat kein Dasein f<span>ü</span>r sich, sein Wesen vielmehr ist das Leben des Menschen selbst, von einer besonderen Seite angesehen.</p>
+<p>Das Recht hat kein Dasein f<span>ü</span>r sich, sein Wesen vielmehr
+ist das Leben des Menschen selbst, von einer besonderen Seite
+angesehen.</p>
+<p>Das Recht hat kein Dasein f<span>ü</span>r sich, sein Wesen vielmehr
+ist das Leben des Menschen selbst, von einer besonderen Seite
+angesehen.</p>
<ul>
<li><p>hey</p></li>
<li><p>hey</p></li>
diff --git a/test/command/3530.md b/test/command/3530.md
index 178b36ff0..168cb7067 100644
--- a/test/command/3530.md
+++ b/test/command/3530.md
@@ -3,10 +3,55 @@
\subfile{command/sub-file-chapter-1}
\subfile{command/sub-file-chapter-2}
^D
-[Header 1 ("chapter-1",[],[]) [Str "Chapter",Space,Str "1"]
-,Para [Str "This",Space,Str "is",Space,Str "Chapter",Space,Str "1,",Space,Str "provided",Space,Str "in",Space,Str "a",Space,Str "sub",Space,Str "file."]
-,Header 1 ("chapter-2",[],[]) [Str "Chapter",Space,Str "2"]
-,Para [Str "This",Space,Str "is",Space,Str "Chapter",Space,Str "2,",Space,Str "provided",Space,Str "in",Space,Str "a",Space,Str "second",Space,Str "sub",Space,Str "file."]]
+[ Header
+ 1
+ ( "chapter-1" , [] , [] )
+ [ Str "Chapter" , Space , Str "1" ]
+, Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "Chapter"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "provided"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "file."
+ ]
+, Header
+ 1
+ ( "chapter-2" , [] , [] )
+ [ Str "Chapter" , Space , Str "2" ]
+, Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "Chapter"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "provided"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "file."
+ ]
+]
```
```
@@ -14,6 +59,9 @@
\subfile{command/sub-file-chapter-1}
\subfile{command/sub-file-chapter-2}
^D
-[RawBlock (Format "latex") "\\subfile{command/sub-file-chapter-1}"
-,RawBlock (Format "latex") "\\subfile{command/sub-file-chapter-2}"]
+[ RawBlock
+ (Format "latex") "\\subfile{command/sub-file-chapter-1}"
+, RawBlock
+ (Format "latex") "\\subfile{command/sub-file-chapter-2}"
+]
```
diff --git a/test/command/3533-rst-csv-tables.md b/test/command/3533-rst-csv-tables.md
index 70339d95d..ed69ca860 100644
--- a/test/command/3533-rst-csv-tables.md
+++ b/test/command/3533-rst-csv-tables.md
@@ -5,37 +5,121 @@
:header: Flavor,Price,Slogan
:file: command/3533-rst-csv-tables.csv
^D
-[Table ("",[],[]) (Caption Nothing
- [Plain [Str "Test"]])
- [(AlignDefault,ColWidth 0.4)
- ,(AlignDefault,ColWidth 0.2)
- ,(AlignDefault,ColWidth 0.4)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Flavor"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Price"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Slogan"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Albatross"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2.99"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "On",Space,Str "a",Space,Str "stick!"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Crunchy",Space,Str "Frog"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1.49"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "If",Space,Str "we",Space,Str "took",Space,Str "the",Space,Str "bones",Space,Str "out,",Space,Str "it",Space,Str "wouldn't",Space,Str "be",SoftBreak,Str "crunchy,",Space,Str "now",Space,Str "would",Space,Str "it?"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [ Plain [ Str "Test" ] ])
+ [ ( AlignDefault , ColWidth 0.4 )
+ , ( AlignDefault , ColWidth 0.2 )
+ , ( AlignDefault , ColWidth 0.4 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Flavor" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Price" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Slogan" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Albatross" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2.99" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "On"
+ , Space
+ , Str "a"
+ , Space
+ , Str "stick!"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Crunchy" , Space , Str "Frog" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.49" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "If"
+ , Space
+ , Str "we"
+ , Space
+ , Str "took"
+ , Space
+ , Str "the"
+ , Space
+ , Str "bones"
+ , Space
+ , Str "out,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "wouldn't"
+ , Space
+ , Str "be"
+ , SoftBreak
+ , Str "crunchy,"
+ , Space
+ , Str "now"
+ , Space
+ , Str "would"
+ , Space
+ , Str "it?"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
@@ -49,37 +133,83 @@
'cat''s' 3 4
'dog''s' 2 3
^D
-[Table ("",[],[]) (Caption Nothing
- [Plain [Str "Test"]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "cat's"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "dog's"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [ Plain [ Str "Test" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "cat's" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "dog's" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
@@ -89,20 +219,35 @@
"1","\""
^D
-[Table ("",[],[]) (Caption Nothing
- [Plain [Str "Test"]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\""]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [ Plain [ Str "Test" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\"" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/3534.md b/test/command/3534.md
index cd0915d88..42dca9207 100644
--- a/test/command/3534.md
+++ b/test/command/3534.md
@@ -2,7 +2,9 @@
% pandoc -f latex -t html
I want to explain the interface of \lstinline[language=Java]{public class MyClass}.
^D
-<p>I want to explain the interface of <code class="sourceCode java"><span class="kw">public</span> <span class="kw">class</span> MyClass</code>.</p>
+<p>I want to explain the interface of <code class="sourceCode
+java"><span class="kw">public</span> <span class="kw">class</span>
+MyClass</code>.</p>
```
@@ -10,7 +12,8 @@ I want to explain the interface of \lstinline[language=Java]{public class MyClas
% pandoc -f latex -t html
I want to explain the interface of \lstinline{public class MyClass}.
^D
-<p>I want to explain the interface of <code>public class MyClass</code>.</p>
+<p>I want to explain the interface of <code>public class
+MyClass</code>.</p>
```
@@ -18,14 +21,34 @@ I want to explain the interface of \lstinline{public class MyClass}.
% pandoc -f latex -t native
I want to explain the interface of \lstinline[language=Java]{public class MyClass}.
^D
-[Para [Str "I",Space,Str "want",Space,Str "to",Space,Str "explain",Space,Str "the",Space,Str "interface",Space,Str "of",Space,Code ("",["java"],[]) "public class MyClass",Str "."]]
+[ Para
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "explain"
+ , Space
+ , Str "the"
+ , Space
+ , Str "interface"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [ "java" ] , [] ) "public class MyClass"
+ , Str "."
+ ]
+]
```
```
% pandoc -f latex -t html
I want to explain the interface of \mintinline{java}{public class MyClass}.
^D
-<p>I want to explain the interface of <code class="sourceCode java"><span class="kw">public</span> <span class="kw">class</span> MyClass</code>.</p>
+<p>I want to explain the interface of <code class="sourceCode
+java"><span class="kw">public</span> <span class="kw">class</span>
+MyClass</code>.</p>
```
@@ -33,7 +56,9 @@ I want to explain the interface of \mintinline{java}{public class MyClass}.
% pandoc -f latex -t html
I want to explain the interface of \mintinline{java}|public class MyClass|.
^D
-<p>I want to explain the interface of <code class="sourceCode java"><span class="kw">public</span> <span class="kw">class</span> MyClass</code>.</p>
+<p>I want to explain the interface of <code class="sourceCode
+java"><span class="kw">public</span> <span class="kw">class</span>
+MyClass</code>.</p>
```
@@ -41,5 +66,23 @@ I want to explain the interface of \mintinline{java}|public class MyClass|.
% pandoc -f latex -t native
I want to explain the interface of \mintinline[linenos]{java}{public class MyClass}.
^D
-[Para [Str "I",Space,Str "want",Space,Str "to",Space,Str "explain",Space,Str "the",Space,Str "interface",Space,Str "of",Space,Code ("",["java"],[]) "public class MyClass",Str "."]]
+[ Para
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "explain"
+ , Space
+ , Str "the"
+ , Space
+ , Str "interface"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [ "java" ] , [] ) "public class MyClass"
+ , Str "."
+ ]
+]
```
diff --git a/test/command/3537.md b/test/command/3537.md
index df4eeba7d..3f4445343 100644
--- a/test/command/3537.md
+++ b/test/command/3537.md
@@ -7,14 +7,20 @@ Generalized raw attributes.
foo bar
```
^D
-[RawBlock (Format "ms") ".MACRO\nfoo bar"]
+[ RawBlock (Format "ms") ".MACRO\nfoo bar" ]
````
````
% pandoc -t native
Hi `there`{=ms}.
^D
-[Para [Str "Hi",Space,RawInline (Format "ms") "there",Str "."]]
+[ Para
+ [ Str "Hi"
+ , Space
+ , RawInline (Format "ms") "there"
+ , Str "."
+ ]
+]
````
````
@@ -24,5 +30,5 @@ Hi `there`{=ms}.
foo bar
~~~
^D
-[RawBlock (Format "ms") ".MACRO\nfoo bar"]
+[ RawBlock (Format "ms") ".MACRO\nfoo bar" ]
````
diff --git a/test/command/3539.md b/test/command/3539.md
index 6ef9ffac7..b2ce5455f 100644
--- a/test/command/3539.md
+++ b/test/command/3539.md
@@ -4,35 +4,205 @@
% pandoc -f latex -t native
Many programming languages provide \glspl{API}. Each \gls{API} should provide a documentation.
^D
-[Para [Str "Many",Space,Str "programming",Space,Str "languages",Space,Str "provide",Space,Span ("",[],[("acronym-label","API"),("acronym-form","plural+short")]) [Str "APIs"],Str ".",Space,Str "Each",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+short")]) [Str "API"],Space,Str "should",Space,Str "provide",Space,Str "a",Space,Str "documentation."]]
+[ Para
+ [ Str "Many"
+ , Space
+ , Str "programming"
+ , Space
+ , Str "languages"
+ , Space
+ , Str "provide"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "plural+short" )
+ ]
+ )
+ [ Str "APIs" ]
+ , Str "."
+ , Space
+ , Str "Each"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+short" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "should"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "a"
+ , Space
+ , Str "documentation."
+ ]
+]
```
```
% pandoc -f latex -t native
\Glsdesc{API} XYZ ist not as performant as \glsdesc{API} ZXY.
^D
-[Para [Span ("",[],[("acronym-label","API"),("acronym-form","singular+long")]) [Str "API"],Space,Str "XYZ",Space,Str "ist",Space,Str "not",Space,Str "as",Space,Str "performant",Space,Str "as",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+long")]) [Str "API"],Space,Str "ZXY."]]
+[ Para
+ [ Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+long" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "XYZ"
+ , Space
+ , Str "ist"
+ , Space
+ , Str "not"
+ , Space
+ , Str "as"
+ , Space
+ , Str "performant"
+ , Space
+ , Str "as"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+long" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "ZXY."
+ ]
+]
```
```
% pandoc -f latex -t native
\Acrlong{API} XYZ ist not as performant as \acrlong{API} ZXY.
^D
-[Para [Span ("",[],[("acronym-label","API"),("acronym-form","singular+long")]) [Str "API"],Space,Str "XYZ",Space,Str "ist",Space,Str "not",Space,Str "as",Space,Str "performant",Space,Str "as",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+long")]) [Str "API"],Space,Str "ZXY."]]
+[ Para
+ [ Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+long" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "XYZ"
+ , Space
+ , Str "ist"
+ , Space
+ , Str "not"
+ , Space
+ , Str "as"
+ , Space
+ , Str "performant"
+ , Space
+ , Str "as"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+long" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "ZXY."
+ ]
+]
```
```
% pandoc -f latex -t native
\Acrfull{API} XYZ ist not as performant as \acrfull{API} ZXY.
^D
-[Para [Span ("",[],[("acronym-label","API"),("acronym-form","singular+full")]) [Str "API"],Space,Str "XYZ",Space,Str "ist",Space,Str "not",Space,Str "as",Space,Str "performant",Space,Str "as",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+full")]) [Str "API"],Space,Str "ZXY."]]
+[ Para
+ [ Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+full" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "XYZ"
+ , Space
+ , Str "ist"
+ , Space
+ , Str "not"
+ , Space
+ , Str "as"
+ , Space
+ , Str "performant"
+ , Space
+ , Str "as"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+full" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "ZXY."
+ ]
+]
```
```
% pandoc -f latex -t native
\Acrshort{API} XYZ ist not as performant as \acrshort{API} ZXY.
^D
-[Para [Span ("",[],[("acronym-label","API"),("acronym-form","singular+abbrv")]) [Str "API"],Space,Str "XYZ",Space,Str "ist",Space,Str "not",Space,Str "as",Space,Str "performant",Space,Str "as",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+abbrv")]) [Str "API"],Space,Str "ZXY."]]
+[ Para
+ [ Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+abbrv" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "XYZ"
+ , Space
+ , Str "ist"
+ , Space
+ , Str "not"
+ , Space
+ , Str "as"
+ , Space
+ , Str "performant"
+ , Space
+ , Str "as"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+abbrv" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "ZXY."
+ ]
+]
```
# Commands of [acronym package](ftp://ftp.mpi-sb.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/acronym/acronym.pdf)
@@ -41,5 +211,43 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
% pandoc -f latex -t native
Many programming languages provide \acp{API}. Each \ac{API} should provide a documentation.
^D
-[Para [Str "Many",Space,Str "programming",Space,Str "languages",Space,Str "provide",Space,Span ("",[],[("acronym-label","API"),("acronym-form","plural+short")]) [Str "APIs"],Str ".",Space,Str "Each",Space,Span ("",[],[("acronym-label","API"),("acronym-form","singular+short")]) [Str "API"],Space,Str "should",Space,Str "provide",Space,Str "a",Space,Str "documentation."]]
+[ Para
+ [ Str "Many"
+ , Space
+ , Str "programming"
+ , Space
+ , Str "languages"
+ , Space
+ , Str "provide"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "plural+short" )
+ ]
+ )
+ [ Str "APIs" ]
+ , Str "."
+ , Space
+ , Str "Each"
+ , Space
+ , Span
+ ( ""
+ , []
+ , [ ( "acronym-label" , "API" )
+ , ( "acronym-form" , "singular+short" )
+ ]
+ )
+ [ Str "API" ]
+ , Space
+ , Str "should"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "a"
+ , Space
+ , Str "documentation."
+ ]
+]
```
diff --git a/test/command/3558.md b/test/command/3558.md
index 956b09e57..c9c782c16 100644
--- a/test/command/3558.md
+++ b/test/command/3558.md
@@ -6,7 +6,8 @@ hello
\endmulti
^D
-[RawBlock (Format "tex") "\\multi"
-,Para [Str "hello"]
-,RawBlock (Format "tex") "\\endmulti"]
+[ RawBlock (Format "tex") "\\multi"
+, Para [ Str "hello" ]
+, RawBlock (Format "tex") "\\endmulti"
+]
```
diff --git a/test/command/3577.md b/test/command/3577.md
index 2f415146d..2caeb7c11 100644
--- a/test/command/3577.md
+++ b/test/command/3577.md
@@ -16,10 +16,12 @@
\end{figure}
^D
<figure>
-<img src="img1.jpg" alt="Caption 1" /><figcaption aria-hidden="true">Caption 1</figcaption>
+<img src="img1.jpg" alt="Caption 1" />
+<figcaption aria-hidden="true">Caption 1</figcaption>
</figure>
<figure>
-<img src="img2.jpg" alt="Caption 2" /><figcaption aria-hidden="true">Caption 2</figcaption>
+<img src="img2.jpg" alt="Caption 2" />
+<figcaption aria-hidden="true">Caption 2</figcaption>
</figure>
```
```
@@ -30,6 +32,7 @@
\end{figure}
^D
<figure>
-<img src="img1.jpg" alt="Caption 3" /><figcaption aria-hidden="true">Caption 3</figcaption>
+<img src="img1.jpg" alt="Caption 3" />
+<figcaption aria-hidden="true">Caption 3</figcaption>
</figure>
```
diff --git a/test/command/3585.md b/test/command/3585.md
index 739ddeea4..3f014db94 100644
--- a/test/command/3585.md
+++ b/test/command/3585.md
@@ -4,13 +4,32 @@
Same but bzip2 it and nice it <tt>zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org "> /storage/c-3po/tank-storage-data-svn.dmp.bz2"</tt>
^D
-[Para [Quoted DoubleQuote [Str "Hello"]]
-,Para [Str "Same",Space,Str "but",Space,Str "bzip2",Space,Str "it",Space,Str "and",Space,Str "nice",Space,Str "it",Space,Code ("",[],[]) "zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org \"> /storage/c-3po/tank-storage-data-svn.dmp.bz2\""]]
+[ Para [ Quoted DoubleQuote [ Str "Hello" ] ]
+, Para
+ [ Str "Same"
+ , Space
+ , Str "but"
+ , Space
+ , Str "bzip2"
+ , Space
+ , Str "it"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nice"
+ , Space
+ , Str "it"
+ , Space
+ , Code
+ ( "" , [] , [] )
+ "zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org \"> /storage/c-3po/tank-storage-data-svn.dmp.bz2\""
+ ]
+]
```
```
% pandoc -f mediawiki -t native
"Hello"
^D
-[Para [Str "\"Hello\""]]
+[ Para [ Str "\"Hello\"" ] ]
```
diff --git a/test/command/3587.md b/test/command/3587.md
index 3016afa5a..0a3c389b9 100644
--- a/test/command/3587.md
+++ b/test/command/3587.md
@@ -2,14 +2,36 @@
% pandoc -f latex -t native
\SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm}
^D
-[Para [Str "1\160m",Space,Str "is",Space,Str "equal",Space,Str "to",Space,Str "1000\160mm"]]
+[ Para
+ [ Str "1\160m"
+ , Space
+ , Str "is"
+ , Space
+ , Str "equal"
+ , Space
+ , Str "to"
+ , Space
+ , Str "1000\160mm"
+ ]
+]
```
```
% pandoc -f latex -t native
\SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro}
^D
-[Para [Str "$\160\&1",Space,Str "is",Space,Str "equal",Space,Str "to",Space,Str "0.938094\160\8364"]]
+[ Para
+ [ Str "$\160\&1"
+ , Space
+ , Str "is"
+ , Space
+ , Str "equal"
+ , Space
+ , Str "to"
+ , Space
+ , Str "0.938094\160\8364"
+ ]
+]
```
@@ -17,35 +39,35 @@
% pandoc -f latex -t native
\SI{30}{\milli\meter}
^D
-[Para [Str "30\160mm"]]
+[ Para [ Str "30\160mm" ] ]
```
```
% pandoc -f latex -t native
\SI{6}{\gram}
^D
-[Para [Str "6\160g"]]
+[ Para [ Str "6\160g" ] ]
```
```
% pandoc -f latex -t native
\SI{25}{\square\meter}
^D
-[Para [Str "25\160m",Superscript [Str "2"]]]
+[ Para [ Str "25\160m" , Superscript [ Str "2" ] ] ]
```
```
% pandoc -f latex -t native
\SI{18.2}{\degreeCelsius}
^D
-[Para [Str "18.2\160\176C"]]
+[ Para [ Str "18.2\160\176C" ] ]
```
```
% pandoc -f latex -t native
\SI{18.2}{\celsius}
^D
-[Para [Str "18.2\160\176C"]]
+[ Para [ Str "18.2\160\176C" ] ]
```
# SIrange tests
@@ -56,19 +78,19 @@
% pandoc -f latex -t native
\SIrange{10}{20}{\gram}
^D
-[Para [Str "10\160g\8211\&20\160g"]]
+[ Para [ Str "10\160g\8211\&20\160g" ] ]
```
```
% pandoc -f latex -t native
\SIrange{35}{9}{\milli\meter}
^D
-[Para [Str "35\160mm\8211\&9\160mm"]]
+[ Para [ Str "35\160mm\8211\&9\160mm" ] ]
```
```
% pandoc -f latex -t native
\SIrange{4}{97367265}{\celsius}
^D
-[Para [Str "4\160\176C\8211\&97367265\160\176C"]]
+[ Para [ Str "4\160\176C\8211\&97367265\160\176C" ] ]
```
## Decimal range with simple units
@@ -77,7 +99,7 @@
% pandoc -f latex -t native
\SIrange{4.5}{97367265.5}{\celsius}
^D
-[Para [Str "4.5\160\176C\8211\&97367265.5\160\176C"]]
+[ Para [ Str "4.5\160\176C\8211\&97367265.5\160\176C" ] ]
```
## Squared, cubed etc. units
@@ -86,21 +108,39 @@
% pandoc -f latex -t native
\SIrange{10}{20}{\square\meter}
^D
-[Para [Str "10\160m",Superscript [Str "2"],Str "\8211\&20\160m",Superscript [Str "2"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "2" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "2" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\SIrange{10}{20}{\cubic\meter}
^D
-[Para [Str "10\160m",Superscript [Str "3"],Str "\8211\&20\160m",Superscript [Str "3"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "3" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "3" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\SIrange{10}{20}{\raisetothe{4}\meter}
^D
-[Para [Str "10\160m",Superscript [Str "4"],Str "\8211\&20\160m",Superscript [Str "4"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "4" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "4" ]
+ ]
+]
```
@@ -108,21 +148,39 @@
% pandoc -f latex -t native
\SIrange{10}{20}{\meter\squared}
^D
-[Para [Str "10\160m",Superscript [Str "2"],Str "\8211\&20\160m",Superscript [Str "2"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "2" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "2" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\SIrange{10}{20}{\meter\cubed}
^D
-[Para [Str "10\160m",Superscript [Str "3"],Str "\8211\&20\160m",Superscript [Str "3"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "3" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "3" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\SIrange{10}{20}{\meter\tothe{4}}
^D
-[Para [Str "10\160m",Superscript [Str "4"],Str "\8211\&20\160m",Superscript [Str "4"]]]
+[ Para
+ [ Str "10\160m"
+ , Superscript [ Str "4" ]
+ , Str "\8211\&20\160m"
+ , Superscript [ Str "4" ]
+ ]
+]
```
@@ -136,12 +194,12 @@
% pandoc -f latex -t native
\SIrange[round-precision=2]{10}{20}{\gram}
^D
-[Para [Str "10\160g\8211\&20\160g"]]
+[ Para [ Str "10\160g\8211\&20\160g" ] ]
```
```
% pandoc -f latex -t native
\SIrange[round-precision=2]{10.0}{20.25}{\gram}
^D
-[Para [Str "10.0\160g\8211\&20.25\160g"]]
+[ Para [ Str "10.0\160g\8211\&20.25\160g" ] ]
```
diff --git a/test/command/3681.md b/test/command/3681.md
index d0805e820..dc6b90860 100644
--- a/test/command/3681.md
+++ b/test/command/3681.md
@@ -4,7 +4,34 @@
Software developers create \cicd pipelines to… Following issue can be resolved by \cicd:
^D
-[Para [Str "Software",Space,Str "developers",Space,Str "create",Space,Str "CI/CD",Space,Str "pipelines",Space,Str "to\8230",Space,Str "Following",Space,Str "issue",Space,Str "can",Space,Str "be",Space,Str "resolved",Space,Str "by",Space,Str "CI/CD:"]]
+[ Para
+ [ Str "Software"
+ , Space
+ , Str "developers"
+ , Space
+ , Str "create"
+ , Space
+ , Str "CI/CD"
+ , Space
+ , Str "pipelines"
+ , Space
+ , Str "to\8230"
+ , Space
+ , Str "Following"
+ , Space
+ , Str "issue"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "resolved"
+ , Space
+ , Str "by"
+ , Space
+ , Str "CI/CD:"
+ ]
+]
```
```
@@ -13,7 +40,22 @@ Software developers create \cicd pipelines to… Following issue can be resolved
\cicd\footnote{\url{https://en.wikipedia.org/wiki/CI/CD}} is awesome.
^D
-[Para [Str "CI/CD",Note [Para [Link ("",[],[]) [Str "https://en.wikipedia.org/wiki/CI/CD"] ("https://en.wikipedia.org/wiki/CI/CD","")]],Space,Str "is",Space,Str "awesome."]]
+[ Para
+ [ Str "CI/CD"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "https://en.wikipedia.org/wiki/CI/CD" ]
+ ( "https://en.wikipedia.org/wiki/CI/CD" , "" )
+ ]
+ ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "awesome."
+ ]
+]
```
```
@@ -23,5 +65,5 @@ Software developers create \cicd pipelines to… Following issue can be resolved
\cicd\pipeline.
^D
-[Para [Str "CI/CD",Space,Str "pipeline."]]
+[ Para [ Str "CI/CD" , Space , Str "pipeline." ] ]
```
diff --git a/test/command/3701.md b/test/command/3701.md
index 01e438639..bd70fae59 100644
--- a/test/command/3701.md
+++ b/test/command/3701.md
@@ -55,6 +55,7 @@
^D
<p><a href="u">a</a></p>
<p><a href="u">a</a></p>
-<p><a href="u2">a</a> <a href="u">A</a> <a href="u" class="foo">a</a></p>
+<p><a href="u2">a</a> <a href="u">A</a> <a href="u"
+class="foo">a</a></p>
<p><a href="u3">a</a></p>
```
diff --git a/test/command/3706.md b/test/command/3706.md
index b6c2c6db1..fcd95dfdd 100644
--- a/test/command/3706.md
+++ b/test/command/3706.md
@@ -1,7 +1,7 @@
Results marker can be hidden in block attributes (#3706)
```
-pandoc -f org -t native
+% pandoc -f org -t native
#+begin_src r :exports results :colnames yes
data.frame(Id = 1:3, Desc = rep("La",3))
#+end_src
@@ -15,40 +15,90 @@ pandoc -f org -t native
| 2 | La |
| 3 | La |
^D
-[Div ("tab",[],[])
- [Table ("",[],[]) (Caption Nothing
- [Plain [Str "Lalelu."]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Id"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Desc"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "La"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "La"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "La"]]]])]
- (TableFoot ("",[],[])
- [])]]
+[ Div
+ ( "tab" , [] , [] )
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [ Plain [ Str "Lalelu." ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Id" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Desc" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "La" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "La" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "La" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+]
```
```
-pandoc -f org -t native
+% pandoc -f org -t native
#+begin_src R :exports none :colnames yes
data.frame(Id = 1:2, Desc = rep("La",2))
#+end_src
diff --git a/test/command/3708.md b/test/command/3708.md
index b4fc0da1b..e456617de 100644
--- a/test/command/3708.md
+++ b/test/command/3708.md
@@ -5,24 +5,49 @@
C & D
\end{tabular}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "A"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "B&1"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "C"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "D"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B&1" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/3733.md b/test/command/3733.md
index b8a326938..0b24d0c1b 100644
--- a/test/command/3733.md
+++ b/test/command/3733.md
@@ -6,8 +6,8 @@
some: code
```
^D
-[BulletList
- [[Plain [Str "Item1"]]
- ,[Plain [Str "Item2"]]]
-,CodeBlock ("",["yaml"],[]) "some: code"]
+[ BulletList
+ [ [ Plain [ Str "Item1" ] ] , [ Plain [ Str "Item2" ] ] ]
+, CodeBlock ( "" , [ "yaml" ] , [] ) "some: code"
+]
````
diff --git a/test/command/3752.md b/test/command/3752.md
index 863e3f2d4..7db581cfe 100644
--- a/test/command/3752.md
+++ b/test/command/3752.md
@@ -32,11 +32,14 @@ A spider: [spider]
^D
<h1 id="chapter-one">Chapter one</h1>
<p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p>
-<p>Another spider: <img src="command/chap2/spider.png" alt="another spider" /></p>
+<p>Another spider: <img src="command/chap2/spider.png" alt="another
+spider" /></p>
<p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p>
<p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p>
-<p>URL left alone: <a href="https://pandoc.org/MANUAL.html">manual</a>.</p>
-<p>Absolute path left alone: <a href="/foo/bar/baz.png">absolute</a>.</p>
+<p>URL left alone: <a
+href="https://pandoc.org/MANUAL.html">manual</a>.</p>
+<p>Absolute path left alone: <a
+href="/foo/bar/baz.png">absolute</a>.</p>
<p>Link to fragment: <a href="#chapter-two">chapter two</a>.</p>
<p>Empty path: <a href="">empty</a>.</p>
<h1 id="chapter-two">Chapter two</h1>
@@ -48,11 +51,14 @@ A spider: [spider]
^D
<h1>Chapter one</h1>
<p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p>
-<p>Another spider: <img src="command/chap2/spider.png" alt="another spider" /></p>
+<p>Another spider: <img src="command/chap2/spider.png" alt="another
+spider" /></p>
<p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p>
<p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p>
-<p>URL left alone: <a href="https://pandoc.org/MANUAL.html">manual</a>.</p>
-<p>Absolute path left alone: <a href="/foo/bar/baz.png">absolute</a>.</p>
+<p>URL left alone: <a
+href="https://pandoc.org/MANUAL.html">manual</a>.</p>
+<p>Absolute path left alone: <a
+href="/foo/bar/baz.png">absolute</a>.</p>
<p>Link to fragment: <a href="#chapter-two">chapter two</a>.</p>
<p>Empty path: <a href="">empty</a>.</p>
<h1>Chapter two</h1>
diff --git a/test/command/3755.md b/test/command/3755.md
index 5e1ffc921..e89eaec35 100644
--- a/test/command/3755.md
+++ b/test/command/3755.md
@@ -5,8 +5,18 @@ title: 'Titel'
date: '22. Juni 2017'
---
^D
-Pandoc (Meta {unMeta = fromList [("date",MetaInlines [Str "22.",Space,Str "Juni",Space,Str "2017"]),("title",MetaInlines [Str "Titel"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date"
+ , MetaInlines
+ [ Str "22." , Space , Str "Juni" , Space , Str "2017" ]
+ )
+ , ( "title" , MetaInlines [ Str "Titel" ] )
+ ]
+ }
+ []
```
```
@@ -17,7 +27,23 @@ date: |
22. Juni 2017
---
^D
-Pandoc (Meta {unMeta = fromList [("date",MetaBlocks [OrderedList (22,Decimal,Period) [[Plain [Str "Juni",Space,Str "2017"]]]]),("title",MetaBlocks [Div ("",[],[]) [Plain [Str "foo"]]])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date"
+ , MetaBlocks
+ [ OrderedList
+ ( 22 , Decimal , Period )
+ [ [ Plain [ Str "Juni" , Space , Str "2017" ] ] ]
+ ]
+ )
+ , ( "title"
+ , MetaBlocks
+ [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/command/3779.md b/test/command/3779.md
index 1097123f0..04111c2a6 100644
--- a/test/command/3779.md
+++ b/test/command/3779.md
@@ -20,9 +20,38 @@
Pandoc is 300\% awesome.
}
^D
-[BulletList
- [[Para [Str "Pandoc",Space,Str "is",Space,Str "100%",Space,Str "awesome."]]]
-,BulletList
- [[Para [Str "Pandoc",Space,Str "is",Space,Str "200%",Space,Str "awesome."]]]
-,Para [Str "Pandoc",Space,Str "is",Space,Str "300%",Space,Str "awesome."]]
+[ BulletList
+ [ [ Para
+ [ Str "Pandoc"
+ , Space
+ , Str "is"
+ , Space
+ , Str "100%"
+ , Space
+ , Str "awesome."
+ ]
+ ]
+ ]
+, BulletList
+ [ [ Para
+ [ Str "Pandoc"
+ , Space
+ , Str "is"
+ , Space
+ , Str "200%"
+ , Space
+ , Str "awesome."
+ ]
+ ]
+ ]
+, Para
+ [ Str "Pandoc"
+ , Space
+ , Str "is"
+ , Space
+ , Str "300%"
+ , Space
+ , Str "awesome."
+ ]
+]
```
diff --git a/test/command/3792.md b/test/command/3792.md
index eff26d517..eb109b9cc 100644
--- a/test/command/3792.md
+++ b/test/command/3792.md
@@ -6,7 +6,7 @@ and properly escaped.
ok
^D
---
-title: \<this> \*that\*
+title: \<this\> \*that\*
---
ok
diff --git a/test/command/3794.md b/test/command/3794.md
index b56e7b504..974b7dbe4 100644
--- a/test/command/3794.md
+++ b/test/command/3794.md
@@ -2,6 +2,5 @@
% pandoc -f html -t native
<div><p>hello</div>
^D
-[Div ("",[],[])
- [Para [Str "hello"]]]
+[ Div ( "" , [] , [] ) [ Para [ Str "hello" ] ] ]
```
diff --git a/test/command/3804.md b/test/command/3804.md
index 520d408df..6637b23c7 100644
--- a/test/command/3804.md
+++ b/test/command/3804.md
@@ -2,5 +2,8 @@
% pandoc -t native
\titleformat{\chapter}[display]{\normalfont\large\bfseries}{第\thechapter{}章}{20pt}{\Huge}
^D
-[RawBlock (Format "tex") "\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}"]
+[ RawBlock
+ (Format "tex")
+ "\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}"
+]
```
diff --git a/test/command/3840.md b/test/command/3840.md
index ceb1d1e51..a0dd314d3 100644
--- a/test/command/3840.md
+++ b/test/command/3840.md
@@ -2,7 +2,8 @@
% pandoc
[@Alhazen1572-qk, V.9]: "competentius est"
^D
-<p><span class="citation" data-cites="Alhazen1572-qk">[@Alhazen1572-qk, V.9]</span>: “competentius est”</p>
+<p><span class="citation" data-cites="Alhazen1572-qk">[@Alhazen1572-qk,
+V.9]</span>: “competentius est”</p>
```
```
diff --git a/test/command/3853.md b/test/command/3853.md
index 19e8e2260..caf21ed54 100644
--- a/test/command/3853.md
+++ b/test/command/3853.md
@@ -20,7 +20,9 @@ more
hello \iftoggle{ebook}{ebook}{noebook}
^D
-[Para [Str "ebook",SoftBreak,Str "more"]
-,Para [Str "not",Space,Str "ebook",SoftBreak,Str "more"]
-,Para [Str "hello",Space,Str "noebook"]]
+[ Para [ Str "ebook" , SoftBreak , Str "more" ]
+, Para
+ [ Str "not" , Space , Str "ebook" , SoftBreak , Str "more" ]
+, Para [ Str "hello" , Space , Str "noebook" ]
+]
```
diff --git a/test/command/3880.md b/test/command/3880.md
index b8edaf08f..ff68c6c8a 100644
--- a/test/command/3880.md
+++ b/test/command/3880.md
@@ -1,6 +1,6 @@
```
-pandoc -f rst -t native
+% pandoc -f rst -t native
.. include:: command/3880.txt
^D
-[Para [Str "hi"]]
+[ Para [ Str "hi" ] ]
```
diff --git a/test/command/3916.md b/test/command/3916.md
index 9ac0834d7..8775ae7f6 100644
--- a/test/command/3916.md
+++ b/test/command/3916.md
@@ -4,8 +4,12 @@
<pre>blabla</pre>
# more
^D
-[OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "text",Space,Str "text"]
- ,CodeBlock ("",[],[]) "blabla"]
- ,[Plain [Str "more"]]]]
+[ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "text" , Space , Str "text" ]
+ , CodeBlock ( "" , [] , [] ) "blabla"
+ ]
+ , [ Plain [ Str "more" ] ]
+ ]
+]
```
diff --git a/test/command/3947.md b/test/command/3947.md
index b1d695fbd..68118a9da 100644
--- a/test/command/3947.md
+++ b/test/command/3947.md
@@ -6,6 +6,8 @@
Another Code block
^D
-[RawBlock (Format "tex") "\\newpage"
-,CodeBlock ("",[],[]) "Code block\n\nAnother Code block"]
+[ RawBlock (Format "tex") "\\newpage"
+, CodeBlock
+ ( "" , [] , [] ) "Code block\n\nAnother Code block"
+]
```
diff --git a/test/command/3958.md b/test/command/3958.md
index 1793dd05c..eccf632c4 100644
--- a/test/command/3958.md
+++ b/test/command/3958.md
@@ -2,19 +2,19 @@
% pandoc -f latex -t native
\texttt{"hi"}
^D
-[Para [Code ("",[],[]) "\"hi\""]]
+[ Para [ Code ( "" , [] , [] ) "\"hi\"" ] ]
```
```
% pandoc -f latex -t native
\texttt{``hi''}
^D
-[Para [Code ("",[],[]) "\8220hi\8221"]]
+[ Para [ Code ( "" , [] , [] ) "\8220hi\8221" ] ]
```
```
% pandoc -f latex -t native
\texttt{`hi'}
^D
-[Para [Code ("",[],[]) "\8216hi\8217"]]
+[ Para [ Code ( "" , [] , [] ) "\8216hi\8217" ] ]
```
diff --git a/test/command/3971.md b/test/command/3971.md
index 533540743..b051caed3 100644
--- a/test/command/3971.md
+++ b/test/command/3971.md
@@ -5,5 +5,5 @@
\code{f}
\end{document}
^D
-[Para [Code ("",[],[]) "f"]]
+[ Para [ Code ( "" , [] , [] ) "f" ] ]
```
diff --git a/test/command/3983.md b/test/command/3983.md
index 5d83941e7..82c1deef0 100644
--- a/test/command/3983.md
+++ b/test/command/3983.md
@@ -1,29 +1,31 @@
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\def\filename@area{foo:bar:baz}
\makeatletter
\graphicspath\expandafter{\expandafter{\filename@area}}%
\makeatother
^D
-[RawBlock (Format "latex") "\\makeatletter"
-,RawBlock (Format "latex") "\\makeatother"]
+[ RawBlock (Format "latex") "\\makeatletter"
+, RawBlock (Format "latex") "\\makeatother"
+]
```
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\makeatletter
\newcommand\urlfootnote@[1]{\footnote{\url@{#1}}}
\DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@}
\makeatother
^D
-[RawBlock (Format "latex") "\\makeatletter"
-,RawBlock (Format "latex") "\\makeatother"]
+[ RawBlock (Format "latex") "\\makeatletter"
+, RawBlock (Format "latex") "\\makeatother"
+]
```
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\def\foo{bar}
\expandafter\bam\foo
^D
-[RawBlock (Format "latex") "\\bambar"]
+[ RawBlock (Format "latex") "\\bambar" ]
```
diff --git a/test/command/3989.md b/test/command/3989.md
index bf078b2e4..647aa355a 100644
--- a/test/command/3989.md
+++ b/test/command/3989.md
@@ -1,7 +1,22 @@
```
-pandoc -f markdown -t native
+% pandoc -f markdown -t native
<span title="1st line of text <br> 2nd line of text">foo</span>
<span title="1st line of text <br> 2nd line of text">foo</span>
^D
-[Para [Span ("",[],[("title","1st line of text <br> 2nd line of text")]) [Str "foo"],SoftBreak,Span ("",[],[("title","1st line of text <br> 2nd line of text")]) [Str "foo"]]]
+[ Para
+ [ Span
+ ( ""
+ , []
+ , [ ( "title" , "1st line of text <br> 2nd line of text" ) ]
+ )
+ [ Str "foo" ]
+ , SoftBreak
+ , Span
+ ( ""
+ , []
+ , [ ( "title" , "1st line of text <br> 2nd line of text" ) ]
+ )
+ [ Str "foo" ]
+ ]
+]
```
diff --git a/test/command/4007.md b/test/command/4007.md
index c6064e0f2..974a88ab9 100644
--- a/test/command/4007.md
+++ b/test/command/4007.md
@@ -1,23 +1,23 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\arrow\to
$a\arrow b$
^D
-[Para [Math InlineMath "a\\to b"]]
+[ Para [ Math InlineMath "a\\to b" ] ]
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\pfeil[1]{\to #1}
$a\pfeil b$
^D
-[Para [Math InlineMath "a\\to b"]]
+[ Para [ Math InlineMath "a\\to b" ] ]
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\fleche{\to}
$a\fleche b$
^D
-[Para [Math InlineMath "a\\to b"]]
+[ Para [ Math InlineMath "a\\to b" ] ]
```
diff --git a/test/command/4012.md b/test/command/4012.md
index 602c23219..26e971d4e 100644
--- a/test/command/4012.md
+++ b/test/command/4012.md
@@ -1,8 +1,9 @@
```
-pandoc -f markdown-implicit_figures
+% pandoc -f markdown-implicit_figures
![image]
[image]: http://example.com/image.jpg {height=35mm}
^D
-<p><img src="http://example.com/image.jpg" style="height:35mm" alt="image" /></p>
+<p><img src="http://example.com/image.jpg" style="height:35mm"
+alt="image" /></p>
```
diff --git a/test/command/4016.md b/test/command/4016.md
index 577ac1b09..8683c0056 100644
--- a/test/command/4016.md
+++ b/test/command/4016.md
@@ -1,5 +1,5 @@
```
-pandoc -t beamer
+% pandoc -t beamer
# Level 2 blocks
<div class="columns">
diff --git a/test/command/4019.md b/test/command/4019.md
index ab13f0233..641905b54 100644
--- a/test/command/4019.md
+++ b/test/command/4019.md
@@ -1,5 +1,5 @@
```
-pandoc --wrap=preserve
+% pandoc --wrap=preserve
This <!-- x > 0 --> works!
This <!-- x > 0 --> fails?
^D
diff --git a/test/command/4054.md b/test/command/4054.md
index 3689773c4..81c6e4012 100644
--- a/test/command/4054.md
+++ b/test/command/4054.md
@@ -2,13 +2,20 @@
% pandoc -t native -s -M title=New
% Old
^D
-Pandoc (Meta {unMeta = fromList [("title",MetaString "New")]})
-[]
+Pandoc
+ Meta
+ { unMeta = fromList [ ( "title" , MetaString "New" ) ] }
+ []
```
```
% pandoc -t native -s -M foo=1 -M foo=2
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaList [MetaString "1",MetaString "2"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "foo" , MetaList [ MetaString "1" , MetaString "2" ] ) ]
+ }
+ []
```
diff --git a/test/command/4056.md b/test/command/4056.md
index 2f5111aeb..c270d25ca 100644
--- a/test/command/4056.md
+++ b/test/command/4056.md
@@ -5,7 +5,10 @@
\end{shaded}
}
^D
-[RawBlock (Format "tex") "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}"]
+[ RawBlock
+ (Format "tex")
+ "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}"
+]
```
```
@@ -14,22 +17,41 @@
Blah & Foo & Bar \\
\end{tabular}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Blah"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Foo"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bar"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Blah" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Foo" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bar" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/4063.md b/test/command/4063.md
index 838472b46..29aeae854 100644
--- a/test/command/4063.md
+++ b/test/command/4063.md
@@ -11,19 +11,34 @@
</tr>
</table>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.3)
- ,(AlignDefault,ColWidth 0.7)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.3 )
+ , ( AlignDefault , ColWidth 0.7 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/4068.md b/test/command/4068.md
index 7b43a7084..83527a6fd 100644
--- a/test/command/4068.md
+++ b/test/command/4068.md
@@ -1,9 +1,33 @@
```
-pandoc -f mediawiki -t native
+% pandoc -f mediawiki -t native
[https://domain.com/script.php?a=1&b=2&c=&d=4 open productname bugs]
[http://domain.com?a=. open productname bugs]
^D
-[Para [Link ("",[],[]) [Str "open",Space,Str "productname",Space,Str "bugs"] ("https://domain.com/script.php?a=1&b=2&c=&d=4","")]
-,Para [Str "[",Link ("",[],[]) [Str "http://domain.com?a="] ("http://domain.com?a=",""),Str ".",Space,Str "open",Space,Str "productname",Space,Str "bugs]"]]
+[ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "open"
+ , Space
+ , Str "productname"
+ , Space
+ , Str "bugs"
+ ]
+ ( "https://domain.com/script.php?a=1&b=2&c=&d=4" , "" )
+ ]
+, Para
+ [ Str "["
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=" ]
+ ( "http://domain.com?a=" , "" )
+ , Str "."
+ , Space
+ , Str "open"
+ , Space
+ , Str "productname"
+ , Space
+ , Str "bugs]"
+ ]
+]
```
diff --git a/test/command/4119.md b/test/command/4119.md
index c4efac30f..fcbf79386 100644
--- a/test/command/4119.md
+++ b/test/command/4119.md
@@ -1,5 +1,5 @@
```
-pandoc -t native
+% pandoc -t native
| col1 | col2 |
| ---- | ---- |
| 1 | 2 |
@@ -8,25 +8,56 @@ pandoc -t native
not a caption!
::::::::::::::::
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col2"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]]])]
- (TableFoot ("",[],[])
- [])
-,Div ("",["notes"],[])
- [Para [Str "not",Space,Str "a",Space,Str "caption!"]]]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col2" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Div
+ ( "" , [ "notes" ] , [] )
+ [ Para
+ [ Str "not" , Space , Str "a" , Space , Str "caption!" ]
+ ]
+]
```
diff --git a/test/command/4134.md b/test/command/4134.md
index b5473d948..195d85129 100644
--- a/test/command/4134.md
+++ b/test/command/4134.md
@@ -3,7 +3,7 @@
Hello.\
world.
^D
-[Para [Str "Hello.\160world."]]
+[ Para [ Str "Hello.\160world." ] ]
```
```
@@ -11,7 +11,7 @@ world.
Hello.\
world.
^D
-[Para [Str "Hello.\160world."]]
+[ Para [ Str "Hello.\160world." ] ]
```
```
@@ -20,6 +20,5 @@ Hello.\
World.
^D
-[Para [Str "Hello.\160"]
-,Para [Str "World."]]
+[ Para [ Str "Hello.\160" ] , Para [ Str "World." ] ]
```
diff --git a/test/command/4159.md b/test/command/4159.md
index d61959950..bea4632c9 100644
--- a/test/command/4159.md
+++ b/test/command/4159.md
@@ -3,6 +3,7 @@
\newcommand{\gen}{a\ Gen\ b}
abc
^D
-[RawBlock (Format "tex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
-,Para [Str "abc"]]
+[ RawBlock (Format "tex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
+, Para [ Str "abc" ]
+]
```
diff --git a/test/command/4162.md b/test/command/4162.md
index d88e1ec4e..85b48dbdf 100644
--- a/test/command/4162.md
+++ b/test/command/4162.md
@@ -3,8 +3,5 @@
<div class="line-block">hi<br /><br>
 there</div>
^D
-[LineBlock
- [[Str "hi"]
- ,[]
- ,[Str "\160there"]]]
+[ LineBlock [ [ Str "hi" ] , [] , [ Str "\160there" ] ] ]
```
diff --git a/test/command/4164.md b/test/command/4164.md
index 68cbd0584..4e7b7e285 100644
--- a/test/command/4164.md
+++ b/test/command/4164.md
@@ -26,6 +26,6 @@ Here is inline html:
Here is inline html:
-\<div> \<balise> bla bla \</div>
+\<div\> \<balise\> bla bla \</div\>
```
diff --git a/test/command/4183.md b/test/command/4183.md
index c18320882..8d6c65a01 100644
--- a/test/command/4183.md
+++ b/test/command/4183.md
@@ -4,7 +4,7 @@
<img src="foo" alt="bar">
</figure>
^D
-[Para [Image ("",[],[]) [] ("foo","fig:")]]
+[ Para [ Image ( "" , [] , [] ) [] ( "foo" , "fig:" ) ] ]
```
```
@@ -18,7 +18,9 @@
</figcaption>
</figure>
^D
-[Para [Image ("",[],[]) [Str "baz"] ("foo","fig:")]]
+[ Para
+ [ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo" , "fig:" ) ]
+]
```
```
@@ -28,5 +30,9 @@
<figcaption><p><em>baz</em></p></figcaption>
</figure>
^D
-[Para [Image ("",[],[]) [Emph [Str "baz"]] ("foo","fig:")]]
+[ Para
+ [ Image
+ ( "" , [] , [] ) [ Emph [ Str "baz" ] ] ( "foo" , "fig:" )
+ ]
+]
```
diff --git a/test/command/4186.md b/test/command/4186.md
index 8c0d04a31..b2a2bd6e9 100644
--- a/test/command/4186.md
+++ b/test/command/4186.md
@@ -4,7 +4,10 @@
This should retain the four leading spaces
#+end_example
^D
-[CodeBlock ("",["example"],[]) " This should retain the four leading spaces\n"]
+[ CodeBlock
+ ( "" , [ "example" ] , [] )
+ " This should retain the four leading spaces\n"
+]
```
```
@@ -54,7 +57,8 @@ Outside all lists.
</ul>
<pre id="carrie" class="example"><code>This belongs to the outer list element, and is aligned accordingly, since the NAME attribute is not indented deeply enough. It is not enough for the BEGIN alone to be aligned deeply if the block is meant to have a NAME.
</code></pre>
-<p>Still in the shallower list element since the preceding example block forced the deeper list element to terminate.</p></li>
+<p>Still in the shallower list element since the preceding example block
+forced the deeper list element to terminate.</p></li>
</ul>
<p>Outside all lists.</p>
```
diff --git a/test/command/4193.md b/test/command/4193.md
index 44c7d70cc..67ca5a4f7 100644
--- a/test/command/4193.md
+++ b/test/command/4193.md
@@ -4,7 +4,7 @@
a
- b
^D
-[BulletList
- [[Plain [Str "a"]]
- ,[Plain [Str "b"]]]]
+[ BulletList
+ [ [ Plain [ Str "a" ] ] , [ Plain [ Str "b" ] ] ]
+]
```
diff --git a/test/command/4199.md b/test/command/4199.md
index 49d2bdbcb..36385bc2a 100644
--- a/test/command/4199.md
+++ b/test/command/4199.md
@@ -2,5 +2,8 @@
% pandoc -f latex -t native
\foreignlanguage{ngerman}{foo}
^D
-[Para [Span ("",[],[("lang","de-DE")]) [Str "foo"]]]
+[ Para
+ [ Span ( "" , [] , [ ( "lang" , "de-DE" ) ] ) [ Str "foo" ]
+ ]
+]
```
diff --git a/test/command/4235.md b/test/command/4235.md
index 8bbf43ff9..5b534b6d7 100644
--- a/test/command/4235.md
+++ b/test/command/4235.md
@@ -2,11 +2,15 @@
% pandoc --id-prefix=foo
This.^[Has a footnote.]
^D
-<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1" role="doc-noteref"><sup>1</sup></a></p>
-<section class="footnotes" role="doc-endnotes">
+<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"
+role="doc-noteref"><sup>1</sup></a></p>
+<section class="footnotes footnotes-end-of-document"
+role="doc-endnotes">
<hr />
<ol>
-<li id="foofn1" role="doc-endnote"><p>Has a footnote.<a href="#foofnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="foofn1" role="doc-endnote"><p>Has a footnote.<a
+href="#foofnref1" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
```
diff --git a/test/command/4240.md b/test/command/4240.md
index 39a7d2adf..49585438a 100644
--- a/test/command/4240.md
+++ b/test/command/4240.md
@@ -25,9 +25,20 @@ header3
header4
~~~~~~~
^D
-Pandoc (Meta {unMeta = fromList [("subtitle",MetaInlines [Str "Subtitle"]),("title",MetaInlines [Str "Title"])]})
-[Header 1 ("header1",[],[]) [Str "header1"]
-,Header 2 ("header2",[],[]) [Str "header2"]
-,Header 3 ("id",[],[]) [Str "header3"]
-,Header 3 ("id3",[],[]) [Str "header4",Span ("id2",[],[]) []]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "subtitle" , MetaInlines [ Str "Subtitle" ] )
+ , ( "title" , MetaInlines [ Str "Title" ] )
+ ]
+ }
+ [ Header 1 ( "header1" , [] , [] ) [ Str "header1" ]
+ , Header 2 ( "header2" , [] , [] ) [ Str "header2" ]
+ , Header 3 ( "id" , [] , [] ) [ Str "header3" ]
+ , Header
+ 3
+ ( "id3" , [] , [] )
+ [ Str "header4" , Span ( "id2" , [] , [] ) [] ]
+ ]
```
diff --git a/test/command/4253.md b/test/command/4253.md
index 01f5eea86..2c994a9fc 100644
--- a/test/command/4253.md
+++ b/test/command/4253.md
@@ -4,5 +4,5 @@
\noop{\newcommand{\foo}[1]{#1}}
\foo{hi}
^D
-[Para [Str "hi"]]
+[ Para [ Str "hi" ] ]
```
diff --git a/test/command/4280.md b/test/command/4280.md
index 6a89b5e63..343a2ab07 100644
--- a/test/command/4280.md
+++ b/test/command/4280.md
@@ -3,5 +3,5 @@
Driver
------
^D
-[Header 1 ("driver",[],[]) [Str "Driver"]]
+[ Header 1 ( "driver" , [] , [] ) [ Str "Driver" ] ]
```
diff --git a/test/command/4281.md b/test/command/4281.md
index 9806e8178..53943e503 100644
--- a/test/command/4281.md
+++ b/test/command/4281.md
@@ -9,10 +9,13 @@
:::
::::
^D
-[Div ("",["a"],[])
- [BulletList
- [[Div ("",["b"],[])
- [Para [Str "text"]]
- ,Div ("",["c"],[])
- [Para [Str "text"]]]]]]
+[ Div
+ ( "" , [ "a" ] , [] )
+ [ BulletList
+ [ [ Div ( "" , [ "b" ] , [] ) [ Para [ Str "text" ] ]
+ , Div ( "" , [ "c" ] , [] ) [ Para [ Str "text" ] ]
+ ]
+ ]
+ ]
+]
```
diff --git a/test/command/4284.md b/test/command/4284.md
index eddd1b03a..0308f521f 100644
--- a/test/command/4284.md
+++ b/test/command/4284.md
@@ -8,7 +8,34 @@
** Children of headers with excluded tags should not appear :xylophone:
* This should not appear :%:
^D
-[Header 1 ("noexport-should-appear-if-not-specified-in-excludetags",[],[]) [Str "NOEXPORT",Space,Str "should",Space,Str "appear",Space,Str "if",Space,Str "not",Space,Str "specified",Space,Str "in",Space,Str "EXCLUDE",Subscript [Str "TAGS"],Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
+[ Header
+ 1
+ ( "noexport-should-appear-if-not-specified-in-excludetags"
+ , []
+ , []
+ )
+ [ Str "NOEXPORT"
+ , Space
+ , Str "should"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "if"
+ , Space
+ , Str "not"
+ , Space
+ , Str "specified"
+ , Space
+ , Str "in"
+ , Space
+ , Str "EXCLUDE"
+ , Subscript [ Str "TAGS" ]
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
+ [ SmallCaps [ Str "noexport" ] ]
+ ]
+]
```
```
@@ -17,7 +44,20 @@
* This should not appear :elephant:
* This should appear :fawn:
^D
-[Header 1 ("this-should-appear",[],[]) [Str "This",Space,Str "should",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","fawn")]) [SmallCaps [Str "fawn"]]]]
+[ Header
+ 1
+ ( "this-should-appear" , [] , [] )
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "appear"
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "fawn" ) ] )
+ [ SmallCaps [ Str "fawn" ] ]
+ ]
+]
```
```
@@ -28,7 +68,20 @@
* This should not appear :hippo:
* This should appear :noexport:
^D
-[Header 1 ("this-should-appear",[],[]) [Str "This",Space,Str "should",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
+[ Header
+ 1
+ ( "this-should-appear" , [] , [] )
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "appear"
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
+ [ SmallCaps [ Str "noexport" ] ]
+ ]
+]
```
```
@@ -36,5 +89,32 @@
#+EXCLUDE_TAGS:
* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
^D
-[Header 1 ("noexport-should-appear-if-not-specified-in-excludetags",[],[]) [Str "NOEXPORT",Space,Str "should",Space,Str "appear",Space,Str "if",Space,Str "not",Space,Str "specified",Space,Str "in",Space,Str "EXCLUDE",Subscript [Str "TAGS"],Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
+[ Header
+ 1
+ ( "noexport-should-appear-if-not-specified-in-excludetags"
+ , []
+ , []
+ )
+ [ Str "NOEXPORT"
+ , Space
+ , Str "should"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "if"
+ , Space
+ , Str "not"
+ , Space
+ , Str "specified"
+ , Space
+ , Str "in"
+ , Space
+ , Str "EXCLUDE"
+ , Subscript [ Str "TAGS" ]
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
+ [ SmallCaps [ Str "noexport" ] ]
+ ]
+]
```
diff --git a/test/command/4306.md b/test/command/4306.md
index f1267eb9b..dcb90e312 100644
--- a/test/command/4306.md
+++ b/test/command/4306.md
@@ -1,10 +1,22 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\documentclass{article}
\usepackage{hyperref}
\begin{document}
The file id is \nolinkurl{ESP_123_5235}.
\end{document}
^D
-[Para [Str "The",Space,Str "file",Space,Str "id",Space,Str "is",Space,Code ("",[],[]) "ESP_123_5235",Str "."]]
+[ Para
+ [ Str "The"
+ , Space
+ , Str "file"
+ , Space
+ , Str "id"
+ , Space
+ , Str "is"
+ , Space
+ , Code ( "" , [] , [] ) "ESP_123_5235"
+ , Str "."
+ ]
+]
```
diff --git a/test/command/4374.md b/test/command/4374.md
index 296c116a9..4a0990fff 100644
--- a/test/command/4374.md
+++ b/test/command/4374.md
@@ -3,5 +3,18 @@
\cite{a%
}
^D
-[Para [Cite [Citation {citationId = "a", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite{a%\n}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "a"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline (Format "latex") "\\cite{a%\n}" ]
+ ]
+]
```
diff --git a/test/command/4382.md b/test/command/4382.md
index 4a840489f..847f4732e 100644
--- a/test/command/4382.md
+++ b/test/command/4382.md
@@ -4,7 +4,5 @@
=====
^D
-[BulletList
- [[]]
-,HorizontalRule]
+[ BulletList [ [] ] , HorizontalRule ]
```
diff --git a/test/command/4424.md b/test/command/4424.md
index b0b95510b..a1b38544b 100644
--- a/test/command/4424.md
+++ b/test/command/4424.md
@@ -6,5 +6,5 @@
Test
\end{document}
^D
-[Para [Str "Test"]]
+[ Para [ Str "Test" ] ]
```
diff --git a/test/command/4454.md b/test/command/4454.md
index db0b0a406..aeb62aabb 100644
--- a/test/command/4454.md
+++ b/test/command/4454.md
@@ -3,7 +3,7 @@
• a
• b
^D
-[BulletList
- [[Plain [Str "a"]]
- ,[Plain [Str "b"]]]]
+[ BulletList
+ [ [ Plain [ Str "a" ] ] , [ Plain [ Str "b" ] ] ]
+]
```
diff --git a/test/command/4499.md b/test/command/4499.md
index 073f76c0e..5e86d6ee4 100644
--- a/test/command/4499.md
+++ b/test/command/4499.md
@@ -9,7 +9,7 @@
% pandoc -f latex+raw_tex -t native
\mbox{abc def}
^D
-[Para [RawInline (Format "latex") "\\mbox{abc def}"]]
+[ Para [ RawInline (Format "latex") "\\mbox{abc def}" ] ]
```
```
@@ -53,7 +53,7 @@ mno} pqr
% pandoc -f latex+raw_tex -t native
\hbox{abc def}
^D
-[Para [RawInline (Format "latex") "\\hbox{abc def}"]]
+[ Para [ RawInline (Format "latex") "\\hbox{abc def}" ] ]
```
```
diff --git a/test/command/4513.md b/test/command/4513.md
index 88b0b672a..1f36d1958 100644
--- a/test/command/4513.md
+++ b/test/command/4513.md
@@ -2,19 +2,31 @@
% pandoc -f textile -t native
|_. heading 1 |_. heading 2|
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "heading",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "heading",Space,Str "2"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "heading" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "heading" , Space , Str "2" ] ]
+ ]
+ ])
+ [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/4528.md b/test/command/4528.md
index a34af33c5..80be1df2c 100644
--- a/test/command/4528.md
+++ b/test/command/4528.md
@@ -15,7 +15,6 @@ This has \textsc{small caps} in it.
^D
This has <span class="smallcaps">small caps</span> in it.
```
-```
```
% pandoc --wrap=none -f latex -t markdown_strict+raw_html
@@ -31,6 +30,7 @@ This has <span class="smallcaps">small caps</span> in it.
This has <s>strikeout</s> in it.
^D
This has strikeout in it.
+```
```
% pandoc --wrap=none -f html -t commonmark+raw_html-strikeout
diff --git a/test/command/4553.md b/test/command/4553.md
index e5122d4d9..0104a08a8 100644
--- a/test/command/4553.md
+++ b/test/command/4553.md
@@ -1,15 +1,21 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
foo \include{command/bar}
^D
-[Para [Str "foo"]
-,Para [Emph [Str "hi",Space,Str "there"]]]
+[ Para [ Str "foo" ]
+, Para [ Emph [ Str "hi" , Space , Str "there" ] ]
+]
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
foo \input{command/bar}
^D
-[Para [Str "foo",Space,Emph [Str "hi",Space,Str "there"]]]
+[ Para
+ [ Str "foo"
+ , Space
+ , Emph [ Str "hi" , Space , Str "there" ]
+ ]
+]
```
diff --git a/test/command/4576.md b/test/command/4576.md
index 1c82b96eb..85322d463 100644
--- a/test/command/4576.md
+++ b/test/command/4576.md
@@ -2,5 +2,5 @@
% pandoc -f latex -t native
$\rho_\text{D$_2$O}=866$
^D
-[Para [Math InlineMath "\\rho_\\text{D$_2$O}=866"]]
+[ Para [ Math InlineMath "\\rho_\\text{D$_2$O}=866" ] ]
```
diff --git a/test/command/4579.md b/test/command/4579.md
index 8858f2351..353a4a514 100644
--- a/test/command/4579.md
+++ b/test/command/4579.md
@@ -8,23 +8,51 @@
* - spam
- ham
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Foo"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bar"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "spam"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "ham"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Foo" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bar" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "spam" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "ham" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/4624.md b/test/command/4624.md
index f9aa45596..abbdf61f4 100644
--- a/test/command/4624.md
+++ b/test/command/4624.md
@@ -22,9 +22,12 @@ code4
\begin{verbatim}
code5\end{verbatim}
^D
-[CodeBlock ("",[],[("key1","value1")]) "code1\n"
-,CodeBlock ("",[],[("key2","value2")]) "code2\n "
-,CodeBlock ("",[],[]) "code3"
-,CodeBlock ("",[],[]) "code4"
-,CodeBlock ("",[],[]) "code5"]
+[ CodeBlock
+ ( "" , [] , [ ( "key1" , "value1" ) ] ) "code1\n"
+, CodeBlock
+ ( "" , [] , [ ( "key2" , "value2" ) ] ) "code2\n "
+, CodeBlock ( "" , [] , [] ) "code3"
+, CodeBlock ( "" , [] , [] ) "code4"
+, CodeBlock ( "" , [] , [] ) "code5"
+]
```
diff --git a/test/command/4635.md b/test/command/4635.md
index ad9af9c67..7acb08539 100644
--- a/test/command/4635.md
+++ b/test/command/4635.md
@@ -3,7 +3,7 @@
(cf.
foo)
^D
-[Para [Str "(cf.",SoftBreak,Str "foo)"]]
+[ Para [ Str "(cf." , SoftBreak , Str "foo)" ] ]
```
```
@@ -11,7 +11,9 @@ foo)
a (cf.
foo)
^D
-[Para [Str "a",Space,Str "(cf.",SoftBreak,Str "foo)"]]
+[ Para
+ [ Str "a" , Space , Str "(cf." , SoftBreak , Str "foo)" ]
+]
```
```
@@ -19,7 +21,7 @@ foo)
cf.
foo
^D
-[Para [Str "cf.",SoftBreak,Str "foo"]]
+[ Para [ Str "cf." , SoftBreak , Str "foo" ] ]
```
```
@@ -27,5 +29,7 @@ foo
a cf.
foo
^D
-[Para [Str "a",Space,Str "cf.",SoftBreak,Str "foo"]]
+[ Para
+ [ Str "a" , Space , Str "cf." , SoftBreak , Str "foo" ]
+]
```
diff --git a/test/command/4639.md b/test/command/4639.md
index c35df1749..31ac3a5d9 100644
--- a/test/command/4639.md
+++ b/test/command/4639.md
@@ -5,6 +5,6 @@
\end{equation}
^D
<p><span class="math display">\[\begin{equation}
- E=mc^2
+E=mc^2
\end{equation}\]</span></p>
```
diff --git a/test/command/4667.md b/test/command/4667.md
index 1fff3708d..a4ea0a5f4 100644
--- a/test/command/4667.md
+++ b/test/command/4667.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
---
header-includes:
- \newcommand{\blandscape}{\begin{landscape}}
diff --git a/test/command/4669.md b/test/command/4669.md
index ade2ea0d8..41f6ae327 100644
--- a/test/command/4669.md
+++ b/test/command/4669.md
@@ -6,8 +6,10 @@
while (n > 0) {
\end{verbatim}
^D
-[Para [Span ("",[],[]) [Code ("",[],[]) "<-"]]
-,CodeBlock ("",[],[]) " while (n > 0) {"]
+[ Para
+ [ Span ( "" , [] , [] ) [ Code ( "" , [] , [] ) "<-" ] ]
+, CodeBlock ( "" , [] , [] ) " while (n > 0) {"
+]
```
```
@@ -20,10 +22,12 @@
\item<beamer:2> five
\end{itemize}
^D
-[BulletList
- [[Para [Str "one"]]
- ,[Para [Str "two"]]
- ,[Para [Str "three"]]
- ,[Para [Str "four"]]
- ,[Para [Str "five"]]]]
+[ BulletList
+ [ [ Para [ Str "one" ] ]
+ , [ Para [ Str "two" ] ]
+ , [ Para [ Str "three" ] ]
+ , [ Para [ Str "four" ] ]
+ , [ Para [ Str "five" ] ]
+ ]
+]
```
diff --git a/test/command/4677.md b/test/command/4677.md
index 2694624b9..64c436005 100644
--- a/test/command/4677.md
+++ b/test/command/4677.md
@@ -3,6 +3,7 @@
![Caption](img.png){#img:1}
^D
<figure>
-<img src="img.png" id="img:1" alt="Caption" /><figcaption aria-hidden="true">Caption</figcaption>
+<img src="img.png" id="img:1" alt="Caption" />
+<figcaption aria-hidden="true">Caption</figcaption>
</figure>
```
diff --git a/test/command/4715.md b/test/command/4715.md
index 50873c2b5..f6bf8736d 100644
--- a/test/command/4715.md
+++ b/test/command/4715.md
@@ -11,6 +11,21 @@
acquisizione-software.rst
riuso-software.rst
^D
-[Div ("tree1",["toctree","foo","bar"],[("caption","Indice dei contenuti"),("numbered",""),("maxdepth","3")])
- [Para [Str "premessa.rst",SoftBreak,Str "acquisizione-software.rst",SoftBreak,Str "riuso-software.rst"]]]
+[ Div
+ ( "tree1"
+ , [ "toctree" , "foo" , "bar" ]
+ , [ ( "caption" , "Indice dei contenuti" )
+ , ( "numbered" , "" )
+ , ( "maxdepth" , "3" )
+ ]
+ )
+ [ Para
+ [ Str "premessa.rst"
+ , SoftBreak
+ , Str "acquisizione-software.rst"
+ , SoftBreak
+ , Str "riuso-software.rst"
+ ]
+ ]
+]
```
diff --git a/test/command/4722.md b/test/command/4722.md
index 6c8c14716..2b2ceb640 100644
--- a/test/command/4722.md
+++ b/test/command/4722.md
@@ -6,14 +6,18 @@
***Level 3
*Level 1
^D
-[BulletList
- [[Plain [Str "Level",Space,Str "1"]]
- ,[Plain [Str "Level",Space,Str "1"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "2"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]]]]]]
- ,[Plain [Str "Level",Space,Str "1"]]]]
+[ BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ] ]
+ , [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "1" ] ]
+ ]
+]
```
```
% pandoc -f tikiwiki -t native
@@ -23,12 +27,20 @@
###Level 3
#Level 1
^D
-[OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Level",Space,Str "1"]]
- ,[Plain [Str "Level",Space,Str "1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Level",Space,Str "2"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Level",Space,Str "3"]]]]]]
- ,[Plain [Str "Level",Space,Str "1"]]]]
+[ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Level" , Space , Str "1" ] ]
+ , [ Plain [ Str "Level" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "1" ] ]
+ ]
+]
```
diff --git a/test/command/4742.md b/test/command/4742.md
index 7be9a6077..a91dffb33 100644
--- a/test/command/4742.md
+++ b/test/command/4742.md
@@ -5,7 +5,18 @@ extension properly.
% pandoc -f commonmark+gfm_auto_identifiers+ascii_identifiers -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii--raksmorgas",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii--raksmorgas" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```
Note that the emoji here is actually a composite character,
@@ -16,7 +27,18 @@ so it survives...
% pandoc -f commonmark+gfm_auto_identifiers-ascii_identifiers -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii-\65039-r\228ksm\246rg\229s",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```
`gfm` should have `ascii_identifiers` disabled by default.
@@ -25,5 +47,16 @@ so it survives...
% pandoc -f gfm -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii-\65039-r\228ksm\246rg\229s",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```
diff --git a/test/command/4743.md b/test/command/4743.md
index 49b4b6d59..a75ec1078 100644
--- a/test/command/4743.md
+++ b/test/command/4743.md
@@ -4,14 +4,34 @@ Test that emojis are wrapped in Span
% pandoc -f commonmark+emoji -t native
My:thumbsup:emoji:heart:
^D
-[Para [Str "My",Span ("",["emoji"],[("data-emoji","thumbsup")]) [Str "\128077"],Str "emoji",Span ("",["emoji"],[("data-emoji","heart")]) [Str "\10084\65039"]]]
+[ Para
+ [ Str "My"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] )
+ [ Str "\128077" ]
+ , Str "emoji"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] )
+ [ Str "\10084\65039" ]
+ ]
+]
```
```
% pandoc -f markdown+emoji -t native
My:thumbsup:emoji:heart:
^D
-[Para [Str "My",Span ("",["emoji"],[("data-emoji","thumbsup")]) [Str "\128077"],Str "emoji",Span ("",["emoji"],[("data-emoji","heart")]) [Str "\10084\65039"]]]
+[ Para
+ [ Str "My"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] )
+ [ Str "\128077" ]
+ , Str "emoji"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] )
+ [ Str "\10084\65039" ]
+ ]
+]
```
```
@@ -21,5 +41,7 @@ My:thumbsup:emoji:heart:
My:thumbsup:emoji:heart:x :hearts: xyz
^D
<h1><span class="emoji" data-emoji="zero">0️⃣</span> header</h1>
-<p>My<span class="emoji" data-emoji="thumbsup">👍</span>emoji<span class="emoji" data-emoji="heart">❤️</span>x <span class="emoji" data-emoji="hearts">♥️</span> xyz</p>
+<p>My<span class="emoji" data-emoji="thumbsup">👍</span>emoji<span
+class="emoji" data-emoji="heart">❤️</span>x <span class="emoji"
+data-emoji="hearts">♥️</span> xyz</p>
```
diff --git a/test/command/4781.md b/test/command/4781.md
index 8a75e09a0..e240facf3 100644
--- a/test/command/4781.md
+++ b/test/command/4781.md
@@ -6,9 +6,19 @@ Markdown parsed *here*
*But not here*
^D
-[Para [Str "Markdown",Space,Str "parsed",Space,Emph [Str "here"]]
-,RawBlock (Format "tex") "\\include{command/bar}"
-,Para [Emph [Str "But",Space,Str "not",Space,Str "here"]]]
+[ Para
+ [ Str "Markdown"
+ , Space
+ , Str "parsed"
+ , Space
+ , Emph [ Str "here" ]
+ ]
+, RawBlock (Format "tex") "\\include{command/bar}"
+, Para
+ [ Emph
+ [ Str "But" , Space , Str "not" , Space , Str "here" ]
+ ]
+]
```
```
@@ -17,6 +27,14 @@ Markdown parsed *here*
*But not here*
^D
-[Para [Emph [Str "here"],Space,RawInline (Format "tex") "\\input{command/bar}"]
-,Para [Emph [Str "But",Space,Str "not",Space,Str "here"]]]
+[ Para
+ [ Emph [ Str "here" ]
+ , Space
+ , RawInline (Format "tex") "\\input{command/bar}"
+ ]
+, Para
+ [ Emph
+ [ Str "But" , Space , Str "not" , Space , Str "here" ]
+ ]
+]
```
diff --git a/test/command/4805-beamer-columns-alignment.md b/test/command/4805-beamer-columns-alignment.md
index bd1be0f20..d890730a8 100644
--- a/test/command/4805-beamer-columns-alignment.md
+++ b/test/command/4805-beamer-columns-alignment.md
@@ -1,5 +1,5 @@
```
-pandoc -t beamer
+% pandoc -t beamer
:::: { .columns }
::: { .column align=center }
:::
diff --git a/test/command/4811.md b/test/command/4811.md
index 81a60d78d..4c0b0faa9 100644
--- a/test/command/4811.md
+++ b/test/command/4811.md
@@ -6,8 +6,7 @@ No blank lines in inline interpreted roles:
blank`:myrole:
^D
-[Para [Str "`no"]
-,Para [Str "blank`:myrole:"]]
+[ Para [ Str "`no" ] , Para [ Str "blank`:myrole:" ] ]
```
Backslash escape behaves properly in interpreted roles:
@@ -18,8 +17,9 @@ Backslash escape behaves properly in interpreted roles:
`hi\ there`:code:
^D
-[Para [Superscript [Str "hithere"]]
-,Para [Code ("",[],[]) "hi\\ there"]]
+[ Para [ Superscript [ Str "hithere" ] ]
+, Para [ Code ( "" , [] , [] ) "hi\\ there" ]
+]
```
Backtick followed by alphanumeric doesn't end the span:
@@ -27,7 +27,12 @@ Backtick followed by alphanumeric doesn't end the span:
% pandoc -f rst -t native
`hi`there`:myrole:
^D
-[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi`there"]]
+[ Para
+ [ Code
+ ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] )
+ "hi`there"
+ ]
+]
```
Newline is okay, as long as not blank:
@@ -36,7 +41,12 @@ Newline is okay, as long as not blank:
`hi
there`:myrole:
^D
-[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi\nthere"]]
+[ Para
+ [ Code
+ ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] )
+ "hi\nthere"
+ ]
+]
```
Use span for title-reference:
@@ -44,5 +54,7 @@ Use span for title-reference:
% pandoc -f rst -t native
`default`
^D
-[Para [Span ("",["title-ref"],[]) [Str "default"]]]
+[ Para
+ [ Span ( "" , [ "title-ref" ] , [] ) [ Str "default" ] ]
+]
```
diff --git a/test/command/4817.md b/test/command/4817.md
index 7718e3b3a..84db64b5f 100644
--- a/test/command/4817.md
+++ b/test/command/4817.md
@@ -5,6 +5,17 @@ foo:
- bar: bam
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaList [MetaMap (fromList [("bar",MetaInlines [Str "bam"])])])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "foo"
+ , MetaList
+ [ MetaMap
+ (fromList [ ( "bar" , MetaInlines [ Str "bam" ] ) ])
+ ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/command/4819.md b/test/command/4819.md
index 548583387..5caa5c6de 100644
--- a/test/command/4819.md
+++ b/test/command/4819.md
@@ -4,8 +4,11 @@
foo: 42
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "42"])]})
-[]
+Pandoc
+ Meta
+ { unMeta = fromList [ ( "foo" , MetaInlines [ Str "42" ] ) ]
+ }
+ []
```
```
@@ -14,8 +17,8 @@ Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "42"])]})
foo: true
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaBool True)]})
-[]
+Pandoc
+ Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
```
```
@@ -24,8 +27,8 @@ Pandoc (Meta {unMeta = fromList [("foo",MetaBool True)]})
foo: True
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaBool True)]})
-[]
+Pandoc
+ Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
```
```
@@ -34,8 +37,9 @@ Pandoc (Meta {unMeta = fromList [("foo",MetaBool True)]})
foo: FALSE
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaBool False)]})
-[]
+Pandoc
+ Meta { unMeta = fromList [ ( "foo" , MetaBool False ) ] }
+ []
```
```
@@ -44,7 +48,8 @@ Pandoc (Meta {unMeta = fromList [("foo",MetaBool False)]})
foo: no
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "no"])]})
-[]
+Pandoc
+ Meta { unMeta = fromList [ ( "foo" , MetaBool False ) ] }
+ []
```
diff --git a/test/command/4832.md b/test/command/4832.md
index 9ba40804c..ec636b2b7 100644
--- a/test/command/4832.md
+++ b/test/command/4832.md
@@ -2,20 +2,38 @@
% pandoc -f latex -t native
\url{http://example.com/foo%20bar.htm}
^D
-[Para [Link ("",[],[]) [Str "http://example.com/foo%20bar.htm"] ("http://example.com/foo%20bar.htm","")]]
+[ Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/foo%20bar.htm" ]
+ ( "http://example.com/foo%20bar.htm" , "" )
+ ]
+]
```
```
% pandoc -f latex -t native
\url{http://example.com/foo{bar}.htm}
^D
-[Para [Link ("",[],[]) [Str "http://example.com/foo{bar}.htm"] ("http://example.com/foo{bar}.htm","")]]
+[ Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/foo{bar}.htm" ]
+ ( "http://example.com/foo{bar}.htm" , "" )
+ ]
+]
```
```
% pandoc -f latex -t native
\href{http://example.com/foo%20bar}{Foobar}
^D
-[Para [Link ("",[],[]) [Str "Foobar"] ("http://example.com/foo%20bar","")]]
+[ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Foobar" ]
+ ( "http://example.com/foo%20bar" , "" )
+ ]
+]
```
diff --git a/test/command/4833.md b/test/command/4833.md
index 42001ec74..838fe1463 100644
--- a/test/command/4833.md
+++ b/test/command/4833.md
@@ -1,5 +1,5 @@
```
-pandoc -f native -t rst
+% pandoc -f native -t rst
[Div ("",["warning"],[])
[Div ("",["title"],[])
[Para [Str "Warning"]]
@@ -10,7 +10,7 @@ pandoc -f native -t rst
Hi
```
```
-pandoc -f native -t rst
+% pandoc -f native -t rst
[Div ("",["unknown"],[])
[Para [Str "Hi"]]]
^D
diff --git a/test/command/4842.md b/test/command/4842.md
index a311739b7..e78d31412 100644
--- a/test/command/4842.md
+++ b/test/command/4842.md
@@ -1,6 +1,6 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\l
^D
-[Para [Str "\322"]]
+[ Para [ Str "\322" ] ]
```
diff --git a/test/command/4845.md b/test/command/4845.md
index 093161ac7..10d11127b 100644
--- a/test/command/4845.md
+++ b/test/command/4845.md
@@ -2,5 +2,20 @@
% pandoc -f html -t native
x<a href="/foo"> leading trailing space </a>x
^D
-[Plain [Str "x",Space,Link ("",[],[]) [Str "leading",Space,Str "trailing",Space,Str "space"] ("/foo",""),Space,Str "x"]]
+[ Plain
+ [ Str "x"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "leading"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "space"
+ ]
+ ( "/foo" , "" )
+ , Space
+ , Str "x"
+ ]
+]
```
diff --git a/test/command/4848.md b/test/command/4848.md
index 2cd2bab34..c73699a3c 100644
--- a/test/command/4848.md
+++ b/test/command/4848.md
@@ -2,21 +2,31 @@
% pandoc -f latex -t native
\enquote*{hi}
^D
-[Para [Quoted SingleQuote [Str "hi"]]]
+[ Para [ Quoted SingleQuote [ Str "hi" ] ] ]
```
```
% pandoc -f latex -t native
\foreignquote{italian}{hi}
^D
-[Para [Quoted DoubleQuote [Span ("",[],[("lang","it")]) [Str "hi"]]]]
+[ Para
+ [ Quoted
+ DoubleQuote
+ [ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ]
+ ]
+]
```
```
% pandoc -f latex -t native
\hyphenquote*{italian}{hi}
^D
-[Para [Quoted SingleQuote [Span ("",[],[("lang","it")]) [Str "hi"]]]]
+[ Para
+ [ Quoted
+ SingleQuote
+ [ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ]
+ ]
+]
```
```
@@ -25,10 +35,13 @@ Lorem ipsum
\blockquote{dolor sit amet}
consectetuer.
^D
-[Para [Str "Lorem",Space,Str "ipsum"]
-,BlockQuote
- [Para [Str "dolor",Space,Str "sit",Space,Str "amet"]]
-,Para [Str "consectetuer."]]
+[ Para [ Str "Lorem" , Space , Str "ipsum" ]
+, BlockQuote
+ [ Para
+ [ Str "dolor" , Space , Str "sit" , Space , Str "amet" ]
+ ]
+, Para [ Str "consectetuer." ]
+]
```
```
@@ -37,11 +50,26 @@ Lorem ipsum
\blockcquote[198]{Knu86}{dolor sit amet}
consectetuer.
^D
-[Para [Str "Lorem",Space,Str "ipsum"]
-,BlockQuote
- [Para [Str "dolor",Space,Str "sit",Space,Str "amet"]
- ,Para [Cite [Citation {citationId = "Knu86", citationPrefix = [], citationSuffix = [Str "198"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] []]]
-,Para [Str "consectetuer."]]
+[ Para [ Str "Lorem" , Space , Str "ipsum" ]
+, BlockQuote
+ [ Para
+ [ Str "dolor" , Space , Str "sit" , Space , Str "amet" ]
+ , Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = []
+ , citationSuffix = [ Str "198" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ []
+ ]
+ ]
+, Para [ Str "consectetuer." ]
+]
```
```
@@ -50,10 +78,15 @@ Lorem ipsum
\foreignblockquote{italian}{dolor sit amet}
consectetuer.
^D
-[Para [Str "Lorem",Space,Str "ipsum"]
-,BlockQuote
- [Div ("",[],[("lang","it")])
- [Para [Str "dolor",Space,Str "sit",Space,Str "amet"]]]
-,Para [Str "consectetuer."]]
+[ Para [ Str "Lorem" , Space , Str "ipsum" ]
+, BlockQuote
+ [ Div
+ ( "" , [] , [ ( "lang" , "it" ) ] )
+ [ Para
+ [ Str "dolor" , Space , Str "sit" , Space , Str "amet" ]
+ ]
+ ]
+, Para [ Str "consectetuer." ]
+]
```
diff --git a/test/command/4860.md b/test/command/4860.md
index 9198f68d7..65b6bf65f 100644
--- a/test/command/4860.md
+++ b/test/command/4860.md
@@ -5,5 +5,16 @@ This is broken_.
.. ***** REFERENCES FOLLOW *****
.. _broken: http://google.com
^D
-[Para [Str "This",Space,Str "is",Space,Link ("",[],[]) [Str "broken"] ("http://google.com",""),Str "."]]
+[ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "broken" ]
+ ( "http://google.com" , "" )
+ , Str "."
+ ]
+]
```
diff --git a/test/command/4877.md b/test/command/4877.md
index 070687345..ba8acd122 100644
--- a/test/command/4877.md
+++ b/test/command/4877.md
@@ -2,12 +2,14 @@
% pandoc -f html -t native
My <script type="math/tex">\mathcal{D}</script>
^D
-[Plain [Str "My",Space,Math InlineMath "\\mathcal{D}"]]
+[ Plain
+ [ Str "My" , Space , Math InlineMath "\\mathcal{D}" ]
+]
```
```
% pandoc -f html -t native
<script type="math/tex; mode=display">\mathcal{D}</script>
^D
-[Plain [Math DisplayMath "\\mathcal{D}"]]
+[ Plain [ Math DisplayMath "\\mathcal{D}" ] ]
```
diff --git a/test/command/4919.md b/test/command/4919.md
index 029d1beff..b8f153848 100644
--- a/test/command/4919.md
+++ b/test/command/4919.md
@@ -7,8 +7,11 @@
V = \frac{K}{r^2}
^D
-[Div ("tgtmath",[],[])
- [BlockQuote
- [Para [Math DisplayMath "V = \\frac{K}{r^2}"]]]]
+[ Div
+ ( "tgtmath" , [] , [] )
+ [ BlockQuote
+ [ Para [ Math DisplayMath "V = \\frac{K}{r^2}" ] ]
+ ]
+]
```
diff --git a/test/command/4928.md b/test/command/4928.md
index d1e2b6db7..86699aab5 100644
--- a/test/command/4928.md
+++ b/test/command/4928.md
@@ -2,47 +2,220 @@
% pandoc -f latex -t native
\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "Multiprenote",Space,Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65",Str ",",Space,Str "multipostnote"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "65" , Str "," , Space , Str "multipostnote" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "Multiprenote",Space,Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix = [ Str "65" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65",Str ",",Space,Str "multipostnote"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "65" , Str "," , Space , Str "multipostnote" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\cites()()[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites()()[23][42]{Knu86}[65]{Nie72}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix = [ Str "65" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex") "\\cites()()[23][42]{Knu86}[65]{Nie72}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\cites(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65",Str ",",Space,Str "multipostnote"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites(multipostnote)[23][42]{Knu86}[65]{Nie72}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "65" , Str "," , Space , Str "multipostnote" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\cites(multipostnote)[23][42]{Knu86}[65]{Nie72}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\cites(Multiprenote)(multipostnote){Knu86}
^D
-[Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "Multiprenote"], citationSuffix = [Str ",",Space,Str "multipostnote"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cites(Multiprenote)(multipostnote){Knu86}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix = [ Str "Multiprenote" ]
+ , citationSuffix = [ Str "," , Space , Str "multipostnote" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\cites(Multiprenote)(multipostnote){Knu86}"
+ ]
+ ]
+]
```
```
% pandoc -f latex -t native
\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
-[Para [Note [Para [Cite [Citation {citationId = "Knu86", citationPrefix = [Str "Multiprenote",Space,Str "23"], citationSuffix = [Str "42"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0},Citation {citationId = "Nie72", citationPrefix = [], citationSuffix = [Str "65",Str ",",Space,Str "multipostnote"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"],Str "."]]]]
+[ Para
+ [ Note
+ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "Knu86"
+ , citationPrefix =
+ [ Str "Multiprenote" , Space , Str "23" ]
+ , citationSuffix = [ Str "42" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "Nie72"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "65"
+ , Str ","
+ , Space
+ , Str "multipostnote"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline
+ (Format "latex")
+ "\\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+]
```
diff --git a/test/command/4933.md b/test/command/4933.md
index 4ab41e8a5..b8dedfa20 100644
--- a/test/command/4933.md
+++ b/test/command/4933.md
@@ -2,5 +2,9 @@
% pandoc -f latex -t native
\includegraphics{lalune}
^D
-[Para [Image ("",[],[]) [Str "image"] ("lalune.jpg","")]]
+[ Para
+ [ Image
+ ( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" )
+ ]
+]
```
diff --git a/test/command/5014.md b/test/command/5014.md
index a3aae4151..8acc55750 100644
--- a/test/command/5014.md
+++ b/test/command/5014.md
@@ -13,18 +13,37 @@
</tbody>
</table>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Name"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Accounts"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Name" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Accounts" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/5050.md b/test/command/5050.md
index 9c8fa1655..735156105 100644
--- a/test/command/5050.md
+++ b/test/command/5050.md
@@ -1,5 +1,5 @@
```
-pandoc -t rst
+% pandoc -t rst
<unknown>
x
^D
diff --git a/test/command/5079.md b/test/command/5079.md
index a43c9840a..3eb0628c5 100644
--- a/test/command/5079.md
+++ b/test/command/5079.md
@@ -10,16 +10,26 @@
</tbody>
</table>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/5080.md b/test/command/5080.md
index c9e9a2971..2dfd0683a 100644
--- a/test/command/5080.md
+++ b/test/command/5080.md
@@ -1,12 +1,12 @@
```
-pandoc -t asciidoc
+% pandoc -t asciidoc
[foo *bar*]{.small .red key=val}
^D
[.small .red]#foo _bar_#
```
```
-pandoc -f html -t asciidoc
+% pandoc -f html -t asciidoc
<small>SMALL</small>
^D
[.small]#SMALL#
diff --git a/test/command/5099.md b/test/command/5099.md
index 19b067b79..d464f9c8a 100644
--- a/test/command/5099.md
+++ b/test/command/5099.md
@@ -2,12 +2,28 @@
% pandoc -t native
(@citation
^D
-[Para [Str "(",Cite [Citation {citationId = "citation", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0}] [Str "@citation"]]]
+[ Para
+ [ Str "("
+ , Cite
+ [ Citation
+ { citationId = "citation"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "@citation" ]
+ ]
+]
```
```
% pandoc -t native
('asd')
^D
-[Para [Str "(",Quoted SingleQuote [Str "asd"],Str ")"]]
+[ Para
+ [ Str "(" , Quoted SingleQuote [ Str "asd" ] , Str ")" ]
+]
```
diff --git a/test/command/512.md b/test/command/512.md
index b95921309..21b3ea9a7 100644
--- a/test/command/512.md
+++ b/test/command/512.md
@@ -8,7 +8,8 @@
__ link1_
__ link2_
^D
-<p><a href="http://www.example.com/">click here</a> or <a href="http://johnmacfarlane.net/pandoc/">click here</a></p>
+<p><a href="http://www.example.com/">click here</a> or <a
+href="http://johnmacfarlane.net/pandoc/">click here</a></p>
```
Multiple indirection:
diff --git a/test/command/5121.md b/test/command/5121.md
index 1ee6bda77..f1b972fb4 100644
--- a/test/command/5121.md
+++ b/test/command/5121.md
@@ -5,7 +5,8 @@
## Header 2
^D
<figure>
-<img src="./my-figure.jpg" width="500" alt="My caption" /><figcaption aria-hidden="true">My caption</figcaption>
+<img src="./my-figure.jpg" width="500" alt="My caption" />
+<figcaption aria-hidden="true">My caption</figcaption>
</figure>
## Header 2
diff --git a/test/command/5128.md b/test/command/5128.md
index 35866547e..261cea507 100644
--- a/test/command/5128.md
+++ b/test/command/5128.md
@@ -1,5 +1,5 @@
```
-pandoc -f org -t rst --columns=78
+% pandoc -f org -t rst --columns=78
| Option | Meaning |
|--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| =<= | Left alignment, additional characters are added to the right (default for string). |
diff --git a/test/command/5178.md b/test/command/5178.md
index 856f86abc..1c39b5071 100644
--- a/test/command/5178.md
+++ b/test/command/5178.md
@@ -7,8 +7,8 @@
unsafePerformIO main
^D
#+begin_src haskell -n 42
- main = putStrLn "Hello World!"
- unsafePerformIO main
+main = putStrLn "Hello World!"
+unsafePerformIO main
#+end_src
```
@@ -22,8 +22,19 @@
(+ 2 2)
#+end_src
^D
-[CodeBlock ("",["commonlisp","numberLines"],[("org-language","lisp"),("startFrom","20")]) "(+ 1 1)\n"
-,CodeBlock ("",["commonlisp","numberLines","continuedSourceBlock"],[("org-language","lisp"),("startFrom","10")]) "(+ 2 2)\n"]
+[ CodeBlock
+ ( ""
+ , [ "commonlisp" , "numberLines" ]
+ , [ ( "org-language" , "lisp" ) , ( "startFrom" , "20" ) ]
+ )
+ "(+ 1 1)\n"
+, CodeBlock
+ ( ""
+ , [ "commonlisp" , "numberLines" , "continuedSourceBlock" ]
+ , [ ( "org-language" , "lisp" ) , ( "startFrom" , "10" ) ]
+ )
+ "(+ 2 2)\n"
+]
```
```
@@ -32,10 +43,10 @@
,CodeBlock ("",["commonlisp","numberLines","continuedSourceBlock"],[("org-language","lisp"),("startFrom","10")]) "(+ 2 2)\n"]
^D
#+begin_src lisp -n 20
- (+ 1 1)
+(+ 1 1)
#+end_src
#+begin_src lisp +n 10
- (+ 2 2)
+(+ 2 2)
#+end_src
```
diff --git a/test/command/5182.md b/test/command/5182.md
index dc30a12ce..5898f9edf 100644
--- a/test/command/5182.md
+++ b/test/command/5182.md
@@ -1,6 +1,9 @@
```
-pandoc -f rst -t native
+% pandoc -f rst -t native
.. include:: command/5182.txt
^D
-[CodeBlock ("",["python","numberLines"],[]) "def func(x):\n return y"]
+[ CodeBlock
+ ( "" , [ "python" , "numberLines" ] , [] )
+ "def func(x):\n return y"
+]
```
diff --git a/test/command/5271.md b/test/command/5271.md
index 910ea5888..5df3958ef 100644
--- a/test/command/5271.md
+++ b/test/command/5271.md
@@ -7,6 +7,35 @@ abstract: |
It consists of two paragraphs.
...
^D
-Pandoc (Meta {unMeta = fromList [("abstract",MetaBlocks [Para [Str "This",Space,Str "is",Space,Str "the",Space,Str "abstract."],Para [Str "It",Space,Str "consists",Space,Str "of",Space,Str "two",Space,Str "paragraphs."]])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "abstract"
+ , MetaBlocks
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "abstract."
+ ]
+ , Para
+ [ Str "It"
+ , Space
+ , Str "consists"
+ , Space
+ , Str "of"
+ , Space
+ , Str "two"
+ , Space
+ , Str "paragraphs."
+ ]
+ ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/command/5285.md b/test/command/5285.md
index 6085ec1a9..6c5b7f987 100644
--- a/test/command/5285.md
+++ b/test/command/5285.md
@@ -7,11 +7,12 @@
- b
^D
-[BulletList
- [[Para [Str "a"]
- ,Para [Str "b"]]
- ,[Para [Str "a"]]
- ,[Para [Str "b"]]]]
+[ BulletList
+ [ [ Para [ Str "a" ] , Para [ Str "b" ] ]
+ , [ Para [ Str "a" ] ]
+ , [ Para [ Str "b" ] ]
+ ]
+]
```
```
@@ -23,10 +24,9 @@
> foo
^D
-[BulletList
- [[Para [Str "foo"]
- ,Para [Str "foo"]]
- ,[Para [Str "foo"]
- ,BlockQuote
- [Para [Str "foo"]]]]]
+[ BulletList
+ [ [ Para [ Str "foo" ] , Para [ Str "foo" ] ]
+ , [ Para [ Str "foo" ] , BlockQuote [ Para [ Str "foo" ] ] ]
+ ]
+]
```
diff --git a/test/command/5321.md b/test/command/5321.md
index 83404632a..975852482 100644
--- a/test/command/5321.md
+++ b/test/command/5321.md
@@ -7,7 +7,11 @@
<graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
-[Para [Image ("fig-1",[],[]) [Str "bar"] ("foo.png","fig:")]]
+[ Para
+ [ Image
+ ( "fig-1" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:" )
+ ]
+]
```
```
@@ -20,5 +24,11 @@
<graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
-[Para [Image ("fig-1",[],[]) [Str "foo",LineBreak,Str "bar"] ("foo.png","fig:")]]
+[ Para
+ [ Image
+ ( "fig-1" , [] , [] )
+ [ Str "foo" , LineBreak , Str "bar" ]
+ ( "foo.png" , "fig:" )
+ ]
+]
```
diff --git a/test/command/5360.md b/test/command/5360.md
index 924c1ea28..2250ba9f9 100644
--- a/test/command/5360.md
+++ b/test/command/5360.md
@@ -8,12 +8,15 @@
</table>
:::
^D
-[Div ("",["foo"],[])
- [RawBlock (Format "html") "<table>"
- ,RawBlock (Format "html") "<tr>"
- ,RawBlock (Format "html") "<td>"
- ,Plain [Str "hi"]
- ,RawBlock (Format "html") "</td>"
- ,RawBlock (Format "html") "</tr>"
- ,RawBlock (Format "html") "</table>"]]
+[ Div
+ ( "" , [ "foo" ] , [] )
+ [ RawBlock (Format "html") "<table>"
+ , RawBlock (Format "html") "<tr>"
+ , RawBlock (Format "html") "<td>"
+ , Plain [ Str "hi" ]
+ , RawBlock (Format "html") "</td>"
+ , RawBlock (Format "html") "</tr>"
+ , RawBlock (Format "html") "</table>"
+ ]
+]
```
diff --git a/test/command/5367.md b/test/command/5367.md
index a67011c2f..427aab913 100644
--- a/test/command/5367.md
+++ b/test/command/5367.md
@@ -21,7 +21,7 @@ dolly[^5]
hello\footnote{doc footnote}
\begin{longtable}[]{@{}
- >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}}
+ >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.1667}}@{}}
\caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline
\toprule
\begin{minipage}[b]{\linewidth}\centering
diff --git a/test/command/5368.md b/test/command/5368.md
index c755fde48..e8b54bf7b 100644
--- a/test/command/5368.md
+++ b/test/command/5368.md
@@ -12,12 +12,27 @@
Quux.
^D
-[OrderedList (1,Decimal,Period)
- [[Para [Str "foo"]
- ,Para [Image ("",[],[]) [Str "bar"] ("bar.png","fig:")]]
- ,[Para [Str "foo2"]
- ,Para [Image ("",[],[]) [Str "bar2"] ("bar2.png","fig:")]]
- ,[Para [Str "foo3"]
- ,Para [Image ("",[],[]) [Str "foo3"] ("foo3.png","fig:")]]]
-,Para [Str "Quux."]]
+[ OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "foo" ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "bar" ] ( "bar.png" , "fig:" )
+ ]
+ ]
+ , [ Para [ Str "foo2" ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "bar2" ] ( "bar2.png" , "fig:" )
+ ]
+ ]
+ , [ Para [ Str "foo3" ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "foo3" ] ( "foo3.png" , "fig:" )
+ ]
+ ]
+ ]
+, Para [ Str "Quux." ]
+]
```
diff --git a/test/command/5410.md b/test/command/5410.md
index fee90a1a4..752da51c5 100644
--- a/test/command/5410.md
+++ b/test/command/5410.md
@@ -3,5 +3,5 @@
.ie n \{\
'br\}
^D
-[Para [LineBreak]]
+[ Para [ LineBreak ] ]
```
diff --git a/test/command/5416.md b/test/command/5416.md
index 619f4223e..d97f9881e 100644
--- a/test/command/5416.md
+++ b/test/command/5416.md
@@ -2,12 +2,12 @@
% pandoc -f dokuwiki -t native
{
^D
-[Para [Str "{"]]
+[ Para [ Str "{" ] ]
```
```
% pandoc -f dokuwiki -t native
{{
^D
-[Para [Str "{{"]]
+[ Para [ Str "{{" ] ]
```
diff --git a/test/command/5540.md b/test/command/5540.md
index 802a88d9d..41239020e 100644
--- a/test/command/5540.md
+++ b/test/command/5540.md
@@ -4,5 +4,11 @@
Stay pure!
\end{lstlisting}
^D
-[CodeBlock ("",["myfunnylanguage"],[("language","myfunnylanguage")]) "Stay pure!"]
+[ CodeBlock
+ ( ""
+ , [ "myfunnylanguage" ]
+ , [ ( "language" , "myfunnylanguage" ) ]
+ )
+ "Stay pure!"
+]
```
diff --git a/test/command/5549.md b/test/command/5549.md
index fa030d921..49d6f168f 100644
--- a/test/command/5549.md
+++ b/test/command/5549.md
@@ -4,6 +4,5 @@
[]
^D
-[Header 2 ("section",[],[]) []
-,Para [Str "[]"]]
+[ Header 2 ( "section" , [] , [] ) [] , Para [ Str "[]" ] ]
```
diff --git a/test/command/5619.md b/test/command/5619.md
index 776d57acc..0f612ea67 100644
--- a/test/command/5619.md
+++ b/test/command/5619.md
@@ -6,5 +6,32 @@
The caption. Here's what piggybacking on caption would look like {#fig:1}
^D
-[Para [Image ("test",[],[("width","1in")]) [Str "The",Space,Str "caption.",Space,Str "Here's",Space,Str "what",Space,Str "piggybacking",Space,Str "on",Space,Str "caption",Space,Str "would",Space,Str "look",Space,Str "like",Space,Str "{#fig:1}"] ("img1.jpg","fig:")]]
+[ Para
+ [ Image
+ ( "test" , [] , [ ( "width" , "1in" ) ] )
+ [ Str "The"
+ , Space
+ , Str "caption."
+ , Space
+ , Str "Here's"
+ , Space
+ , Str "what"
+ , Space
+ , Str "piggybacking"
+ , Space
+ , Str "on"
+ , Space
+ , Str "caption"
+ , Space
+ , Str "would"
+ , Space
+ , Str "look"
+ , Space
+ , Str "like"
+ , Space
+ , Str "{#fig:1}"
+ ]
+ ( "img1.jpg" , "fig:" )
+ ]
+]
```
diff --git a/test/command/5627.md b/test/command/5627.md
index 9910e76c5..dde4c99d6 100644
--- a/test/command/5627.md
+++ b/test/command/5627.md
@@ -20,8 +20,10 @@ Something
<li>Two <code>--&gt;something&lt;!--</code></li>
<li>Three</li>
</ol>
-<div class="sourceCode" id="cb1"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--&gt;<span class="co">&lt;!--&lt;script&gt;alert(&#39;Escaped!&#39;)&lt;/script&gt;</span></span></code></pre></div>
-<div class="sourceCode" id="cb2"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div>
+<div class="sourceCode" id="cb1"><pre class="sourceCode
+html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--&gt;<span class="co">&lt;!--&lt;script&gt;alert(&#39;Escaped!&#39;)&lt;/script&gt;</span></span></code></pre></div>
+<div class="sourceCode" id="cb2"><pre class="sourceCode
+html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div>
```
```
@@ -46,8 +48,10 @@ Something
<li><code>--&gt;something&lt;!--</code></li>
<li>bye <code>--&gt;something else&lt;!--</code></li>
</ul>
-<div class="sourceCode" id="cb1"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--&gt;<span class="co">&lt;!--&lt;script&gt;alert(&#39;Escaped!&#39;)&lt;/script&gt;</span></span></code></pre></div>
-<div class="sourceCode" id="cb2"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div>
+<div class="sourceCode" id="cb1"><pre class="sourceCode
+html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--&gt;<span class="co">&lt;!--&lt;script&gt;alert(&#39;Escaped!&#39;)&lt;/script&gt;</span></span></code></pre></div>
+<div class="sourceCode" id="cb2"><pre class="sourceCode
+html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div>
```
```
diff --git a/test/command/5642.md b/test/command/5642.md
index cd60df812..120a88ada 100644
--- a/test/command/5642.md
+++ b/test/command/5642.md
@@ -3,6 +3,7 @@
![test](foo){aria-describedby="barbaz"}
^D
<figure>
-<img src="foo" aria-describedby="barbaz" alt="test" /><figcaption aria-hidden="true">test</figcaption>
+<img src="foo" aria-describedby="barbaz" alt="test" />
+<figcaption aria-hidden="true">test</figcaption>
</figure>
```
diff --git a/test/command/5650.md b/test/command/5650.md
index a2dd215bc..1e96aeaa4 100644
--- a/test/command/5650.md
+++ b/test/command/5650.md
@@ -5,7 +5,8 @@ a
b
```
^D
-<div class="sourceCode" id="foocb1"><pre class="sourceCode haskell"><code class="sourceCode haskell"><span id="foocb1-1"><a href="#foocb1-1" aria-hidden="true" tabindex="-1"></a>a</span>
+<div class="sourceCode" id="foocb1"><pre class="sourceCode
+haskell"><code class="sourceCode haskell"><span id="foocb1-1"><a href="#foocb1-1" aria-hidden="true" tabindex="-1"></a>a</span>
<span id="foocb1-2"><a href="#foocb1-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div>
````
@@ -16,7 +17,8 @@ a
b
```
^D
-<div class="sourceCode" id="foobar"><pre class="sourceCode haskell"><code class="sourceCode haskell"><span id="foobar-1"><a href="#foobar-1" aria-hidden="true" tabindex="-1"></a>a</span>
+<div class="sourceCode" id="foobar"><pre class="sourceCode
+haskell"><code class="sourceCode haskell"><span id="foobar-1"><a href="#foobar-1" aria-hidden="true" tabindex="-1"></a>a</span>
<span id="foobar-2"><a href="#foobar-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div>
````
diff --git a/test/command/5655.md b/test/command/5655.md
index 692009562..72ad46e5e 100644
--- a/test/command/5655.md
+++ b/test/command/5655.md
@@ -2,13 +2,19 @@
% pandoc --webtex
$T_n={n+1 \choose 2}$
^D
-<p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Ctextstyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math inline" /></p>
+<p><img style="vertical-align:middle"
+src="https://latex.codecogs.com/png.latex?%5Ctextstyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D"
+alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math
+inline" /></p>
````
````
% pandoc --webtex
$$T_n={n+1 \choose 2}$$
^D
-<p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Cdisplaystyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math display" /></p>
+<p><img style="vertical-align:middle"
+src="https://latex.codecogs.com/png.latex?%5Cdisplaystyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D"
+alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math
+display" /></p>
````
diff --git a/test/command/5682.md b/test/command/5682.md
index 6d3b9fa0c..3ce81afb8 100644
--- a/test/command/5682.md
+++ b/test/command/5682.md
@@ -3,6 +3,6 @@
\newcommand{\ittakestwo}[2][defaultone]{#2}
\ittakestwo[to]{tango}
^D
-[Para [Str "tango"]]
+[ Para [ Str "tango" ] ]
```
diff --git a/test/command/5686.md b/test/command/5686.md
index 1c18109c3..d669ae49b 100644
--- a/test/command/5686.md
+++ b/test/command/5686.md
@@ -4,6 +4,28 @@ FOO\t0BAR
This part does not make it to the html output.
^D
-[Para [Str "FOO",RawInline (Format "tex") "\\t0",Str "BAR"]
-,Para [Str "This",Space,Str "part",Space,Str "does",Space,Str "not",Space,Str "make",Space,Str "it",Space,Str "to",Space,Str "the",Space,Str "html",Space,Str "output."]]
+[ Para
+ [ Str "FOO" , RawInline (Format "tex") "\\t0" , Str "BAR" ]
+, Para
+ [ Str "This"
+ , Space
+ , Str "part"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "make"
+ , Space
+ , Str "it"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "html"
+ , Space
+ , Str "output."
+ ]
+]
```
diff --git a/test/command/5700.md b/test/command/5700.md
index 64f99c862..eae3663e5 100644
--- a/test/command/5700.md
+++ b/test/command/5700.md
@@ -1,6 +1,39 @@
```
% pandoc -t native -s --metadata-file command/5700-metadata-file-1.yml --metadata-file command/5700-metadata-file-2.yml
^D
-Pandoc (Meta {unMeta = fromList [("desc",MetaInlines [Str "Both",Space,Str "of",Space,Str "these",Space,Str "files",Space,Str "should",Space,Str "be",Space,Str "loaded."]),("title",MetaInlines [Str "Multiple",Space,Str "metadata",Space,Str "files",Space,Str "test"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "desc"
+ , MetaInlines
+ [ Str "Both"
+ , Space
+ , Str "of"
+ , Space
+ , Str "these"
+ , Space
+ , Str "files"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "loaded."
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Multiple"
+ , Space
+ , Str "metadata"
+ , Space
+ , Str "files"
+ , Space
+ , Str "test"
+ ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/command/5708.md b/test/command/5708.md
index e5ba72c69..e97edcf30 100644
--- a/test/command/5708.md
+++ b/test/command/5708.md
@@ -4,19 +4,34 @@
| 123456 | :math:`a + b` |
+--------+----------------+
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.2361111111111111)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123456"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "a + b"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.125 )
+ , ( AlignDefault , ColWidth 0.2361111111111111 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123456" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "a + b" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/5711.md b/test/command/5711.md
index 5758138f9..131173079 100644
--- a/test/command/5711.md
+++ b/test/command/5711.md
@@ -7,16 +7,26 @@
\end{tabular}
\end{document}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "d",LineBreak,Str "e"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" , LineBreak , Str "e" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/5714.md b/test/command/5714.md
index 48e25c1a2..c874f1af7 100644
--- a/test/command/5714.md
+++ b/test/command/5714.md
@@ -6,8 +6,11 @@ b_
# hi _c
c
^D
-[Header 1 ("hi-_a",[],[]) [Str "hi",Space,Str "_a"]
-,Para [Str "b_"]
-,Header 1 ("hi-_c",[],[]) [Str "hi",Space,Str "_c"]
-,Para [Str "c"]]
+[ Header
+ 1 ( "hi-_a" , [] , [] ) [ Str "hi" , Space , Str "_a" ]
+, Para [ Str "b_" ]
+, Header
+ 1 ( "hi-_c" , [] , [] ) [ Str "hi" , Space , Str "_c" ]
+, Para [ Str "c" ]
+]
```
diff --git a/test/command/5753.md b/test/command/5753.md
index 6e761e4f6..686c8f495 100644
--- a/test/command/5753.md
+++ b/test/command/5753.md
@@ -10,6 +10,10 @@
end
^D
-[Para [Math DisplayMath "q_3\n+ 4",Math DisplayMath "- 5 +\nq_5"]
-,Para [Str "end"]]
+[ Para
+ [ Math DisplayMath "q_3\n+ 4"
+ , Math DisplayMath "- 5 +\nq_5"
+ ]
+, Para [ Str "end" ]
+]
```
diff --git a/test/command/5795.md b/test/command/5795.md
index 0d5154b4d..8271e1232 100644
--- a/test/command/5795.md
+++ b/test/command/5795.md
@@ -9,7 +9,12 @@
% pandoc -f html -t native
<dfn class="dfn" id="foo" title="bax"><span>foo</span></dfn>
^D
-[Plain [Span ("foo",["dfn","dfn"],[("title","bax")]) [Span ("",[],[]) [Str "foo"]]]]
+[ Plain
+ [ Span
+ ( "foo" , [ "dfn" , "dfn" ] , [ ( "title" , "bax" ) ] )
+ [ Span ( "" , [] , [] ) [ Str "foo" ] ]
+ ]
+]
```
```
diff --git a/test/command/5797.md b/test/command/5797.md
index 0509a341c..4be51c629 100644
--- a/test/command/5797.md
+++ b/test/command/5797.md
@@ -9,7 +9,7 @@
% pandoc -f html -t native
<mark>Ctrl-C</mark>
^D
-[Plain [Span ("",["mark"],[]) [Str "Ctrl-C"]]]
+[ Plain [ Span ( "" , [ "mark" ] , [] ) [ Str "Ctrl-C" ] ] ]
```
```
diff --git a/test/command/5805.md b/test/command/5805.md
index 8bfc75f2d..03c72bd75 100644
--- a/test/command/5805.md
+++ b/test/command/5805.md
@@ -9,7 +9,7 @@
% pandoc -f html -t native
<kbd>Ctrl-C</kbd>
^D
-[Plain [Span ("",["kbd"],[]) [Str "Ctrl-C"]]]
+[ Plain [ Span ( "" , [ "kbd" ] , [] ) [ Str "Ctrl-C" ] ] ]
```
```
diff --git a/test/command/5813.md b/test/command/5813.md
index 927a161ed..51f774524 100644
--- a/test/command/5813.md
+++ b/test/command/5813.md
@@ -2,5 +2,6 @@
% pandoc -f gfm
### Jekyll Plugins & Gems :gem:
^D
-<h3 id="jekyll-plugins--gems-gem">Jekyll Plugins &amp; Gems <span class="emoji" data-emoji="gem">💎</span></h3>
+<h3 id="jekyll-plugins--gems-gem">Jekyll Plugins &amp; Gems <span
+class="emoji" data-emoji="gem">💎</span></h3>
```
diff --git a/test/command/5845.md b/test/command/5845.md
index aa09b08e7..aac73cf47 100644
--- a/test/command/5845.md
+++ b/test/command/5845.md
@@ -2,7 +2,7 @@
% pandoc -t native
\parbox{1em}{#1}
^D
-[Para [Str "\\parbox{1em}{#1}"]]
+[ Para [ Str "\\parbox{1em}{#1}" ] ]
```
```
@@ -11,6 +11,15 @@
Hello World
^D
-[Para [Str "\\newcommand{",RawInline (Format "tex") "\\highlight",Str "}[1]{\\colorbox{yellow}{\\parbox{",RawInline (Format "tex") "\\dimexpr",RawInline (Format "tex") "\\linewidth-2",RawInline (Format "tex") "\\fboxsep",Str "}{#1}}"]
-,Para [Str "Hello",Space,Str "World"]]
+[ Para
+ [ Str "\\newcommand{"
+ , RawInline (Format "tex") "\\highlight"
+ , Str "}[1]{\\colorbox{yellow}{\\parbox{"
+ , RawInline (Format "tex") "\\dimexpr"
+ , RawInline (Format "tex") "\\linewidth-2"
+ , RawInline (Format "tex") "\\fboxsep"
+ , Str "}{#1}}"
+ ]
+, Para [ Str "Hello" , Space , Str "World" ]
+]
```
diff --git a/test/command/5878.md b/test/command/5878.md
index 9e0f6bde3..06ff29b76 100644
--- a/test/command/5878.md
+++ b/test/command/5878.md
@@ -3,5 +3,13 @@
Zozime^[],
Synésius^[]
^D
-[Para [Str "Zozime",Note [Para []],Str ",",SoftBreak,Str "Syn\233sius",Note [Para []]]]
+[ Para
+ [ Str "Zozime"
+ , Note [ Para [] ]
+ , Str ","
+ , SoftBreak
+ , Str "Syn\233sius"
+ , Note [ Para [] ]
+ ]
+]
```
diff --git a/test/command/5986.md b/test/command/5986.md
index ed8dd30c9..aaa1e6568 100644
--- a/test/command/5986.md
+++ b/test/command/5986.md
@@ -6,8 +6,9 @@
<p><span id="nav.xhtml"></span></p>
<nav epub:type="landmarks" id="landmarks" hidden="hidden">
<ol>
-<li><a href="text/title_page.xhtml">Title Page</a></li>
-<li><a href="#nav.xhtml#toc">Table of Contents</a></li>
+<li><a href="text/title_page.xhtml" class="titlepage">Title
+Page</a></li>
+<li><a href="#nav.xhtml#toc" class="toc">Table of Contents</a></li>
</ol>
</nav>
<p><span id="ch001.xhtml"></span></p>
diff --git a/test/command/6009.md b/test/command/6009.md
index ed6b46cbb..b2785dd36 100644
--- a/test/command/6009.md
+++ b/test/command/6009.md
@@ -9,10 +9,11 @@ x
y
^D
-[RawBlock (Format "html") "<tr>"
-,RawBlock (Format "html") "<td>"
-,RawBlock (Format "html") "</td>"
-,RawBlock (Format "html") "</tr>"
-,Para [Str "x"]
-,CodeBlock ("",[],[]) "y"]
+[ RawBlock (Format "html") "<tr>"
+, RawBlock (Format "html") "<td>"
+, RawBlock (Format "html") "</td>"
+, RawBlock (Format "html") "</tr>"
+, Para [ Str "x" ]
+, CodeBlock ( "" , [] , [] ) "y"
+]
```
diff --git a/test/command/6026.md b/test/command/6026.md
index 5e18a5f42..ae3bfb45c 100644
--- a/test/command/6026.md
+++ b/test/command/6026.md
@@ -4,8 +4,34 @@
@https://openreview.net/forum?id=HkwoSDPgg
^D
-[Para [Cite [Citation {citationId = "https://openreview.net/forum?id=HkwoSDPgg", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0}] [Str "@https://openreview.net/forum?id=HkwoSDPgg"]]
-,Para [Cite [Citation {citationId = "https://openreview.net/forum?id", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "@https://openreview.net/forum?id"],Str "=HkwoSDPgg"]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "https://openreview.net/forum?id=HkwoSDPgg"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "@https://openreview.net/forum?id=HkwoSDPgg" ]
+ ]
+, Para
+ [ Cite
+ [ Citation
+ { citationId = "https://openreview.net/forum?id"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "@https://openreview.net/forum?id" ]
+ , Str "=HkwoSDPgg"
+ ]
+]
```
```
% pandoc -t markdown
diff --git a/test/command/6034.md b/test/command/6034.md
index af41f2d50..eb8999d11 100644
--- a/test/command/6034.md
+++ b/test/command/6034.md
@@ -7,5 +7,8 @@
\end{overpic}
\end{figure*}
^D
-[RawBlock (Format "latex") "\\begin{figure*}\n \\centering\n \\begin{overpic}{test_pic}\n \\put (70,80) {Caption}\n \\end{overpic}\n\\end{figure*}"]
+[ RawBlock
+ (Format "latex")
+ "\\begin{figure*}\n \\centering\n \\begin{overpic}{test_pic}\n \\put (70,80) {Caption}\n \\end{overpic}\n\\end{figure*}"
+]
```
diff --git a/test/command/6114.md b/test/command/6114.md
index e0f2d675b..83d2869bb 100644
--- a/test/command/6114.md
+++ b/test/command/6114.md
@@ -3,5 +3,11 @@
\includegraphics[width=.85\textwidth]%
{pic_M87star.pdf}
^D
-[Para [Image ("",[],[("width",".85\\textwidth")]) [Str "image"] ("pic_M87star.pdf","")]]
+[ Para
+ [ Image
+ ( "" , [] , [ ( "width" , ".85\\textwidth" ) ] )
+ [ Str "image" ]
+ ( "pic_M87star.pdf" , "" )
+ ]
+]
```
diff --git a/test/command/6137.md b/test/command/6137.md
index 9081f775f..a58b4876f 100644
--- a/test/command/6137.md
+++ b/test/command/6137.md
@@ -15,33 +15,143 @@ This reference to Figure \ref{fig:label} works fine.
\caption{A numbered caption, if I use pandoc-crossref.}\label{fig:label}
\end{figure}
^D
-[Para [Str "This",Space,Str "reference",Space,Str "to",Space,Str "Table",Space,Link ("",[],[("reference-type","ref"),("reference","tbl:label")]) [Str "1"] ("#tbl:label",""),Space,Str "doesn\8217t",Space,Str "work."]
-,Div ("tbl:label",[],[])
- [Table ("",[],[]) (Caption Nothing
- [Plain [Str "This",Space,Str "caption",Space,Str "has",Space,Str "no",Space,Str "number."]])
- [(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\8212\8212\8211"]]]])]
- (TableFoot ("",[],[])
- [])]
-,Para [Str "This",Space,Str "reference",Space,Str "to",Space,Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:label")]) [Str "1"] ("#fig:label",""),Space,Str "works",Space,Str "fine."]
-,Para [Image ("fig:label",[],[("width","\\textwidth")]) [Str "A",Space,Str "numbered",Space,Str "caption,",Space,Str "if",Space,Str "I",Space,Str "use",Space,Str "pandoc-crossref."] ("example.png","fig:")]]
+[ Para
+ [ Str "This"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "to"
+ , Space
+ , Str "Table"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "tbl:label" )
+ ]
+ )
+ [ Str "1" ]
+ ( "#tbl:label" , "" )
+ , Space
+ , Str "doesn\8217t"
+ , Space
+ , Str "work."
+ ]
+, Div
+ ( "tbl:label" , [] , [] )
+ [ Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "This"
+ , Space
+ , Str "caption"
+ , Space
+ , Str "has"
+ , Space
+ , Str "no"
+ , Space
+ , Str "number."
+ ]
+ ])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\8212\8212\8211" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+, Para
+ [ Str "This"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "to"
+ , Space
+ , Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:label" )
+ ]
+ )
+ [ Str "1" ]
+ ( "#fig:label" , "" )
+ , Space
+ , Str "works"
+ , Space
+ , Str "fine."
+ ]
+, Para
+ [ Image
+ ( "fig:label" , [] , [ ( "width" , "\\textwidth" ) ] )
+ [ Str "A"
+ , Space
+ , Str "numbered"
+ , Space
+ , Str "caption,"
+ , Space
+ , Str "if"
+ , Space
+ , Str "I"
+ , Space
+ , Str "use"
+ , Space
+ , Str "pandoc-crossref."
+ ]
+ ( "example.png" , "fig:" )
+ ]
+]
```
diff --git a/test/command/6288.md b/test/command/6288.md
index 29aff0fb9..042e0a72e 100644
--- a/test/command/6288.md
+++ b/test/command/6288.md
@@ -4,5 +4,7 @@
<label>I</label><title>Introduction</title>
</sec>
^D
-[Header 1 ("",[],[]) [Str "I.",Space,Str "Introduction"]]
+[ Header
+ 1 ( "" , [] , [] ) [ Str "I." , Space , Str "Introduction" ]
+]
```
diff --git a/test/command/6324.md b/test/command/6324.md
index 0fe57ce65..51a22480c 100644
--- a/test/command/6324.md
+++ b/test/command/6324.md
@@ -12,6 +12,15 @@ Me
\maketitle
\end{document}
^D
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "Me"]]),("title",MetaInlines [Str "Document",Space,Str "title"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author" , MetaList [ MetaInlines [ Str "Me" ] ] )
+ , ( "title"
+ , MetaInlines [ Str "Document" , Space , Str "title" ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/command/6658.md b/test/command/6658.md
index 96700c8fe..c4e5dbf3a 100644
--- a/test/command/6658.md
+++ b/test/command/6658.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t html
+% pandoc -f latex -t html
\num{12345,67890}
\num{1+-2i}
diff --git a/test/command/6699.md b/test/command/6699.md
index 347e04577..6dfea4ded 100644
--- a/test/command/6699.md
+++ b/test/command/6699.md
@@ -7,7 +7,9 @@ title
text
^D
-[Header 1 ("title",["allowframebreaks"],[]) [Str "title"]
-,Para [Str "text"]]
+[ Header
+ 1 ( "title" , [ "allowframebreaks" ] , [] ) [ Str "title" ]
+, Para [ Str "text" ]
+]
```
diff --git a/test/command/6709.md b/test/command/6709.md
index d6d514552..419895000 100644
--- a/test/command/6709.md
+++ b/test/command/6709.md
@@ -7,5 +7,7 @@ if true; then
fi
```
^D
-[CodeBlock ("",[],[]) "if true; then\n echo \"yup\"\nfi"]
+[ CodeBlock
+ ( "" , [] , [] ) "if true; then\n echo \"yup\"\nfi"
+]
````
diff --git a/test/command/6719.md b/test/command/6719.md
index 788e7b617..23701c066 100644
--- a/test/command/6719.md
+++ b/test/command/6719.md
@@ -4,7 +4,7 @@
<emphasis>emphasized </emphasis>text
</para>
^D
-[Para [Emph [Str "emphasized"],Space,Str "text"]]
+[ Para [ Emph [ Str "emphasized" ] , Space , Str "text" ] ]
```
```
@@ -13,6 +13,6 @@
<italic> hi </italic>there
</p>
^D
-[Para [Emph [Str "hi"],Space,Str "there"]]
+[ Para [ Emph [ Str "hi" ] , Space , Str "there" ] ]
```
diff --git a/test/command/6739.md b/test/command/6739.md
index 7c9ed24a2..ff2d4bc75 100644
--- a/test/command/6739.md
+++ b/test/command/6739.md
@@ -4,7 +4,8 @@
* `--argA | --argB` This item has a pipe character
^D
<ul>
-<li><code>--argument</code> This item does not have a pipe character</li>
+<li><code>--argument</code> This item does not have a pipe
+character</li>
<li><code>--argA | --argB</code> This item has a pipe character</li>
</ul>
```
diff --git a/test/command/6741.md b/test/command/6741.md
index 5fcc0700e..7764055a1 100644
--- a/test/command/6741.md
+++ b/test/command/6741.md
@@ -35,13 +35,13 @@ references:
type: article-journal
- author:
- family: Suzuki
- given: Y
+ given: Y.
- family: Minami
- given: T
+ given: T.
- family: Laeng
- given: B
+ given: B.
- family: Nakauchi
- given: S
+ given: S.
container-title: Acta Psychologica
DOI: 10.1016/j.actpsy.2019.102882
id: suzuki2019
diff --git a/test/command/6791.md b/test/command/6791.md
index 478647721..c35c04eb3 100644
--- a/test/command/6791.md
+++ b/test/command/6791.md
@@ -14,19 +14,34 @@
</tgroup>
</informaltable>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.25)
- ,(AlignDefault,ColWidth 0.25)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.25 )
+ , ( AlignDefault , ColWidth 0.25 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/6792.md b/test/command/6792.md
index 3d31942fe..253009d46 100644
--- a/test/command/6792.md
+++ b/test/command/6792.md
@@ -22,7 +22,7 @@
<style:font-face style:name="Courier New" style:font-family-generic="modern" style:font-pitch="fixed" svg:font-family="'Courier New'" />
</office:font-face-decls>
<office:automatic-styles>
- <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
+ <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
<style:style style:name="fr1" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" /></style:style>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false" />
diff --git a/test/command/6802.md b/test/command/6802.md
index 8f56f0e43..5e66c1d1b 100644
--- a/test/command/6802.md
+++ b/test/command/6802.md
@@ -2,8 +2,7 @@
% pandoc -f latex -t native
\blockquote[test][]{quote}
^D
-[BlockQuote
- [Para [Str "quote"]
- ,Para [Str "test"]]]
+[ BlockQuote [ Para [ Str "quote" ] , Para [ Str "test" ] ]
+]
```
diff --git a/test/command/6836.md b/test/command/6836.md
index c35048045..b8e668a62 100644
--- a/test/command/6836.md
+++ b/test/command/6836.md
@@ -1,5 +1,5 @@
```
-pandoc -t native
+% pandoc -t native
[@buchanan]
(@foo)
@@ -8,10 +8,34 @@ See @foo.
[@buchanan]
^D
-[Para [Cite [Citation {citationId = "buchanan", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 1, citationHash = 0}] [Str "[@buchanan]"]]
-,OrderedList (1,Example,TwoParens)
- [[]]
-,Para [Str "See",Space,Str "1."]
-,Para [Cite [Citation {citationId = "buchanan", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 2, citationHash = 0}] [Str "[@buchanan]"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "buchanan"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@buchanan]" ]
+ ]
+, OrderedList ( 1 , Example , TwoParens ) [ [] ]
+, Para [ Str "See" , Space , Str "1." ]
+, Para
+ [ Cite
+ [ Citation
+ { citationId = "buchanan"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@buchanan]" ]
+ ]
+]
```
diff --git a/test/command/6844.md b/test/command/6844.md
index 0431cfed8..e7af336a3 100644
--- a/test/command/6844.md
+++ b/test/command/6844.md
@@ -5,7 +5,7 @@ Negative numbers with siunitx
\SI{123}{\celsius}
^D
-[Para [Str "123\160\176C"]]
+[ Para [ Str "123\160\176C" ] ]
```
```
@@ -13,7 +13,7 @@ Negative numbers with siunitx
\SI{-123}{\celsius}
^D
-[Para [Str "\8722\&123\160\176C"]]
+[ Para [ Str "\8722\&123\160\176C" ] ]
```
```
@@ -21,7 +21,7 @@ Negative numbers with siunitx
\SI{+123}{\celsius}
^D
-[Para [Str "123\160\176C"]]
+[ Para [ Str "123\160\176C" ] ]
```
diff --git a/test/command/6869.md b/test/command/6869.md
index cd8ff9ff4..cbef00f68 100644
--- a/test/command/6869.md
+++ b/test/command/6869.md
@@ -2,5 +2,18 @@
% pandoc -f latex -t native
\cite[„Aber“]{key}
^D
-[Para [Cite [Citation {citationId = "key", citationPrefix = [], citationSuffix = [Str "\8222Aber\8220"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite[\8222Aber\8220]{key}"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "key"
+ , citationPrefix = []
+ , citationSuffix = [ Str "\8222Aber\8220" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline (Format "latex") "\\cite[\8222Aber\8220]{key}" ]
+ ]
+]
```
diff --git a/test/command/6873.md b/test/command/6873.md
index d747a47ff..20667d64c 100644
--- a/test/command/6873.md
+++ b/test/command/6873.md
@@ -3,5 +3,33 @@
\cite[„Etwas […{]} auslassen“]{key}
^D
[WARNING] Citeproc: citation key not found
-[Para [Cite [Citation {citationId = "key", citationPrefix = [], citationSuffix = [Str "\8222Etwas",Space,Str "[\8230",Span ("",[],[]) [Str "]"],Space,Str "auslassen\8220"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [Str "(",Strong [Str "key?"],Str "\8222Etwas",Space,Str "[\8230",Span ("",[],[]) [Str "]"],Space,Str "auslassen\8220)"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "key"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "\8222Etwas"
+ , Space
+ , Str "[\8230"
+ , Span ( "" , [] , [] ) [ Str "]" ]
+ , Space
+ , Str "auslassen\8220"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ Str "("
+ , Strong [ Str "key?" ]
+ , Str "\8222Etwas"
+ , Space
+ , Str "[\8230"
+ , Span ( "" , [] , [] ) [ Str "]" ]
+ , Space
+ , Str "auslassen\8220)"
+ ]
+ ]
+]
```
diff --git a/test/command/6890.md b/test/command/6890.md
index e36c12771..579342980 100644
--- a/test/command/6890.md
+++ b/test/command/6890.md
@@ -27,10 +27,116 @@ Some text.[^1]
[^1]: @fruchtel-sozialer-2013a
^D
-[Para [Cite [Citation {citationId = "fruchtel-sozialer-2013a", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0}] [Str "Fr\252chtel,",Space,Str "Budde,",Space,Str "and",Space,Str "Cyprian",Space,Str "(2013)"]]
-,Para [Str "Some",Space,Str "text.",Note [Para [Cite [Citation {citationId = "fruchtel-sozialer-2013a", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "Fr\252chtel,",Space,Str "Budde,",Space,Str "and",Space,Str "Cyprian",Space,Str "(2013)"]]]]
-,Div ("refs",["references","csl-bib-body","hanging-indent"],[])
- [Div ("ref-fruchtel-sozialer-2013a",["csl-entry"],[])
- [Para [Str "Fr\252chtel,",Space,Str "Frank,",Space,Str "Wolfgang",Space,Str "Budde,",Space,Str "and",Space,Str "Gudrun",Space,Str "Cyprian.",Space,Str "2013.",Space,Emph [Str "Sozialer",Space,Str "Raum",Space,Str "und",Space,Str "Soziale",Space,Str "Arbeit",Space,Str "Fieldbook:",Space,Str "Methoden",Space,Str "und",Space,Str "Techniken"],Str ".",Space,Str "3rd",Space,Str "ed.",Space,Str "Wiesbaden,",Space,Str "Germany:",Space,Str "Springer",Space,Str "VS."]]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "fruchtel-sozialer-2013a"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "Fr\252chtel,"
+ , Space
+ , Str "Budde,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Cyprian"
+ , Space
+ , Str "(2013)"
+ ]
+ ]
+, Para
+ [ Str "Some"
+ , Space
+ , Str "text."
+ , Note
+ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "fruchtel-sozialer-2013a"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "Fr\252chtel,"
+ , Space
+ , Str "Budde,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Cyprian"
+ , Space
+ , Str "(2013)"
+ ]
+ ]
+ ]
+ ]
+, Div
+ ( "refs"
+ , [ "references" , "csl-bib-body" , "hanging-indent" ]
+ , []
+ )
+ [ Div
+ ( "ref-fruchtel-sozialer-2013a" , [ "csl-entry" ] , [] )
+ [ Para
+ [ Str "Fr\252chtel,"
+ , Space
+ , Str "Frank,"
+ , Space
+ , Str "Wolfgang"
+ , Space
+ , Str "Budde,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Gudrun"
+ , Space
+ , Str "Cyprian."
+ , Space
+ , Str "2013."
+ , Space
+ , Emph
+ [ Str "Sozialer"
+ , Space
+ , Str "Raum"
+ , Space
+ , Str "und"
+ , Space
+ , Str "Soziale"
+ , Space
+ , Str "Arbeit"
+ , Space
+ , Str "Fieldbook:"
+ , Space
+ , Str "Methoden"
+ , Space
+ , Str "und"
+ , Space
+ , Str "Techniken"
+ ]
+ , Str "."
+ , Space
+ , Str "3rd"
+ , Space
+ , Str "ed."
+ , Space
+ , Str "Wiesbaden,"
+ , Space
+ , Str "Germany:"
+ , Space
+ , Str "Springer"
+ , Space
+ , Str "VS."
+ ]
+ ]
+ ]
+]
```
diff --git a/test/command/6970.md b/test/command/6970.md
new file mode 100644
index 000000000..45d9b76bd
--- /dev/null
+++ b/test/command/6970.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f html -t native
+<a name="foo" class="bar baz" href='https://example.com' target='_blank'>https://example.com<a>
+^D
+[ Plain
+ [ Link
+ ( "foo" , [ "bar" , "baz" ] , [ ( "target" , "_blank" ) ] )
+ [ Str "https://example.com" ]
+ ( "https://example.com" , "" )
+ ]
+]
+```
diff --git a/test/command/6993.md b/test/command/6993.md
index b7f7f5384..d2baa2748 100644
--- a/test/command/6993.md
+++ b/test/command/6993.md
@@ -2,20 +2,32 @@
% pandoc -f mediawiki -t native
'''Should be bold '''
^D
-[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+[ Para
+ [ Strong
+ [ Str "Should" , Space , Str "be" , Space , Str "bold" ]
+ ]
+]
```
```
% pandoc -f mediawiki -t native
''' Should be bold'''
^D
-[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+[ Para
+ [ Strong
+ [ Str "Should" , Space , Str "be" , Space , Str "bold" ]
+ ]
+]
```
```
% pandoc -f mediawiki -t native
'' Should be emph ''
^D
-[Para [Emph [Str "Should",Space,Str "be",Space,Str "emph"]]]
+[ Para
+ [ Emph
+ [ Str "Should" , Space , Str "be" , Space , Str "emph" ]
+ ]
+]
```
diff --git a/test/command/7003.md b/test/command/7003.md
index 1f6275943..5f88a58a6 100644
--- a/test/command/7003.md
+++ b/test/command/7003.md
@@ -30,8 +30,29 @@ This a Foo section
\lstinputlisting{example.tex}
\end{document}
^D
-[Header 1 ("with-lstlisting-environment",[],[]) [Str "With",Space,Str "lstlisting",Space,Str "environment"]
-,CodeBlock ("",[],[]) "\\documentclass{article}\n\\begin{document}\n\\section{Foo}\nThis a Foo section\n\\end{document}"
-,Header 1 ("with-lstinputlisting-command",[],[]) [Str "With",Space,Str "lstinputlisting",Space,Str "command"]
-,CodeBlock ("",["latex"],[]) "\\documentclass{article}\n\\begin{document}\n\\section{Bar}\nThis a Bar section\n\\end{document}"]
+[ Header
+ 1
+ ( "with-lstlisting-environment" , [] , [] )
+ [ Str "With"
+ , Space
+ , Str "lstlisting"
+ , Space
+ , Str "environment"
+ ]
+, CodeBlock
+ ( "" , [] , [] )
+ "\\documentclass{article}\n\\begin{document}\n\\section{Foo}\nThis a Foo section\n\\end{document}"
+, Header
+ 1
+ ( "with-lstinputlisting-command" , [] , [] )
+ [ Str "With"
+ , Space
+ , Str "lstinputlisting"
+ , Space
+ , Str "command"
+ ]
+, CodeBlock
+ ( "" , [ "latex" ] , [] )
+ "\\documentclass{article}\n\\begin{document}\n\\section{Bar}\nThis a Bar section\n\\end{document}"
+]
```
diff --git a/test/command/7006.md b/test/command/7006.md
index e7951fb1a..22aaf84ad 100644
--- a/test/command/7006.md
+++ b/test/command/7006.md
@@ -6,13 +6,16 @@ Test.[^fn]
![Caption.](/image.jpg)
^D
-<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a></p>
-<section class="footnotes" role="doc-endnotes">
+<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1"
+role="doc-noteref"><sup>1</sup></a></p>
+<section class="footnotes footnotes-end-of-document"
+role="doc-endnotes">
<hr />
<ol>
<li id="fn1" role="doc-endnote"><p>Foo:</p>
<figure>
-<img src="/image.jpg" alt="Caption." /><figcaption aria-hidden="true">Caption.</figcaption>
+<img src="/image.jpg" alt="Caption." />
+<figcaption aria-hidden="true">Caption.</figcaption>
</figure>
<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li>
</ol>
diff --git a/test/command/7080.md b/test/command/7080.md
index 0727c1083..565a6544d 100644
--- a/test/command/7080.md
+++ b/test/command/7080.md
@@ -4,5 +4,14 @@
[image]: image.png width=100px height=150px
^D
-[Para [Image ("",[],[("width","100px"),("height","150px")]) [] ("image.png","")]]
+[ Para
+ [ Image
+ ( ""
+ , []
+ , [ ( "width" , "100px" ) , ( "height" , "150px" ) ]
+ )
+ []
+ ( "image.png" , "" )
+ ]
+]
```
diff --git a/test/command/7092.md b/test/command/7092.md
index e7f127244..d6a526392 100644
--- a/test/command/7092.md
+++ b/test/command/7092.md
@@ -4,5 +4,7 @@
\em{\parseMe{foo}}
^D
-[Para [Emph [RawInline (Format "latex") "\\parseMe{foo}"]]]
+[ Para
+ [ Emph [ RawInline (Format "latex") "\\parseMe{foo}" ] ]
+]
```
diff --git a/test/command/7129.md b/test/command/7129.md
index fef4ca2c3..14005f0d1 100644
--- a/test/command/7129.md
+++ b/test/command/7129.md
@@ -5,23 +5,51 @@
foo & \verb|b&r| \\ \hline
\end{tabular}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "FOO"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "BAR"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "foo"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Code ("",[],[]) "b&r"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "FOO" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "BAR" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "foo" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Code ( "" , [] , [] ) "b&r" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/7134.md b/test/command/7134.md
index c69ae4bd0..041d7ea24 100644
--- a/test/command/7134.md
+++ b/test/command/7134.md
@@ -8,9 +8,44 @@ This is a paragraph.
This should be a second block quote.
^D
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "paragraph."]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote."]]
-,BlockQuote
- [Para [Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "second",Space,Str "block",Space,Str "quote."]]]
+[ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph."
+ ]
+, BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ ]
+, BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ ]
+]
```
diff --git a/test/command/7145.md b/test/command/7145.md
index a04345890..623f40880 100644
--- a/test/command/7145.md
+++ b/test/command/7145.md
@@ -8,5 +8,65 @@ empty
linebreaks</ref> Nulla ut massa eget ex venenatis lobortis id in eros.
^D
-[Para [Str "Maecenas",Space,Str "at",Space,Str "sapien",Space,Str "tempor,",Space,Str "pretium",Space,Str "turpis",Space,Str "ut,",Space,Str "imperdiet",Space,Str "augue.",Note [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "multiline"],Para [Str "reference",SoftBreak,RawInline (Format "html") "<i>",Str "with",RawInline (Format "html") "</i>",SoftBreak,Str "empty"],Para [Str "linebreaks"]],Space,Str "Nulla",Space,Str "ut",Space,Str "massa",Space,Str "eget",Space,Str "ex",Space,Str "venenatis",Space,Str "lobortis",Space,Str "id",Space,Str "in",Space,Str "eros."]]
+[ Para
+ [ Str "Maecenas"
+ , Space
+ , Str "at"
+ , Space
+ , Str "sapien"
+ , Space
+ , Str "tempor,"
+ , Space
+ , Str "pretium"
+ , Space
+ , Str "turpis"
+ , Space
+ , Str "ut,"
+ , Space
+ , Str "imperdiet"
+ , Space
+ , Str "augue."
+ , Note
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "multiline"
+ ]
+ , Para
+ [ Str "reference"
+ , SoftBreak
+ , RawInline (Format "html") "<i>"
+ , Str "with"
+ , RawInline (Format "html") "</i>"
+ , SoftBreak
+ , Str "empty"
+ ]
+ , Para [ Str "linebreaks" ]
+ ]
+ , Space
+ , Str "Nulla"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "massa"
+ , Space
+ , Str "eget"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "venenatis"
+ , Space
+ , Str "lobortis"
+ , Space
+ , Str "id"
+ , Space
+ , Str "in"
+ , Space
+ , Str "eros."
+ ]
+]
```
diff --git a/test/command/7155.md b/test/command/7155.md
index 49358bf97..454c387d5 100644
--- a/test/command/7155.md
+++ b/test/command/7155.md
@@ -3,7 +3,16 @@
\(x\) \[x\]
\\(x\\) \\[x\\]
^D
-[Para [Math InlineMath "x",Space,Math DisplayMath "x",SoftBreak,Str "\\(x\\)",Space,Str "\\[x\\]"]]
+[ Para
+ [ Math InlineMath "x"
+ , Space
+ , Math DisplayMath "x"
+ , SoftBreak
+ , Str "\\(x\\)"
+ , Space
+ , Str "\\[x\\]"
+ ]
+]
```
```
@@ -11,5 +20,14 @@
\(x\) \[x\]
\\(x\\) \\[x\\]
^D
-[Para [Str "(x)",Space,Str "[x]",SoftBreak,Math InlineMath "x",Space,Math DisplayMath "x"]]
+[ Para
+ [ Str "(x)"
+ , Space
+ , Str "[x]"
+ , SoftBreak
+ , Math InlineMath "x"
+ , Space
+ , Math DisplayMath "x"
+ ]
+]
```
diff --git a/test/command/7208.md b/test/command/7208.md
index fe02ec32e..e65943ade 100644
--- a/test/command/7208.md
+++ b/test/command/7208.md
@@ -2,5 +2,5 @@
% pandoc -t gfm
\<hi\>
^D
-\<hi>
+\<hi\>
```
diff --git a/test/command/7216.md b/test/command/7216.md
index cab3b9689..2fb99c7b5 100644
--- a/test/command/7216.md
+++ b/test/command/7216.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
"This is some text in quotes. Another paragraph by the same speaker follows. The first paragraph should have no close quote.
"The second paragraph should have open and close quotes."
diff --git a/test/command/7272.md b/test/command/7272.md
index d27b25143..cea282a10 100644
--- a/test/command/7272.md
+++ b/test/command/7272.md
@@ -15,7 +15,7 @@
</table>
^D
\begin{longtable}[]{@{}
- >{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.00}}@{}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.0000}}@{}}
\toprule
\endhead
\begin{minipage}[t]{\linewidth}\raggedright
diff --git a/test/command/7329.md b/test/command/7329.md
new file mode 100644
index 000000000..9ed9c52ff
--- /dev/null
+++ b/test/command/7329.md
@@ -0,0 +1,67 @@
+```
+% pandoc -f markdown -t org
+- @item1
+- @item1 [p. 12]
+- @item1 [p.12; see also @item2]
+- [@item1]
+- [-@item1]
+- [see @item1 p. 12]
+- [see @item1, p. 12]
+- [see @item1, p. 12 and *passim*]
+- [@item1;@item2]
+- [see @item1; @item2]
+^D
+- [cite/t:@item1]
+- [cite/t:@item1 p. 12]
+- [cite/t:@item1 p.12; see also @item2]
+- [cite:@item1]
+- [cite/na:@item1]
+- [cite:see @item1 p. 12]
+- [cite:see @item1 p. 12]
+- [cite:see @item1 p. 12 and /passim/]
+- [cite:@item1; @item2]
+- [cite:see @item1; @item2]
+```
+
+```
+% pandoc -f markdown -t org -C --bibliography command/biblio.bib
+- [@item1]
+^D
+- [cite:@item1]
+```
+
+
+```
+% pandoc -f markdown -t org-citations -C --bibliography command/biblio.bib
+[@item1]
+^D
+(Doe 2005)
+
+<<refs>>
+
+<<ref-item1>>
+Doe, John. 2005. /First Book/. Cambridge: Cambridge University Press.
+```
+
+```
+% pandoc -f org -t markdown
+- [cite/t:@item1]
+- [cite/t:@item1 p. 12]
+- [cite/t:@item1 p.12; see also @item2]
+- [cite:@item1]
+- [cite/na:@item1]
+- [cite:see @item1 p. 12]
+- [cite:see @item1 p. 12 and /passim/]
+- [cite:@item1; @item2]
+- [cite:see @item1; @item2]
+^D
+- @item1
+- @item1 [p. 12]
+- @item1 [p.12; see also @item2]
+- [@item1]
+- [-@item1]
+- [see @item1 p. 12]
+- [see @item1 p. 12 and *passim*]
+- [@item1; @item2]
+- [see @item1; @item2]
+```
diff --git a/test/command/7339.md b/test/command/7339.md
index 9697c1c32..f8d004f68 100644
--- a/test/command/7339.md
+++ b/test/command/7339.md
@@ -6,6 +6,10 @@ title: Test
Hi
^D
-Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "Test"])]})
-[Para [Str "Hi"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList [ ( "title" , MetaInlines [ Str "Test" ] ) ]
+ }
+ [ Para [ Str "Hi" ] ]
```
diff --git a/test/command/7340.md b/test/command/7340.md
index 25decd732..2c080a439 100644
--- a/test/command/7340.md
+++ b/test/command/7340.md
@@ -2,5 +2,5 @@
% pandoc -f latex -t native
\(*\)
^D
-[Para [Math InlineMath "*"]]
+[ Para [ Math InlineMath "*" ] ]
```
diff --git a/test/command/7400.md b/test/command/7400.md
index d4be32d72..785ded88d 100644
--- a/test/command/7400.md
+++ b/test/command/7400.md
@@ -4,6 +4,5 @@
# Comment only
...
^D
-Pandoc (Meta {unMeta = fromList []})
-[]
+Pandoc Meta { unMeta = fromList [] } []
```
diff --git a/test/command/7416.md b/test/command/7416.md
index 2f9577f10..d440725ab 100644
--- a/test/command/7416.md
+++ b/test/command/7416.md
@@ -4,7 +4,8 @@
^D
<figure>
-<img src="../media/rId25.jpg" title="title" alt="alt" /><figcaption>caption</figcaption>
+<img src="../media/rId25.jpg" title="title" alt="alt" />
+<figcaption>caption</figcaption>
</figure>
```
@@ -14,6 +15,7 @@
^D
<figure>
-<img src="../media/rId25.jpg" title="title" alt="caption" /><figcaption aria-hidden="true">caption</figcaption>
+<img src="../media/rId25.jpg" title="title" alt="caption" />
+<figcaption aria-hidden="true">caption</figcaption>
</figure>
```
diff --git a/test/command/7434.md b/test/command/7434.md
index be8732bc2..e4f2743a1 100644
--- a/test/command/7434.md
+++ b/test/command/7434.md
@@ -9,7 +9,15 @@
[\*\a](x)
^D
-[RawBlock (Format "tex") "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}"
-,Para [Str "1234567890abcdefghi"]
-,Para [Link ("",[],[]) [Str "*",RawInline (Format "tex") "\\a"] ("x","")]]
+[ RawBlock
+ (Format "tex")
+ "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}"
+, Para [ Str "1234567890abcdefghi" ]
+, Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "*" , RawInline (Format "tex") "\\a" ]
+ ( "x" , "" )
+ ]
+]
```
diff --git a/test/command/7436.md b/test/command/7436.md
index ad4cb8c2f..c2d434d60 100644
--- a/test/command/7436.md
+++ b/test/command/7436.md
@@ -8,7 +8,24 @@
.. include:: command/three.txt
^D
-[CodeBlock ("",[""],[("code","")]) "1st line.\n2nd line.\n3rd line.\n"
-,RawBlock (Format "rst") "1st line.\n2nd line.\n3rd line.\n"
-,Para [Str "1st",Space,Str "line.",SoftBreak,Str "2nd",Space,Str "line.",SoftBreak,Str "3rd",Space,Str "line."]]
+[ CodeBlock
+ ( "" , [ "" ] , [ ( "code" , "" ) ] )
+ "1st line.\n2nd line.\n3rd line.\n"
+, CodeBlock
+ ( "" , [ "" ] , [ ( "literal" , "" ) ] )
+ "1st line.\n2nd line.\n3rd line.\n"
+, Para
+ [ Str "1st"
+ , Space
+ , Str "line."
+ , SoftBreak
+ , Str "2nd"
+ , Space
+ , Str "line."
+ , SoftBreak
+ , Str "3rd"
+ , Space
+ , Str "line."
+ ]
+]
```
diff --git a/test/command/7482.md b/test/command/7482.md
new file mode 100644
index 000000000..b4f750e2f
--- /dev/null
+++ b/test/command/7482.md
@@ -0,0 +1,47 @@
+```
+% pandoc -f html -t org
+<table border=0 cellpadding=0 cellspacing=0 width=206 style='border-collapse:
+ collapse;width:154pt'>
+<!--StartFragment-->
+ <col width=99 style='mso-width-source:userset;mso-width-alt:3157;width:74pt'>
+ <col width=107 style='mso-width-source:userset;mso-width-alt:3413;width:80pt'>
+ <tr height=23 style='height:17.0pt'>
+ <td height=23 align=left width=99 style='height:17.0pt;width:74pt'>Last N
+ credits</td>
+ <td align=left width=107 style='width:80pt'>Average grade</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>140</td>
+ <td align=right>17.06571429</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 class=xl63 align=right style='height:16.0pt'>84</td>
+ <td class=xl63 align=right>17.95595238</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 class=xl63 align=right style='height:16.0pt'>64</td>
+ <td class=xl63 align=right>18.9734375</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>36</td>
+ <td align=right>19.12777778</td>
+ </tr>
+ <tr height=27 style='mso-height-source:userset;height:20.0pt'>
+ <td height=27 align=right style='height:20.0pt'>29</td>
+ <td align=right>19.18275862</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>19</td>
+ <td align=right>19.00526316</td>
+ </tr>
+<!--EndFragment-->
+</table>
+^D
+| Last N credits | Average grade |
+| 140 | 17.06571429 |
+| 84 | 17.95595238 |
+| 64 | 18.9734375 |
+| 36 | 19.12777778 |
+| 29 | 19.18275862 |
+| 19 | 19.00526316 |
+```
diff --git a/test/command/7494.md b/test/command/7494.md
new file mode 100644
index 000000000..364bcb7e1
--- /dev/null
+++ b/test/command/7494.md
@@ -0,0 +1,62 @@
+```
+% pandoc -f latex -t plain
+\def\foo{BAR}
+{\foo
+\def\foo{BAZ}
+\foo
+}
+\foo
+^D
+BAR BAZ BAR
+```
+
+```
+% pandoc -f latex -t plain
+\def\foo{BAR}
+{\foo
+\gdef\foo{BAZ}
+\foo
+}
+\foo
+^D
+BAR BAZ BAZ
+```
+
+```
+% pandoc -f latex -t plain
+\def\foo{BAR}
+{\foo
+\global\def\foo{BAZ}
+\foo
+}
+\foo
+^D
+BAR BAZ BAZ
+```
+
+```
+% pandoc -f latex -t plain
+\newcommand{\aaa}{BBB}
+{
+\renewcommand{\aaa}{AAA}
+\aaa
+}
+\aaa
+^D
+AAA BBB
+```
+
+```
+% pandoc -f latex -t markdown
+\newcommand{\aaa}{BBB}
+\begin{quote}
+\renewcommand{\aaa}{AAA}
+\aaa
+\end{quote}
+\aaa
+^D
+> AAA
+
+BBB
+```
+
diff --git a/test/command/7497.md b/test/command/7497.md
new file mode 100644
index 000000000..4b80bf267
--- /dev/null
+++ b/test/command/7497.md
@@ -0,0 +1,37 @@
+````
+% pandoc -f markdown-raw_tex -t latex
+```
+\end{verbatim}
+\LaTeX
+\begin{verbatim}
+```
+^D
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{\textbackslash{}end\{verbatim\}}
+\NormalTok{\textbackslash{}LaTeX}
+\NormalTok{\textbackslash{}begin\{verbatim\}}
+\end{Highlighting}
+\end{Shaded}
+````
+
+````
+% pandoc -f markdown-raw_tex -t latex
+hi[^1]
+
+[^1]:
+ ```
+ \end{Verbatim}
+ \LaTeX
+ \begin{Verbatim}
+ ```
+^D
+hi\footnote{\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{\textbackslash{}end\{Verbatim\}}
+\NormalTok{\textbackslash{}LaTeX}
+\NormalTok{\textbackslash{}begin\{Verbatim\}}
+\end{Highlighting}
+\end{Shaded}
+}
+````
diff --git a/test/command/7520.md b/test/command/7520.md
new file mode 100644
index 000000000..0300a9e45
--- /dev/null
+++ b/test/command/7520.md
@@ -0,0 +1,22 @@
+```
+% pandoc -f org -t native -s
+:PROPERTIES:
+:ID: d5b18943-98a3-4b2a-a545-41d17bf50f3e
+:END:
+#+title: Common Ground
+^D
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "id"
+ , MetaString "d5b18943-98a3-4b2a-a545-41d17bf50f3e"
+ )
+ , ( "title"
+ , MetaInlines [ Str "Common" , Space , Str "Ground" ]
+ )
+ ]
+ }
+ []
+
+```
diff --git a/test/command/7521.md b/test/command/7521.md
new file mode 100644
index 000000000..4a24f13e1
--- /dev/null
+++ b/test/command/7521.md
@@ -0,0 +1,11 @@
+```
+% pandoc --strip-comments
+- one
+ <!-- with comm -->
+- two
+^D
+<ul>
+<li>one </li>
+<li>two</li>
+</ul>
+```
diff --git a/test/command/7529.md b/test/command/7529.md
new file mode 100644
index 000000000..9515258e9
--- /dev/null
+++ b/test/command/7529.md
@@ -0,0 +1,7 @@
+```
+% pandoc -f html -t asciidoc
+<a href="https://example.com/show.cgi?id=hi--there--everyone">https://example.com/show.cgi?id=hi--there--everyone</a>
+^D
+link:++https://example.com/show.cgi?id=hi--there--everyone++[]
+```
+
diff --git a/test/command/7546.md b/test/command/7546.md
new file mode 100644
index 000000000..aed17275e
--- /dev/null
+++ b/test/command/7546.md
@@ -0,0 +1,6 @@
+```
+% pandoc -t html -f native
+Span ("", [], [("","")]) []
+^D
+<span></span>
+```
diff --git a/test/command/7557.md b/test/command/7557.md
new file mode 100644
index 000000000..c837d0b3c
--- /dev/null
+++ b/test/command/7557.md
@@ -0,0 +1,20 @@
+```
+% pandoc -f org -t native
+- 11. and 12. 09. meeting
+^D
+[ BulletList
+ [ [ Plain
+ [ Str "11."
+ , Space
+ , Str "and"
+ , Space
+ , Str "12."
+ , Space
+ , Str "09."
+ , Space
+ , Str "meeting"
+ ]
+ ]
+ ]
+]
+```
diff --git a/test/command/7568.md b/test/command/7568.md
new file mode 100644
index 000000000..487da0861
--- /dev/null
+++ b/test/command/7568.md
@@ -0,0 +1,16 @@
+```
+% pandoc -f rst
+While `Labyrinth Lord: Revised Edition`_ (LLRE; PDF and POD) has been
+criticized for not being a completely faithful retro-clone of the
+Moldvay/Cook/Marsh Basic/Expert D&D rules (B/X), I think it still
+holds a useful spot.
+
+.. _Labyrinth Lord\: Revised Edition: https://www.drivethrurpg.com/product/64332/Labyrinth-Lord-Revised-Edition
+^D
+<p>While <a
+href="https://www.drivethrurpg.com/product/64332/Labyrinth-Lord-Revised-Edition">Labyrinth
+Lord: Revised Edition</a> (LLRE; PDF and POD) has been criticized for
+not being a completely faithful retro-clone of the Moldvay/Cook/Marsh
+Basic/Expert D&amp;D rules (B/X), I think it still holds a useful
+spot.</p>
+```
diff --git a/test/command/7573.md b/test/command/7573.md
new file mode 100644
index 000000000..d6529cde6
--- /dev/null
+++ b/test/command/7573.md
@@ -0,0 +1,11 @@
+```
+% pandoc --preserve-tabs
+<ol>
+ <li>one
+</ol>
+^D
+<ol>
+<li>
+one
+</ol>
+```
diff --git a/test/command/7589.md b/test/command/7589.md
new file mode 100644
index 000000000..aff21dad8
--- /dev/null
+++ b/test/command/7589.md
@@ -0,0 +1,72 @@
+```
+% pandoc -f html -t native
+<table>
+ <thead>
+ <tr>
+ <th>experience</th>
+ <th>expertise</th>
+ <th>paradigms</th>
+ <th>haskell</th>
+ <th>name</th>
+ <th>image</th>
+ </tr>
+ </thead>
+ <tbody></tbody>
+</table>
+^D
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "experience" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "expertise" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "paradigms" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "haskell" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "image" ] ]
+ ]
+ ])
+ [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
+ (TableFoot ( "" , [] , [] ) [])
+]
+```
diff --git a/test/command/7615.md b/test/command/7615.md
new file mode 100644
index 000000000..9235b0a17
--- /dev/null
+++ b/test/command/7615.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f latex -t native
+\texttt{\^}
+^D
+[ Para [ Code ( "" , [] , [] ) "^" ] ]
+```
diff --git a/test/command/7623.md b/test/command/7623.md
new file mode 100644
index 000000000..1c4c8a0c1
--- /dev/null
+++ b/test/command/7623.md
@@ -0,0 +1,12 @@
+```
+% pandoc -t native
+[link $(0,1]$](url)
+^D
+[ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "link" , Space , Math InlineMath "(0,1]" ]
+ ( "url" , "" )
+ ]
+]
+```
diff --git a/test/command/7632.md b/test/command/7632.md
new file mode 100644
index 000000000..4256bc207
--- /dev/null
+++ b/test/command/7632.md
@@ -0,0 +1,66 @@
+```
+% pandoc -t native
+(@a) First case
+
+[link to (@a)](url)
+^D
+[ OrderedList
+ ( 1 , Example , TwoParens )
+ [ [ Plain [ Str "First" , Space , Str "case" ] ] ]
+, Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "link" , Space , Str "to" , Space , Str "(1)" ]
+ ( "url" , "" )
+ ]
+]
+```
+
+```
+% pandoc -t native
+[@a]{.class}
+^D
+[ Para
+ [ Span
+ ( "" , [ "class" ] , [] )
+ [ Cite
+ [ Citation
+ { citationId = "a"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "@a" ]
+ ]
+ ]
+]
+
+```
+
+```
+% pandoc -t native
+[@a](url)
+^D
+[ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Cite
+ [ Citation
+ { citationId = "a"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "@a" ]
+ ]
+ ( "url" , "" )
+ ]
+]
+
+```
diff --git a/test/command/7668.md b/test/command/7668.md
new file mode 100644
index 000000000..6f85aa4de
--- /dev/null
+++ b/test/command/7668.md
@@ -0,0 +1,36 @@
+```
+% pandoc -f bibtex -t csljson
+%@Book{JW82,
+ author = {Richard A. Johnson and Dean W. Wichern},
+ title = {Applied Multivariate Statistical Analysis},
+ publisher= {Prentice-Hall},
+ year = {1983}
+}
+@Book{JW83,
+ author = {Richard %A.
+ B. Johnson},
+% title = {Multivariate Analysis},
+ year = "%
+ 1983"
+}
+^D
+[
+ {
+ "author": [
+ {
+ "family": "Johnson",
+ "given": "Richard B."
+ }
+ ],
+ "id": "JW83",
+ "issued": {
+ "date-parts": [
+ [
+ 1983
+ ]
+ ]
+ },
+ "type": "book"
+ }
+]
+```
diff --git a/test/command/7692.md b/test/command/7692.md
new file mode 100644
index 000000000..2a91ef378
--- /dev/null
+++ b/test/command/7692.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t markdown
+[https://example.com](https://example.com){.clz}
+^D
+[https://example.com](https://example.com){.clz}
+```
+
+```
+% pandoc -f markdown -t html | pandoc -f html -t markdown
+<http://example.com>
+^D
+<http://example.com>
+```
diff --git a/test/command/7697.md b/test/command/7697.md
new file mode 100644
index 000000000..eb9c823d0
--- /dev/null
+++ b/test/command/7697.md
@@ -0,0 +1,27 @@
+```
+% pandoc -f rst -t mediawiki
+.. _refsubpage1:
+
+heading
+-------
+
+ref to top of this section: `refsubpage1`_.
+^D
+<span id="refsubpage1"></span>
+= heading =
+
+ref to top of this section: [[#refsubpage1|refsubpage1]].
+```
+```
+% pandoc -f markdown -t mediawiki
+# Heading {#foo}
+^D
+<span id="foo"></span>
+= Heading =
+```
+```
+% pandoc -f markdown -t mediawiki
+# My Heading {#My_Heading}
+^D
+= My Heading =
+```
diff --git a/test/command/7713.md b/test/command/7713.md
new file mode 100644
index 000000000..851cb4729
--- /dev/null
+++ b/test/command/7713.md
@@ -0,0 +1,29 @@
+```
+% pandoc
+| aaaaaaaaaaaa | bbbbb | ccccccccccc |
+| --- | --- | --- |
+| | | cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc |
+^D
+<table>
+<colgroup>
+<col style="width: 33%" />
+<col style="width: 33%" />
+<col style="width: 33%" />
+</colgroup>
+<thead>
+<tr class="header">
+<th>aaaaaaaaaaaa</th>
+<th>bbbbb</th>
+<th>ccccccccccc</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td></td>
+<td></td>
+<td>cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc
+cccccccccc</td>
+</tr>
+</tbody>
+</table>
+```
diff --git a/test/command/7723.md b/test/command/7723.md
new file mode 100644
index 000000000..f3229eb1e
--- /dev/null
+++ b/test/command/7723.md
@@ -0,0 +1,8 @@
+```
+% pandoc -t native
+Bug![^1]
+
+[^1]: Note.
+^D
+[ Para [ Str "Bug!" , Note [ Para [ Str "Note." ] ] ] ]
+```
diff --git a/test/command/7726.md b/test/command/7726.md
new file mode 100644
index 000000000..bab11ca04
--- /dev/null
+++ b/test/command/7726.md
@@ -0,0 +1,22 @@
+```
+% pandoc -t markdown
+\# Hi
+
+\## Hi
+
+\### Hi
+
+\#### hi
+
+and #hi
+^D
+\# Hi
+
+\## Hi
+
+\### Hi
+
+\#### hi
+
+and #hi
+```
diff --git a/test/command/7738.md b/test/command/7738.md
new file mode 100644
index 000000000..e3c629aa0
--- /dev/null
+++ b/test/command/7738.md
@@ -0,0 +1,6 @@
+```
+% pandoc
+![_](url.png) image
+^D
+<p><img src="url.png" alt="_" /> image</p>
+```
diff --git a/test/command/7761.md b/test/command/7761.md
new file mode 100644
index 000000000..0307bcaee
--- /dev/null
+++ b/test/command/7761.md
@@ -0,0 +1,35 @@
+```
+% pandoc --citeproc --csl command/chicago-fullnote-bibliography.csl -t plain
+---
+references:
+- id: noauthor
+ issued: 2020
+ publisher: Oxford University Press
+ publisher-place: Oxford
+ title: Title
+ type: book
+- id: author
+ author:
+ - family: Jones
+ given: Jim
+ issued: 2021
+ title: Title
+ type: book
+ url: "https://duckduckgo.com/cite2021"
+---
+
+Text.[^n]
+
+[^n]: See @author. Another example of a sea level mapping tool with
+similar limitations is @noauthor.
+^D
+Text.[1]
+
+Jones, Jim. Title, 2021. https://duckduckgo.com/cite2021.
+
+Title. Oxford: Oxford University Press, 2020.
+
+[1] See Jim Jones, Title, 2021, https://duckduckgo.com/cite2021. Another
+example of a sea level mapping tool with similar limitations is Title
+(Oxford: Oxford University Press, 2020).
+```
diff --git a/test/command/853.md b/test/command/853.md
index 54eb416a9..518c6593b 100644
--- a/test/command/853.md
+++ b/test/command/853.md
@@ -7,11 +7,14 @@ Here is a citation reference: [CIT2002]_.
.. [CIT2002] This is the citation. It's just like a footnote,
except the label is textual.
^D
-<p>Here is a citation reference: <a href="#CIT2002" class="citation">[CIT2002]</a>.</p>
+<p>Here is a citation reference: <a href="#CIT2002"
+class="citation">[CIT2002]</a>.</p>
<div id="citations">
<dl>
<dt><span id="CIT2002" class="citation-label">CIT2002</span></dt>
-<dd><p>This is the citation. It's just like a footnote, except the label is textual.</p>
+<dd>
+<p>This is the citation. It's just like a footnote, except the label is
+textual.</p>
</dd>
</dl>
</div>
diff --git a/test/command/934.md b/test/command/934.md
index ef99abdf9..3c86a1f26 100644
--- a/test/command/934.md
+++ b/test/command/934.md
@@ -7,6 +7,38 @@
}
\ddb{This should be italic and in quotes}{And this is the attribution}
^D
-[Para [Emph [Quoted DoubleQuote [Str "This",Space,Str "should",Space,Str "be",Space,Str "italic",Space,Str "and",Space,Str "in",Space,Str "quotes"]]]
-,Para [Strong [Str "And",Space,Str "this",Space,Str "is",Space,Str "the",Space,Str "attribution"]]]
+[ Para
+ [ Emph
+ [ Quoted
+ DoubleQuote
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "italic"
+ , Space
+ , Str "and"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes"
+ ]
+ ]
+ ]
+, Para
+ [ Strong
+ [ Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "attribution"
+ ]
+ ]
+]
```
diff --git a/test/command/982.md b/test/command/982.md
index 5f54f7713..4b997c4c4 100644
--- a/test/command/982.md
+++ b/test/command/982.md
@@ -7,5 +7,5 @@
y=x^2
\EEQ
^D
-[Para [Math DisplayMath "y=x^2"]]
+[ Para [ Math DisplayMath "y=x^2" ] ]
```
diff --git a/test/command/987.md b/test/command/987.md
index f632231ef..fc75d2c56 100644
--- a/test/command/987.md
+++ b/test/command/987.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t markdown
+% pandoc -f latex -t markdown
\documentclass{article}
\newenvironment{flubble}{FOO}{BAR}
\begin{document}
diff --git a/test/command/adjacent_latex_blocks.md b/test/command/adjacent_latex_blocks.md
index e7dc6d895..4483d6e3f 100644
--- a/test/command/adjacent_latex_blocks.md
+++ b/test/command/adjacent_latex_blocks.md
@@ -4,6 +4,7 @@
\listoftables
^D
-[RawBlock (Format "tex") "\\listoffigures"
-,RawBlock (Format "tex") "\\listoftables"]
+[ RawBlock (Format "tex") "\\listoffigures"
+, RawBlock (Format "tex") "\\listoftables"
+]
```
diff --git a/test/command/ascii.md b/test/command/ascii.md
index 0826d7414..a328ed863 100644
--- a/test/command/ascii.md
+++ b/test/command/ascii.md
@@ -1,19 +1,19 @@
```
-pandoc -t html --ascii
+% pandoc -t html --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```
```
-pandoc -t latex --ascii
+% pandoc -t latex --ascii
äéıå
^D
\"{a}\'{e}\i\r{a}
```
```
-pandoc -t man --ascii
+% pandoc -t man --ascii
äéıå
^D
.PP
@@ -21,7 +21,7 @@ pandoc -t man --ascii
```
```
-pandoc -t ms --ascii
+% pandoc -t ms --ascii
äéıå
^D
.LP
@@ -29,7 +29,7 @@ pandoc -t ms --ascii
```
```
-pandoc -t docbook --ascii
+% pandoc -t docbook --ascii
äéıå
^D
<para>
@@ -38,14 +38,14 @@ pandoc -t docbook --ascii
```
```
-pandoc -t jats --ascii
+% pandoc -t jats --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```
```
-pandoc -t markdown-smart --ascii
+% pandoc -t markdown-smart --ascii
"äéıå"
^D
&ldquo;&auml;&eacute;&imath;&aring;&rdquo;
diff --git a/test/command/bar-endinput.tex b/test/command/bar-endinput.tex
new file mode 100644
index 000000000..2f3f9bd6c
--- /dev/null
+++ b/test/command/bar-endinput.tex
@@ -0,0 +1,3 @@
+\emph{hi there}
+\endinput
+\emph{invisible}
diff --git a/test/command/biblatex-article.md b/test/command/biblatex-article.md
index 705369f78..68d467526 100644
--- a/test/command/biblatex-article.md
+++ b/test/command/biblatex-article.md
@@ -97,7 +97,7 @@ references:
- family: Author
given: Ann A.
suffix: Jr.
- collection-title: new series
+ collection-title: New series
container-title: "The Journaltitle: The Journalsubtitle"
doi: 10.1086/520976
editor:
diff --git a/test/command/biblatex-gillies.md b/test/command/biblatex-gillies.md
index e1a64af23..a63c1311d 100644
--- a/test/command/biblatex-gillies.md
+++ b/test/command/biblatex-gillies.md
@@ -54,7 +54,7 @@ references:
author:
- family: Gillies
given: Alexander
- collection-title: new series
+ collection-title: New series
container-title: Publications of the English Goethe Society
id: gillies
issued: 1933
diff --git a/test/command/biblatex-shore.md b/test/command/biblatex-shore.md
index cc9c079e1..efe97ef7a 100644
--- a/test/command/biblatex-shore.md
+++ b/test/command/biblatex-shore.md
@@ -49,7 +49,7 @@ references:
author:
- family: Shore
given: Bradd
- collection-title: new series
+ collection-title: New series
container-title: American Anthropologist
id: shore
issue: 1
diff --git a/test/command/biblatex-sigfridsson.md b/test/command/biblatex-sigfridsson.md
index e042a8762..f83c35622 100644
--- a/test/command/biblatex-sigfridsson.md
+++ b/test/command/biblatex-sigfridsson.md
@@ -90,7 +90,7 @@ references:
- family: Ryde
given: Ulf
container-title: Journal of Computational Chemistry
- doi: "10.1002/(SICI)1096-987X(199803)19:4\\<377::AID-JCC1>3.0.CO;2-P"
+ doi: "10.1002/(SICI)1096-987X(199803)19:4\\<377::AID-JCC1\\>3.0.CO;2-P"
id: sigfridsson
issue: 4
issued: 1998
diff --git a/test/command/cite-in-inline-note.md b/test/command/cite-in-inline-note.md
index 962eddd2a..aa61b93e8 100644
--- a/test/command/cite-in-inline-note.md
+++ b/test/command/cite-in-inline-note.md
@@ -2,5 +2,25 @@
% pandoc -t native
foo^[bar [@doe]]
^D
-[Para [Str "foo",Note [Para [Str "bar",Space,Cite [Citation {citationId = "doe", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 1, citationHash = 0}] [Str "[@doe]"]]]]]
+[ Para
+ [ Str "foo"
+ , Note
+ [ Para
+ [ Str "bar"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "doe"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@doe]" ]
+ ]
+ ]
+ ]
+]
```
diff --git a/test/command/citeproc-87.md b/test/command/citeproc-87.md
new file mode 100644
index 000000000..dd9287e78
--- /dev/null
+++ b/test/command/citeproc-87.md
@@ -0,0 +1,55 @@
+```
+% pandoc --citeproc -Mlang=it-IT -t markdown-citations
+Foo [@a 50: «Disse: "bar"»]. «Disse: "baz"»
+
+---
+suppress-bibliography: true
+references:
+- id: a
+ author:
+ - literal: Aristotele
+ title: Metafisica
+ type: book
+...
+^D
+Foo (Aristotele, s.d., 50: «Disse: "bar"»). «Disse: "baz"»
+```
+
+The Quoted is passed to citeproc as a Span ("",["csl-quoted"],[])
+so that flipflopping and localization occur.
+```
+% pandoc -C -t plain -Mlang=en
+---
+references:
+- id: a
+ author:
+ - literal: Aristotele
+ title: Metafisica et "Physica"
+ type: article-journal
+...
+
+Foo [@a 50].
+^D
+Foo (Aristotele, n.d., 50).
+
+Aristotele. n.d. “Metafisica Et ‘Physica’.”
+```
+
+```
+% pandoc -C -t plain -Mlang=it
+---
+references:
+- id: a
+ author:
+ - literal: Aristotele
+ title: Metafisica et "Physica"
+ type: article-journal
+...
+
+Foo [@a 50].
+^D
+Foo (Aristotele, s.d., 50).
+
+Aristotele. s.d. «Metafisica et “Physica”».
+```
+
diff --git a/test/command/citeproc-author-in-text-suffix.md b/test/command/citeproc-author-in-text-suffix.md
index b55502053..df3184aa8 100644
--- a/test/command/citeproc-author-in-text-suffix.md
+++ b/test/command/citeproc-author-in-text-suffix.md
@@ -2,5 +2,33 @@
% pandoc -t native
@a [p. 33; @b]
^D
-[Para [Cite [Citation {citationId = "a", citationPrefix = [], citationSuffix = [Str "p.\160\&33"], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0},Citation {citationId = "b", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 1, citationHash = 0}] [Str "@a",Space,Str "[p.",Space,Str "33;",Space,Str "@b]"]]]
+[ Para
+ [ Cite
+ [ Citation
+ { citationId = "a"
+ , citationPrefix = []
+ , citationSuffix = [ Str "p.\160\&33" ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "b"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "@a"
+ , Space
+ , Str "[p."
+ , Space
+ , Str "33;"
+ , Space
+ , Str "@b]"
+ ]
+ ]
+]
```
diff --git a/test/command/csv.md b/test/command/csv.md
index 75dccf1a7..353512553 100644
--- a/test/command/csv.md
+++ b/test/command/csv.md
@@ -5,42 +5,98 @@ Apple,25 cents,33
"""Navel"" Orange","35 cents",22
,,45
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Fruit"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Price"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Quantity"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "25",Space,Str "cents"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "33"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\"Navel\"",Space,Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "35",Space,Str "cents"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "22"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "45"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Price" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Quantity" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "25" , Space , Str "cents" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "33" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\"Navel\"" , Space , Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "35" , Space , Str "cents" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "22" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "45" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/docbook-bibliography.md b/test/command/docbook-bibliography.md
index 37ac05b30..6e42732ad 100644
--- a/test/command/docbook-bibliography.md
+++ b/test/command/docbook-bibliography.md
@@ -13,8 +13,33 @@
</bibliomixed>
</bibliodiv>
^D
-[Header 1 ("",[],[]) [Str "Document",Space,Str "References"]
-,Para [Span ("refTheFirst",[],[]) [],Str "[1]",Space,Str "First",Space,Str "reference"]
-,Para [Span ("refTheSecond",[],[]) [],Str "[2]",Space,Str "Second",Space,Str "reference"]
-,Para [Span ("refTheThird",[],[]) [],Str "[3]",Space,Str "Third",Space,Str "reference"]]
+[ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Document" , Space , Str "References" ]
+, Para
+ [ Span ( "refTheFirst" , [] , [] ) []
+ , Str "[1]"
+ , Space
+ , Str "First"
+ , Space
+ , Str "reference"
+ ]
+, Para
+ [ Span ( "refTheSecond" , [] , [] ) []
+ , Str "[2]"
+ , Space
+ , Str "Second"
+ , Space
+ , Str "reference"
+ ]
+, Para
+ [ Span ( "refTheThird" , [] , [] ) []
+ , Str "[3]"
+ , Space
+ , Str "Third"
+ , Space
+ , Str "reference"
+ ]
+]
```
diff --git a/test/command/dots.md b/test/command/dots.md
index 08bc561a8..cd9a978cf 100644
--- a/test/command/dots.md
+++ b/test/command/dots.md
@@ -6,7 +6,8 @@
\vdots
^D
-[Para [Str "\8230"]
-,Para [Str "\8230"]
-,Para [Str "\8942"]]
+[ Para [ Str "\8230" ]
+, Para [ Str "\8230" ]
+, Para [ Str "\8942" ]
+]
```
diff --git a/test/command/empty_paragraphs.md b/test/command/empty_paragraphs.md
index 14bd8d060..6efbab9cd 100644
--- a/test/command/empty_paragraphs.md
+++ b/test/command/empty_paragraphs.md
@@ -2,34 +2,32 @@
% pandoc -f native -t docx -o - | pandoc -f docx -t native
[Para [Str "hi"], Para [], Para [], Para [Str "lo"]]
^D
-[Para [Str "hi"]
-,Para [Str "lo"]]
+[ Para [ Str "hi" ] , Para [ Str "lo" ] ]
```
```
% pandoc -f native -t docx+empty_paragraphs -o - | pandoc -f docx -t native
[Para [Str "hi"], Para [], Para [], Para [Str "lo"]]
^D
-[Para [Str "hi"]
-,Para [Str "lo"]]
+[ Para [ Str "hi" ] , Para [ Str "lo" ] ]
```
```
% pandoc -f native -t docx -o - | pandoc -f docx+empty_paragraphs -t native
[Para [Str "hi"], Para [], Para [], Para [Str "lo"]]
^D
-[Para [Str "hi"]
-,Para [Str "lo"]]
+[ Para [ Str "hi" ] , Para [ Str "lo" ] ]
```
```
% pandoc -f native -t docx+empty_paragraphs -o - | pandoc -f docx+empty_paragraphs -t native
[Para [Str "hi"], Para [], Para [], Para [Str "lo"]]
^D
-[Para [Str "hi"]
-,Para []
-,Para []
-,Para [Str "lo"]]
+[ Para [ Str "hi" ]
+, Para []
+, Para []
+, Para [ Str "lo" ]
+]
```
```
@@ -57,10 +55,11 @@
<p></p>
<p>lo</p>
^D
-[Para [Str "hi"]
-,Para []
-,Para []
-,Para [Str "lo"]]
+[ Para [ Str "hi" ]
+, Para []
+, Para []
+, Para [ Str "lo" ]
+]
```
```
@@ -70,8 +69,7 @@
<p></p>
<p>lo</p>
^D
-[Para [Str "hi"]
-,Para [Str "lo"]]
+[ Para [ Str "hi" ] , Para [ Str "lo" ] ]
```
```
diff --git a/test/command/gfm.md b/test/command/gfm.md
index f1bce1b89..78736b2d6 100644
--- a/test/command/gfm.md
+++ b/test/command/gfm.md
@@ -7,37 +7,76 @@ gfm tests:
| apple | 0.13 |
| orange|1.12|
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Fruit"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Price"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0.13"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1.12"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Price" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0.13" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.12" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
% pandoc -f gfm -t native
~~stricken out~~
^D
-[Para [Strikeout [Str "stricken",Space,Str "out"]]]
+[ Para [ Strikeout [ Str "stricken" , Space , Str "out" ] ]
+]
```
```
@@ -46,30 +85,42 @@ gfm tests:
## Header
# -foo-bar_baz
^D
-[Header 1 ("header",[],[]) [Str "Header"]
-,Header 2 ("header-1",[],[]) [Str "Header"]
-,Header 1 ("-foo-bar_baz",[],[]) [Str "-foo-bar_baz"]]
+[ Header 1 ( "header" , [] , [] ) [ Str "Header" ]
+, Header 2 ( "header-1" , [] , [] ) [ Str "Header" ]
+, Header
+ 1 ( "-foo-bar_baz" , [] , [] ) [ Str "-foo-bar_baz" ]
+]
```
```
% pandoc -f gfm -t native
My:thumbsup:emoji:heart:
^D
-[Para [Str "My",Span ("",["emoji"],[("data-emoji","thumbsup")]) [Str "\128077"],Str "emoji",Span ("",["emoji"],[("data-emoji","heart")]) [Str "\10084\65039"]]]
+[ Para
+ [ Str "My"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] )
+ [ Str "\128077" ]
+ , Str "emoji"
+ , Span
+ ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] )
+ [ Str "\10084\65039" ]
+ ]
+]
```
```
% pandoc -f gfm -t native
"hi"
^D
-[Para [Str "\"hi\""]]
+[ Para [ Str "\"hi\"" ] ]
```
```
% pandoc -f gfm+smart -t native
"hi"
^D
-[Para [Quoted DoubleQuote [Str "hi"]]]
+[ Para [ Quoted DoubleQuote [ Str "hi" ] ] ]
```
```
@@ -133,7 +184,7 @@ The caption.
hi
hi
^D
-[Para [Str "hi",LineBreak,Str "hi"]]
+[ Para [ Str "hi" , LineBreak , Str "hi" ] ]
```
```
@@ -141,9 +192,11 @@ hi
- [ ] foo
- [x] bar
^D
-[BulletList
- [[Plain [Str "\9744",Space,Str "foo"]]
- ,[Plain [Str "\9746",Space,Str "bar"]]]]
+[ BulletList
+ [ [ Plain [ Str "\9744" , Space , Str "foo" ] ]
+ , [ Plain [ Str "\9746" , Space , Str "bar" ] ]
+ ]
+]
```
```
@@ -151,9 +204,12 @@ hi
- [ ] foo
- [x] bar
^D
-[BulletList
- [[Plain [Str "[",Space,Str "]",Space,Str "foo"]]
- ,[Plain [Str "[x]",Space,Str "bar"]]]]
+[ BulletList
+ [ [ Plain [ Str "[" , Space , Str "]" , Space , Str "foo" ]
+ ]
+ , [ Plain [ Str "[x]" , Space , Str "bar" ] ]
+ ]
+]
```
```
diff --git a/test/command/hspace.md b/test/command/hspace.md
index a8b97b8bc..c011f17fc 100644
--- a/test/command/hspace.md
+++ b/test/command/hspace.md
@@ -8,7 +8,10 @@ Here they need to be inline:
\caption{lalune \hspace{2em} \vspace{1em} bloo}
\end{figure}
^D
-[RawBlock (Format "tex") "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}"]
+[ RawBlock
+ (Format "tex")
+ "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}"
+]
```
Here block:
@@ -32,14 +35,22 @@ F & T &\\
F & F &\\
\end{tabular}
^D
-[RawBlock (Format "tex") "\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\wedge Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}\n\\hspace{1em}\n\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\vee Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}"]
+[ RawBlock
+ (Format "tex")
+ "\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\wedge Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}\n\\hspace{1em}\n\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\vee Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}"
+]
```
```
% pandoc -f markdown+raw_tex -t native
hi\hspace{1em}there
^D
-[Para [Str "hi",RawInline (Format "tex") "\\hspace{1em}",Str "there"]]
+[ Para
+ [ Str "hi"
+ , RawInline (Format "tex") "\\hspace{1em}"
+ , Str "there"
+ ]
+]
```
```
@@ -50,7 +61,8 @@ hi
there
^D
-[Para [Str "hi"]
-,RawBlock (Format "tex") "\\hspace{1em}"
-,Para [Str "there"]]
+[ Para [ Str "hi" ]
+, RawBlock (Format "tex") "\\hspace{1em}"
+, Para [ Str "there" ]
+]
```
diff --git a/test/command/html-read-figure.md b/test/command/html-read-figure.md
index 9c604c706..d7eb96bb4 100644
--- a/test/command/html-read-figure.md
+++ b/test/command/html-read-figure.md
@@ -5,7 +5,11 @@
<figcaption>bar</figcaption>
</figure>
^D
-[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
+[ Para
+ [ Image
+ ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
+ ]
+]
```
```
@@ -15,7 +19,11 @@
<img src="foo.png" title="voyage">
</figure>
^D
-[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
+[ Para
+ [ Image
+ ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
+ ]
+]
```
```
@@ -24,7 +32,9 @@
<img src="foo.png" title="voyage">
</figure>
^D
-[Para [Image ("",[],[]) [] ("foo.png","fig:voyage")]]
+[ Para
+ [ Image ( "" , [] , [] ) [] ( "foo.png" , "fig:voyage" ) ]
+]
```
```
@@ -34,12 +44,22 @@
<figcaption>bar</figcaption>
</figure>
^D
-[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
+[ Para
+ [ Image
+ ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" )
+ ]
+]
```
```
% pandoc -f html -t native
<figure><img src="foo.png" title="voyage" alt="this is ignored"><figcaption>bar <strong>baz</strong></figcaption></figure>
^D
-[Para [Image ("",[],[]) [Str "bar",Space,Strong [Str "baz"]] ("foo.png","fig:voyage")]]
+[ Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "bar" , Space , Strong [ Str "baz" ] ]
+ ( "foo.png" , "fig:voyage" )
+ ]
+]
```
diff --git a/test/command/html-trim-definition-list-terms.md b/test/command/html-trim-definition-list-terms.md
index 08e58c73a..d2b019996 100644
--- a/test/command/html-trim-definition-list-terms.md
+++ b/test/command/html-trim-definition-list-terms.md
@@ -11,7 +11,15 @@
<dd>test</dd>
</dl>
^D
-[DefinitionList
- [([Str "foo",SoftBreak,Str "bar",LineBreak,Str "baz"],
- [[Plain [Str "test"]]])]]
+[ DefinitionList
+ [ ( [ Str "foo"
+ , SoftBreak
+ , Str "bar"
+ , LineBreak
+ , Str "baz"
+ ]
+ , [ [ Plain [ Str "test" ] ] ]
+ )
+ ]
+]
```
diff --git a/test/command/hyphenat.md b/test/command/hyphenat.md
index 3aae85101..ca418c111 100644
--- a/test/command/hyphenat.md
+++ b/test/command/hyphenat.md
@@ -2,48 +2,60 @@
% pandoc -f latex -t native
electromagnetic\hyp{}endioscopy
^D
-[Para [Str "electromagnetic-endioscopy"]]
+[ Para [ Str "electromagnetic-endioscopy" ] ]
```
```
% pandoc -f latex -t native
C\colonhyp\bshyp{}Windows\bshyp
^D
-[Para [Str "C:\173\\\173Windows\\\173"]]
+[ Para [ Str "C:\173\\\173Windows\\\173" ] ]
```
```
% pandoc -f latex -t native
\fshyp{}usr\fshyp{}share\fshyp
^D
-[Para [Str "/\173usr/\173share/\173"]]
+[ Para [ Str "/\173usr/\173share/\173" ] ]
```
```
% pandoc -f latex -t native
\fshyp{}home\fshyp{}schrieveslaach\fshyp\dothyp{}m2
^D
-[Para [Str "/\173home/\173schrieveslaach/\173.\173m2"]]
+[ Para [ Str "/\173home/\173schrieveslaach/\173.\173m2" ] ]
```
```
% pandoc -f latex -t native
\nohyphens{Pneumonoultramicroscopicsilicovolcanoconiosis}
^D
-[Para [Str "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+[ Para
+ [ Str "Pneumonoultramicroscopicsilicovolcanoconiosis" ]
+]
```
```
% pandoc -f latex -t native
\textnhtt{Pneumonoultramicroscopicsilicovolcanoconiosis}
^D
-[Para [Code ("",[],[]) "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+[ Para
+ [ Code
+ ( "" , [] , [] )
+ "Pneumonoultramicroscopicsilicovolcanoconiosis"
+ ]
+]
```
```
% pandoc -f latex -t native
\nhttfamily{Pneumonoultramicroscopicsilicovolcanoconiosis}
^D
-[Para [Code ("",[],[]) "Pneumonoultramicroscopicsilicovolcanoconiosis"]]
+[ Para
+ [ Code
+ ( "" , [] , [] )
+ "Pneumonoultramicroscopicsilicovolcanoconiosis"
+ ]
+]
```
diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md
index 24ed7ef54..92fe6bf95 100644
--- a/test/command/ifstrequal.md
+++ b/test/command/ifstrequal.md
@@ -5,5 +5,12 @@
\h{a}
\h{b}
^D
-[Para [Emph [Str "no"],SoftBreak,Str "\225",SoftBreak,Str "b"]]
+[ Para
+ [ Emph [ Str "no" ]
+ , SoftBreak
+ , Str "\225"
+ , SoftBreak
+ , Str "b"
+ ]
+]
```
diff --git a/test/command/indented-fences.md b/test/command/indented-fences.md
index eb3b78212..12aade1a7 100644
--- a/test/command/indented-fences.md
+++ b/test/command/indented-fences.md
@@ -5,7 +5,7 @@
in y
```
^D
-[CodeBlock ("",["haskell"],[]) "let x = y\nin y"]
+[ CodeBlock ( "" , [ "haskell" ] , [] ) "let x = y\nin y" ]
`````
`````
% pandoc -t native
@@ -16,5 +16,7 @@ y +
y
~~~
^D
-[CodeBlock ("",["haskell"],[]) " let x = y\nin y +\ny +\ny"]
+[ CodeBlock
+ ( "" , [ "haskell" ] , [] ) " let x = y\nin y +\ny +\ny"
+]
`````
diff --git a/test/command/input-with-endinput.md b/test/command/input-with-endinput.md
new file mode 100644
index 000000000..55d298bc4
--- /dev/null
+++ b/test/command/input-with-endinput.md
@@ -0,0 +1,15 @@
+```
+% pandoc --from=latex -t native
+\begin{document}
+Visible
+
+\include{command/bar-endinput}
+
+Visible
+\end{document}
+^D
+[ Para [ Str "Visible" ]
+, Para [ Emph [ Str "hi" , Space , Str "there" ] ]
+, Para [ Str "Visible" ]
+]
+```
diff --git a/test/command/jats-figure-alt-text.md b/test/command/jats-figure-alt-text.md
new file mode 100644
index 000000000..229e52eda
--- /dev/null
+++ b/test/command/jats-figure-alt-text.md
@@ -0,0 +1,18 @@
+```
+% pandoc -f jats -t native
+<fig id="fig-1">
+ <caption>
+ <p>bar</p>
+ </caption>
+ <alt-text>alternative-decription</alt-text>
+ <graphic xlink:href="foo.png" xlink:alt-text="baz" />
+</fig>
+^D
+[ Para
+ [ Image
+ ( "fig-1" , [] , [ ( "alt" , "alternative-decription" ) ] )
+ [ Str "bar" ]
+ ( "foo.png" , "fig:" )
+ ]
+]
+```
diff --git a/test/command/latex-center.md b/test/command/latex-center.md
index 3d0bf0429..078a58068 100644
--- a/test/command/latex-center.md
+++ b/test/command/latex-center.md
@@ -7,7 +7,6 @@ Hello
\end{center}
^D
-[Div ("",["center"],[])
- [Para [Str "Hello"]]]
+[ Div ( "" , [ "center" ] , [] ) [ Para [ Str "Hello" ] ] ]
```
diff --git a/test/command/latex-color.md b/test/command/latex-color.md
index 9fd2585a3..97d7f84c0 100644
--- a/test/command/latex-color.md
+++ b/test/command/latex-color.md
@@ -4,21 +4,40 @@
% pandoc -f latex -t native
Hello \textcolor{red}{World}
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","color: red")]) [Str "World"]]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "World" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\textcolor{red}{Hello} World
^D
-[Para [Span ("",[],[("style","color: red")]) [Str "Hello"],Space,Str "World"]]
+[ Para
+ [ Span
+ ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "Hello" ]
+ , Space
+ , Str "World"
+ ]
+]
```
```
% pandoc -f latex -t native
Hello \textcolor{blue}{\textbf{World}}
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","color: blue")]) [Strong [Str "World"]]]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "color: blue" ) ] )
+ [ Strong [ Str "World" ] ]
+ ]
+]
```
@@ -26,7 +45,15 @@ Hello \textcolor{blue}{\textbf{World}}
% pandoc -f latex -t native
Hello \textcolor{blue}{\textbf{World}}.
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","color: blue")]) [Strong [Str "World"]],Str "."]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "color: blue" ) ] )
+ [ Strong [ Str "World" ] ]
+ , Str "."
+ ]
+]
```
```
@@ -38,10 +65,14 @@ Hello \textcolor{blue}{\textbf{World}}.
\end{itemize}
}
^D
-[Div ("",[],[("style","color: orange")])
- [BulletList
- [[Para [Str "Item",Space,Str "1"]]
- ,[Para [Str "Item",Space,Str "2"]]]]]
+[ Div
+ ( "" , [] , [ ( "style" , "color: orange" ) ] )
+ [ BulletList
+ [ [ Para [ Str "Item" , Space , Str "1" ] ]
+ , [ Para [ Str "Item" , Space , Str "2" ] ]
+ ]
+ ]
+]
```
```
@@ -53,11 +84,16 @@ Hello \textcolor{blue}{\textbf{World}}.
\end{itemize}
} some more text
^D
-[Div ("",[],[("style","color: blue")])
- [BulletList
- [[Para [Str "Item",Space,Str "1"]]
- ,[Para [Str "Item",Space,Str "2"]]]]
-,Para [Str "some",Space,Str "more",Space,Str "text"]]
+[ Div
+ ( "" , [] , [ ( "style" , "color: blue" ) ] )
+ [ BulletList
+ [ [ Para [ Str "Item" , Space , Str "1" ] ]
+ , [ Para [ Str "Item" , Space , Str "2" ] ]
+ ]
+ ]
+, Para
+ [ Str "some" , Space , Str "more" , Space , Str "text" ]
+]
```
# `\colorbox{}{}`
@@ -67,28 +103,57 @@ Hello \textcolor{blue}{\textbf{World}}.
% pandoc -f latex -t native
Hello \colorbox{red}{World}
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","background-color: red")]) [Str "World"]]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "background-color: red" ) ] )
+ [ Str "World" ]
+ ]
+]
```
```
% pandoc -f latex -t native
\colorbox{red}{Hello} World
^D
-[Para [Span ("",[],[("style","background-color: red")]) [Str "Hello"],Space,Str "World"]]
+[ Para
+ [ Span
+ ( "" , [] , [ ( "style" , "background-color: red" ) ] )
+ [ Str "Hello" ]
+ , Space
+ , Str "World"
+ ]
+]
```
```
% pandoc -f latex -t native
Hello \colorbox{blue}{\textbf{World}}
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","background-color: blue")]) [Strong [Str "World"]]]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "background-color: blue" ) ] )
+ [ Strong [ Str "World" ] ]
+ ]
+]
```
```
% pandoc -f latex -t native
Hello \colorbox{blue}{\textbf{World}}.
^D
-[Para [Str "Hello",Space,Span ("",[],[("style","background-color: blue")]) [Strong [Str "World"]],Str "."]]
+[ Para
+ [ Str "Hello"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "background-color: blue" ) ] )
+ [ Strong [ Str "World" ] ]
+ , Str "."
+ ]
+]
```
```
@@ -102,10 +167,14 @@ Hello \colorbox{blue}{\textbf{World}}.
\end{minipage}
}
^D
-[Div ("",[],[("style","background-color: orange")])
- [BulletList
- [[Para [Str "Item",Space,Str "1"]]
- ,[Para [Str "Item",Space,Str "2"]]]]]
+[ Div
+ ( "" , [] , [ ( "style" , "background-color: orange" ) ] )
+ [ BulletList
+ [ [ Para [ Str "Item" , Space , Str "1" ] ]
+ , [ Para [ Str "Item" , Space , Str "2" ] ]
+ ]
+ ]
+]
```
```
@@ -119,9 +188,14 @@ Hello \colorbox{blue}{\textbf{World}}.
\end{minipage}
} some more text
^D
-[Div ("",[],[("style","background-color: blue")])
- [BulletList
- [[Para [Str "Item",Space,Str "1"]]
- ,[Para [Str "Item",Space,Str "2"]]]]
-,Para [Str "some",Space,Str "more",Space,Str "text"]]
+[ Div
+ ( "" , [] , [ ( "style" , "background-color: blue" ) ] )
+ [ BulletList
+ [ [ Para [ Str "Item" , Space , Str "1" ] ]
+ , [ Para [ Str "Item" , Space , Str "2" ] ]
+ ]
+ ]
+, Para
+ [ Str "some" , Space , Str "more" , Space , Str "text" ]
+]
```
diff --git a/test/command/latex-command-comment.md b/test/command/latex-command-comment.md
index 640277f15..1a1317925 100644
--- a/test/command/latex-command-comment.md
+++ b/test/command/latex-command-comment.md
@@ -1,7 +1,7 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\emph%
{hi}
^D
-[Para [Emph [Str "hi"]]]
+[ Para [ Emph [ Str "hi" ] ] ]
```
diff --git a/test/command/latex-fontawesome.md b/test/command/latex-fontawesome.md
index 2a7e91185..18512ac72 100644
--- a/test/command/latex-fontawesome.md
+++ b/test/command/latex-fontawesome.md
@@ -2,12 +2,12 @@
% pandoc -f latex -t native
Check: \faCheck
^D
-[Para [Str "Check:",Space,Str "\10003"]]
+[ Para [ Str "Check:" , Space , Str "\10003" ] ]
```
```
% pandoc -f latex -t native
Close: \faClose
^D
-[Para [Str "Close:",Space,Str "\10007"]]
+[ Para [ Str "Close:" , Space , Str "\10007" ] ]
```
diff --git a/test/command/latex-tabular-column-specs.md b/test/command/latex-tabular-column-specs.md
index 7767667aa..586fed3d1 100644
--- a/test/command/latex-tabular-column-specs.md
+++ b/test/command/latex-tabular-column-specs.md
@@ -11,35 +11,85 @@ f & 0.5 & 5,5 \\
\bottomrule
\end{tabular}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "f1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "f2"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "0.5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "4"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "f"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "0.5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Math InlineMath "5,5"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "f1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "f2" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "0.5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "4" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "f" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "0.5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Math InlineMath "5,5" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/lettrine.md b/test/command/lettrine.md
index 7bbc20080..b4a2794d2 100644
--- a/test/command/lettrine.md
+++ b/test/command/lettrine.md
@@ -4,6 +4,17 @@
\lettrine[lhang=0.17]{A}{category} is
^D
-[Para [Span ("",["lettrine"],[]) [Str "A"],SmallCaps [Str "category"],Space,Str "is"]
-,Para [Span ("",["lettrine"],[]) [Str "A"],SmallCaps [Str "category"],Space,Str "is"]]
+[ Para
+ [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ]
+ , SmallCaps [ Str "category" ]
+ , Space
+ , Str "is"
+ ]
+, Para
+ [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ]
+ , SmallCaps [ Str "category" ]
+ , Space
+ , Str "is"
+ ]
+]
```
diff --git a/test/command/lstlisting.md b/test/command/lstlisting.md
index d928cc702..2ea8b4ba7 100644
--- a/test/command/lstlisting.md
+++ b/test/command/lstlisting.md
@@ -8,7 +8,16 @@ public class World {
}
\end{lstlisting}
^D
-[CodeBlock ("lst:Hello-World",["java"],[("language","Java"),("caption","Java Example"),("label","lst:Hello-World")]) "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}"]
+[ CodeBlock
+ ( "lst:Hello-World"
+ , [ "java" ]
+ , [ ( "language" , "Java" )
+ , ( "caption" , "Java Example" )
+ , ( "label" , "lst:Hello-World" )
+ ]
+ )
+ "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}"
+]
```
```
@@ -21,5 +30,15 @@ public class World {
}
\end{lstlisting}
^D
-[CodeBlock ("lst:Hello-World",["java"],[("language","Java"),("escapechar","|"),("caption","Java Example"),("label","lst:Hello-World")]) "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}"]
+[ CodeBlock
+ ( "lst:Hello-World"
+ , [ "java" ]
+ , [ ( "language" , "Java" )
+ , ( "escapechar" , "|" )
+ , ( "caption" , "Java Example" )
+ , ( "label" , "lst:Hello-World" )
+ ]
+ )
+ "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}"
+]
```
diff --git a/test/command/macro-defs-in-preamble.md b/test/command/macro-defs-in-preamble.md
index dd5a503df..7bd72d140 100644
--- a/test/command/macro-defs-in-preamble.md
+++ b/test/command/macro-defs-in-preamble.md
@@ -9,8 +9,10 @@
$\vara \varb$
\end{document}
^D
-Pandoc (Meta {unMeta = fromList []})
-[RawBlock (Format "latex") "\\newcommand{\\vara}{\\alpha}"
-,RawBlock (Format "latex") "\\newcommand{\\varb}{b}"
-,Para [Math InlineMath "\\vara \\varb"]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ RawBlock (Format "latex") "\\newcommand{\\vara}{\\alpha}"
+ , RawBlock (Format "latex") "\\newcommand{\\varb}{b}"
+ , Para [ Math InlineMath "\\vara \\varb" ]
+ ]
```
diff --git a/test/command/macros.md b/test/command/macros.md
index e3c07e661..9f7a0f9d3 100644
--- a/test/command/macros.md
+++ b/test/command/macros.md
@@ -25,7 +25,7 @@ expanded at point of use:
```
% pandoc -f latex -t latex
\let\a\b
-\newcommand{\b}{\emph{ouk}}
+\def\b{\emph{ouk}}
\a a
^D
@@ -123,3 +123,39 @@ hello+hello
hello+goodbye
```
+```
+% pandoc -f latex -t plain
+\def\txt{a}
+\def\foo{\txt}
+\let\bar\foo
+\bar % -> a
+\def\txt{b}
+\bar % -> b
+\def\foo{OH}
+\bar % -> b
+^D
+a b b
+```
+
+```
+% pandoc -f latex -t plain
+\def\aaa{aaa}
+\def\bbb{x\aaa}
+\edef\ccc{y\aaa}
+\def\aaa{AAA}
+\bbb \ccc
+^D
+xAAAyaaa
+```
+
+```
+% pandoc -f latex -t plain
+\gdef\aaa{aaa}
+\gdef\bbb{x\aaa}
+\xdef\ccc{y\aaa}
+\gdef\aaa{AAA}
+\bbb \ccc
+^D
+xAAAyaaa
+```
+
diff --git a/test/command/md-abbrevs.md b/test/command/md-abbrevs.md
index 15ab8a728..a3ee6af30 100644
--- a/test/command/md-abbrevs.md
+++ b/test/command/md-abbrevs.md
@@ -6,7 +6,7 @@ space from being inserted in LaTeX output).
% pandoc -t native
Mr. Bob
^D
-[Para [Str "Mr.\160Bob"]]
+[ Para [ Str "Mr.\160Bob" ] ]
```
If you don't want this to happen you can escape the period:
@@ -15,6 +15,7 @@ If you don't want this to happen you can escape the period:
% pandoc -t native
Hi Mr\. Bob
^D
-[Para [Str "Hi",Space,Str "Mr.",Space,Str "Bob"]]
+[ Para [ Str "Hi" , Space , Str "Mr." , Space , Str "Bob" ]
+]
```
diff --git a/test/command/multiple-metadata-blocks.md b/test/command/multiple-metadata-blocks.md
index 5adbfe423..e117f3784 100644
--- a/test/command/multiple-metadata-blocks.md
+++ b/test/command/multiple-metadata-blocks.md
@@ -10,6 +10,10 @@ foo: bar
foo: bim
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "bim"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList [ ( "foo" , MetaInlines [ Str "bim" ] ) ]
+ }
+ []
```
diff --git a/test/command/pandoc-citeproc-31.md b/test/command/pandoc-citeproc-31.md
index a06b2ae41..91aaa8f0b 100644
--- a/test/command/pandoc-citeproc-31.md
+++ b/test/command/pandoc-citeproc-31.md
@@ -29,8 +29,9 @@ Foo.[^1] Bar.[^2] Baz.[^3]
::: {#refs .references .csl-bib-body}
::: {#ref-item1 .csl-entry}
-Olson HA, 'Codes, Costs, and Critiques: The Organization of Information
-in *Library Quarterly*, 1931--2004' (2006) 76 *Library Quarterly* 19
+Olson HA, '[Codes, Costs, and Critiques: The Organization of Information
+in *Library Quarterly*, 1931--2004](https://doi.org/10.1086/504343)'
+(2006) 76 *Library Quarterly* 19
:::
::: {#ref-item2 .csl-entry}
diff --git a/test/command/pandoc-citeproc-312.md b/test/command/pandoc-citeproc-312.md
index dfc4fe25c..20a9b759b 100644
--- a/test/command/pandoc-citeproc-312.md
+++ b/test/command/pandoc-citeproc-312.md
@@ -6,7 +6,7 @@ nocite: '@*'
references:
- author:
- literal: NN
- id: Y
+ id: 'Y'
issued:
- year: 1950
title: 'Date: Year'
diff --git a/test/command/pandoc-citeproc-327.md b/test/command/pandoc-citeproc-327.md
index 92b29bdf8..2ea3a247e 100644
--- a/test/command/pandoc-citeproc-327.md
+++ b/test/command/pandoc-citeproc-327.md
@@ -44,8 +44,8 @@ I referenced something here^\[1\]^
::: {#refs .references .csl-bib-body}
::: {#ref-LiLiaoDongWanHaiYuDiQiDongWuCiJiShengChanLiYanJiuJiShengJingGuaYiXingPingJie2017 .csl-entry}
[\[1\] ]{.csl-left-margin}[李轶平, 于旭光, 孙明, 等.
-辽东湾海域底栖动物次级生产力研究及生境适宜性评价\[J\]. 水产科学,
-2017(06): 728--734.]{.csl-right-inline}
+[辽东湾海域底栖动物次级生产力研究及生境适宜性评价](http://kns.cnki.net/kns/detail/detail.aspx?QueryID=4&CurRec=4&recid=&FileName=CHAN201706006&DbName=CJFDLAST2018&DbCode=CJFQ&yx=Y&pr=&URLID=21.1110.S.20171129.1725.006)\[J\].
+水产科学, 2017(6): 728--734.]{.csl-right-inline}
:::
:::
```
diff --git a/test/command/pandoc-citeproc-338.md b/test/command/pandoc-citeproc-338.md
index 3250b680e..c9cf0d254 100644
--- a/test/command/pandoc-citeproc-338.md
+++ b/test/command/pandoc-citeproc-338.md
@@ -28,8 +28,7 @@ references:
::: {#ref-item-1 .csl-entry}
[Wolfinger, Christine]{.smallcaps}: *Keine Angst vor Linux, Unix: ein
Lehrbuch für Linux- und Unix-Anwender*. 11., vollst. überarb. Aufl.
-Aufl. Berlin \[u.a.\] : Springer Vieweg, 2013
---- ISBN [978-3-642-32078-1](https://worldcat.org/isbn/978-3-642-32078-1)
+Aufl. Berlin \[u.a.\] : Springer Vieweg, 2013 --- ISBN 978-3-642-32078-1
:::
:::
```
diff --git a/test/command/pandoc-citeproc-386.md b/test/command/pandoc-citeproc-386.md
index 6f346e7db..ae709fc34 100644
--- a/test/command/pandoc-citeproc-386.md
+++ b/test/command/pandoc-citeproc-386.md
@@ -28,8 +28,8 @@ references:
::: {#refs .references .csl-bib-body line-spacing="2"}
::: {#ref-ding_metallic_2012 .csl-entry}
-[\[1\] ]{.csl-left-margin}[K. Ding, C. Z. Ning, *Light Sci. Appl.*
-**2012**, *1*, e20.]{.csl-right-inline}
+[[\[1\]K. Ding, C. Z. Ning, *Light Sci. Appl.* **2012**, *1*,
+e20](https://doi.org/10.1038/lsa.2012.20)]{.csl-left-margin}.
:::
:::
```
diff --git a/test/command/refs.md b/test/command/refs.md
index 320d63e17..c6457be4c 100644
--- a/test/command/refs.md
+++ b/test/command/refs.md
@@ -2,21 +2,78 @@
% pandoc -f latex -t native
Figure \ref{fig:1}
^D
-[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
+[ Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:1" )
+ ]
+ )
+ [ Str "[fig:1]" ]
+ ( "#fig:1" , "" )
+ ]
+]
```
```
% pandoc -f latex -t native
Figure \cref{fig:1}
^D
-[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
+[ Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:1" )
+ ]
+ )
+ [ Str "[fig:1]" ]
+ ( "#fig:1" , "" )
+ ]
+]
```
```
% pandoc -f latex -t native
Figure \vref{fig:1}
^D
-[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref+page"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
+[ Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref+page" )
+ , ( "reference" , "fig:1" )
+ ]
+ )
+ [ Str "[fig:1]" ]
+ ( "#fig:1" , "" )
+ ]
+]
+```
+
+```
+% pandoc -f latex -t native
+\autoref{fig:flowchart}
+^D
+[ Para
+ [ Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "autoref" )
+ , ( "reference" , "fig:flowchart" )
+ ]
+ )
+ [ Str "[fig:flowchart]" ]
+ ( "#fig:flowchart" , "" )
+ ]
+]
```
```
@@ -28,8 +85,42 @@ Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all
Accuracy = \frac{t_p + t_n}{t_p + f_p + f_n + t_n}
\end{equation}
^D
-[Para [Str "Accuracy\160",Link ("",[],[("reference-type","eqref"),("reference","eq:Accuracy")]) [Str "[eq:Accuracy]"] ("#eq:Accuracy",""),Space,Str "is",Space,Str "the",Space,Str "proportion,",Space,Str "measuring",Space,Str "true",Space,Str "results",Space,Str "among",Space,Str "all",Space,Str "results."]
-,Para [Math DisplayMath "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}"]]
+[ Para
+ [ Str "Accuracy\160"
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "eqref" )
+ , ( "reference" , "eq:Accuracy" )
+ ]
+ )
+ [ Str "[eq:Accuracy]" ]
+ ( "#eq:Accuracy" , "" )
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "proportion,"
+ , Space
+ , Str "measuring"
+ , Space
+ , Str "true"
+ , Space
+ , Str "results"
+ , Space
+ , Str "among"
+ , Space
+ , Str "all"
+ , Space
+ , Str "results."
+ ]
+, Para
+ [ Math
+ DisplayMath
+ "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}"
+ ]
+]
```
```
@@ -42,8 +133,34 @@ Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all
Figure \ref{fig:Logo} illustrated the SVG logo
^D
-[Para [Image ("fig:Logo",[],[]) [Str "Logo"] ("command/SVG_logo.svg","fig:")]
-,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo")]) [Str "1"] ("#fig:Logo",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]]
+[ Para
+ [ Image
+ ( "fig:Logo" , [] , [] )
+ [ Str "Logo" ]
+ ( "command/SVG_logo.svg" , "fig:" )
+ ]
+, Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:Logo" )
+ ]
+ )
+ [ Str "1" ]
+ ( "#fig:Logo" , "" )
+ , Space
+ , Str "illustrated"
+ , Space
+ , Str "the"
+ , Space
+ , Str "SVG"
+ , Space
+ , Str "logo"
+ ]
+]
```
```
@@ -77,15 +194,91 @@ Figure \ref{fig:Logo2} illustrated the SVG logo
Figure \ref{fig:Logo3} illustrated the SVG logo
^D
-[Header 1 ("one",[],[]) [Str "One"]
-,Para [Image ("fig:Logo",[],[]) [Str "Logo"] ("command/SVG_logo.svg","fig:")]
-,Para [Image ("fig:Logo2",[],[]) [Str "Logo2"] ("command/SVG_logo2.svg","fig:")]
-,Header 1 ("two",[],[]) [Str "Two"]
-,Header 2 ("subone",[],[]) [Str "Subone"]
-,Para [Image ("fig:Logo3",[],[]) [Str "Logo3"] ("command/SVG_logo3.svg","fig:")]
-,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo")]) [Str "1.1"] ("#fig:Logo",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]
-,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo2")]) [Str "1.2"] ("#fig:Logo2",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]
-,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo3")]) [Str "2.1"] ("#fig:Logo3",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]]
+[ Header 1 ( "one" , [] , [] ) [ Str "One" ]
+, Para
+ [ Image
+ ( "fig:Logo" , [] , [] )
+ [ Str "Logo" ]
+ ( "command/SVG_logo.svg" , "fig:" )
+ ]
+, Para
+ [ Image
+ ( "fig:Logo2" , [] , [] )
+ [ Str "Logo2" ]
+ ( "command/SVG_logo2.svg" , "fig:" )
+ ]
+, Header 1 ( "two" , [] , [] ) [ Str "Two" ]
+, Header 2 ( "subone" , [] , [] ) [ Str "Subone" ]
+, Para
+ [ Image
+ ( "fig:Logo3" , [] , [] )
+ [ Str "Logo3" ]
+ ( "command/SVG_logo3.svg" , "fig:" )
+ ]
+, Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:Logo" )
+ ]
+ )
+ [ Str "1.1" ]
+ ( "#fig:Logo" , "" )
+ , Space
+ , Str "illustrated"
+ , Space
+ , Str "the"
+ , Space
+ , Str "SVG"
+ , Space
+ , Str "logo"
+ ]
+, Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:Logo2" )
+ ]
+ )
+ [ Str "1.2" ]
+ ( "#fig:Logo2" , "" )
+ , Space
+ , Str "illustrated"
+ , Space
+ , Str "the"
+ , Space
+ , Str "SVG"
+ , Space
+ , Str "logo"
+ ]
+, Para
+ [ Str "Figure"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "fig:Logo3" )
+ ]
+ )
+ [ Str "2.1" ]
+ ( "#fig:Logo3" , "" )
+ , Space
+ , Str "illustrated"
+ , Space
+ , Str "the"
+ , Space
+ , Str "SVG"
+ , Space
+ , Str "logo"
+ ]
+]
```
@@ -93,5 +286,20 @@ Figure \ref{fig:Logo3} illustrated the SVG logo
% pandoc -f latex -t native
\label{section} Section \ref{section}
^D
-[Para [Span ("section",[],[("label","section")]) [Str "[section]"],Space,Str "Section",Space,Link ("",[],[("reference-type","ref"),("reference","section")]) [Str "[section]"] ("#section","")]]
+[ Para
+ [ Span ( "section" , [] , [ ( "label" , "section" ) ] ) []
+ , Space
+ , Str "Section"
+ , Space
+ , Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "ref" )
+ , ( "reference" , "section" )
+ ]
+ )
+ [ Str "[section]" ]
+ ( "#section" , "" )
+ ]
+]
```
diff --git a/test/command/setext-fenced-div.md b/test/command/setext-fenced-div.md
index 27301ea22..3494cbf70 100644
--- a/test/command/setext-fenced-div.md
+++ b/test/command/setext-fenced-div.md
@@ -4,6 +4,5 @@
---
:::
^D
-[Div ("",["cell"],[])
- [HorizontalRule]]
+[ Div ( "" , [ "cell" ] , [] ) [ HorizontalRule ] ]
```
diff --git a/test/command/shift-heading-level-by.md b/test/command/shift-heading-level-by.md
index 323783f24..1ce966989 100644
--- a/test/command/shift-heading-level-by.md
+++ b/test/command/shift-heading-level-by.md
@@ -8,9 +8,21 @@ title: My title
## Second
^D
-Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "My",Space,Str "title"])]})
-[Header 2 ("first-heading",[],[]) [Str "First",Space,Str "heading"]
-,Header 3 ("second",[],[]) [Str "Second"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "title"
+ , MetaInlines [ Str "My" , Space , Str "title" ]
+ )
+ ]
+ }
+ [ Header
+ 2
+ ( "first-heading" , [] , [] )
+ [ Str "First" , Space , Str "heading" ]
+ , Header 3 ( "second" , [] , [] ) [ Str "Second" ]
+ ]
```
```
@@ -25,8 +37,23 @@ title: Old title
# Another top-level heading
^D
-Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "First",Space,Str "heading"])]})
-[Header 1 ("second",[],[]) [Str "Second"]
-,Para [Str "Another",Space,Str "top-level",Space,Str "heading"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "title"
+ , MetaInlines [ Str "First" , Space , Str "heading" ]
+ )
+ ]
+ }
+ [ Header 1 ( "second" , [] , [] ) [ Str "Second" ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Str "top-level"
+ , Space
+ , Str "heading"
+ ]
+ ]
```
diff --git a/test/command/sloppypar.md b/test/command/sloppypar.md
index e2ff4d550..44ec93af3 100644
--- a/test/command/sloppypar.md
+++ b/test/command/sloppypar.md
@@ -6,8 +6,111 @@ Sequi id qui facere et incidunt ut. Et fuga ut voluptate enim qui. Odit unde mag
Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio consectetur alias non sed. Quo consectetur libero omnis quos eius ad vel.
\end{sloppypar}
^D
-[Para [Str "Sequi",Space,Str "id",Space,Str "qui",Space,Str "facere",Space,Str "et",Space,Str "incidunt",Space,Str "ut.",Space,Str "Et",Space,Str "fuga",Space,Str "ut",Space,Str "voluptate",Space,Str "enim",Space,Str "qui.",Space,Str "Odit",Space,Str "unde",Space,Str "magni",Space,Str "ipsam",Space,Str "dicta",Space,Str "modi.",Space,Str "Modi",Space,Str "soluta",Space,Str "velit",Space,Str "est",Space,Str "aut",Space,Str "aut",Space,Str "possimus."]
-,Para [Str "Qui",Space,Str "et",Space,Str "temporibus",Space,Str "explicabo.",Space,Str "Esse",Space,Str "ab",Space,Str "ut",Space,Str "quidem.",Space,Str "Vel",Space,Str "qui",Space,Str "perspiciatis",Space,Str "quae",Space,Str "odio",Space,Str "consectetur",Space,Str "alias",Space,Str "non",Space,Str "sed.",Space,Str "Quo",Space,Str "consectetur",Space,Str "libero",Space,Str "omnis",Space,Str "quos",Space,Str "eius",Space,Str "ad",Space,Str "vel."]]
+[ Para
+ [ Str "Sequi"
+ , Space
+ , Str "id"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "facere"
+ , Space
+ , Str "et"
+ , Space
+ , Str "incidunt"
+ , Space
+ , Str "ut."
+ , Space
+ , Str "Et"
+ , Space
+ , Str "fuga"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "qui."
+ , Space
+ , Str "Odit"
+ , Space
+ , Str "unde"
+ , Space
+ , Str "magni"
+ , Space
+ , Str "ipsam"
+ , Space
+ , Str "dicta"
+ , Space
+ , Str "modi."
+ , Space
+ , Str "Modi"
+ , Space
+ , Str "soluta"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "est"
+ , Space
+ , Str "aut"
+ , Space
+ , Str "aut"
+ , Space
+ , Str "possimus."
+ ]
+, Para
+ [ Str "Qui"
+ , Space
+ , Str "et"
+ , Space
+ , Str "temporibus"
+ , Space
+ , Str "explicabo."
+ , Space
+ , Str "Esse"
+ , Space
+ , Str "ab"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "quidem."
+ , Space
+ , Str "Vel"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "perspiciatis"
+ , Space
+ , Str "quae"
+ , Space
+ , Str "odio"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "alias"
+ , Space
+ , Str "non"
+ , Space
+ , Str "sed."
+ , Space
+ , Str "Quo"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "libero"
+ , Space
+ , Str "omnis"
+ , Space
+ , Str "quos"
+ , Space
+ , Str "eius"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "vel."
+ ]
+]
```
```
@@ -18,6 +121,109 @@ Sequi id qui facere et incidunt ut. Et fuga ut voluptate enim qui. Odit unde mag
Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio consectetur alias non sed. Quo consectetur libero omnis quos eius ad vel.
\end{sloppypar}
^D
-[Para [Str "Sequi",Space,Str "id",Space,Str "qui",Space,Str "facere",Space,Str "et",Space,Str "incidunt",Space,Str "ut.",Space,Str "Et",Space,Str "fuga",Space,Str "ut",Space,Str "voluptate",Space,Str "enim",Space,Str "qui.",Space,Str "Odit",Space,Str "unde",Space,Str "magni",Space,Str "ipsam",Space,Str "dicta",Space,Str "modi.",Space,Str "Modi",Space,Str "soluta",Space,Str "velit",Space,Str "est",Space,Str "aut",Space,Str "aut",Space,Str "possimus."]
-,Para [Str "Qui",Space,Str "et",Space,Str "temporibus",Space,Str "explicabo.",Space,Str "Esse",Space,Str "ab",Space,Str "ut",Space,Str "quidem.",Space,Str "Vel",Space,Str "qui",Space,Str "perspiciatis",Space,Str "quae",Space,Str "odio",Space,Str "consectetur",Space,Str "alias",Space,Str "non",Space,Str "sed.",Space,Str "Quo",Space,Str "consectetur",Space,Str "libero",Space,Str "omnis",Space,Str "quos",Space,Str "eius",Space,Str "ad",Space,Str "vel."]]
+[ Para
+ [ Str "Sequi"
+ , Space
+ , Str "id"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "facere"
+ , Space
+ , Str "et"
+ , Space
+ , Str "incidunt"
+ , Space
+ , Str "ut."
+ , Space
+ , Str "Et"
+ , Space
+ , Str "fuga"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "qui."
+ , Space
+ , Str "Odit"
+ , Space
+ , Str "unde"
+ , Space
+ , Str "magni"
+ , Space
+ , Str "ipsam"
+ , Space
+ , Str "dicta"
+ , Space
+ , Str "modi."
+ , Space
+ , Str "Modi"
+ , Space
+ , Str "soluta"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "est"
+ , Space
+ , Str "aut"
+ , Space
+ , Str "aut"
+ , Space
+ , Str "possimus."
+ ]
+, Para
+ [ Str "Qui"
+ , Space
+ , Str "et"
+ , Space
+ , Str "temporibus"
+ , Space
+ , Str "explicabo."
+ , Space
+ , Str "Esse"
+ , Space
+ , Str "ab"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "quidem."
+ , Space
+ , Str "Vel"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "perspiciatis"
+ , Space
+ , Str "quae"
+ , Space
+ , Str "odio"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "alias"
+ , Space
+ , Str "non"
+ , Space
+ , Str "sed."
+ , Space
+ , Str "Quo"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "libero"
+ , Space
+ , Str "omnis"
+ , Space
+ , Str "quos"
+ , Space
+ , Str "eius"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "vel."
+ ]
+]
```
diff --git a/test/command/table-with-cell-align.md b/test/command/table-with-cell-align.md
index f6a454ad2..ccf119cbd 100644
--- a/test/command/table-with-cell-align.md
+++ b/test/command/table-with-cell-align.md
@@ -13,27 +13,50 @@
</tgroup>
</informaltable>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignLeft (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignRight (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignLeft
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignRight
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
% pandoc -f native -t opendocument --quiet
diff --git a/test/command/table-with-column-span.md b/test/command/table-with-column-span.md
index 55977554f..d4e8bebd4 100644
--- a/test/command/table-with-column-span.md
+++ b/test/command/table-with-column-span.md
@@ -49,73 +49,182 @@
</tgroup>
</informaltable>
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)
- ,(AlignDefault,ColWidth 6.25e-2)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 8)
- [Para [Strong [Str "Octet",Space,Str "no.",Space,Str "1"]]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 8)
- [Para [Strong [Str "Octet",Space,Str "no.",Space,Str "2"]]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "16"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "15"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "14"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "13"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "12"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "11"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "10"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "9"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "8"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "7"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 8)
- [Para [Str "Code",Space,Str "A"]]
- ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 8)
- [Para [Str "Code",Space,Str "B"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ , ( AlignDefault , ColWidth 6.25e-2 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 8)
+ [ Para
+ [ Strong
+ [ Str "Octet"
+ , Space
+ , Str "no."
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 8)
+ [ Para
+ [ Strong
+ [ Str "Octet"
+ , Space
+ , Str "no."
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "16" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "15" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "14" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "13" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "11" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "10" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "9" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "7" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 8)
+ [ Para [ Str "Code" , Space , Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignCenter
+ (RowSpan 1)
+ (ColSpan 8)
+ [ Para [ Str "Code" , Space , Str "B" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
% pandoc -f native -t opendocument --quiet
diff --git a/test/command/tabularx.md b/test/command/tabularx.md
index 209517e00..399741732 100644
--- a/test/command/tabularx.md
+++ b/test/command/tabularx.md
@@ -20,44 +20,129 @@
\hline
\end{tabularx}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.3"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
@@ -82,44 +167,129 @@
\hline
\end{tabularx}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidth 0.25)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.3"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidth 0.25 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
```
@@ -144,42 +314,127 @@
\hline
\end{tabularx}
^D
-[Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidth 0.25)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidth 0.25)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Column",Space,Str "Heading",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2.3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3.3"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidth 0.25 )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidth 0.25 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Column"
+ , Space
+ , Str "Heading"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2.3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3.3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
```
diff --git a/test/command/translations.md b/test/command/translations.md
index 34531df7c..8d1890467 100644
--- a/test/command/translations.md
+++ b/test/command/translations.md
@@ -2,14 +2,14 @@
% pandoc -f latex -t native -M lang=en
\figurename\ 2
^D
-[Para [Str "Figure\160\&2"]]
+[ Para [ Str "Figure\160\&2" ] ]
```
```
% pandoc -f latex -t native -M lang=de-DE
\figurename\ 2
^D
-[Para [Str "Abbildung\160\&2"]]
+[ Para [ Str "Abbildung\160\&2" ] ]
```
```
@@ -17,7 +17,7 @@
\setmainlanguage{german}
\figurename 2
^D
-[Para [Str "Abbildung2"]]
+[ Para [ Str "Abbildung2" ] ]
```
```
@@ -25,5 +25,5 @@
\figurename~2
\figurename.
^D
-[Para [Str "Slika\160\&2",SoftBreak,Str "Slika."]]
+[ Para [ Str "Slika\160\&2" , SoftBreak , Str "Slika." ] ]
```
diff --git a/test/command/video-audio.md b/test/command/video-audio.md
index 451b614d8..4fbd58db3 100644
--- a/test/command/video-audio.md
+++ b/test/command/video-audio.md
@@ -10,9 +10,13 @@
![](./test.jpg)
^D
-<p><video src="./test.mp4" controls=""><a href="./test.mp4">Video</a></video></p>
-<p><video src="foo/test.webm" width="300" controls=""><a href="foo/test.webm">Your browser does not support video.</a></video></p>
-<p><audio src="test.mp3" controls=""><a href="test.mp3">Audio</a></audio></p>
+<p><video src="./test.mp4" controls=""><a
+href="./test.mp4">Video</a></video></p>
+<p><video src="foo/test.webm" width="300" controls=""><a
+href="foo/test.webm">Your browser does not support
+video.</a></video></p>
+<p><audio src="test.mp3" controls=""><a
+href="test.mp3">Audio</a></audio></p>
<p><embed src="./test.pdf" /></p>
<p><img src="./test.jpg" /></p>
```
diff --git a/test/command/write18.md b/test/command/write18.md
index 5000c298b..4a3f10b85 100644
--- a/test/command/write18.md
+++ b/test/command/write18.md
@@ -3,12 +3,12 @@ Handle \write18{..} as raw tex:
% pandoc -t native
\write18{git --version}
^D
-[RawBlock (Format "tex") "\\write18{git --version}"]
+[ RawBlock (Format "tex") "\\write18{git --version}" ]
```
```
% pandoc -f latex+raw_tex -t native
\write18{git --version}
^D
-[RawBlock (Format "latex") "\\write18{git --version}"]
+[ RawBlock (Format "latex") "\\write18{git --version}" ]
```
diff --git a/test/command/yaml-metadata-blocks.md b/test/command/yaml-metadata-blocks.md
index 0733623dd..d92994b03 100644
--- a/test/command/yaml-metadata-blocks.md
+++ b/test/command/yaml-metadata-blocks.md
@@ -6,8 +6,10 @@ foo:
bar_: as should this
---
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaMap (fromList []))]})
-[]
+Pandoc
+ Meta
+ { unMeta = fromList [ ( "foo" , MetaMap (fromList []) ) ] }
+ []
```
```
% pandoc -s -t native
@@ -32,8 +34,32 @@ nested:
scientific: 3.7e-5
---
^D
-Pandoc (Meta {unMeta = fromList [("bool",MetaBool True),("empty",MetaList []),("float",MetaInlines [Str "1.5"]),("int",MetaInlines [Str "7"]),("more",MetaBool False),("nested",MetaMap (fromList [("bool",MetaBool True),("empty",MetaList []),("float",MetaInlines [Str "2.5"]),("int",MetaInlines [Str "8"]),("more",MetaBool False),("nothing",MetaInlines [Str "null"]),("scientific",MetaInlines [Str "3.7e-5"])])),("nothing",MetaInlines [Str "null"]),("scientific",MetaInlines [Str "3.7e-5"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "bool" , MetaBool True )
+ , ( "empty" , MetaList [] )
+ , ( "float" , MetaInlines [ Str "1.5" ] )
+ , ( "int" , MetaInlines [ Str "7" ] )
+ , ( "more" , MetaBool False )
+ , ( "nested"
+ , MetaMap
+ (fromList
+ [ ( "bool" , MetaBool True )
+ , ( "empty" , MetaList [] )
+ , ( "float" , MetaInlines [ Str "2.5" ] )
+ , ( "int" , MetaInlines [ Str "8" ] )
+ , ( "more" , MetaBool False )
+ , ( "nothing" , MetaString "" )
+ , ( "scientific" , MetaInlines [ Str "3.7e-5" ] )
+ ])
+ )
+ , ( "nothing" , MetaString "" )
+ , ( "scientific" , MetaInlines [ Str "3.7e-5" ] )
+ ]
+ }
+ []
```
```
% pandoc -s -t native
@@ -43,8 +69,20 @@ array:
- bool: True
---
^D
-Pandoc (Meta {unMeta = fromList [("array",MetaList [MetaMap (fromList [("foo",MetaInlines [Str "bar"])]),MetaMap (fromList [("bool",MetaBool True)])])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "array"
+ , MetaList
+ [ MetaMap
+ (fromList [ ( "foo" , MetaInlines [ Str "bar" ] ) ])
+ , MetaMap (fromList [ ( "bool" , MetaBool True ) ])
+ ]
+ )
+ ]
+ }
+ []
```
```
% pandoc -s -t native --metadata-file command/yaml-metadata.yaml
@@ -52,12 +90,32 @@ Pandoc (Meta {unMeta = fromList [("array",MetaList [MetaMap (fromList [("foo",Me
title: document
---
^D
-Pandoc (Meta {unMeta = fromList [("other",MetaInlines [Emph [Str "markdown"],Space,Str "value"]),("title",MetaInlines [Str "document"])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "other"
+ , MetaInlines
+ [ Emph [ Str "markdown" ] , Space , Str "value" ]
+ )
+ , ( "title" , MetaInlines [ Str "document" ] )
+ ]
+ }
+ []
```
```
% pandoc -s -t native --metadata-file command/yaml-metadata.yaml -M title=cmdline
^D
-Pandoc (Meta {unMeta = fromList [("other",MetaInlines [Emph [Str "markdown"],Space,Str "value"]),("title",MetaString "cmdline")]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "other"
+ , MetaInlines
+ [ Emph [ Str "markdown" ] , Space , Str "value" ]
+ )
+ , ( "title" , MetaString "cmdline" )
+ ]
+ }
+ []
```
diff --git a/test/command/yaml-with-chomp.md b/test/command/yaml-with-chomp.md
index d4c4f7cfd..98cc76e18 100644
--- a/test/command/yaml-with-chomp.md
+++ b/test/command/yaml-with-chomp.md
@@ -7,6 +7,14 @@ ml: |-
BLOCK
...
^D
-Pandoc (Meta {unMeta = fromList [("ml",MetaBlocks [Para [Str "TEST"],Plain [Str "BLOCK"]])]})
-[]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "ml"
+ , MetaBlocks [ Para [ Str "TEST" ] , Plain [ Str "BLOCK" ] ]
+ )
+ ]
+ }
+ []
```
diff --git a/test/creole-reader.native b/test/creole-reader.native
index 00000434d..5590a14d1 100644
--- a/test/creole-reader.native
+++ b/test/creole-reader.native
@@ -1,132 +1,970 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("",[],[]) [Str "Top-level heading (1)"]
-,Header 2 ("",[],[]) [Str "This a test for creole 0.1 (2)"]
-,Header 3 ("",[],[]) [Str "This is a Subheading (3)"]
-,Header 4 ("",[],[]) [Str "Subsub (4)"]
-,Header 5 ("",[],[]) [Str "Subsubsub (5)"]
-,Para [Str "The",Space,Str "ending",Space,Str "equal",Space,Str "signs",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "displayed:"]
-,Header 1 ("",[],[]) [Str "Top-level heading (1)"]
-,Header 2 ("",[],[]) [Str "This a test for creole 0.1 (2)"]
-,Header 3 ("",[],[]) [Str "This is a Subheading (3)"]
-,Header 4 ("",[],[]) [Str "Subsub (4)"]
-,Header 5 ("",[],[]) [Str "Subsubsub (5)"]
-,Para [Str "You",Space,Str "can",Space,Str "make",Space,Str "things",Space,Strong [Str "bold"],Space,Str "or",Space,Emph [Str "italic"],Space,Str "or",Space,Strong [Emph [Str "both"]],Space,Str "or",Space,Emph [Strong [Str "both"]],Str "."]
-,Para [Str "Character",Space,Str "formatting",Space,Str "extends",Space,Str "across",Space,Str "line",Space,Str "breaks:",Space,Strong [Str "bold,",Space,Str "this",Space,Str "is",Space,Str "still",Space,Str "bold.",Space,Str "This",Space,Str "line",Space,Str "deliberately",Space,Str "does",Space,Str "not",Space,Str "end",Space,Str "in",Space,Str "star-star."]]
-,Para [Str "Not",Space,Str "bold.",Space,Str "Character",Space,Str "formatting",Space,Str "does",Space,Str "not",Space,Str "cross",Space,Str "paragraph",Space,Str "boundaries."]
-,Para [Str "You",Space,Str "can",Space,Str "use",Space,Link ("",[],[]) [Str "internal links"] ("internal links",""),Space,Str "or",Space,Link ("",[],[]) [Str "external links"] ("http://www.wikicreole.org",""),Str ",",Space,Str "give",Space,Str "the",Space,Str "link",Space,Str "a",Space,Link ("",[],[]) [Str "different"] ("internal links",""),Space,Str "name."]
-,Para [Str "Here's",Space,Str "another",Space,Str "sentence:",Space,Str "This",Space,Str "wisdom",Space,Str "is",Space,Str "taken",Space,Str "from",Space,Link ("",[],[]) [Str "Ward Cunningham's"] ("Ward Cunningham's",""),Space,Link ("",[],[]) [Str "Presentation at the Wikisym 06"] ("http://www.c2.com/doc/wikisym/WikiSym2006.pdf",""),Str "."]
-,Para [Str "Here's",Space,Str "a",Space,Str "external",Space,Str "link",Space,Str "without",Space,Str "a",Space,Str "description:",Space,Link ("",[],[]) [Str "http://www.wikicreole.org"] ("http://www.wikicreole.org","")]
-,Para [Str "Be",Space,Str "careful",Space,Str "that",Space,Str "italic",Space,Str "links",Space,Str "are",Space,Str "rendered",Space,Str "properly:",Space,Emph [Link ("",[],[]) [Str "My Book Title"] ("http://my.book.example/","")]]
-,Para [Str "Free",Space,Str "links",Space,Str "without",Space,Str "braces",Space,Str "should",Space,Str "be",Space,Str "rendered",Space,Str "as",Space,Str "well,",Space,Str "like",Space,Link ("",[],[]) [Str "http://www.wikicreole.org/"] ("http://www.wikicreole.org/",""),Space,Str "and",Space,Link ("",[],[]) [Str "http://www.wikicreole.org/users/~example"] ("http://www.wikicreole.org/users/~example",""),Str "."]
-,Para [Str "Creole1.0",Space,Str "specifies",Space,Str "that",Space,Link ("",[],[]) [Str "http://bar"] ("http://bar",""),Space,Str "and",Space,Link ("",[],[]) [Str "ftp://bar"] ("ftp://bar",""),Space,Str "should",Space,Str "not",Space,Str "render",Space,Str "italic,",Space,Str "something",Space,Str "like",Space,Str "foo:",Emph [Str "bar",Space,Str "should",Space,Str "render",Space,Str "as",Space,Str "italic."]]
-,Para [Str "You",Space,Str "can",Space,Str "use",Space,Str "this",Space,Str "to",Space,Str "draw",Space,Str "a",Space,Str "line",Space,Str "to",Space,Str "separate",Space,Str "the",Space,Str "page:"]
-,HorizontalRule
-,Para [Str "You",Space,Str "can",Space,Str "use",Space,Str "lists,",Space,Str "start",Space,Str "it",Space,Str "at",Space,Str "the",Space,Str "first",Space,Str "column",Space,Str "for",Space,Str "now,",Space,Str "please..."]
-,Para [Str "unnumbered",Space,Str "lists",Space,Str "are",Space,Str "like"]
-,BulletList
- [[Plain [Str "item",Space,Str "a"]]
- ,[Plain [Str "item",Space,Str "b"]]
- ,[Plain [Strong [Str "bold",Space,Str "item",Space,Str "c"]]]]
-,Para [Str "blank",Space,Str "space",Space,Str "is",Space,Str "also",Space,Str "permitted",Space,Str "before",Space,Str "lists",Space,Str "like:"]
-,BulletList
- [[Plain [Str "item",Space,Str "a"]]
- ,[Plain [Str "item",Space,Str "b"]]
- ,[Plain [Str "item",Space,Str "c"]
- ,BulletList
- [[Plain [Str "item",Space,Str "c.a"]]]]]
-,Para [Str "or",Space,Str "you",Space,Str "can",Space,Str "number",Space,Str "them"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Link ("",[],[]) [Str "item 1"] ("item 1","")]]
- ,[Plain [Str "item",Space,Str "2"]]
- ,[Plain [Emph [Space,Str "italic",Space,Str "item",Space,Str "3",Space]]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "item",Space,Str "3.1"]]
- ,[Plain [Str "item",Space,Str "3.2"]]]]]
-,Para [Str "up",Space,Str "to",Space,Str "five",Space,Str "levels"]
-,BulletList
- [[Plain [Str "1"]
- ,BulletList
- [[Plain [Str "2"]
- ,BulletList
- [[Plain [Str "3"]
- ,BulletList
- [[Plain [Str "4"]
- ,BulletList
- [[Plain [Str "5"]]]]]]]]]]]
-,BulletList
- [[Plain [Str "You",Space,Str "can",Space,Str "have",Space,Str "multiline",Space,Str "list",Space,Str "items"]]
- ,[Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "second",Space,Str "multiline",Space,Str "list",Space,Str "item"]]]
-,Para [Str "You",Space,Str "can",Space,Str "use",Space,Str "nowiki",Space,Str "syntax",Space,Str "if",Space,Str "you",Space,Str "would",Space,Str "like",Space,Str "do",Space,Str "stuff",Space,Str "like",Space,Str "this:"]
-,CodeBlock ("",[],[]) "Guitar Chord C:\n\n||---|---|---|\n||-0-|---|---|\n||---|---|---|\n||---|-0-|---|\n||---|---|-0-|\n||---|---|---|"
-,Para [Str "You",Space,Str "can",Space,Str "also",Space,Str "use",Space,Str "it",Space,Str "inline",Space,Str "nowiki",Space,Code ("",[],[]) " in a sentence ",Space,Str "like",Space,Str "this."]
-,Header 1 ("",[],[]) [Str "Escapes"]
-,Para [Str "Normal",Space,Str "Link:",Space,Link ("",[],[]) [Str "http://wikicreole.org/"] ("http://wikicreole.org/",""),Space,Str "-",Space,Str "now",Space,Str "same",Space,Str "link,",Space,Str "but",Space,Str "escaped:",Space,Str "http://wikicreole.org/"]
-,Para [Str "Normal",Space,Str "asterisks:",Space,Str "**not",Space,Str "bold**"]
-,Para [Str "a",Space,Str "tilde",Space,Str "alone:",Space,Str "~"]
-,Para [Str "a",Space,Str "tilde",Space,Str "escapes",Space,Str "itself:",Space,Str "~xxx"]
-,Header 3 ("",[],[]) [Str "Creole 0.2"]
-,Para [Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "flower",Space,Str "with",Space,Str "the",Space,Str "ALT",Space,Str "text",Space,Str "\"this",Space,Str "is",Space,Str "a",Space,Str "flower\"",Space,Str "if",Space,Str "your",Space,Str "wiki",Space,Str "supports",Space,Str "ALT",Space,Str "text",Space,Str "on",Space,Str "images:"]
-,Para [Image ("",[],[]) [Str "here is a red flower"] ("Red-Flower.jpg","")]
-,Header 3 ("",[],[]) [Str "Creole 0.4"]
-,Para [Str "Tables",Space,Str "are",Space,Str "done",Space,Str "like",Space,Str "this:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "header",Space,Str "col1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "header",Space,Str "col2"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "you"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "can"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "also"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "align",LineBreak,Str "it."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "You",Space,Str "can",Space,Str "format",Space,Str "an",Space,Str "address",Space,Str "by",Space,Str "simply",Space,Str "forcing",Space,Str "linebreaks:"]
-,Para [Str "My",Space,Str "contact",Space,Str "dates:",LineBreak,Str "Pone:",Space,Str "xyz",LineBreak,Str "Fax:",Space,Str "+45",LineBreak,Str "Mobile:",Space,Str "abc"]
-,Header 3 ("",[],[]) [Str "Creole 0.5"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Header",Space,Str "title"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Another",Space,Str "header",Space,Str "title"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Code ("",[],[]) " //not italic text// "]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Code ("",[],[]) " **not bold text** "]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Emph [Str "italic",Space,Str "text"]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Strong [Space,Str "bold",Space,Str "text",Space]]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 3 ("",[],[]) [Str "Creole 1.0"]
-,Para [Str "If",Space,Str "interwiki",Space,Str "links",Space,Str "are",Space,Str "setup",Space,Str "in",Space,Str "your",Space,Str "wiki,",Space,Str "this",Space,Str "links",Space,Str "to",Space,Str "the",Space,Str "WikiCreole",Space,Str "page",Space,Str "about",Space,Str "Creole",Space,Str "1.0",Space,Str "test",Space,Str "cases:",Space,Link ("",[],[]) [Str "WikiCreole:Creole1.0TestCases"] ("WikiCreole:Creole1.0TestCases",""),Str "."]
-,HorizontalRule
-,Para [Str "The",Space,Str "above",Space,Str "test",Space,Str "document",Space,Str "was",Space,Str "found",Space,Str "on",Space,Link ("",[],[]) [Str "http://www.wikicreole.org/wiki/Creole1.0TestCases"] ("http://www.wikicreole.org/wiki/Creole1.0TestCases",""),Space,Str "and",Space,Str "downloaded",Space,Str "from",Space,Link ("",[],[]) [Str "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt"] ("http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt",""),Str "."]
-,Para [Str "The",Space,Str "Creole",Space,Str "Wiki",Space,Str "is",Space,Str "licensed:",Space,Str "Copyright",Space,Str "(C)",Space,Str "by",Space,Str "the",Space,Str "contributors.",Space,Str "Some",Space,Str "rights",Space,Str "reserved,",Space,Str "license",Space,Link ("",[],[]) [Str "https://creativecommons.org/licenses/by-sa/1.0/"] ("BY-SA",""),Str "."]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header 1 ( "" , [] , [] ) [ Str "Top-level heading (1)" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "This a test for creole 0.1 (2)" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "This is a Subheading (3)" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Subsub (4)" ]
+ , Header 5 ( "" , [] , [] ) [ Str "Subsubsub (5)" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "ending"
+ , Space
+ , Str "equal"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "displayed:"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Top-level heading (1)" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "This a test for creole 0.1 (2)" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "This is a Subheading (3)" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Subsub (4)" ]
+ , Header 5 ( "" , [] , [] ) [ Str "Subsubsub (5)" ]
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "make"
+ , Space
+ , Str "things"
+ , Space
+ , Strong [ Str "bold" ]
+ , Space
+ , Str "or"
+ , Space
+ , Emph [ Str "italic" ]
+ , Space
+ , Str "or"
+ , Space
+ , Strong [ Emph [ Str "both" ] ]
+ , Space
+ , Str "or"
+ , Space
+ , Emph [ Strong [ Str "both" ] ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Character"
+ , Space
+ , Str "formatting"
+ , Space
+ , Str "extends"
+ , Space
+ , Str "across"
+ , Space
+ , Str "line"
+ , Space
+ , Str "breaks:"
+ , Space
+ , Strong
+ [ Str "bold,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "still"
+ , Space
+ , Str "bold."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "deliberately"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "end"
+ , Space
+ , Str "in"
+ , Space
+ , Str "star-star."
+ ]
+ ]
+ , Para
+ [ Str "Not"
+ , Space
+ , Str "bold."
+ , Space
+ , Str "Character"
+ , Space
+ , Str "formatting"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "cross"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "boundaries."
+ ]
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "internal links" ]
+ ( "internal links" , "" )
+ , Space
+ , Str "or"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "external links" ]
+ ( "http://www.wikicreole.org" , "" )
+ , Str ","
+ , Space
+ , Str "give"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "different" ]
+ ( "internal links" , "" )
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "another"
+ , Space
+ , Str "sentence:"
+ , Space
+ , Str "This"
+ , Space
+ , Str "wisdom"
+ , Space
+ , Str "is"
+ , Space
+ , Str "taken"
+ , Space
+ , Str "from"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Ward Cunningham's" ]
+ ( "Ward Cunningham's" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Presentation at the Wikisym 06" ]
+ ( "http://www.c2.com/doc/wikisym/WikiSym2006.pdf" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "external"
+ , Space
+ , Str "link"
+ , Space
+ , Str "without"
+ , Space
+ , Str "a"
+ , Space
+ , Str "description:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.wikicreole.org" ]
+ ( "http://www.wikicreole.org" , "" )
+ ]
+ , Para
+ [ Str "Be"
+ , Space
+ , Str "careful"
+ , Space
+ , Str "that"
+ , Space
+ , Str "italic"
+ , Space
+ , Str "links"
+ , Space
+ , Str "are"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "properly:"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "My Book Title" ]
+ ( "http://my.book.example/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Free"
+ , Space
+ , Str "links"
+ , Space
+ , Str "without"
+ , Space
+ , Str "braces"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well,"
+ , Space
+ , Str "like"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.wikicreole.org/" ]
+ ( "http://www.wikicreole.org/" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.wikicreole.org/users/~example" ]
+ ( "http://www.wikicreole.org/users/~example" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Creole1.0"
+ , Space
+ , Str "specifies"
+ , Space
+ , Str "that"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "http://bar" ] ( "http://bar" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "ftp://bar" ] ( "ftp://bar" , "" )
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "render"
+ , Space
+ , Str "italic,"
+ , Space
+ , Str "something"
+ , Space
+ , Str "like"
+ , Space
+ , Str "foo:"
+ , Emph
+ [ Str "bar"
+ , Space
+ , Str "should"
+ , Space
+ , Str "render"
+ , Space
+ , Str "as"
+ , Space
+ , Str "italic."
+ ]
+ ]
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "this"
+ , Space
+ , Str "to"
+ , Space
+ , Str "draw"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "to"
+ , Space
+ , Str "separate"
+ , Space
+ , Str "the"
+ , Space
+ , Str "page:"
+ ]
+ , HorizontalRule
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "lists,"
+ , Space
+ , Str "start"
+ , Space
+ , Str "it"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "column"
+ , Space
+ , Str "for"
+ , Space
+ , Str "now,"
+ , Space
+ , Str "please..."
+ ]
+ , Para
+ [ Str "unnumbered"
+ , Space
+ , Str "lists"
+ , Space
+ , Str "are"
+ , Space
+ , Str "like"
+ ]
+ , BulletList
+ [ [ Plain [ Str "item" , Space , Str "a" ] ]
+ , [ Plain [ Str "item" , Space , Str "b" ] ]
+ , [ Plain
+ [ Strong
+ [ Str "bold" , Space , Str "item" , Space , Str "c" ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "blank"
+ , Space
+ , Str "space"
+ , Space
+ , Str "is"
+ , Space
+ , Str "also"
+ , Space
+ , Str "permitted"
+ , Space
+ , Str "before"
+ , Space
+ , Str "lists"
+ , Space
+ , Str "like:"
+ ]
+ , BulletList
+ [ [ Plain [ Str "item" , Space , Str "a" ] ]
+ , [ Plain [ Str "item" , Space , Str "b" ] ]
+ , [ Plain [ Str "item" , Space , Str "c" ]
+ , BulletList
+ [ [ Plain [ Str "item" , Space , Str "c.a" ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "or"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "number"
+ , Space
+ , Str "them"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Link ( "" , [] , [] ) [ Str "item 1" ] ( "item 1" , "" ) ]
+ ]
+ , [ Plain [ Str "item" , Space , Str "2" ] ]
+ , [ Plain
+ [ Emph
+ [ Space
+ , Str "italic"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ , Space
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "item" , Space , Str "3.1" ] ]
+ , [ Plain [ Str "item" , Space , Str "3.2" ] ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "up"
+ , Space
+ , Str "to"
+ , Space
+ , Str "five"
+ , Space
+ , Str "levels"
+ ]
+ , BulletList
+ [ [ Plain [ Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "4" ]
+ , BulletList [ [ Plain [ Str "5" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "have"
+ , Space
+ , Str "multiline"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items"
+ ]
+ ]
+ , [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "multiline"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ ]
+ ]
+ ]
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "nowiki"
+ , Space
+ , Str "syntax"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "would"
+ , Space
+ , Str "like"
+ , Space
+ , Str "do"
+ , Space
+ , Str "stuff"
+ , Space
+ , Str "like"
+ , Space
+ , Str "this:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "Guitar Chord C:\n\n||---|---|---|\n||-0-|---|---|\n||---|---|---|\n||---|-0-|---|\n||---|---|-0-|\n||---|---|---|"
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "use"
+ , Space
+ , Str "it"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "nowiki"
+ , Space
+ , Code ( "" , [] , [] ) " in a sentence "
+ , Space
+ , Str "like"
+ , Space
+ , Str "this."
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Escapes" ]
+ , Para
+ [ Str "Normal"
+ , Space
+ , Str "Link:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://wikicreole.org/" ]
+ ( "http://wikicreole.org/" , "" )
+ , Space
+ , Str "-"
+ , Space
+ , Str "now"
+ , Space
+ , Str "same"
+ , Space
+ , Str "link,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "escaped:"
+ , Space
+ , Str "http://wikicreole.org/"
+ ]
+ , Para
+ [ Str "Normal"
+ , Space
+ , Str "asterisks:"
+ , Space
+ , Str "**not"
+ , Space
+ , Str "bold**"
+ ]
+ , Para
+ [ Str "a"
+ , Space
+ , Str "tilde"
+ , Space
+ , Str "alone:"
+ , Space
+ , Str "~"
+ ]
+ , Para
+ [ Str "a"
+ , Space
+ , Str "tilde"
+ , Space
+ , Str "escapes"
+ , Space
+ , Str "itself:"
+ , Space
+ , Str "~xxx"
+ ]
+ , Header 3 ( "" , [] , [] ) [ Str "Creole 0.2" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "flower"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ALT"
+ , Space
+ , Str "text"
+ , Space
+ , Str "\"this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "flower\""
+ , Space
+ , Str "if"
+ , Space
+ , Str "your"
+ , Space
+ , Str "wiki"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "ALT"
+ , Space
+ , Str "text"
+ , Space
+ , Str "on"
+ , Space
+ , Str "images:"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "here is a red flower" ]
+ ( "Red-Flower.jpg" , "" )
+ ]
+ , Header 3 ( "" , [] , [] ) [ Str "Creole 0.4" ]
+ , Para
+ [ Str "Tables"
+ , Space
+ , Str "are"
+ , Space
+ , Str "done"
+ , Space
+ , Str "like"
+ , Space
+ , Str "this:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "header" , Space , Str "col1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "header" , Space , Str "col2" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "you" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "can" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "also" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "align" , LineBreak , Str "it." ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "format"
+ , Space
+ , Str "an"
+ , Space
+ , Str "address"
+ , Space
+ , Str "by"
+ , Space
+ , Str "simply"
+ , Space
+ , Str "forcing"
+ , Space
+ , Str "linebreaks:"
+ ]
+ , Para
+ [ Str "My"
+ , Space
+ , Str "contact"
+ , Space
+ , Str "dates:"
+ , LineBreak
+ , Str "Pone:"
+ , Space
+ , Str "xyz"
+ , LineBreak
+ , Str "Fax:"
+ , Space
+ , Str "+45"
+ , LineBreak
+ , Str "Mobile:"
+ , Space
+ , Str "abc"
+ ]
+ , Header 3 ( "" , [] , [] ) [ Str "Creole 0.5" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Header" , Space , Str "title" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Another"
+ , Space
+ , Str "header"
+ , Space
+ , Str "title"
+ ]
+ ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Code ( "" , [] , [] ) " //not italic text// " ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Code ( "" , [] , [] ) " **not bold text** " ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Emph [ Str "italic" , Space , Str "text" ] ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Strong
+ [ Space
+ , Str "bold"
+ , Space
+ , Str "text"
+ , Space
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 3 ( "" , [] , [] ) [ Str "Creole 1.0" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "interwiki"
+ , Space
+ , Str "links"
+ , Space
+ , Str "are"
+ , Space
+ , Str "setup"
+ , Space
+ , Str "in"
+ , Space
+ , Str "your"
+ , Space
+ , Str "wiki,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "links"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "WikiCreole"
+ , Space
+ , Str "page"
+ , Space
+ , Str "about"
+ , Space
+ , Str "Creole"
+ , Space
+ , Str "1.0"
+ , Space
+ , Str "test"
+ , Space
+ , Str "cases:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "WikiCreole:Creole1.0TestCases" ]
+ ( "WikiCreole:Creole1.0TestCases" , "" )
+ , Str "."
+ ]
+ , HorizontalRule
+ , Para
+ [ Str "The"
+ , Space
+ , Str "above"
+ , Space
+ , Str "test"
+ , Space
+ , Str "document"
+ , Space
+ , Str "was"
+ , Space
+ , Str "found"
+ , Space
+ , Str "on"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.wikicreole.org/wiki/Creole1.0TestCases" ]
+ ( "http://www.wikicreole.org/wiki/Creole1.0TestCases" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Str "downloaded"
+ , Space
+ , Str "from"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt"
+ ]
+ ( "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt"
+ , ""
+ )
+ , Str "."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "Creole"
+ , Space
+ , Str "Wiki"
+ , Space
+ , Str "is"
+ , Space
+ , Str "licensed:"
+ , Space
+ , Str "Copyright"
+ , Space
+ , Str "(C)"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "contributors."
+ , Space
+ , Str "Some"
+ , Space
+ , Str "rights"
+ , Space
+ , Str "reserved,"
+ , Space
+ , Str "license"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "https://creativecommons.org/licenses/by-sa/1.0/" ]
+ ( "BY-SA" , "" )
+ , Str "."
+ ]
+ ]
diff --git a/test/docbook-chapter.native b/test/docbook-chapter.native
index 396b6a21a..c77867ad9 100644
--- a/test/docbook-chapter.native
+++ b/test/docbook-chapter.native
@@ -1,17 +1,173 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("",[],[]) [Str "Test",Space,Str "Chapter"]
-,Para [Str "This",Space,Str "chapter",Space,Str "uses",Space,Str "recursive",Space,Str "sections."]
-,Header 2 ("",[],[]) [Str "Like",Space,Str "a",Space,Str "Sect1"]
-,Para [Str "This",Space,Str "section",Space,Str "is",Space,Str "like",Space,Str "a",Space,Str "Sect1."]
-,Header 3 ("",[],[]) [Str "Like",Space,Str "a",Space,Str "Sect2"]
-,Para [Str "This",Space,Str "section",Space,Str "is",Space,Str "like",Space,Str "a",Space,Str "Sect2."]
-,Header 4 ("",[],[]) [Str "Like",Space,Str "a",Space,Str "Sect3"]
-,Para [Str "This",Space,Str "section",Space,Str "is",Space,Str "like",Space,Str "a",Space,Str "Sect3."]
-,Header 5 ("",[],[]) [Str "Like",Space,Str "a",Space,Str "Sect4"]
-,Para [Str "This",Space,Str "section",Space,Str "is",Space,Str "like",Space,Str "a",Space,Str "Sect4."]
-,Header 6 ("",[],[]) [Str "Like",Space,Str "a",Space,Str "Sect5"]
-,Para [Str "This",Space,Str "section",Space,Str "is",Space,Str "like",Space,Str "a",Space,Str "Sect5."]
-,Header 7 ("",[],[]) [Str "Would",Space,Str "be",Space,Str "like",Space,Str "a",Space,Str "Sect6"]
-,Para [Str "This",Space,Str "section",Space,Str "would",Space,Str "be",Space,Str "like",Space,Str "a",Space,Str "Sect6,",Space,Str "if",Space,Str "there",Space,Str "was",Space,Str "one."]
-,Header 8 ("",[],[]) [Str "Would",Space,Str "be",Space,Str "like",Space,Str "a",Space,Str "Sect7"]
-,Para [Str "This",Space,Str "section",Space,Str "would",Space,Str "be",Space,Str "like",Space,Str "a",Space,Str "Sect7,",Space,Str "if",Space,Str "there",Space,Str "was",Space,Str "one."]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Test" , Space , Str "Chapter" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "chapter"
+ , Space
+ , Str "uses"
+ , Space
+ , Str "recursive"
+ , Space
+ , Str "sections."
+ ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Like" , Space , Str "a" , Space , Str "Sect1" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "is"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect1."
+ ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Like" , Space , Str "a" , Space , Str "Sect2" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "is"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect2."
+ ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Str "Like" , Space , Str "a" , Space , Str "Sect3" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "is"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect3."
+ ]
+ , Header
+ 5
+ ( "" , [] , [] )
+ [ Str "Like" , Space , Str "a" , Space , Str "Sect4" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "is"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect4."
+ ]
+ , Header
+ 6
+ ( "" , [] , [] )
+ [ Str "Like" , Space , Str "a" , Space , Str "Sect5" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "is"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect5."
+ ]
+ , Header
+ 7
+ ( "" , [] , [] )
+ [ Str "Would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect6"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect6,"
+ , Space
+ , Str "if"
+ , Space
+ , Str "there"
+ , Space
+ , Str "was"
+ , Space
+ , Str "one."
+ ]
+ , Header
+ 8
+ ( "" , [] , [] )
+ [ Str "Would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect7"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "Sect7,"
+ , Space
+ , Str "if"
+ , Space
+ , Str "there"
+ , Space
+ , Str "was"
+ , Space
+ , Str "one."
+ ]
+ ]
diff --git a/test/docbook-reader.docbook b/test/docbook-reader.docbook
index f021dc8be..8b0b34c42 100644
--- a/test/docbook-reader.docbook
+++ b/test/docbook-reader.docbook
@@ -102,6 +102,11 @@ sub status {
print &quot;working&quot;;
}
</programlisting>
+ <programlisting linenumbering="numbered">
+sub status {
+ print &quot;working with line numbers&quot;;
+}
+</programlisting>
<screen>
% <command>ls</command>
</screen>
@@ -1598,4 +1603,20 @@ or here: &lt;http://example.com/&gt;
</step>
</procedure>
</sect1>
+<sect1 id="indexterms">
+ <title>Index terms</title>
+ <para>
+ In the simplest case, index terms<indexterm><primary>index term</primary></indexterm> consists of just a <code>&lt;primary&gt;</code> element, but <indexterm><primary>index term</primary><secondary>multi-level</secondary></indexterm> they can also consist of a <code>&lt;primary&gt;</code> <emph>and</emph> <code>&lt;secondary&gt;</code> element, and <indexterm><primary>index term</primary><secondary>multi-level</secondary><tertiary>3-level</tertiary></indexterm> can even include a <code>&lt;tertiary&gt;</code> term.
+ </para>
+ <para>
+ Index terms can also refer to other index terms: <indexterm><primary>index cross referencing</primary></indexterm><indexterm><primary>index term</primary><secondary>cross references</secondary><see>index cross referencing</see></indexterm>exclusively, using the <code>&lt;see&gt;</code> tag; or <indexterm><primary>index cross referencing</primary><seealso>cross referencing</seealso></indexterm> as a reference to related terms, using the <code>&lt;seealso&gt;</code> tag.
+ </para>
+ <para>
+ <indexterm><primary>food</primary><secondary>big <foreignphrase>baguette</foreignphrase> <strong>supreme</strong></secondary></indexterm>Nested content in index term elements is flattened.
+ </para>
+</sect1>
+<sect1 id="titleabbrev">
+ <title>Abbreviated title</title>
+ <titleabbrev>Abbr. title</titleabbrev>
+</sect1>
</article>
diff --git a/test/docbook-reader.native b/test/docbook-reader.native
index b1f5fd085..16eef6632 100644
--- a/test/docbook-reader.native
+++ b/test/docbook-reader.native
@@ -1,584 +1,3127 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",SoftBreak,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",SoftBreak,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Para [Str "Hi."]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 4 ("",["unnumbered"],[]) [Str "Level",Space,Str "4"]
-,Para [Str "An",Space,Str "unnumbered",Space,Str "section."]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",SoftBreak,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",SoftBreak,Str "a",Space,Str "list",Space,Str "item."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,CodeBlock ("",[],[]) "% ls"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "item",Space,Str "one"]]
- ,[Para [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",Space,Str ">",Space,Str "1."]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,DefaultDelim)
- [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,DefaultDelim)
- [[Para [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Para [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,DefaultDelim)
- [[Para [Str "a",Space,Str "subsublist"]]
- ,[Para [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,DefaultDelim)
- [[Para [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,DefaultDelim)
- [[Para [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,DefaultDelim)
- [[Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,DefaultDelim)
- [[Para [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "Autonumber."]]
- ,[Para [Str "More."]
- ,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "Nested."]]]]]
-,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
-,Para [Str "M.A.\160\&2007"]
-,Para [Str "B.",Space,Str "Williams"]
-,Header 2 ("callout",[],[]) [Str "Callout"]
-,Para [Str "Simple."]
-,BulletList
- [[Para [Str "A",Space,Code ("",[],[]) "__letrec",Space,Str "is",Space,Str "equivalent",Space,Str "to",Space,Str "a",Space,Str "normal",SoftBreak,Str "Haskell",Space,Str "LET."]]
- ,[Para [Str "GHC",Space,Str "compiled",Space,Str "the",Space,Str "body",Space,Str "of",Space,Str "our",Space,Str "list",Space,Str "comprehension",Space,Str "into",SoftBreak,Str "a",Space,Str "loop",Space,Str "named",Space,Code ("",[],[]) "go_s1YC",Str "."]]
- ,[Para [Str "If",Space,Str "our",Space,Str "CASE",Space,Str "expression",Space,Str "matches",Space,Str "the",Space,Str "empty",Space,Str "list,",Space,Str "we",SoftBreak,Str "return",Space,Str "the",Space,Str "empty",Space,Str "list.",Space,Str "This",Space,Str "is",Space,Str "reassuringly",SoftBreak,Str "familiar."]]]
-,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
-,DefinitionList
- [([Emph [Str "apple"]],
- [[Para [Str "red",Space,Str "fruit"]
- ,Para [Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
- ,([Emph [Str "orange"]],
- [[Para [Str "orange",Space,Str "fruit"]
- ,CodeBlock ("",[],[]) "{ orange code block }"
- ,BlockQuote
- [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
-,Para [Str "Multiple",Space,Str "definitions,",Space,Str "loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]
- ,[Para [Str "bank"]]])]
-,Para [Str "Blank",Space,Str "line",Space,Str "after",Space,Str "term,",Space,Str "indented",Space,Str "marker,",Space,Str "alternate",Space,Str "markers:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]
- ,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "sublist"]]
- ,[Para [Str "sublist"]]]]])]
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",SoftBreak,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",SoftBreak,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",SoftBreak,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",SoftBreak,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",SoftBreak,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",SoftBreak,Code ("",[],[]) "<html>",Str "."]
-,Para [Str "More",Space,Str "code:",Space,Code ("",[],[]) "Class",Space,Str "and",Space,Code ("",[],[]) "Type"]
-,Para [Str "Referencing",Space,Str "a",Space,Str "man",Space,Str "page:",Space,Code ("",["citerefentry"],[]) "nix.conf(5)"]
-,Para [Strikeout [Str "This",Space,Str "is",SoftBreak,Emph [Str "strikeout"],Str "."]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",SoftBreak,Str "a",Superscript [Emph [Str "hello"]],SoftBreak,Str "a",Superscript [Str "hello\160there"],Str "."]
-,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",SoftBreak,Str "H",Subscript [Str "many\160of\160them"],Str "O."]
-,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",Space,Str "because",Space,Str "of",Space,Str "the",Space,Str "unescaped",SoftBreak,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a~b",Space,Str "c~d."]
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",SoftBreak,Str "name."]]
-,Para [Quoted DoubleQuote [Str "A"],Str ",",Space,Quoted DoubleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted DoubleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
-,Para [Quoted DoubleQuote [Str "He",Space,Str "said,",Space,Quoted SingleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."]],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",SoftBreak,Str "70\8217s?"]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two",Space,Str "\8212",Space,Str "three\8212four",Space,Str "\8212",Space,Str "five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
-,Para [Str "Ellipses\8230and\8230and\8230."]
-,Header 1 ("math",[],[]) []
-,Para [Math DisplayMath "e = mc^{2}",Math DisplayMath "1",SoftBreak,Math InlineMath "e = mc^{2}",SoftBreak,Math DisplayMath "e = mc^{2}"]
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Para [Str "section:",Space,Str "\167"]]
- ,[Para [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Para [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
-,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
-,Para [Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/",""),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",SoftBreak,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",SoftBreak,Link ("",[],[]) [Str "AT&T"] ("http://att.com/",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",SoftBreak,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",SoftBreak,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Para [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
-,BlockQuote
- [Para [Str "Blockquoted:",SoftBreak,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",SoftBreak,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "lalune",Space,Str "fig",Space,Str "caption"] ("lalune.jpg","fig:")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [] ("movie.jpg",""),Space,Str "icon.",SoftBreak,Str "And",Space,Str "here",Space,Str "a",Space,Str "second",Space,Str "movie",Space,Image ("",[],[]) [Str "alt",Space,Str "text"] ("movie.jpg",""),Space,Str "icon.",SoftBreak,Str "And",Space,Str "here",Space,Str "a",Space,Str "third",Space,Str "movie",Space,Image ("",[],[]) [Str "alt",Space,Str "text"] ("movie.jpg",""),Space,Str "icon."]
-,Para [Image ("",[],[]) [Str "lalune",Space,Str "no",Space,Str "figure",Space,Str "alt",Space,Str "text"] ("lalune.jpg","")]
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Note [Para [Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "after",Space,Str "the",Space,Str "footnote",Space,Str "reference.",SoftBreak,Str "It",Space,Str "need",Space,Str "not",Space,Str "be",Space,Str "placed",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]],Space,Str "and",Space,Str "another.",Note [Para [Str "Here\8217s",Space,Str "the",Space,Str "long",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",Space,Str "blocks."],Para [Str "Subsequent",Space,Str "blocks",Space,Str "are",Space,Str "indented",Space,Str "to",Space,Str "show",Space,Str "that",Space,Str "they",Space,Str "belong",Space,Str "to",Space,Str "the",SoftBreak,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "list",Space,Str "items)."],CodeBlock ("",[],[]) " { <code> }",Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "indent",Space,Str "every",Space,Str "line,",Space,Str "but",Space,Str "you",Space,Str "can",Space,Str "also",Space,Str "be",Space,Str "lazy",Space,Str "and",SoftBreak,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],Space,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",SoftBreak,Str "because",Space,Str "it",Space,Str "contains",Space,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",Space,Str "note.",Note [Para [Str "This",Space,Str "is",Space,Emph [Str "easier"],Space,Str "to",Space,Str "type.",Space,Str "Inline",Space,Str "notes",Space,Str "may",Space,Str "contain",SoftBreak,Link ("",[],[]) [Str "links"] ("http://google.com",""),Space,Str "and",Space,Code ("",[],[]) "]",SoftBreak,Str "verbatim",Space,Str "characters,",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
-,BlockQuote
- [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
-,OrderedList (1,Decimal,DefaultDelim)
- [[Para [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
-,Para [Str "This",Space,Str "paragraph",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "note,",Space,Str "as",Space,Str "it",Space,Str "is",Space,Str "not",Space,Str "indented."]
-,Header 1 ("tables",[],[]) [Str "Tables"]
-,Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Here's",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."]])
- [(AlignCenter,ColWidth 0.2)
- ,(AlignLeft,ColWidth 0.2)
- ,(AlignRight,ColWidth 0.3)
- ,(AlignLeft,ColWidth 0.3)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",Space,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidth 0.1)
- ,(AlignLeft,ColWidth 0.2)
- ,(AlignRight,ColWidth 0.3)
- ,(AlignLeft,ColWidth 0.4)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",Space,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidth 0.25)
- ,(AlignLeft,ColWidth 0.25)
- ,(AlignRight,ColWidth 0.25)
- ,(AlignLeft,ColWidth 0.25)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,BulletList
- [[Para [Str "A",Space,Str "Step"]]
- ,[Para [Str "Another",Space,Str "Step"]
- ,Para [Str "Substeps",Space,Str "can",Space,Str "be",Space,Str "nested",Space,Str "indefinitely",Space,Str "deep."]]
- ,[Para [Str "A",Space,Str "Final",Space,Str "Step"]]]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines
+ [ Str "John" , SoftBreak , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "July" , Space , Str "17," , Space , Str "2006" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , Space
+ , Str "John"
+ , SoftBreak
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Para [ Str "Hi." ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 4
+ ( "" , [ "unnumbered" ] , [] )
+ [ Str "Level" , Space , Str "4" ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "unnumbered"
+ , Space
+ , Str "section."
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , Space
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , SoftBreak
+ , Str "item."
+ , Space
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , SoftBreak
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , CodeBlock
+ ( "" , [ "numberLines" ] , [] )
+ "sub status {\n print \"working with line numbers\";\n}"
+ , CodeBlock ( "" , [] , [] ) "% ls"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , Space
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , SoftBreak
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , DefaultDelim )
+ [ [ Para
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , DefaultDelim )
+ [ [ Para
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Para [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Para [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , DefaultDelim )
+ [ [ Para [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , DefaultDelim )
+ [ [ Para
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , DefaultDelim )
+ [ [ Para
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "Autonumber." ] ]
+ , [ Para [ Str "More." ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A.\160\&2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
+ , Header 2 ( "callout" , [] , [] ) [ Str "Callout" ]
+ , Para [ Str "Simple." ]
+ , BulletList
+ [ [ Para
+ [ Str "A"
+ , Space
+ , Code ( "" , [] , [] ) "__letrec"
+ , Space
+ , Str "is"
+ , Space
+ , Str "equivalent"
+ , Space
+ , Str "to"
+ , Space
+ , Str "a"
+ , Space
+ , Str "normal"
+ , SoftBreak
+ , Str "Haskell"
+ , Space
+ , Str "LET."
+ ]
+ ]
+ , [ Para
+ [ Str "GHC"
+ , Space
+ , Str "compiled"
+ , Space
+ , Str "the"
+ , Space
+ , Str "body"
+ , Space
+ , Str "of"
+ , Space
+ , Str "our"
+ , Space
+ , Str "list"
+ , Space
+ , Str "comprehension"
+ , Space
+ , Str "into"
+ , SoftBreak
+ , Str "a"
+ , Space
+ , Str "loop"
+ , Space
+ , Str "named"
+ , Space
+ , Code ( "" , [] , [] ) "go_s1YC"
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "If"
+ , Space
+ , Str "our"
+ , Space
+ , Str "CASE"
+ , Space
+ , Str "expression"
+ , Space
+ , Str "matches"
+ , Space
+ , Str "the"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "list,"
+ , Space
+ , Str "we"
+ , SoftBreak
+ , Str "return"
+ , Space
+ , Str "the"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "list."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "reassuringly"
+ , SoftBreak
+ , Str "familiar."
+ ]
+ ]
+ ]
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , DefinitionList
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , Space
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "loose:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Para [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "after"
+ , Space
+ , Str "term,"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "marker,"
+ , Space
+ , Str "alternate"
+ , Space
+ , Str "markers:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para [ Str "sublist" ] ]
+ , [ Para [ Str "sublist" ] ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , SoftBreak , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , SoftBreak
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , SoftBreak
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , SoftBreak
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Str "More"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) "Class"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "Type"
+ ]
+ , Para
+ [ Str "Referencing"
+ , Space
+ , Str "a"
+ , Space
+ , Str "man"
+ , Space
+ , Str "page:"
+ , Space
+ , Code ( "" , [ "citerefentry" ] , [] ) "nix.conf(5)"
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , SoftBreak
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , SoftBreak
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , SoftBreak
+ , Str "H"
+ , Subscript [ Str "many\160of\160them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "unescaped"
+ , SoftBreak
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Quoted DoubleQuote [ Str "Hello," ]
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Quoted SingleQuote [ Str "Shelob" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , SoftBreak
+ , Str "name."
+ ]
+ ]
+ , Para
+ [ Quoted DoubleQuote [ Str "A" ]
+ , Str ","
+ , Space
+ , Quoted DoubleQuote [ Str "B" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Quoted DoubleQuote [ Str "C" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Quoted
+ DoubleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ SingleQuote
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go."
+ ]
+ ]
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "70\8217s?"
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three\8212four"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , Header 1 ( "math" , [] , [] ) []
+ , Para
+ [ Math DisplayMath "e = mc^{2}"
+ , Math DisplayMath "1"
+ , SoftBreak
+ , Math InlineMath "e = mc^{2}"
+ , SoftBreak
+ , Math DisplayMath "e = mc^{2}"
+ ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "biz" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , SoftBreak
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , SoftBreak
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: <http://example.com/>"
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune"
+ ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" , Space , Str "fig" , Space , Str "caption" ]
+ ( "lalune.jpg" , "fig:" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "here"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] )
+ [ Str "alt" , Space , Str "text" ]
+ ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "here"
+ , Space
+ , Str "a"
+ , Space
+ , Str "third"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] )
+ [ Str "alt" , Space , Str "text" ]
+ ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune"
+ , Space
+ , Str "no"
+ , Space
+ , Str "figure"
+ , Space
+ , Str "alt"
+ , Space
+ , Str "text"
+ ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Note
+ [ Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "need"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "placed"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "another."
+ , Note
+ [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "long"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Subsequent"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "to"
+ , Space
+ , Str "show"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "be"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "and"
+ , SoftBreak
+ , Str "just"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , Space
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , SoftBreak
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space.[^my"
+ , Space
+ , Str "note]"
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "easier" ]
+ , Space
+ , Str "to"
+ , Space
+ , Str "type."
+ , Space
+ , Str "Inline"
+ , Space
+ , Str "notes"
+ , Space
+ , Str "may"
+ , Space
+ , Str "contain"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "links" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "]"
+ , SoftBreak
+ , Str "verbatim"
+ , Space
+ , Str "characters,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "[bracketed"
+ , Space
+ , Str "text]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "note,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "indented."
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , Space
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ])
+ [ ( AlignCenter , ColWidth 0.2 )
+ , ( AlignLeft , ColWidth 0.2 )
+ , ( AlignRight , ColWidth 0.3 )
+ , ( AlignLeft , ColWidth 0.3 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.1 )
+ , ( AlignLeft , ColWidth 0.2 )
+ , ( AlignRight , ColWidth 0.3 )
+ , ( AlignLeft , ColWidth 0.4 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.25 )
+ , ( AlignLeft , ColWidth 0.25 )
+ , ( AlignRight , ColWidth 0.25 )
+ , ( AlignLeft , ColWidth 0.25 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , BulletList
+ [ [ Para [ Str "A" , Space , Str "Step" ] ]
+ , [ Para [ Str "Another" , Space , Str "Step" ]
+ , Para
+ [ Str "Substeps"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "indefinitely"
+ , Space
+ , Str "deep."
+ ]
+ ]
+ , [ Para
+ [ Str "A" , Space , Str "Final" , Space , Str "Step" ]
+ ]
+ ]
+ , Header
+ 1
+ ( "indexterms" , [] , [] )
+ [ Str "Index" , Space , Str "terms" ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "the"
+ , Space
+ , Str "simplest"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "index"
+ , Space
+ , Str "terms"
+ , Span
+ ( "" , [ "indexterm" ] , [ ( "primary" , "index term" ) ] )
+ []
+ , Space
+ , Str "consists"
+ , Space
+ , Str "of"
+ , Space
+ , Str "just"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "<primary>"
+ , Space
+ , Str "element,"
+ , Space
+ , Str "but"
+ , Space
+ , Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "index term" )
+ , ( "secondary" , "multi-level" )
+ ]
+ )
+ []
+ , Space
+ , Str "they"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "consist"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "<primary>"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "<secondary>"
+ , Space
+ , Str "element,"
+ , Space
+ , Str "and"
+ , Space
+ , Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "index term" )
+ , ( "secondary" , "multi-level" )
+ , ( "tertiary" , "3-level" )
+ ]
+ )
+ []
+ , Space
+ , Str "can"
+ , Space
+ , Str "even"
+ , Space
+ , Str "include"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "<tertiary>"
+ , Space
+ , Str "term."
+ ]
+ , Para
+ [ Str "Index"
+ , Space
+ , Str "terms"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "refer"
+ , Space
+ , Str "to"
+ , Space
+ , Str "other"
+ , Space
+ , Str "index"
+ , Space
+ , Str "terms:"
+ , Space
+ , Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "index cross referencing" ) ]
+ )
+ []
+ , Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "index term" )
+ , ( "secondary" , "cross references" )
+ , ( "see" , "index cross referencing" )
+ ]
+ )
+ []
+ , Str "exclusively,"
+ , Space
+ , Str "using"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "<see>"
+ , Space
+ , Str "tag;"
+ , Space
+ , Str "or"
+ , Space
+ , Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "index cross referencing" )
+ , ( "seealso" , "cross referencing" )
+ ]
+ )
+ []
+ , Space
+ , Str "as"
+ , Space
+ , Str "a"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "to"
+ , Space
+ , Str "related"
+ , Space
+ , Str "terms,"
+ , Space
+ , Str "using"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "<seealso>"
+ , Space
+ , Str "tag."
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "indexterm" ]
+ , [ ( "primary" , "food" )
+ , ( "secondary" , "big baguette supreme" )
+ ]
+ )
+ []
+ , Str "Nested"
+ , Space
+ , Str "content"
+ , Space
+ , Str "in"
+ , Space
+ , Str "index"
+ , Space
+ , Str "term"
+ , Space
+ , Str "elements"
+ , Space
+ , Str "is"
+ , Space
+ , Str "flattened."
+ ]
+ , Header
+ 1
+ ( "titleabbrev"
+ , []
+ , [ ( "titleabbrev" , "Abbr. title" ) ]
+ )
+ [ Str "Abbreviated" , Space , Str "title" ]
+ ]
diff --git a/test/docbook-xref.native b/test/docbook-xref.native
index 54a63768e..2983eac0c 100644
--- a/test/docbook-xref.native
+++ b/test/docbook-xref.native
@@ -1,29 +1,177 @@
-Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "An",Space,Str "Example",Space,Str "Book"])]})
-[Header 1 ("ch01",[],[]) [Str "XRef",Space,Str "Samples"]
-,Para [Str "This",Space,Str "paragraph",Space,Str "demonstrates",Space,Str "several",Space,Str "features",Space,Str "of",SoftBreak,Str "XRef."]
-,BulletList
- [[Para [Str "A",Space,Str "straight",Space,Str "link",Space,Str "generates",Space,Str "the",SoftBreak,Str "cross-reference",Space,Str "text:",Space,Link ("",[],[]) [Str "The",Space,Str "Second",Space,Str "Chapter"] ("#ch02",""),Str "."]]
- ,[Para [Str "A",Space,Str "link",Space,Str "to",Space,Str "an",Space,Str "element",Space,Str "with",Space,Str "an",SoftBreak,Str "XRefLabel:",SoftBreak,Link ("",[],[]) [Str "Chapter",Space,Str "the",Space,Str "Third"] ("#ch03",""),Str "."]]
- ,[Para [Str "A",Space,Str "link",Space,Str "with",Space,Str "an",SoftBreak,Str "EndTerm:",SoftBreak,Link ("",[],[]) [Str "Chapter",Space,Str "4"] ("#ch04",""),Str "."]]
- ,[Para [Str "A",Space,Str "link",Space,Str "to",Space,Str "an",SoftBreak,Str "cmdsynopsis",Space,Str "element:",Space,Link ("",[],[]) [Str "chgrp"] ("#cmd01",""),Str "."]]
- ,[Para [Str "A",Space,Str "link",Space,Str "to",Space,Str "an",SoftBreak,Str "funcsynopsis",Space,Str "element:",Space,Link ("",[],[]) [Str "max"] ("#func01",""),Str "."]]]
-,Header 1 ("ch02",[],[]) [Str "The",Space,Str "Second",Space,Str "Chapter"]
-,Para [Str "Some",Space,Str "content",Space,Str "here"]
-,Header 1 ("ch03",[],[]) [Str "The",Space,Str "Third",Space,Str "Chapter"]
-,Para [Str "Some",Space,Str "content",Space,Str "here"]
-,Header 1 ("ch04",[],[]) [Str "The",Space,Str "Fourth",Space,Str "Chapter"]
-,Para [Str "Some",Space,Str "content",Space,Str "here"]
-,Plain [Str "chgrp"]
-,Plain [Str "-R"]
-,Plain [Str "-H"]
-,Plain [Str "-L"]
-,Plain [Str "-P"]
-,Plain [Str "-f"]
-,Plain [Str "group"]
-,Plain [Str "file"]
-,Plain [Str "int"]
-,Plain [Str "max"]
-,Plain [Str "int"]
-,Plain [Str "int1"]
-,Plain [Str "int"]
-,Plain [Str "int2"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "title"
+ , MetaInlines
+ [ Str "An"
+ , Space
+ , Str "Example"
+ , Space
+ , Str "Book"
+ ]
+ )
+ ]
+ }
+ [ Header
+ 1
+ ( "ch01" , [] , [] )
+ [ Str "XRef" , Space , Str "Samples" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "demonstrates"
+ , Space
+ , Str "several"
+ , Space
+ , Str "features"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "XRef."
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "A"
+ , Space
+ , Str "straight"
+ , Space
+ , Str "link"
+ , Space
+ , Str "generates"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "cross-reference"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "Second"
+ , Space
+ , Str "Chapter"
+ ]
+ ( "#ch02" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "XRefLabel:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Chapter"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Third"
+ ]
+ ( "#ch03" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "EndTerm:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Chapter" , Space , Str "4" ]
+ ( "#ch04" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "cmdsynopsis"
+ , Space
+ , Str "element:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "chgrp" ] ( "#cmd01" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "funcsynopsis"
+ , Space
+ , Str "element:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "max" ] ( "#func01" , "" )
+ , Str "."
+ ]
+ ]
+ ]
+ , Header
+ 1
+ ( "ch02" , [] , [] )
+ [ Str "The" , Space , Str "Second" , Space , Str "Chapter" ]
+ , Para
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Header
+ 1
+ ( "ch03" , [] , [] )
+ [ Str "The" , Space , Str "Third" , Space , Str "Chapter" ]
+ , Para
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Header
+ 1
+ ( "ch04" , [] , [ ( "titleabbrev" , "Chapter 4" ) ] )
+ [ Str "The" , Space , Str "Fourth" , Space , Str "Chapter" ]
+ , Para
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Plain [ Str "chgrp" ]
+ , Plain [ Str "-R" ]
+ , Plain [ Str "-H" ]
+ , Plain [ Str "-L" ]
+ , Plain [ Str "-P" ]
+ , Plain [ Str "-f" ]
+ , Plain [ Str "group" ]
+ , Plain [ Str "file" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "max" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "int1" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "int2" ]
+ ]
diff --git a/test/docx/0_level_headers.native b/test/docx/0_level_headers.native
index ed589b029..7080063f9 100644
--- a/test/docx/0_level_headers.native
+++ b/test/docx/0_level_headers.native
@@ -39,9 +39,9 @@
[])
,Para [Str "CONTENTS"]
,Para [Strong [Str "Section",Space,Str "Page"]]
-,Para [Str "FIGURES",Space,Str "iv"]
-,Para [Str "TABLES",Space,Str "v"]
-,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
+,Para [Str "FIGURES",Space,Link ("",[],[]) [Str "iv"] ("#figures","")]
+,Para [Str "TABLES",Space,Link ("",[],[]) [Str "v"] ("#tables","")]
+,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Link ("",[],[]) [Str "2"] ("#introduction","")]
,Header 1 ("figures",["Heading-0"],[]) [Str "FIGURES"]
,Para [Strong [Str "Figure",Space,Str "Page"]]
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
diff --git a/test/docx/diagram.docx b/test/docx/diagram.docx
new file mode 100644
index 000000000..462cf8028
--- /dev/null
+++ b/test/docx/diagram.docx
Binary files differ
diff --git a/test/docx/diagram.native b/test/docx/diagram.native
new file mode 100644
index 000000000..0510497dc
--- /dev/null
+++ b/test/docx/diagram.native
@@ -0,0 +1,2 @@
+[Header 1 ("diagram-after",[],[]) [Str "Diagram",Space,Str "after:"]
+,Para [Span ("",["diagram"],[]) [Str "[DIAGRAM]"]]]
diff --git a/test/docx/empty_field.docx b/test/docx/empty_field.docx
new file mode 100644
index 000000000..fb3830b0d
--- /dev/null
+++ b/test/docx/empty_field.docx
Binary files differ
diff --git a/test/docx/empty_field.native b/test/docx/empty_field.native
new file mode 100644
index 000000000..18d892454
--- /dev/null
+++ b/test/docx/empty_field.native
@@ -0,0 +1,7 @@
+[Para
+ [Str "\24076\26395\28145\20837\20102\35299\30340\35835\32773\21487\20197\21435\30475David",Space,Str "French",Space,Str "Belding\21644Kevin",Space,Str "J.",Space,Str "Mitchell\30340"
+ ,Link ("",[],[]) [Str "Foundations",Space,Str "of",Space,Str "Analysis,",Space,Str "2nd",Space,Str "Edition"] ("https://books.google.com/books?id=sp_Zcb9ot90C&lpg=PR4&hl=zh-CN&pg=PA19#v=onepage&q&f=true",""),Str ",\21487\20174\&19\39029\30475\36215\65292\25110D.C.",Space,Str "Goldrei\30340",Space
+ ,Link ("",[],[]) [Str "Classic",Space,Str "Set",Space,Str "Theory:",Space,Str "For",Space,Str "Guided",Space,Str "Independent",Space,Str "Study"] ("https://books.google.ae/books?id=dlc0DwAAQBAJ&lpg=PT29&hl=zh-CN&pg=PT26#v=onepage&q&f=true","")
+ ,Str "\65292\20174\31532\20108\31456\30475\36215\65292\38405\35835\26102\35201\27880\24847\26412\25991\19982\36825\20123\20070\25152\19981\21516\30340\26159\24182\27809\26377\25226\23454\25968\30475\20316\26159\26377\29702\25968\38598\30340\20998\21106\12290"]
+,Para [Str "Index:"]
+,Para [Str "French,",Space,Str "1"]]
diff --git a/test/docx/golden/image.docx b/test/docx/golden/image.docx
index 7c2d8a9ac..099f705e4 100644
--- a/test/docx/golden/image.docx
+++ b/test/docx/golden/image.docx
Binary files differ
diff --git a/test/docx/golden/inline_images.docx b/test/docx/golden/inline_images.docx
index 662e70556..f3c19555f 100644
--- a/test/docx/golden/inline_images.docx
+++ b/test/docx/golden/inline_images.docx
Binary files differ
diff --git a/test/docx/golden/nested_anchors_in_header.docx b/test/docx/golden/nested_anchors_in_header.docx
index 88dd21abd..9d89070d9 100644
--- a/test/docx/golden/nested_anchors_in_header.docx
+++ b/test/docx/golden/nested_anchors_in_header.docx
Binary files differ
diff --git a/test/docx/image_vml.native b/test/docx/image_vml.native
index e9fded614..5991f333c 100644
--- a/test/docx/image_vml.native
+++ b/test/docx/image_vml.native
@@ -1,4 +1,3 @@
[Header 1 ("vml-image",[],[]) [Strong [Str "VML",Space,Str "Image"]]
-,BlockQuote
- [Para [Str "It",Space,Str "should",Space,Str "follow",Space,Str "below:"]
- ,Para [Image ("",[],[]) [] ("media/image4.jpeg","")]]]
+,Para [Str "It",Space,Str "should",Space,Str "follow",Space,Str "below:"]
+,Para [Image ("",[],[]) [] ("media/image4.jpeg","")]]
diff --git a/test/docx/image_writer_test.native b/test/docx/image_writer_test.native
index a0fb3ee3a..8d3bac1ee 100644
--- a/test/docx/image_writer_test.native
+++ b/test/docx/image_writer_test.native
@@ -1,8 +1,10 @@
[Para [Str "No",Space,Str "width",Space,Str "given:"]
-,Para [Image ("",[],[]) [Str "testimg"] ("lalune.jpg","fig:")]
+,Para [Image ("fig:testimg",[],[]) [Str "testimg"] ("lalune.jpg","fig:")]
,Para [Str "With",Space,Str "height",Space,Str "10cm:"]
-,Para [Image ("",[],[("height","10cm")]) [Str "2testimg"] ("lalune.jpg","fig:")]
+,Para [Image ("fig:2testimg",[],[("height","10cm")]) [Str "2testimg"] ("lalune.jpg","fig:")]
,Para [Str "With",Space,Str "width",Space,Str "6cm:"]
,Para [Image ("",[],[("width","6cm")]) [Str "3testimg"] ("lalune.jpg","fig:")]
,Header 1 ("with-height-3in-and-width-6in",[],[]) [Str "With",Space,Str "height",Space,Str "3in",Space,Str "and",Space,Str "width",Space,Str "6in:"]
-,Para [Image ("",[],[("width","6in"),("height","3in")]) [Str "4testimg"] ("lalune.jpg","fig:")]] \ No newline at end of file
+,Para [Image ("",[],[("width","6in"),("height","3in")]) [Str "4testimg"] ("lalune.jpg","fig:")]
+,Para [RawInline (Format "openxml") "<w:fldSimple w:instr=\"REF ref_fig:testimg\" />"]
+,Para [RawInline (Format "openxml") "<w:fldSimple w:instr=\"REF ref_fig:2testimg\" />"]]
diff --git a/test/docx/nested_anchors_in_header.native b/test/docx/nested_anchors_in_header.native
index 314b31663..9cc256d28 100644
--- a/test/docx/nested_anchors_in_header.native
+++ b/test/docx/nested_anchors_in_header.native
@@ -1,8 +1,8 @@
[Header 1 ("\1086\1075\1083\1072\1074\1083\1077\1085\1080\1077",["TOC-Heading"],[]) [Str "\1054\1075\1083\1072\1074\1083\1077\1085\1080\1077"]
-,Para [Link ("",[],[]) [Str "Short",Space,Str "instructions",Space,Str "1"] ("#short-instructions","")]
-,Para [Link ("",[],[]) [Str "Some",Space,Str "instructions",Space,Str "1"] ("#some-instructions","")]
-,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "opening",Space,Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]
-,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "closing",Space,Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-closing","")]
+,Para [Link ("",[],[]) [Str "Short",Space,Str "instructions",Space,Link ("",[],[]) [Str "1"] ("#short-instructions","")] ("#short-instructions","")]
+,Para [Link ("",[],[]) [Str "Some",Space,Str "instructions",Space,Link ("",[],[]) [Str "1"] ("#some-instructions","")] ("#some-instructions","")]
+,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "opening",Space,Link ("",[],[]) [Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]
+,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "closing",Space,Link ("",[],[]) [Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-closing","")] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-closing","")]
,Header 1 ("short-instructions",[],[]) [Str "Short",Space,Str "instructions"]
,Para [Link ("",[],[]) [Str "Open",Space,Str "remote",Space,Str "folder"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]
,Para [Str "Do",Space,Str "staff"]
diff --git a/test/docx/nested_instrText.docx b/test/docx/nested_instrText.docx
new file mode 100644
index 000000000..532584193
--- /dev/null
+++ b/test/docx/nested_instrText.docx
Binary files differ
diff --git a/test/docx/nested_instrText.native b/test/docx/nested_instrText.native
new file mode 100644
index 000000000..730b041f5
--- /dev/null
+++ b/test/docx/nested_instrText.native
@@ -0,0 +1,5 @@
+[Para [Str "\24076\26395\28145\20837\20102\35299\30340\35835\32773\21487\20197\21435\30475David",Space,Str "French",Space,Str "Belding\21644Kevin",Space,Str "J.",Space,Str "Mitchell\30340"
+ ,Link ("",[],[]) [Str "Foundations",Space,Str "of",Space,Str "Analysis,",Space,Str "1/16/18",Space,Str "8:40:00",Space,Str "AM,",Space,Str "2nd",Space,Str "Edition"] ("https://books.google.com/books?id=sp_Zcb9ot90C&lpg=PR4&hl=zh-CN&pg=PA19#v=onepage&q&f=true","")
+ ,Str ",\21487\20174\&19\39029\30475\36215\65292\25110D.C.",Space,Str "Goldrei\30340",Space
+ ,Link ("",[],[]) [Str "Classic",Space,Str "Set",Space,Str "Theory:",Space,Str "For",Space,Str "Guided",Space,Str "Independent",Space,Str "Study"] ("https://books.google.ae/books?id=dlc0DwAAQBAJ&lpg=PT29&hl=zh-CN&pg=PT26#v=onepage&q&f=true","")
+ ,Str "\65292\20174\31532\20108\31456\30475\36215\65292\38405\35835\26102\35201\27880\24847\26412\25991\19982\36825\20123\20070\25152\19981\21516\30340\26159\24182\27809\26377\25226\23454\25968\30475\20316\26159\26377\29702\25968\38598\30340\20998\21106\12290"]]
diff --git a/test/docx/pageref.docx b/test/docx/pageref.docx
new file mode 100644
index 000000000..0a9159cab
--- /dev/null
+++ b/test/docx/pageref.docx
Binary files differ
diff --git a/test/docx/pageref.native b/test/docx/pageref.native
new file mode 100644
index 000000000..6c683de67
--- /dev/null
+++ b/test/docx/pageref.native
@@ -0,0 +1,4 @@
+[Para [Str "Title",Space,Link ("",[],[]) [Str "2"] ("#title","")]
+,Para [Str "Title2",Space,Link ("",[],[]) [Str "2"] ("#title2","")]
+,Header 1 ("title", [],[]) [Str "Title"]
+,Header 1 ("title2",[],[]) [Str "Title2"]]
diff --git a/test/docx/relative_indentation_blockquotes.docx b/test/docx/relative_indentation_blockquotes.docx
new file mode 100644
index 000000000..fe252280e
--- /dev/null
+++ b/test/docx/relative_indentation_blockquotes.docx
Binary files differ
diff --git a/test/docx/relative_indentation_blockquotes.native b/test/docx/relative_indentation_blockquotes.native
new file mode 100644
index 000000000..6a70aece8
--- /dev/null
+++ b/test/docx/relative_indentation_blockquotes.native
@@ -0,0 +1,6 @@
+[Header 1 ("indentation-blockquotes",[],[]) [Str "Indentation",Space,Str "blockquotes"]
+,Para [Str "Foobar"]
+,Para [Str "First",Space,Str "line",Space,Str "indented."]
+,Para [Str "Normal",Space,Str "list",Space,Str "paragraph"]
+,Para [Str "List",Space,Str "paragraph",Space,Str "with",Space,Str "less",Space,Str "indent"]
+,BlockQuote [Para [Str "List",Space,Str "paragraph",Space,Str "with",Space,Str "more",Space,Str "indent"]]]
diff --git a/test/epub/epub2_cover.epub b/test/epub/epub2_cover.epub
index 02f8ec1fb..059f8c900 100644
--- a/test/epub/epub2_cover.epub
+++ b/test/epub/epub2_cover.epub
Binary files differ
diff --git a/test/epub/epub2_no_cover.epub b/test/epub/epub2_no_cover.epub
index cd8e24b3f..d3b64deeb 100644
--- a/test/epub/epub2_no_cover.epub
+++ b/test/epub/epub2_no_cover.epub
Binary files differ
diff --git a/test/epub/epub2_picture.epub b/test/epub/epub2_picture.epub
index d19684ce2..fbc85a4f9 100644
--- a/test/epub/epub2_picture.epub
+++ b/test/epub/epub2_picture.epub
Binary files differ
diff --git a/test/epub/features.epub b/test/epub/features.epub
index 0d50380ac..3715722d2 100644
--- a/test/epub/features.epub
+++ b/test/epub/features.epub
Binary files differ
diff --git a/test/epub/features.native b/test/epub/features.native
index 86a61360e..61d0f8ba9 100644
--- a/test/epub/features.native
+++ b/test/epub/features.native
@@ -1,93 +1,1676 @@
-[Para [Span ("front.xhtml",[],[]) []]
-,Div ("",["section"],[])
- [Header 1 ("",[],[]) [Str "Reflowable",Space,Str "EPUB",Space,Str "3",Space,Str "Conformance",Space,Str "Test",Space,Str "Document:",Space,Str "0100"]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Status",Space,Str "of",Space,Str "this",Space,Str "Document"]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "currently",Space,Str "considered",Space,Span ("",["status"],[]) [Str "[UNDER",Space,Str "DEVELOPMENT]"],Space,Str "by",Space,Str "the",Space,Str "IDPF."]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "part",Space,Str "of",Space,Str "version",Space,Span ("",["version"],[]) [Str "X.X"],Space,Str "of",Space,Str "the",Space,Str "EPUB",Space,Str "3.0",Space,Str "Compliance",Space,Str "Test",Space,Str "Suite",Space,Str "released",SoftBreak,Str "on",Space,RawInline (Format "html") "<time class=\"release\">",Str "TBD",RawInline (Format "html") "</time>",Str "."]
- ,Para [Str "Before",Space,Str "using",Space,Str "this",Space,Str "publication",Space,Str "to",Space,Str "evaluate",Space,Str "reading",Space,Str "systems,",Space,Str "testers",Space,Str "are",Space,Str "strongly",Space,Str "encouraged",Space,Str "to",SoftBreak,Str "verify",Space,Str "that",Space,Str "they",Space,Str "have",Space,Str "the",Space,Str "latest",Space,Str "release",Space,Str "by",Space,Str "checking",Space,Str "the",Space,Str "current",Space,Str "release",Space,Str "version",Space,Str "and",Space,Str "date",Space,Str "of",SoftBreak,Str "the",Space,Str "test",Space,Str "suite",Space,Str "at",Space,Link ("",[],[]) [Str "TBD"] ("http://idpf.org/","")]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "one",Space,Str "of",Space,Str "several",Space,Str "that",Space,Str "currently",Space,Str "comprise",Space,Str "the",Space,Str "EPUB",Space,Str "3",Space,Str "conformance",Space,Str "test",Space,Str "suite",SoftBreak,Str "for",Space,Str "reflowable",Space,Str "content.",Space,Str "The",Space,Str "complete",Space,Str "test",Space,Str "suite",Space,Str "includes",Space,Str "all",Space,Str "of",Space,Str "the",Space,Str "following",Space,Str "publications:"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "."]]]]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "About",Space,Str "this",Space,Str "Document"]
- ,Para [Str "This",Space,Str "document",Space,Str "focuses",Space,Str "on",Space,Str "human-evaluated",Space,Str "binary",Space,Str "(pass/fail)",Space,Str "tests",Space,Str "in",Space,Str "a",SoftBreak,Str "reflowable",Space,Str "context.",Space,Str "Tests",Space,Str "for",Space,Str "fixed-layout",Space,Str "content",Space,Str "and",Space,Str "other",Space,Str "individual",Space,Str "tests",Space,Str "that",SoftBreak,Str "require",Space,Str "a",Space,Str "dedicated",Space,Str "epub",Space,Str "file",Space,Str "are",Space,Str "available",Space,Str "in",Space,Str "additional",Space,Str "sibling",Space,Str "documents;",Space,Str "refer",Space,Str "to",SoftBreak,Str "the",Space,Link ("",[],[]) [Str "test",Space,Str "suite",SoftBreak,Str "wiki"] ("https://github.com/mgylling/epub-testsuite/wiki/Overview",""),Space,Str "(",Code ("",[],[]) "https://github.com/mgylling/epub-testsuite/wiki/Overview",Str ")",Space,Str "for",Space,Str "additional",SoftBreak,Str "information."]]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Conventions"]
- ,Para [Str "The",Space,Str "following",Space,Str "conventions",Space,Str "are",Space,Str "used",Space,Str "throughout",Space,Str "the",Space,Str "document:"]
- ,DefinitionList
- [([Str "1.",Space,Str "Locating",Space,Str "a",Space,Str "test"],
- [[Div ("",["ctest"],[])
- [Para [Str "Tests",Space,Str "for",Space,Emph [Str "required"],Space,Str "Reading",Space,Str "System",Space,Str "functionality",Space,Str "are",SoftBreak,Str "preceded",Space,Str "by",Space,Str "the",Space,Str "label:",Space,Span ("",["nature"],[("style","display: inline; font-size: 100%")]) [Str "[REQUIRED]"]]]
- ,Div ("",["otest"],[])
- [Para [Str "Tests",Space,Str "for",Space,Emph [Str "optional"],Space,Str "Reading",Space,Str "System",Space,Str "functionality",Space,Str "are",SoftBreak,Str "preceded",Space,Str "by",Space,Str "the",Space,Str "label:",Space,Span ("",["nature"],[("style","display: inline; font-size: 100%")]) [Str "[OPTIONAL]"]]]]])
- ,([Str "2.",Space,Str "Performing",Space,Str "the",Space,Str "test"],
- [[Plain [Str "Each",Space,Str "test",Space,Str "includes",Space,Str "a",Space,Str "description",Space,Str "of",Space,Str "its",Space,Str "purpose",Space,Str "followed",Space,Str "by",Space,Str "the",Space,Str "actual",Space,Strong [Str "test",Space,Str "statement,",SoftBreak,Str "which",Space,Str "can",Space,Str "always",Space,Str "be",Space,Str "evaluated",Space,Str "to",Space,Str "true",Space,Str "or",Space,Str "false"],Str ".",Space,Str "These",Space,Str "statements",Space,Str "typically",Space,Str "have",Space,Str "the",Space,Str "form:",SoftBreak,Str "\"If",Space,Str "[some",Space,Str "condition],",Space,Str "the",Space,Str "test",Space,Str "passes\"."]]])
- ,([Str "3.",Space,Str "Scoring",Space,Str "in",Space,Str "the",Space,Str "results",Space,Str "form"],
- [[Plain [Str "@@@TODO",Space,Str "provide",Space,Str "info",Space,Str "on",Space,Str "where",Space,Str "to",Space,Str "get",Space,Str "the",Space,Str "results",Space,Str "form"]]])]]]
-,Para [Span ("content-mathml-001.xhtml",[],[]) []]
-,Div ("",["section"],[])
- [Header 2 ("content-mathml-001.xhtml#mathml",[],[]) [Str "MathML"]
- ,Div ("content-mathml-001.xhtml#mathml-010",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-010"],Space,Str "Rendering"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "MathML",Space,Str "equation",Space,Str "rendering",Space,Str "is",Space,Str "supported."]
- ,Plain [Math DisplayMath "\\int_{- \\infty}^{\\infty}e^{- x^{2}}\\, dx = \\sqrt{\\pi}",SoftBreak,Math DisplayMath "\\sum\\limits_{n = 1}^{\\infty}\\frac{1}{n^{2}} = \\frac{\\pi^{2}}{6}",SoftBreak,Math DisplayMath "x = \\frac{- b \\pm \\sqrt{b^{2} - 4ac}}{2a}"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "equations",Space,Str "are",Space,Str "not",Space,Str "presented",Space,Str "as",Space,Str "linear",Space,Str "text",Space,Str "(e.g.,",Space,Str "x=-b\177b2-4ac2a),",SoftBreak,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("content-mathml-001.xhtml#mathml-020",["section","otest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[OPTIONAL]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-020"],Space,Str "CSS",Space,Str "Styling",Space,Str "of",Space,Str "the",Space,Code ("",[],[]) "math",Space,Str "element"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "basic",Space,Str "CSS",Space,Str "styling",Space,Str "of",Space,Str "MathML",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "the",Space,Code ("",[],[]) "math",Space,Str "element."]
- ,Plain [Math InlineMath "{2x}{+ y - z}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "equation",Space,Str "has",Space,Str "a",Space,Str "yellow",Space,Str "background",Space,Str "and",Space,Str "a",Space,Str "dashed",Space,Str "border."]
- ,Para [Str "If",Space,Str "the",Space,Str "reading",Space,Str "system",Space,Str "does",Space,Str "not",Space,Str "have",Space,Str "a",Space,Str "viewport,",Space,Str "or",Space,Str "does",Space,Str "not",Space,Str "support",SoftBreak,Str "CSS",Space,Str "styles,",Space,Str "this",Space,Str "test",Space,Str "should",Space,Str "be",Space,Str "marked",Space,Code ("",[],[]) "Not Supported",Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-021",["section","otest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[OPTIONAL]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-021"],Space,Str "CSS",Space,Str "Styling",Space,Str "of",Space,Str "the",Space,Code ("",[],[]) "mo",Space,Str "element"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "basic",Space,Str "CSS",Space,Str "styling",Space,Str "of",Space,Str "MathML",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "the",Space,Code ("",[],[]) "mo",Space,Str "element."]
- ,Plain [Math InlineMath "{2x}{+ y - z}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "operators",Space,Str "are",Space,Str "enlarged",Space,Str "relative",Space,Str "to",Space,Str "the",Space,Str "other",Space,Str "symbols",Space,Str "and",Space,Str "numbers."]
- ,Para [Str "If",Space,Str "the",Space,Str "reading",Space,Str "system",Space,Str "does",Space,Str "not",Space,Str "have",Space,Str "a",Space,Str "viewport,",Space,Str "or",Space,Str "does",Space,Str "not",Space,Str "support",SoftBreak,Str "CSS",Space,Str "styles,",Space,Str "this",Space,Str "test",Space,Str "should",Space,Str "be",Space,Str "marked",Space,Code ("",[],[]) "Not Supported",Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-022",["section","otest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[OPTIONAL]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-022"],Space,Str "CSS",Space,Str "Styling",Space,Str "of",Space,Str "the",Space,Code ("",[],[]) "mi",Space,Str "element"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "basic",Space,Str "CSS",Space,Str "styling",Space,Str "of",Space,Str "MathML",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "the",Space,Code ("",[],[]) "mi",Space,Str "element."]
- ,Plain [Math InlineMath "{2x}{+ y - z}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "identifiers",Space,Str "are",Space,Str "bolded",Space,Str "and",Space,Str "blue."]
- ,Para [Str "If",Space,Str "the",Space,Str "reading",Space,Str "system",Space,Str "does",Space,Str "not",Space,Str "have",Space,Str "a",Space,Str "viewport,",Space,Str "or",Space,Str "does",Space,Str "not",Space,Str "support",SoftBreak,Str "CSS",Space,Str "styles,",Space,Str "this",Space,Str "test",Space,Str "should",Space,Str "be",Space,Str "marked",Space,Code ("",[],[]) "Not Supported",Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-023",["section","otest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[OPTIONAL]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-023"],Space,Str "CSS",Space,Str "Styling",Space,Str "of",Space,Str "the",Space,Code ("",[],[]) "mn",Space,Str "element"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "basic",Space,Str "CSS",Space,Str "styling",Space,Str "of",Space,Str "MathML",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "the",Space,Code ("",[],[]) "mn",Space,Str "element."]
- ,Plain [Math InlineMath "{2x}{+ y - z}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "number",Space,Str "2",Space,Str "is",Space,Str "italicized",Space,Str "and",Space,Str "blue."]
- ,Para [Str "If",Space,Str "the",Space,Str "reading",Space,Str "system",Space,Str "does",Space,Str "not",Space,Str "have",Space,Str "a",Space,Str "viewport,",Space,Str "or",Space,Str "does",Space,Str "not",Space,Str "support",SoftBreak,Str "CSS",Space,Str "styles,",Space,Str "this",Space,Str "test",Space,Str "should",Space,Str "be",Space,Str "marked",Space,Code ("",[],[]) "Not Supported",Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-024",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-024"],Str "Horizontal",Space,Str "stretch,",Space,Code ("",[],[]) "mover",Str ",",Space,Code ("",[],[]) "munder",Str ",",Space,Str "and",Space,Code ("",[],[]) "mspace",Space,Str "elements"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "horizontal",Space,Str "stretch,",Space,Code ("",[],[]) "mover",Str ",",Space,Code ("",[],[]) "munder",Str ",",Space,Code ("",[],[]) "mspace",Space,Str "elements",Space,Str "are",Space,Str "supported."]
- ,Plain [Math DisplayMath "c = \\overset{\\text{complex\\ number}}{\\overbrace{\\underset{\\text{real}}{\\underbrace{\\mspace{20mu} a\\mspace{20mu}}} + \\underset{\\text{imaginary}}{\\underbrace{\\quad b{\\mathbb{i}}\\quad}}}}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "rendering",Space,Str "looks",Space,Str "like",Space,Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-025",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-025"],Str "Testing",Space,Code ("",[],[]) "mtable",Space,Str "with",Space,Code ("",[],[]) "colspan",Space,Str "and",Space,Code ("",[],[]) "rowspan",Space,Str "attributes,",Space,Str "Hebrew",Space,Str "and",Space,Str "Script",Space,Str "fonts"]
- ,Para [Str "Tests",Space,Str "whether",Space,Code ("",[],[]) "mtable",Space,Str "with",Space,Code ("",[],[]) "colspan",Space,Str "and",Space,Code ("",[],[]) "mspace",Space,Str "attributes",Space,Str "(column",Space,Str "and",Space,Str "row",Space,Str "spanning)",Space,Str "are",Space,Str "supported;",Space,Str "uses",Space,Str "Hebrew",Space,Str "and",Space,Str "Script",Space,Str "alphabets."]
- ,Plain [Math DisplayMath "\\begin{matrix}\n & {\\operatorname{cov}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{L})} & \\longrightarrow & 2^{\\aleph_{0}} \\\\\n & \\uparrow & & \\uparrow & & \\uparrow & & \\uparrow & & \\\\\n & {\\mathfrak{b}} & \\longrightarrow & {\\mathfrak{d}} & & & & & & \\\\\n & \\uparrow & & \\uparrow & & & & & & \\\\\n\\aleph_{1} & \\longrightarrow & {\\operatorname{add}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{add}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cov}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{L})} & \\\\\n\\end{matrix}"]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "rendering",Space,Str "looks",Space,Str "like",Space,Link ("",[],[]) [Str "Cicho\324's",Space,Str "Diagram"] ("http://en.wikipedia.org/wiki/Cicho%C5%84's_diagram",""),Str ":",Space,Str "."]]
- ,Div ("content-mathml-001.xhtml#mathml-026",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-026"],Str "BiDi,",Space,Str "RTL",Space,Str "and",Space,Str "Arabic",Space,Str "alphabets"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "right-to-left",Space,Str "and",Space,Str "Arabic",Space,Str "alphabets",Space,Str "are",Space,Str "supported."]
- ,Plain [Math DisplayMath "{\1583(\1587)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{\1646 = 1}^{\1589}\1587^{\1646}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 > 0} \\\\\n{\\int_{1}^{\1589}{\1587^{\1646}\1569\1587}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 \\in \1605} \\\\\n{{\1591\1575}\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right."]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "rendering",Space,Str "looks",Space,Str "like",Space,Str "the",Space,Str "following",Space,Str "image:"]]
- ,Div ("content-mathml-001.xhtml#mathml-027",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-027"],Str "Elementary",Space,Str "math:",Space,Str "long",Space,Str "division",Space,Str "notation"]
- ,Para [Str "Tests",Space,Str "whether",Space,Code ("",[],[]) "mlongdiv",Space,Str "elements",Space,Str "(from",Space,Str "elementary",Space,Str "math)",Space,Str "are",Space,Str "supported."]
- ,Plain [Span ("",["math"],[("xmlns","http://www.w3.org/1998/Math/MathML")]) [SoftBreak,Str "3",SoftBreak,Str "435.3",SoftBreak,Str "1306",SoftBreak,Str "12",SoftBreak,Str "10",SoftBreak,Str "9",SoftBreak,Str "16",SoftBreak,Str "15",SoftBreak,Str "1.0",SoftBreak,Str "9",SoftBreak,Str "1",SoftBreak]]
- ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "rendering",Space,Str "looks",Space,Str "like",Space,Str "the",Space,Str "following",Space,Str "image:",Space,Str "."]]]
-,Para [Span ("content-switch-001.xhtml",[],[]) []]
-,Div ("content-switch-001.xhtml#epub-switch",["section"],[])
- [Header 3 ("",[],[]) [Code ("",[],[]) "epub:switch"]
- ,Div ("content-switch-001.xhtml#switch-010",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "switch-010"],Space,Str "Support"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "epub:switch",Space,Str "element",Space,Str "is",Space,Str "supported."]
- ,Para [Str "PASS"]
- ,Para [Str "If",Space,Str "only",Space,Str "the",Space,Str "word",Space,Str "\"PASS\"",Space,Str "is",Space,Str "rendered",Space,Str "before",Space,Str "this",Space,Str "paragraph,",Space,Str "the",Space,Str "test",Space,Str "passes.",Space,Str "If",Space,Str "both",Space,Str "\"PASS\"",Space,Str "and",Space,Str "\"FAIL\"",Space,Str "are",Space,Str "rendered,",Space,Str "or",Space,Str "neither",SoftBreak,Str "\"PASS\"",Space,Str "nor",Space,Str "\"FAIL\"",Space,Str "is",Space,Str "rendered,",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("content-switch-001.xhtml#switch-020",["section","otest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[OPTIONAL]"],SoftBreak,Span ("",["test-id"],[]) [Str "switch-020"],SoftBreak,Str "MathML",Space,Str "Embedding"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Str "MathML",Space,Str "namespace",Space,Str "is",Space,Str "recognized",Space,Str "when",Space,Str "used",Space,Str "in",Space,Str "an",Space,Code ("",[],[]) "epub:case",Space,Str "element."]
- ,Para [Math InlineMath "{2x}{+ y - z}"]
- ,Para [Str "If",Space,Str "a",Space,Str "MathML",Space,Str "equation",Space,Str "is",Space,Str "rendered",Space,Str "before",Space,Str "this",Space,Str "paragraph,",Space,Str "the",Space,Str "test",Space,Str "passes."]
- ,Para [Str "If",Space,Str "test",Space,Code ("",[],[]) "switch-010",Space,Str "did",Space,Str "not",Space,Str "pass,",Space,Str "this",Space,Str "test",Space,Str "should",Space,Str "be",Space,Str "marked",Space,Code ("",[],[]) "Not Supported",Str "."]]]]
+[ Para [ Span ( "front.xhtml" , [] , [] ) [] ]
+, Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Reflowable"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "Conformance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Document:"
+ , Space
+ , Str "0100"
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Status"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "considered"
+ , Space
+ , Span
+ ( "" , [ "status" ] , [] )
+ [ Str "[UNDER" , Space , Str "DEVELOPMENT]" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "IDPF."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "version"
+ , Space
+ , Span ( "" , [ "version" ] , [] ) [ Str "X.X" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3.0"
+ , Space
+ , Str "Compliance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ , Space
+ , Str "released"
+ , SoftBreak
+ , Str "on"
+ , Space
+ , RawInline (Format "html") "<time class=\"release\">"
+ , Str "TBD"
+ , RawInline (Format "html") "</time>"
+ , Str "."
+ ]
+ , Para
+ [ Str "Before"
+ , Space
+ , Str "using"
+ , Space
+ , Str "this"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "to"
+ , Space
+ , Str "evaluate"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "systems,"
+ , Space
+ , Str "testers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "strongly"
+ , Space
+ , Str "encouraged"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "verify"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "latest"
+ , Space
+ , Str "release"
+ , Space
+ , Str "by"
+ , Space
+ , Str "checking"
+ , Space
+ , Str "the"
+ , Space
+ , Str "current"
+ , Space
+ , Str "release"
+ , Space
+ , Str "version"
+ , Space
+ , Str "and"
+ , Space
+ , Str "date"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "at"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "TBD" ]
+ ( "http://idpf.org/" , "" )
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "one"
+ , Space
+ , Str "of"
+ , Space
+ , Str "several"
+ , Space
+ , Str "that"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "comprise"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "conformance"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "for"
+ , Space
+ , Str "reflowable"
+ , Space
+ , Str "content."
+ , Space
+ , Str "The"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "publications:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "." ] ] ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "About"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "focuses"
+ , Space
+ , Str "on"
+ , Space
+ , Str "human-evaluated"
+ , Space
+ , Str "binary"
+ , Space
+ , Str "(pass/fail)"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "reflowable"
+ , Space
+ , Str "context."
+ , Space
+ , Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "fixed-layout"
+ , Space
+ , Str "content"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "individual"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "require"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dedicated"
+ , Space
+ , Str "epub"
+ , Space
+ , Str "file"
+ , Space
+ , Str "are"
+ , Space
+ , Str "available"
+ , Space
+ , Str "in"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "sibling"
+ , Space
+ , Str "documents;"
+ , Space
+ , Str "refer"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "wiki"
+ ]
+ ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , ""
+ )
+ , Space
+ , Str "("
+ , Code
+ ( "" , [] , [] )
+ "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , Str ")"
+ , Space
+ , Str "for"
+ , Space
+ , Str "additional"
+ , SoftBreak
+ , Str "information."
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header 2 ( "" , [] , [] ) [ Str "Conventions" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "conventions"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "throughout"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document:"
+ ]
+ , DefinitionList
+ [ ( [ Str "1."
+ , Space
+ , Str "Locating"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Div
+ ( "" , [ "ctest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "required" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[REQUIRED]" ]
+ ]
+ ]
+ , Div
+ ( "" , [ "otest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "optional" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[OPTIONAL]" ]
+ ]
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "2."
+ , Space
+ , Str "Performing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Plain
+ [ Str "Each"
+ , Space
+ , Str "test"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "its"
+ , Space
+ , Str "purpose"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "actual"
+ , Space
+ , Strong
+ [ Str "test"
+ , Space
+ , Str "statement,"
+ , SoftBreak
+ , Str "which"
+ , Space
+ , Str "can"
+ , Space
+ , Str "always"
+ , Space
+ , Str "be"
+ , Space
+ , Str "evaluated"
+ , Space
+ , Str "to"
+ , Space
+ , Str "true"
+ , Space
+ , Str "or"
+ , Space
+ , Str "false"
+ ]
+ , Str "."
+ , Space
+ , Str "These"
+ , Space
+ , Str "statements"
+ , Space
+ , Str "typically"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "form:"
+ , SoftBreak
+ , Str "\"If"
+ , Space
+ , Str "[some"
+ , Space
+ , Str "condition],"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes\"."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "3."
+ , Space
+ , Str "Scoring"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ , [ [ Plain
+ [ Str "@@@TODO"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "info"
+ , Space
+ , Str "on"
+ , Space
+ , Str "where"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ ]
+, Para [ Span ( "content-mathml-001.xhtml" , [] , [] ) [] ]
+, Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "content-mathml-001.xhtml#mathml" , [] , [] )
+ [ Str "MathML" ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-010" ]
+ , Space
+ , Str "Rendering"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "\\int_{- \\infty}^{\\infty}e^{- x^{2}}\\, dx = \\sqrt{\\pi}"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\sum\\limits_{n = 1}^{\\infty}\\frac{1}{n^{2}} = \\frac{\\pi^{2}}{6}"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "x = \\frac{- b \\pm \\sqrt{b^{2} - 4ac}}{2a}"
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "equations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "not"
+ , Space
+ , Str "presented"
+ , Space
+ , Str "as"
+ , Space
+ , Str "linear"
+ , Space
+ , Str "text"
+ , Space
+ , Str "(e.g.,"
+ , Space
+ , Str "x=-b\177b2-4ac2a),"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-020"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-020" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "math"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "math"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "yellow"
+ , Space
+ , Str "background"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dashed"
+ , Space
+ , Str "border."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-021"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-021" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "operators"
+ , Space
+ , Str "are"
+ , Space
+ , Str "enlarged"
+ , Space
+ , Str "relative"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "symbols"
+ , Space
+ , Str "and"
+ , Space
+ , Str "numbers."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-022"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-022" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mi"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mi"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "identifiers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "bolded"
+ , Space
+ , Str "and"
+ , Space
+ , Str "blue."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-023"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-023" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mn"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mn"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "number"
+ , Space
+ , Str "2"
+ , Space
+ , Str "is"
+ , Space
+ , Str "italicized"
+ , Space
+ , Str "and"
+ , Space
+ , Str "blue."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-024"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-024" ]
+ , Str "Horizontal"
+ , Space
+ , Str "stretch,"
+ , Space
+ , Code ( "" , [] , [] ) "mover"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "munder"
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "elements"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "horizontal"
+ , Space
+ , Str "stretch,"
+ , Space
+ , Code ( "" , [] , [] ) "mover"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "munder"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "elements"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "c = \\overset{\\text{complex\\ number}}{\\overbrace{\\underset{\\text{real}}{\\underbrace{\\mspace{20mu} a\\mspace{20mu}}} + \\underset{\\text{imaginary}}{\\underbrace{\\quad b{\\mathbb{i}}\\quad}}}}"
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-025"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-025" ]
+ , Str "Testing"
+ , Space
+ , Code ( "" , [] , [] ) "mtable"
+ , Space
+ , Str "with"
+ , Space
+ , Code ( "" , [] , [] ) "colspan"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "rowspan"
+ , Space
+ , Str "attributes,"
+ , Space
+ , Str "Hebrew"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Script"
+ , Space
+ , Str "fonts"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Code ( "" , [] , [] ) "mtable"
+ , Space
+ , Str "with"
+ , Space
+ , Code ( "" , [] , [] ) "colspan"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "attributes"
+ , Space
+ , Str "(column"
+ , Space
+ , Str "and"
+ , Space
+ , Str "row"
+ , Space
+ , Str "spanning)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported;"
+ , Space
+ , Str "uses"
+ , Space
+ , Str "Hebrew"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Script"
+ , Space
+ , Str "alphabets."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "\\begin{matrix}\n & {\\operatorname{cov}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{L})} & \\longrightarrow & 2^{\\aleph_{0}} \\\\\n & \\uparrow & & \\uparrow & & \\uparrow & & \\uparrow & & \\\\\n & {\\mathfrak{b}} & \\longrightarrow & {\\mathfrak{d}} & & & & & & \\\\\n & \\uparrow & & \\uparrow & & & & & & \\\\\n\\aleph_{1} & \\longrightarrow & {\\operatorname{add}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{add}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cov}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{L})} & \\\\\n\\end{matrix}"
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Cicho\324's" , Space , Str "Diagram" ]
+ ( "http://en.wikipedia.org/wiki/Cicho%C5%84's_diagram"
+ , ""
+ )
+ , Str ":"
+ , Space
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-026"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-026" ]
+ , Str "BiDi,"
+ , Space
+ , Str "RTL"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Arabic"
+ , Space
+ , Str "alphabets"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "right-to-left"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Arabic"
+ , Space
+ , Str "alphabets"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "{\1583(\1587)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{\1646 = 1}^{\1589}\1587^{\1646}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 > 0} \\\\\n{\\int_{1}^{\1589}{\1587^{\1646}\1569\1587}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 \\in \1605} \\\\\n{{\1591\1575}\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "image:"
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-027"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-027" ]
+ , Str "Elementary"
+ , Space
+ , Str "math:"
+ , Space
+ , Str "long"
+ , Space
+ , Str "division"
+ , Space
+ , Str "notation"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Code ( "" , [] , [] ) "mlongdiv"
+ , Space
+ , Str "elements"
+ , Space
+ , Str "(from"
+ , Space
+ , Str "elementary"
+ , Space
+ , Str "math)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Span
+ ( ""
+ , [ "math" ]
+ , [ ( "xmlns" , "http://www.w3.org/1998/Math/MathML" ) ]
+ )
+ [ SoftBreak
+ , Str "3"
+ , SoftBreak
+ , Str "435.3"
+ , SoftBreak
+ , Str "1306"
+ , SoftBreak
+ , Str "12"
+ , SoftBreak
+ , Str "10"
+ , SoftBreak
+ , Str "9"
+ , SoftBreak
+ , Str "16"
+ , SoftBreak
+ , Str "15"
+ , SoftBreak
+ , Str "1.0"
+ , SoftBreak
+ , Str "9"
+ , SoftBreak
+ , Str "1"
+ , SoftBreak
+ ]
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "image:"
+ , Space
+ , Str "."
+ ]
+ ]
+ ]
+, Para [ Span ( "content-switch-001.xhtml" , [] , [] ) [] ]
+, Div
+ ( "content-switch-001.xhtml#epub-switch"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3 ( "" , [] , [] ) [ Code ( "" , [] , [] ) "epub:switch" ]
+ , Div
+ ( "content-switch-001.xhtml#switch-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "switch-010" ]
+ , Space
+ , Str "Support"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "epub:switch"
+ , Space
+ , Str "element"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "PASS" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "only"
+ , Space
+ , Str "the"
+ , Space
+ , Str "word"
+ , Space
+ , Str "\"PASS\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "before"
+ , Space
+ , Str "this"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ , Space
+ , Str "If"
+ , Space
+ , Str "both"
+ , Space
+ , Str "\"PASS\""
+ , Space
+ , Str "and"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "are"
+ , Space
+ , Str "rendered,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "neither"
+ , SoftBreak
+ , Str "\"PASS\""
+ , Space
+ , Str "nor"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "content-switch-001.xhtml#switch-020"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "switch-020" ]
+ , SoftBreak
+ , Str "MathML"
+ , Space
+ , Str "Embedding"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "namespace"
+ , Space
+ , Str "is"
+ , Space
+ , Str "recognized"
+ , Space
+ , Str "when"
+ , Space
+ , Str "used"
+ , Space
+ , Str "in"
+ , Space
+ , Str "an"
+ , Space
+ , Code ( "" , [] , [] ) "epub:case"
+ , Space
+ , Str "element."
+ ]
+ , Para [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "a"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "before"
+ , Space
+ , Str "this"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "test"
+ , Space
+ , Code ( "" , [] , [] ) "switch-010"
+ , Space
+ , Str "did"
+ , Space
+ , Str "not"
+ , Space
+ , Str "pass,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ ]
+]
diff --git a/test/epub/formatting.epub b/test/epub/formatting.epub
index f3f9b5b93..c6ca6e57a 100644
--- a/test/epub/formatting.epub
+++ b/test/epub/formatting.epub
Binary files differ
diff --git a/test/epub/formatting.native b/test/epub/formatting.native
index e1507ff74..cab9e40fa 100644
--- a/test/epub/formatting.native
+++ b/test/epub/formatting.native
@@ -1,402 +1,5984 @@
-[Para [Span ("front.xhtml",[],[]) []]
-,Div ("",["section"],[])
- [Header 1 ("",[],[]) [Str "EPUB",Space,Str "3",Space,Str "Styling",Space,Str "Test",Space,Str "Document:",Space,Str "0101"]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Status",Space,Str "of",Space,Str "this",Space,Str "Document"]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "currently",Space,Str "considered",Space,Span ("",["status"],[]) [Str "[UNDER",Space,Str "DEVELOPMENT]"],Space,Str "by",Space,Str "the",Space,Str "IDPF."]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "part",Space,Str "of",Space,Str "version",Space,Span ("",["version"],[]) [Str "X.X"],Space,Str "of",Space,Str "the",Space,Str "EPUB",Space,Str "3.0",Space,Str "Compliance",Space,Str "Test",Space,Str "Suite",Space,Str "released",SoftBreak,Str "on",Space,RawInline (Format "html") "<time class=\"release\">",Str "TBD",RawInline (Format "html") "</time>",Str "."]
- ,Para [Str "Before",Space,Str "using",Space,Str "this",Space,Str "publication",Space,Str "to",Space,Str "evaluate",Space,Str "reading",Space,Str "systems,",Space,Str "testers",Space,Str "are",Space,Str "strongly",Space,Str "encouraged",Space,Str "to",SoftBreak,Str "verify",Space,Str "that",Space,Str "they",Space,Str "have",Space,Str "the",Space,Str "latest",Space,Str "release",Space,Str "by",Space,Str "checking",Space,Str "the",Space,Str "current",Space,Str "release",Space,Str "version",Space,Str "and",Space,Str "date",Space,Str "of",SoftBreak,Str "the",Space,Str "test",Space,Str "suite",Space,Str "at",Space,Link ("",[],[]) [Str "TBD"] ("http://idpf.org/","")]
- ,Para [Str "This",Space,Str "publication",Space,Str "is",Space,Str "one",Space,Str "of",Space,Str "several",Space,Str "that",Space,Str "currently",Space,Str "comprise",Space,Str "the",Space,Str "EPUB",Space,Str "3",Space,Str "conformance",Space,Str "test",Space,Str "suite",SoftBreak,Str "for",Space,Str "reflowable",Space,Str "content.",Space,Str "The",Space,Str "complete",Space,Str "test",Space,Str "suite",Space,Str "includes",Space,Str "all",Space,Str "of",Space,Str "the",Space,Str "following",Space,Str "publications:"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "."]]]]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "About",Space,Str "this",Space,Str "Document"]
- ,Para [Str "This",Space,Str "document",Space,Str "focuses",Space,Str "on",Space,Str "human-evaluated",Space,Str "binary",Space,Str "(pass/fail)",Space,Str "tests",Space,Str "in",Space,Str "a",SoftBreak,Str "reflowable",Space,Str "context.",Space,Str "Tests",Space,Str "for",Space,Str "fixed-layout",Space,Str "content",Space,Str "and",Space,Str "other",Space,Str "individual",Space,Str "tests",Space,Str "that",SoftBreak,Str "require",Space,Str "a",Space,Str "dedicated",Space,Str "epub",Space,Str "file",Space,Str "are",Space,Str "available",Space,Str "in",Space,Str "additional",Space,Str "sibling",Space,Str "documents;",Space,Str "refer",Space,Str "to",SoftBreak,Str "the",Space,Link ("",[],[]) [Str "test",Space,Str "suite",SoftBreak,Str "wiki"] ("https://github.com/mgylling/epub-testsuite/wiki/Overview",""),Space,Str "(",Code ("",[],[]) "https://github.com/mgylling/epub-testsuite/wiki/Overview",Str ")",Space,Str "for",Space,Str "additional",SoftBreak,Str "information."]]
- ,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Conventions"]
- ,Para [Str "The",Space,Str "following",Space,Str "conventions",Space,Str "are",Space,Str "used",Space,Str "throughout",Space,Str "the",Space,Str "document:"]
- ,DefinitionList
- [([Str "1.",Space,Str "Locating",Space,Str "a",Space,Str "test"],
- [[Div ("",["ctest"],[])
- [Para [Str "Tests",Space,Str "for",Space,Emph [Str "required"],Space,Str "Reading",Space,Str "System",Space,Str "functionality",Space,Str "are",SoftBreak,Str "preceded",Space,Str "by",Space,Str "the",Space,Str "label:",Space,Span ("",["nature"],[("style","display: inline; font-size: 100%")]) [Str "[REQUIRED]"]]]
- ,Div ("",["otest"],[])
- [Para [Str "Tests",Space,Str "for",Space,Emph [Str "optional"],Space,Str "Reading",Space,Str "System",Space,Str "functionality",Space,Str "are",SoftBreak,Str "preceded",Space,Str "by",Space,Str "the",Space,Str "label:",Space,Span ("",["nature"],[("style","display: inline; font-size: 100%")]) [Str "[OPTIONAL]"]]]]])
- ,([Str "2.",Space,Str "Performing",Space,Str "the",Space,Str "test"],
- [[Plain [Str "Each",Space,Str "test",Space,Str "includes",Space,Str "a",Space,Str "description",Space,Str "of",Space,Str "its",Space,Str "purpose",Space,Str "followed",Space,Str "by",Space,Str "the",Space,Str "actual",Space,Strong [Str "test",Space,Str "statement,",SoftBreak,Str "which",Space,Str "can",Space,Str "always",Space,Str "be",Space,Str "evaluated",Space,Str "to",Space,Str "true",Space,Str "or",Space,Str "false"],Str ".",Space,Str "These",Space,Str "statements",Space,Str "typically",Space,Str "have",Space,Str "the",Space,Str "form:",SoftBreak,Str "\"If",Space,Str "[some",Space,Str "condition],",Space,Str "the",Space,Str "test",Space,Str "passes\"."]]])
- ,([Str "3.",Space,Str "Scoring",Space,Str "in",Space,Str "the",Space,Str "results",Space,Str "form"],
- [[Plain [Str "@@@TODO",Space,Str "provide",Space,Str "info",Space,Str "on",Space,Str "where",Space,Str "to",Space,Str "get",Space,Str "the",Space,Str "results",Space,Str "form"]]])]]]
-,Para [Span ("styling-xhtml-001.xhtml",[],[]) []]
-,Div ("styling-xhtml-001.xhtml#epub-css",["section"],[])
- [Header 1 ("",[],[]) [Str "EPUB",Space,Str "Style",Space,Str "Sheets"]
- ,Para [Str "This",Space,Str "section",Space,Str "contains",Space,Str "tests",Space,Str "for",Space,Str "styling",Space,Str "and",Space,Str "layout."]]
-,Para [Span ("styling-xhtml-003.xhtml",[],[]) []]
-,Div ("styling-xhtml-003.xhtml#style-110",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-110"],Space,Str "Multi-Column",Space,Str "Layouts"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "CSS Multi-Column Layout",Space,Str "properties",Space,Str "are",Space,Str "supported."]
- ,Div ("",["multicol"],[])
- [Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "text",Space,Str "is",Space,Str "rendered",Space,Str "in",Space,Str "three",Space,Str "columns,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
-,Para [Span ("styling-xhtml-002.xhtml",[],[]) []]
-,Div ("styling-xhtml-002.xhtml#style-lists",["section"],[])
- [Header 2 ("",[],[]) [Str "Lists"]
- ,Div ("styling-xhtml-002.xhtml#style-list-style-type",["section"],[])
- [Header 3 ("",[],[]) [Str "The",Space,Code ("",[],[]) "list-style-type",Space,Str "property"]
- ,Div ("styling-xhtml-002.xhtml#style-009",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-009"],Space,Code ("",[],[]) "decimal"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "decimal",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "decimal",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-010",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-010"],Space,Code ("",[],[]) "circle"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "circle",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "circle",Space,Str "markers,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-011",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-011"],Space,Code ("",[],[]) "square"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "square",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "square",Space,Str "markers,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-012",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-012"],Space,Code ("",[],[]) "disc"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "disc",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "disc",Space,Str "markers,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-013",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-013"],Space,Code ("",[],[]) "lower-latin"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "lower-latin",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "lower-latin",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-014",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-014"],Space,Code ("",[],[]) "lower-roman"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "lower-roman",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "lower-roman",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-015",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-015"],Space,Code ("",[],[]) "upper-alpha"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "upper-alpha",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "upper-alpha",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-016",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-016"],Space,Code ("",[],[]) "hiragana"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "hiragana",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "hiragana",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-017",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-017"],Space,Code ("",[],[]) "hiragana-iroha"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "hiragana-iroha",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "hiragana-iroha",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-018",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-018"],Space,Code ("",[],[]) "katakana"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "katakana",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "katakana",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-019",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-019"],Space,Code ("",[],[]) "katakana-iroha"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "katakana-iroha",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "katakana-iroha",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-020",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-020"],Space,Code ("",[],[]) "upper-roman"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "upper-roman",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "upper-roman",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-021",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-021"],Space,Code ("",[],[]) "upper-latin"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "upper-latin",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "upper-latin",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-022",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-022"],Space,Code ("",[],[]) "lower-alpha"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "lower-alpha",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "lower-alpha",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-023",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-023"],Space,Code ("",[],[]) "lower-greek"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "lower-greek",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "lower-greek",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-024",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-024"],Space,Code ("",[],[]) "armenian"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "armenian",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "armenian",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-025",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-025"],Space,Code ("",[],[]) "cjk-ideographic"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "cjk-ideographic",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "cjk-ideographic",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-026",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-026"],Space,Code ("",[],[]) "decimal-leading-zero"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "decimal-leading-zero",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "decimal-leading-zero",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-027",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-027"],Space,Code ("",[],[]) "georgian"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "georgian",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "georgian",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-028",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-028"],Space,Code ("",[],[]) "hebrew"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "hebrew",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "hebrew",Space,Str "markers",Space,Str "in",Space,Str "ascending",Space,Str "order,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-029",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-029"],Space,Code ("",[],[]) "none"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-type",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "none",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "no",Space,Str "markers,",Space,Str "the",Space,Str "test",Space,Str "passes."]]]
- ,Div ("styling-xhtml-002.xhtml#style-list-style",["section"],[])
- [Header 3 ("",[],[]) [Str "The",Space,Code ("",[],[]) "list-style",Space,Str "property"]
- ,Div ("styling-xhtml-002.xhtml#style-030",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-030"],Space,Str "images"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style",Space,Str "shorthand",Space,Str "property",Space,Str "is",Space,Str "supported",Space,Str "using",Space,Str "a",Space,Str "gif",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "the",Space,Str "purple",Space,Str "and",Space,Str "aqua",Space,Str "square",Space,Str "bullet",Space,Str "the",Space,Str "test",Space,Str "passes."]]]
- ,Div ("styling-xhtml-002.xhtml#style-list-style-position",["section"],[])
- [Header 3 ("",[],[]) [Str "The",Space,Code ("",[],[]) "list-style-position",Space,Str "property"]
- ,Div ("styling-xhtml-002.xhtml#style-040",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-040"],Space,Str "The",Space,Code ("",[],[]) "list-style-position",Space,Str "property:",Space,Code ("",[],[]) "inside"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-position",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "inside",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]
- ,[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]
- ,[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "markers",Space,Str "inside",Space,Str "the",Space,Str "indentation,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-041",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-041"],Space,Str "The",Space,Code ("",[],[]) "list-style-position",Space,Str "property:",Space,Code ("",[],[]) "outside"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "list-style-position",Space,Str "property",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "outside",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ul",Space,Str "element."]
- ,BulletList
- [[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]
- ,[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]
- ,[Plain [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat."]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "has",Space,Str "the",Space,Str "default",Space,Str "setting",Space,Str "(marker",Space,Str "outside",Space,Str "the",Space,Str "indentation),",Space,Str "the",Space,Str "test",Space,Str "passes."]]]
- ,Div ("styling-xhtml-002.xhtml#style-list-start",["section"],[])
- [Header 3 ("",[],[]) [Str "The",Space,Str "HTML",Space,Code ("",[],[]) "start",Space,Str "attribute"]
- ,Div ("styling-xhtml-002.xhtml#style-050",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-050"],Space,Str "Without",Space,Code ("",[],[]) "list-style-type",Space,Str "set"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "start",Space,Str "attribute",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element",Space,Str "with",Space,Str "no",Space,Code ("",[],[]) "list-style-type",Space,Str "property."]
- ,OrderedList (25,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "starts",Space,Str "at",Space,Str "25,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-002.xhtml#style-051",["section","ctest"],[])
- [Header 4 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-051"],Space,Str "With",Space,Code ("",[],[]) "list-style-type",Space,Str "set"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "start",Space,Str "attribute",Space,Str "is",Space,Str "supported",Space,Str "on",Space,Str "a",Space,Code ("",[],[]) "ol",Space,Str "element",Space,Str "with",Space,Str "a",Space,Code ("",[],[]) "list-style-type",Space,Str "property."]
- ,OrderedList (50,DefaultStyle,DefaultDelim)
- [[Plain [Str "Lorem"]]
- ,[Plain [Str "Ipsum"]]
- ,[Plain [Str "Dolor"]]
- ,[Plain [Str "Sit"]]
- ,[Plain [Str "Amet"]]]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "list",Space,Str "starts",Space,Str "at",Space,Str "'L'",Space,Str "(50),",Space,Str "the",Space,Str "test",Space,Str "passes."]]]]
-,Para [Span ("styling-xhtml-004.xhtml",[],[]) []]
-,Div ("styling-xhtml-004.xhtml#style-media-rules",["section"],[])
- [Header 2 ("",[],[]) [Code ("",[],[]) "@media",Space,Str "Rules"]
- ,Div ("styling-xhtml-004.xhtml#style-210",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-210"],Space,Code ("",[],[]) "all"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "all",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-211",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-211"],Space,Code ("",[],[]) "screen"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "screen",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-212",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-212"],Space,Code ("",[],[]) "handheld"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "handheld",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-213",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-213"],Space,Code ("",[],[]) "tv"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "tv",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-220",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-220"],Space,Code ("",[],[]) "orientation:landscape"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "orientation:landscape",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\"",Space,Str "when",Space,Str "the",Space,Str "device",Space,Str "is",Space,Str "held",Space,Str "in",Space,Str "landscape",Space,Str "mode,",Space,Str "and",Space,Str "the",Space,Str "device",Space,Str "supports",Space,Str "multiple",Space,Str "orientations,",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-221",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-221"],Space,Code ("",[],[]) "orientation:portrait"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "orientation:portrait",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\"",Space,Str "when",Space,Str "the",Space,Str "device",Space,Str "is",Space,Str "held",Space,Str "in",Space,Str "portrait",Space,Str "mode,",Space,Str "and",Space,Str "the",Space,Str "device",Space,Str "supports",Space,Str "multiple",Space,Str "orientations,",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-230",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-230"],Space,Code ("",[],[]) "min-width"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "min-width:200px",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-231",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-231"],Space,Code ("",[],[]) "max-width"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "max-width:2000px",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-240",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-240"],Space,Code ("",[],[]) "min-device-width"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "min-device-width:200px",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]
- ,Div ("styling-xhtml-004.xhtml#style-241",["section","ctest"],[])
- [Header 3 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-241"],Space,Code ("",[],[]) "max-device-width"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "@media",Space,Str "rule",Space,Str "set",Space,Str "to",Space,Code ("",[],[]) "max-device-width:2000px",Space,Str "is",Space,Str "supported."]
- ,Para [Str "FAIL"]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "reads",Space,Str "\"FAIL\",",Space,Str "the",Space,Str "test",Space,Str "fails."]]]
-,Para [Span ("styling-xhtml-005.xhtml",[],[]) []]
-,Div ("styling-xhtml-005.xhtml#style-text-xform",["section"],[])
- [Header 2 ("",[],[]) [Str "The",Space,Code ("",[],[]) "text-transform",Space,Str "property"]
- ,Div ("styling-xhtml-005.xhtml#style-310",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-310"],Space,Code ("",[],[]) "uppercase"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "text-transform",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "uppercase",Space,Str "is",Space,Str "supported."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "is",Space,Str "in",Space,Str "upper",Space,Str "case,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-005.xhtml#style-311",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-311"],Space,Code ("",[],[]) "capitalize"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "text-transform",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "capitalize",Space,Str "is",Space,Str "supported."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "If",Space,Str "each",Space,Str "first",Space,Str "letter",Space,Str "of",Space,Str "each",Space,Str "word",Space,Str "in",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "is",Space,Str "in",Space,Str "upper",Space,Str "case,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-005.xhtml#style-312",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-312"],Space,Code ("",[],[]) "lowercase"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "text-transform",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "lowercase",Space,Str "is",Space,Str "supported."]
- ,Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipisicing",Space,Str "elit,",Space,Str "sed",Space,Str "do",Space,Str "eiusmod",Space,Str "tempor",Space,Str "incididunt",Space,Str "ut",Space,Str "labore",Space,Str "et",Space,Str "dolore",Space,Str "magna",Space,Str "aliqua.",Space,Str "Ut",Space,Str "enim",Space,Str "ad",Space,Str "minim",Space,Str "veniam,",Space,Str "quis",Space,Str "nostrud",Space,Str "exercitation",Space,Str "ullamco",Space,Str "laboris",Space,Str "nisi",Space,Str "ut",Space,Str "aliquip",Space,Str "ex",Space,Str "ea",Space,Str "commodo",Space,Str "consequat.",Space,Str "Duis",Space,Str "aute",Space,Str "irure",Space,Str "dolor",Space,Str "in",Space,Str "reprehenderit",Space,Str "in",Space,Str "voluptate",Space,Str "velit",Space,Str "esse",Space,Str "cillum",Space,Str "dolore",Space,Str "eu",Space,Str "fugiat",Space,Str "nulla",Space,Str "pariatur.",Space,Str "Excepteur",Space,Str "sint",Space,Str "occaecat",Space,Str "cupidatat",Space,Str "non",Space,Str "proident,",Space,Str "sunt",Space,Str "in",Space,Str "culpa",Space,Str "qui",Space,Str "officia",Space,Str "deserunt",Space,Str "mollit",Space,Str "anim",Space,Str "id",Space,Str "est",Space,Str "laborum."]
- ,Para [Str "If",Space,Str "the",Space,Str "preceding",Space,Str "paragraph",Space,Str "is",Space,Str "in",Space,Str "lower",Space,Str "case,",Space,Str "the",Space,Str "test",Space,Str "passes."]]]
-,Para [Span ("styling-xhtml-006.xhtml",[],[]) []]
-,Div ("styling-xhtml-006.xhtml#style-ruby",["section"],[])
- [Header 2 ("",[],[]) [Str "The",Space,Code ("",[],[]) "epub-ruby-position",Space,Str "property"]
- ,Div ("styling-xhtml-006.xhtml#style-410",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-410"],Space,Code ("",[],[]) "over"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "-epub-ruby-position",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "over",Space,Str "is",Space,Str "supported."]
- ,Plain [RawInline (Format "html") "<ruby class=\"ruby-over\">",Strong [Str "Lorem",Space,Str "Ipsum"],Space,RawInline (Format "html") "<rp>",Str "(",RawInline (Format "html") "</rp>",RawInline (Format "html") "<rt>",Str "Lorem",Space,Str "Ipsum",RawInline (Format "html") "</rt>",RawInline (Format "html") "<rp>",Str ")",RawInline (Format "html") "</rp>",RawInline (Format "html") "</ruby>"]
- ,Para [Str "If",Space,Str "the",Space,Str "Ruby",Space,Str "text",Space,Str "is",Space,Str "positioned",Space,Str "on",Space,Str "the",Space,Link ("",[],[]) [Str "over"] ("http://www.w3.org/TR/css3-writing-modes/#over",""),Space,Str "side",Space,Str "of",Space,Str "the",Space,Str "ruby",Space,Str "base,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-006.xhtml#style-411",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-411"],Space,Code ("",[],[]) "under"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "-epub-ruby-position",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "under",Space,Str "is",Space,Str "supported."]
- ,Plain [RawInline (Format "html") "<ruby class=\"ruby-under\">",Strong [Str "Lorem",Space,Str "Ipsum"],Space,RawInline (Format "html") "<rp>",Str "(",RawInline (Format "html") "</rp>",RawInline (Format "html") "<rt>",Str "Lorem",Space,Str "Ipsum",RawInline (Format "html") "</rt>",RawInline (Format "html") "<rp>",Str ")",RawInline (Format "html") "</rp>",RawInline (Format "html") "</ruby>"]
- ,Para [Str "If",Space,Str "the",Space,Str "Ruby",Space,Str "text",Space,Str "is",Space,Str "positioned",Space,Str "on",Space,Str "the",Space,Link ("",[],[]) [Str "under"] ("http://www.w3.org/TR/css3-writing-modes/#under",""),Space,Str "side",Space,Str "of",Space,Str "the",Space,Str "ruby",Space,Str "base,",Space,Str "the",Space,Str "test",Space,Str "passes."]]
- ,Div ("styling-xhtml-006.xhtml#style-412",["section","ctest"],[])
- [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],Space,Span ("",["test-id"],[]) [Str "style-412"],Space,Code ("",[],[]) "inter-character"]
- ,Para [Str "Tests",Space,Str "whether",Space,Str "the",Space,Code ("",[],[]) "-epub-ruby-position",Space,Str "property",Space,Str "set",Space,Str "to",Space,Str "inter-caracter",Space,Str "is",Space,Str "supported."]
- ,Plain [RawInline (Format "html") "<ruby class=\"ruby-inter-character\">",Strong [Str "Lorem",Space,Str "Ipsum"],Space,RawInline (Format "html") "<rp>",Str "(",RawInline (Format "html") "</rp>",RawInline (Format "html") "<rt>",Str "Lorem",Space,Str "Ipsum",RawInline (Format "html") "</rt>",RawInline (Format "html") "<rp>",Str ")",RawInline (Format "html") "</rp>",RawInline (Format "html") "</ruby>"]
- ,Para [Str "If",Space,Str "the",Space,Str "Ruby",Space,Str "text",Space,Str "is",Space,Str "positioned",Space,Str "on",Space,Str "the",Space,Str "right",Space,Str "side",Space,Str "of",Space,Str "the",Space,Str "base",Space,Str "text,",Space,Str "the",Space,Str "test",Space,Str "passes."]]]]
+[ Para [ Span ( "front.xhtml" , [] , [] ) [] ]
+, Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Document:"
+ , Space
+ , Str "0101"
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Status"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "considered"
+ , Space
+ , Span
+ ( "" , [ "status" ] , [] )
+ [ Str "[UNDER" , Space , Str "DEVELOPMENT]" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "IDPF."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "version"
+ , Space
+ , Span ( "" , [ "version" ] , [] ) [ Str "X.X" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3.0"
+ , Space
+ , Str "Compliance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ , Space
+ , Str "released"
+ , SoftBreak
+ , Str "on"
+ , Space
+ , RawInline (Format "html") "<time class=\"release\">"
+ , Str "TBD"
+ , RawInline (Format "html") "</time>"
+ , Str "."
+ ]
+ , Para
+ [ Str "Before"
+ , Space
+ , Str "using"
+ , Space
+ , Str "this"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "to"
+ , Space
+ , Str "evaluate"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "systems,"
+ , Space
+ , Str "testers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "strongly"
+ , Space
+ , Str "encouraged"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "verify"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "latest"
+ , Space
+ , Str "release"
+ , Space
+ , Str "by"
+ , Space
+ , Str "checking"
+ , Space
+ , Str "the"
+ , Space
+ , Str "current"
+ , Space
+ , Str "release"
+ , Space
+ , Str "version"
+ , Space
+ , Str "and"
+ , Space
+ , Str "date"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "at"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "TBD" ]
+ ( "http://idpf.org/" , "" )
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "one"
+ , Space
+ , Str "of"
+ , Space
+ , Str "several"
+ , Space
+ , Str "that"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "comprise"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "conformance"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "for"
+ , Space
+ , Str "reflowable"
+ , Space
+ , Str "content."
+ , Space
+ , Str "The"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "publications:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "." ] ] ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "About"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "focuses"
+ , Space
+ , Str "on"
+ , Space
+ , Str "human-evaluated"
+ , Space
+ , Str "binary"
+ , Space
+ , Str "(pass/fail)"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "reflowable"
+ , Space
+ , Str "context."
+ , Space
+ , Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "fixed-layout"
+ , Space
+ , Str "content"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "individual"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "require"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dedicated"
+ , Space
+ , Str "epub"
+ , Space
+ , Str "file"
+ , Space
+ , Str "are"
+ , Space
+ , Str "available"
+ , Space
+ , Str "in"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "sibling"
+ , Space
+ , Str "documents;"
+ , Space
+ , Str "refer"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "wiki"
+ ]
+ ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , ""
+ )
+ , Space
+ , Str "("
+ , Code
+ ( "" , [] , [] )
+ "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , Str ")"
+ , Space
+ , Str "for"
+ , Space
+ , Str "additional"
+ , SoftBreak
+ , Str "information."
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header 2 ( "" , [] , [] ) [ Str "Conventions" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "conventions"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "throughout"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document:"
+ ]
+ , DefinitionList
+ [ ( [ Str "1."
+ , Space
+ , Str "Locating"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Div
+ ( "" , [ "ctest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "required" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[REQUIRED]" ]
+ ]
+ ]
+ , Div
+ ( "" , [ "otest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "optional" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[OPTIONAL]" ]
+ ]
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "2."
+ , Space
+ , Str "Performing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Plain
+ [ Str "Each"
+ , Space
+ , Str "test"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "its"
+ , Space
+ , Str "purpose"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "actual"
+ , Space
+ , Strong
+ [ Str "test"
+ , Space
+ , Str "statement,"
+ , SoftBreak
+ , Str "which"
+ , Space
+ , Str "can"
+ , Space
+ , Str "always"
+ , Space
+ , Str "be"
+ , Space
+ , Str "evaluated"
+ , Space
+ , Str "to"
+ , Space
+ , Str "true"
+ , Space
+ , Str "or"
+ , Space
+ , Str "false"
+ ]
+ , Str "."
+ , Space
+ , Str "These"
+ , Space
+ , Str "statements"
+ , Space
+ , Str "typically"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "form:"
+ , SoftBreak
+ , Str "\"If"
+ , Space
+ , Str "[some"
+ , Space
+ , Str "condition],"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes\"."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "3."
+ , Space
+ , Str "Scoring"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ , [ [ Plain
+ [ Str "@@@TODO"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "info"
+ , Space
+ , Str "on"
+ , Space
+ , Str "where"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-001.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-001.xhtml#epub-css" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "EPUB" , Space , Str "Style" , Space , Str "Sheets" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "and"
+ , Space
+ , Str "layout."
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-003.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-003.xhtml#style-110"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-110" ]
+ , Space
+ , Str "Multi-Column"
+ , Space
+ , Str "Layouts"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "CSS Multi-Column Layout"
+ , Space
+ , Str "properties"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Div
+ ( "" , [ "multicol" ] , [] )
+ [ Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "in"
+ , Space
+ , Str "three"
+ , Space
+ , Str "columns,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-002.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-002.xhtml#style-lists"
+ , [ "section" ]
+ , []
+ )
+ [ Header 2 ( "" , [] , [] ) [ Str "Lists" ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-style-type"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-009"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-009" ]
+ , Space
+ , Code ( "" , [] , [] ) "decimal"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "decimal"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "decimal"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-010" ]
+ , Space
+ , Code ( "" , [] , [] ) "circle"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "circle"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "circle"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-011"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-011" ]
+ , Space
+ , Code ( "" , [] , [] ) "square"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "square"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "square"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-012"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-012" ]
+ , Space
+ , Code ( "" , [] , [] ) "disc"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "disc"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "disc"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-013"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-013" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-latin"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-latin"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-latin"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-014"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-014" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-roman"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-roman"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-roman"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-015"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-015" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-alpha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-alpha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-alpha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-016"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-016" ]
+ , Space
+ , Code ( "" , [] , [] ) "hiragana"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hiragana"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hiragana"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-017"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-017" ]
+ , Space
+ , Code ( "" , [] , [] ) "hiragana-iroha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hiragana-iroha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hiragana-iroha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-018"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-018" ]
+ , Space
+ , Code ( "" , [] , [] ) "katakana"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "katakana"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "katakana"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-019"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-019" ]
+ , Space
+ , Code ( "" , [] , [] ) "katakana-iroha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "katakana-iroha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "katakana-iroha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-020"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-020" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-roman"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-roman"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-roman"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-021"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-021" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-latin"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-latin"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-latin"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-022"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-022" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-alpha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-alpha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-alpha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-023"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-023" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-greek"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-greek"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-greek"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-024"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-024" ]
+ , Space
+ , Code ( "" , [] , [] ) "armenian"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "armenian"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "armenian"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-025"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-025" ]
+ , Space
+ , Code ( "" , [] , [] ) "cjk-ideographic"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "cjk-ideographic"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "cjk-ideographic"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-026"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-026" ]
+ , Space
+ , Code ( "" , [] , [] ) "decimal-leading-zero"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "decimal-leading-zero"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "decimal-leading-zero"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-027"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-027" ]
+ , Space
+ , Code ( "" , [] , [] ) "georgian"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "georgian"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "georgian"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-028"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-028" ]
+ , Space
+ , Code ( "" , [] , [] ) "hebrew"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hebrew"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hebrew"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-029"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-029" ]
+ , Space
+ , Code ( "" , [] , [] ) "none"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "none"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "no"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-style"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-030"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-030" ]
+ , Space
+ , Str "images"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style"
+ , Space
+ , Str "shorthand"
+ , Space
+ , Str "property"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "using"
+ , Space
+ , Str "a"
+ , Space
+ , Str "gif"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "purple"
+ , Space
+ , Str "and"
+ , Space
+ , Str "aqua"
+ , Space
+ , Str "square"
+ , Space
+ , Str "bullet"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-style-position"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-040"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-040" ]
+ , Space
+ , Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property:"
+ , Space
+ , Code ( "" , [] , [] ) "inside"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "inside"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "the"
+ , Space
+ , Str "indentation,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-041"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-041" ]
+ , Space
+ , Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property:"
+ , Space
+ , Code ( "" , [] , [] ) "outside"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "outside"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "default"
+ , Space
+ , Str "setting"
+ , Space
+ , Str "(marker"
+ , Space
+ , Str "outside"
+ , Space
+ , Str "the"
+ , Space
+ , Str "indentation),"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-start"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "HTML"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-050"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-050" ]
+ , Space
+ , Str "Without"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "set"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property."
+ ]
+ , OrderedList
+ ( 25 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , Space
+ , Str "25,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-051"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-051" ]
+ , Space
+ , Str "With"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "set"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property."
+ ]
+ , OrderedList
+ ( 50 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , Space
+ , Str "'L'"
+ , Space
+ , Str "(50),"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-004.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-004.xhtml#style-media-rules"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Code ( "" , [] , [] ) "@media" , Space , Str "Rules" ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-210"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-210" ]
+ , Space
+ , Code ( "" , [] , [] ) "all"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "all"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-211"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-211" ]
+ , Space
+ , Code ( "" , [] , [] ) "screen"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "screen"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-212"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-212" ]
+ , Space
+ , Code ( "" , [] , [] ) "handheld"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "handheld"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-213"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-213" ]
+ , Space
+ , Code ( "" , [] , [] ) "tv"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "tv"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-220"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-220" ]
+ , Space
+ , Code ( "" , [] , [] ) "orientation:landscape"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "orientation:landscape"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "when"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "is"
+ , Space
+ , Str "held"
+ , Space
+ , Str "in"
+ , Space
+ , Str "landscape"
+ , Space
+ , Str "mode,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "orientations,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-221"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-221" ]
+ , Space
+ , Code ( "" , [] , [] ) "orientation:portrait"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "orientation:portrait"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "when"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "is"
+ , Space
+ , Str "held"
+ , Space
+ , Str "in"
+ , Space
+ , Str "portrait"
+ , Space
+ , Str "mode,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "orientations,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-230"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-230" ]
+ , Space
+ , Code ( "" , [] , [] ) "min-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "min-width:200px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-231"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-231" ]
+ , Space
+ , Code ( "" , [] , [] ) "max-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "max-width:2000px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-240"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-240" ]
+ , Space
+ , Code ( "" , [] , [] ) "min-device-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "min-device-width:200px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-241"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-241" ]
+ , Space
+ , Code ( "" , [] , [] ) "max-device-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "max-device-width:2000px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-005.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-005.xhtml#style-text-xform"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-005.xhtml#style-310"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-310" ]
+ , Space
+ , Code ( "" , [] , [] ) "uppercase"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "uppercase"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "upper"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-005.xhtml#style-311"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-311" ]
+ , Space
+ , Code ( "" , [] , [] ) "capitalize"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "capitalize"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "each"
+ , Space
+ , Str "first"
+ , Space
+ , Str "letter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "word"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "upper"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-005.xhtml#style-312"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-312" ]
+ , Space
+ , Code ( "" , [] , [] ) "lowercase"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "lowercase"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "lower"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-006.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-006.xhtml#style-ruby"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "epub-ruby-position"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-006.xhtml#style-410"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-410" ]
+ , Space
+ , Code ( "" , [] , [] ) "over"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "over"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline (Format "html") "<ruby class=\"ruby-over\">"
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") "<rp>"
+ , Str "("
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "<rt>"
+ , Str "Lorem"
+ , Space
+ , Str "Ipsum"
+ , RawInline (Format "html") "</rt>"
+ , RawInline (Format "html") "<rp>"
+ , Str ")"
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "</ruby>"
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "over" ]
+ ( "http://www.w3.org/TR/css3-writing-modes/#over" , "" )
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ruby"
+ , Space
+ , Str "base,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-006.xhtml#style-411"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-411" ]
+ , Space
+ , Code ( "" , [] , [] ) "under"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "under"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline (Format "html") "<ruby class=\"ruby-under\">"
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") "<rp>"
+ , Str "("
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "<rt>"
+ , Str "Lorem"
+ , Space
+ , Str "Ipsum"
+ , RawInline (Format "html") "</rt>"
+ , RawInline (Format "html") "<rp>"
+ , Str ")"
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "</ruby>"
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "under" ]
+ ( "http://www.w3.org/TR/css3-writing-modes/#under"
+ , ""
+ )
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ruby"
+ , Space
+ , Str "base,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-006.xhtml#style-412"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-412" ]
+ , Space
+ , Code ( "" , [] , [] ) "inter-character"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "inter-caracter"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline
+ (Format "html") "<ruby class=\"ruby-inter-character\">"
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") "<rp>"
+ , Str "("
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "<rt>"
+ , Str "Lorem"
+ , Space
+ , Str "Ipsum"
+ , RawInline (Format "html") "</rt>"
+ , RawInline (Format "html") "<rp>"
+ , Str ")"
+ , RawInline (Format "html") "</rp>"
+ , RawInline (Format "html") "</ruby>"
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "right"
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "base"
+ , Space
+ , Str "text,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+]
diff --git a/test/epub/img.epub b/test/epub/img.epub
index ebe80d935..de4ae712a 100644
--- a/test/epub/img.epub
+++ b/test/epub/img.epub
Binary files differ
diff --git a/test/epub/img_no_cover.epub b/test/epub/img_no_cover.epub
index d8028ff2e..70431ff1a 100644
--- a/test/epub/img_no_cover.epub
+++ b/test/epub/img_no_cover.epub
Binary files differ
diff --git a/test/epub/wasteland.epub b/test/epub/wasteland.epub
index c958c5fc2..6541fe066 100644
--- a/test/epub/wasteland.epub
+++ b/test/epub/wasteland.epub
Binary files differ
diff --git a/test/epub/wasteland.native b/test/epub/wasteland.native
index ff59182a6..cd3347f4e 100644
--- a/test/epub/wasteland.native
+++ b/test/epub/wasteland.native
@@ -1,938 +1,4551 @@
-[Para [Image ("",[],[]) [] ("wasteland-cover.jpg","")]
-,Para [Span ("wasteland-content.xhtml",[],[]) []]
-,Div ("wasteland-content.xhtml#frontmatter",["section","frontmatter"],[])
- []
-,Div ("wasteland-content.xhtml#bodymatter",["section","bodymatter"],[])
- [Div ("wasteland-content.xhtml#ch1",["section"],[])
- [Header 2 ("",[],[]) [Str "I.",Space,Str "THE",Space,Str "BURIAL",Space,Str "OF",Space,Str "THE",Space,Str "DEAD"]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "April",Space,Str "is",Space,Str "the",Space,Str "cruellest",Space,Str "month,",Space,Str "breeding"]]
- ,Div ("",[],[])
- [Plain [Str "Lilacs",Space,Str "out",Space,Str "of",Space,Str "the",Space,Str "dead",Space,Str "land,",Space,Str "mixing"]]
- ,Div ("",[],[])
- [Plain [Str "Memory",Space,Str "and",Space,Str "desire,",Space,Str "stirring"]]
- ,Div ("",[],[])
- [Plain [Str "Dull",Space,Str "roots",Space,Str "with",Space,Str "spring",Space,Str "rain."]]
- ,Div ("",[],[])
- [Plain [Str "Winter",Space,Str "kept",Space,Str "us",Space,Str "warm,",Space,Str "covering"]]
- ,Div ("",[],[])
- [Plain [Str "Earth",Space,Str "in",Space,Str "forgetful",Space,Str "snow,",Space,Str "feeding"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "little",Space,Str "life",Space,Str "with",Space,Str "dried",Space,Str "tubers."]]
- ,Div ("",[],[])
- [Plain [Str "Summer",Space,Str "surprised",Space,Str "us,",Space,Str "coming",Space,Str "over",Space,Str "the",Space,Str "Starnbergersee"]]
- ,Div ("",[],[])
- [Plain [Str "With",Space,Str "a",Space,Str "shower",Space,Str "of",Space,Str "rain;",Space,Str "we",Space,Str "stopped",Space,Str "in",Space,Str "the",Space,Str "colonnade,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "went",Space,Str "on",Space,Str "in",Space,Str "sunlight,",Space,Str "into",Space,Str "the",Space,Str "Hofgarten,",Span ("",["lnum"],[]) [Str "10"]]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "drank",Space,Str "coffee,",Space,Str "and",Space,Str "talked",Space,Str "for",Space,Str "an",Space,Str "hour."]]
- ,Div ("",[],[("lang","de")])
- [Plain [Str "Bin",Space,Str "gar",Space,Str "keine",Space,Str "Russin,",Space,Str "stamm'",Space,Str "aus",Space,Str "Litauen,",Space,Str "echt",SoftBreak,Str "deutsch."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "when",Space,Str "we",Space,Str "were",Space,Str "children,",Space,Str "staying",Space,Str "at",Space,Str "the",Space,Str "archduke's,"]]
- ,Div ("",[],[])
- [Plain [Str "My",Space,Str "cousin's,",Space,Str "he",Space,Str "took",Space,Str "me",Space,Str "out",Space,Str "on",Space,Str "a",Space,Str "sled,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "I",Space,Str "was",Space,Str "frightened.",Space,Str "He",Space,Str "said,",Space,Str "Marie,"]]
- ,Div ("",[],[])
- [Plain [Str "Marie,",Space,Str "hold",Space,Str "on",Space,Str "tight.",Space,Str "And",Space,Str "down",Space,Str "we",Space,Str "went."]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "the",Space,Str "mountains,",Space,Str "there",Space,Str "you",Space,Str "feel",Space,Str "free."]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "read,",Space,Str "much",Space,Str "of",Space,Str "the",Space,Str "night,",Space,Str "and",Space,Str "go",Space,Str "south",Space,Str "in",Space,Str "the",Space,Str "winter."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "What",Space,Str "are",Space,Str "the",Space,Str "roots",Space,Str "that",Space,Str "clutch,",Space,Str "what",Space,Str "branches",Space,Str "grow"]]
- ,Div ("wasteland-content.xhtml#ln20",[],[])
- [Plain [Str "Out",Space,Str "of",Space,Str "this",Space,Str "stony",Space,Str "rubbish?",Space,Str "Son",Space,Str "of",Space,Str "man,",Note [Para [Link ("",[],[]) [Str "Line",Space,Str "20."] ("#wasteland-content.xhtml#ln20",""),Space,Str "Cf.",Space,Str "Ezekiel",Space,Str "2:1."]],Span ("",["lnum"],[]) [Str "20"]]]
- ,Div ("",[],[])
- [Plain [Str "You",Space,Str "cannot",Space,Str "say,",Space,Str "or",Space,Str "guess,",Space,Str "for",Space,Str "you",Space,Str "know",Space,Str "only"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "heap",Space,Str "of",Space,Str "broken",Space,Str "images,",Space,Str "where",Space,Str "the",Space,Str "sun",Space,Str "beats,"]]
- ,Div ("wasteland-content.xhtml#ln23",[],[])
- [Plain [Str "And",Space,Str "the",Space,Str "dead",Space,Str "tree",Space,Str "gives",Space,Str "no",Space,Str "shelter,",Space,Str "the",Space,Str "cricket",Space,Str "no",Space,Str "relief,",Note [Para [Link ("",[],[]) [Str "23."] ("#wasteland-content.xhtml#ln23",""),Space,Str "Cf.",Space,Str "Ecclesiastes",Space,Str "12:5."]]]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "the",Space,Str "dry",Space,Str "stone",Space,Str "no",Space,Str "sound",Space,Str "of",Space,Str "water.",Space,Str "Only"]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "is",Space,Str "shadow",Space,Str "under",Space,Str "this",Space,Str "red",Space,Str "rock,"]]
- ,Div ("",[],[])
- [Plain [Str "(Come",Space,Str "in",Space,Str "under",Space,Str "the",Space,Str "shadow",Space,Str "of",Space,Str "this",Space,Str "red",Space,Str "rock),"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "I",Space,Str "will",Space,Str "show",Space,Str "you",Space,Str "something",Space,Str "different",Space,Str "from",Space,Str "either"]]
- ,Div ("",[],[])
- [Plain [Str "Your",Space,Str "shadow",Space,Str "at",Space,Str "morning",Space,Str "striding",Space,Str "behind",Space,Str "you"]]
- ,Div ("",[],[])
- [Plain [Str "Or",Space,Str "your",Space,Str "shadow",Space,Str "at",Space,Str "evening",Space,Str "rising",Space,Str "to",Space,Str "meet",Space,Str "you;"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "will",Space,Str "show",Space,Str "you",Space,Str "fear",Space,Str "in",Space,Str "a",Space,Str "handful",Space,Str "of",Space,Str "dust.",Span ("",["lnum"],[]) [Str "30"]]]
- ,BlockQuote
- [Div ("",[],[])
- [Div ("wasteland-content.xhtml#ln31",[],[])
- [Plain [Str "Frisch",Space,Str "weht",Space,Str "der",Space,Str "Wind",Note [Para [Link ("",[],[]) [Str "31."] ("#wasteland-content.xhtml#ln31",""),Space,Str "V.",Space,Str "Tristan",Space,Str "und",Space,Str "Isolde,",Space,Str "i,",Space,Str "verses",Space,Str "5-8."]]]]
- ,Div ("",[],[])
- [Plain [Str "Der",Space,Str "Heimat",Space,Str "zu"]]
- ,Div ("",[],[])
- [Plain [Str "Mein",Space,Str "Irisch",Space,Str "Kind,"]]
- ,Div ("",[],[])
- [Plain [Str "Wo",Space,Str "weilest",Space,Str "du?"]]]]
- ,Div ("",[],[])
- [Plain [Str "\"You",Space,Str "gave",Space,Str "me",Space,Str "hyacinths",Space,Str "first",Space,Str "a",Space,Str "year",Space,Str "ago;"]]
- ,Div ("",[],[])
- [Plain [Str "\"They",Space,Str "called",Space,Str "me",Space,Str "the",Space,Str "hyacinth",Space,Str "girl.\""]]
- ,Div ("",[],[])
- [Plain [Str "\8213Yet",Space,Str "when",Space,Str "we",Space,Str "came",Space,Str "back,",Space,Str "late,",Space,Str "from",Space,Str "the",Space,Str "Hyacinth",SoftBreak,Str "garden,"]]
- ,Div ("",[],[])
- [Plain [Str "Your",Space,Str "arms",Space,Str "full,",Space,Str "and",Space,Str "your",Space,Str "hair",Space,Str "wet,",Space,Str "I",Space,Str "could",Space,Str "not"]]
- ,Div ("",[],[])
- [Plain [Str "Speak,",Space,Str "and",Space,Str "my",Space,Str "eyes",Space,Str "failed,",Space,Str "I",Space,Str "was",Space,Str "neither"]]
- ,Div ("",[],[])
- [Plain [Str "Living",Space,Str "nor",Space,Str "dead,",Space,Str "and",Space,Str "I",Space,Str "knew",Space,Str "nothing,",Span ("",["lnum"],[]) [Str "40"]]]
- ,Div ("",[],[])
- [Plain [Str "Looking",Space,Str "into",Space,Str "the",Space,Str "heart",Space,Str "of",Space,Str "light,",Space,Str "the",Space,Str "silence."]]
- ,Div ("wasteland-content.xhtml#ln42",[],[("lang","de")])
- [Plain [Emph [Str "Od'",Space,Str "und",Space,Str "leer",Space,Str "das",Space,Str "Meer"],Str ".",Note [Para [Link ("",[],[]) [Str "42."] ("#wasteland-content.xhtml#ln42",""),Space,Str "Id.",Space,Str "iii,",Space,Str "verse",Space,Str "24."]]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Madame",Space,Str "Sosostris,",Space,Str "famous",Space,Str "clairvoyante,"]]
- ,Div ("",[],[])
- [Plain [Str "Had",Space,Str "a",Space,Str "bad",Space,Str "cold,",Space,Str "nevertheless"]]
- ,Div ("",[],[])
- [Plain [Str "Is",Space,Str "known",Space,Str "to",Space,Str "be",Space,Str "the",Space,Str "wisest",Space,Str "woman",Space,Str "in",Space,Str "Europe,"]]
- ,Div ("wasteland-content.xhtml#ln46",[],[])
- [Plain [Str "With",Space,Str "a",Space,Str "wicked",Space,Str "pack",Space,Str "of",Space,Str "cards.",Space,Str "Here,",Space,Str "said",Space,Str "she,",Note [Para [Link ("",[],[]) [Str "46."] ("#wasteland-content.xhtml#ln46",""),Space,Str "I",Space,Str "am",Space,Str "not",Space,Str "familiar",Space,Str "with",Space,Str "the",Space,Str "exact",Space,Str "constitution",Space,Str "of",Space,Str "the",Space,Str "Tarot",Space,Str "pack",Space,Str "of",SoftBreak,Str "cards,",Space,Str "from",Space,Str "which",Space,Str "I",Space,Str "have",Space,Str "obviously",Space,Str "departed",Space,Str "to",Space,Str "suit",Space,Str "my",Space,Str "own",Space,Str "convenience.",SoftBreak,Str "The",Space,Str "Hanged",Space,Str "Man,",Space,Str "a",Space,Str "member",Space,Str "of",Space,Str "the",Space,Str "traditional",Space,Str "pack,",Space,Str "fits",Space,Str "my",Space,Str "purpose",Space,Str "in",Space,Str "two",SoftBreak,Str "ways:",Space,Str "because",Space,Str "he",Space,Str "is",Space,Str "associated",Space,Str "in",Space,Str "my",Space,Str "mind",Space,Str "with",Space,Str "the",Space,Str "Hanged",Space,Str "God",Space,Str "of",Space,Str "Frazer,",SoftBreak,Str "and",Space,Str "because",Space,Str "I",Space,Str "associate",Space,Str "him",Space,Str "with",Space,Str "the",Space,Str "hooded",Space,Str "figure",Space,Str "in",Space,Str "the",Space,Str "passage",Space,Str "of",Space,Str "the",SoftBreak,Str "disciples",Space,Str "to",Space,Str "Emmaus",Space,Str "in",Space,Str "Part",Space,Str "V.",Space,Str "The",Space,Str "Phoenician",Space,Str "Sailor",Space,Str "and",Space,Str "the",Space,Str "Merchant",SoftBreak,Str "appear",Space,Str "later;",Space,Str "also",Space,Str "the",Space,Str "\"crowds",Space,Str "of",Space,Str "people,\"",Space,Str "and",Space,Str "Death",Space,Str "by",Space,Str "Water",Space,Str "is",SoftBreak,Str "executed",Space,Str "in",Space,Str "Part",Space,Str "IV.",Space,Str "The",Space,Str "Man",Space,Str "with",Space,Str "Three",Space,Str "Staves",Space,Str "(an",Space,Str "authentic",Space,Str "member",Space,Str "of",SoftBreak,Str "the",Space,Str "Tarot",Space,Str "pack)",Space,Str "I",Space,Str "associate,",Space,Str "quite",Space,Str "arbitrarily,",Space,Str "with",Space,Str "the",Space,Str "Fisher",Space,Str "King",SoftBreak,Str "himself."]]]]
- ,Div ("",[],[])
- [Plain [Str "Is",Space,Str "your",Space,Str "card,",Space,Str "the",Space,Str "drowned",Space,Str "Phoenician",Space,Str "Sailor,"]]
- ,Div ("",[],[])
- [Plain [Str "(Those",Space,Str "are",Space,Str "pearls",Space,Str "that",Space,Str "were",Space,Str "his",Space,Str "eyes.",Space,Str "Look!)"]]
- ,Div ("",[],[])
- [Plain [Str "Here",Space,Str "is",Space,Str "Belladonna,",Space,Str "the",Space,Str "Lady",Space,Str "of",Space,Str "the",Space,Str "Rocks,"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "lady",Space,Str "of",Space,Str "situations.",Span ("",["lnum"],[]) [Str "50"]]]
- ,Div ("",[],[])
- [Plain [Str "Here",Space,Str "is",Space,Str "the",Space,Str "man",Space,Str "with",Space,Str "three",Space,Str "staves,",Space,Str "and",Space,Str "here",Space,Str "the",Space,Str "Wheel,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "here",Space,Str "is",Space,Str "the",Space,Str "one-eyed",Space,Str "merchant,",Space,Str "and",Space,Str "this",Space,Str "card,"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "is",Space,Str "blank,",Space,Str "is",Space,Str "something",Space,Str "he",Space,Str "carries",Space,Str "on",Space,Str "his",Space,Str "back,"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "I",Space,Str "am",Space,Str "forbidden",Space,Str "to",Space,Str "see.",Space,Str "I",Space,Str "do",Space,Str "not",Space,Str "find"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "Hanged",Space,Str "Man.",Space,Str "Fear",Space,Str "death",Space,Str "by",Space,Str "water."]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "see",Space,Str "crowds",Space,Str "of",Space,Str "people,",Space,Str "walking",Space,Str "round",Space,Str "in",Space,Str "a",Space,Str "ring."]]
- ,Div ("",[],[])
- [Plain [Str "Thank",Space,Str "you.",Space,Str "If",Space,Str "you",Space,Str "see",Space,Str "dear",Space,Str "Mrs.",Space,Str "Equitone,"]]
- ,Div ("",[],[])
- [Plain [Str "Tell",Space,Str "her",Space,Str "I",Space,Str "bring",Space,Str "the",Space,Str "horoscope",Space,Str "myself:"]]
- ,Div ("",[],[])
- [Plain [Str "One",Space,Str "must",Space,Str "be",Space,Str "so",Space,Str "careful",Space,Str "these",Space,Str "days."]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln60",[],[])
- [Plain [Str "Unreal",Space,Str "City,",Note [Para [Link ("",[],[]) [Str "60."] ("#wasteland-content.xhtml#ln60",""),Space,Str "Cf.",Space,Str "Baudelaire:"],BlockQuote [Para [Str "\"Fourmillante",Space,Str "cite;,",Space,Str "cite;",Space,Str "pleine",Space,Str "de",Space,Str "reves,",LineBreak,Str "Ou",Space,Str "le",Space,Str "spectre",Space,Str "en",SoftBreak,Str "plein",Space,Str "jour",Space,Str "raccroche",Space,Str "le",Space,Str "passant.\""]]],Span ("",["lnum"],[]) [Str "60"]]]
- ,Div ("",[],[])
- [Plain [Str "Under",Space,Str "the",Space,Str "brown",Space,Str "fog",Space,Str "of",Space,Str "a",Space,Str "winter",Space,Str "dawn,"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "crowd",Space,Str "flowed",Space,Str "over",Space,Str "London",Space,Str "Bridge,",Space,Str "so",Space,Str "many,"]]
- ,Div ("wasteland-content.xhtml#ln63",[],[])
- [Plain [Str "I",Space,Str "had",Space,Str "not",Space,Str "thought",Space,Str "death",Space,Str "had",Space,Str "undone",Space,Str "so",Space,Str "many.",Note [Para [Link ("",[],[]) [Str "63."] ("#wasteland-content.xhtml#ln63",""),Space,Str "Cf.",Space,Str "Inferno,",Space,Str "iii.",Space,Str "55-7."],BlockQuote [Para [Str "\"si",Space,Str "lunga",Space,Str "tratta",LineBreak,Str "di",Space,Str "gente,",Space,Str "ch'io",Space,Str "non",Space,Str "avrei",Space,Str "mai",Space,Str "creduto",LineBreak,Str "che",SoftBreak,Str "morte",Space,Str "tanta",Space,Str "n'avesse",Space,Str "disfatta.\""]]]]]
- ,Div ("wasteland-content.xhtml#ln64",[],[])
- [Plain [Str "Sighs,",Space,Str "short",Space,Str "and",Space,Str "infrequent,",Space,Str "were",Space,Str "exhaled,",Note [Para [Link ("",[],[]) [Str "64."] ("#wasteland-content.xhtml#ln64",""),Space,Str "Cf.",Space,Str "Inferno,",Space,Str "iv.",Space,Str "25-7:"],BlockQuote [Para [Str "\"Quivi,",Space,Str "secondo",Space,Str "che",Space,Str "per",Space,Str "ascoltahre,",LineBreak,Str "\"non",Space,Str "avea",Space,Str "pianto,",Space,Str "ma'",Space,Str "che",Space,Str "di",SoftBreak,Str "sospiri,",LineBreak,Str "\"che",Space,Str "l'aura",Space,Str "eterna",Space,Str "facevan",Space,Str "tremare.\""]]]]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "each",Space,Str "man",Space,Str "fixed",Space,Str "his",Space,Str "eyes",Space,Str "before",Space,Str "his",Space,Str "feet."]]
- ,Div ("",[],[])
- [Plain [Str "Flowed",Space,Str "up",Space,Str "the",Space,Str "hill",Space,Str "and",Space,Str "down",Space,Str "King",Space,Str "William",Space,Str "Street,"]]
- ,Div ("",[],[])
- [Plain [Str "To",Space,Str "where",Space,Str "Saint",Space,Str "Mary",Space,Str "Woolnoth",Space,Str "kept",Space,Str "the",Space,Str "hours"]]
- ,Div ("wasteland-content.xhtml#ln68",[],[])
- [Plain [Str "With",Space,Str "a",Space,Str "dead",Space,Str "sound",Space,Str "on",Space,Str "the",Space,Str "final",Space,Str "stroke",Space,Str "of",Space,Str "nine.",Note [Para [Link ("",[],[]) [Str "68."] ("#wasteland-content.xhtml#ln68",""),Space,Str "A",Space,Str "phenomenon",Space,Str "which",Space,Str "I",Space,Str "have",Space,Str "often",Space,Str "noticed."]]]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "I",Space,Str "saw",Space,Str "one",Space,Str "I",Space,Str "knew,",Space,Str "and",Space,Str "stopped",Space,Str "him,",Space,Str "crying",SoftBreak,Str "\"Stetson!"]]
- ,Div ("",[],[])
- [Plain [Str "\"You",Space,Str "who",Space,Str "were",Space,Str "with",Space,Str "me",Space,Str "in",Space,Str "the",Space,Str "ships",Space,Str "at",Space,Str "Mylae!",Span ("",["lnum"],[]) [Str "70"]]]
- ,Div ("",[],[])
- [Plain [Str "\"That",Space,Str "corpse",Space,Str "you",Space,Str "planted",Space,Str "last",Space,Str "year",Space,Str "in",Space,Str "your",Space,Str "garden,"]]
- ,Div ("",[],[])
- [Plain [Str "\"Has",Space,Str "it",Space,Str "begun",Space,Str "to",Space,Str "sprout?",Space,Str "Will",Space,Str "it",Space,Str "bloom",Space,Str "this",Space,Str "year?"]]
- ,Div ("",[],[])
- [Plain [Str "\"Or",Space,Str "has",Space,Str "the",Space,Str "sudden",Space,Str "frost",Space,Str "disturbed",Space,Str "its",Space,Str "bed?"]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln74",[],[])
- [Plain [Str "\"Oh",Space,Str "keep",Space,Str "the",Space,Str "Dog",Space,Str "far",Space,Str "hence,",Space,Str "that's",Space,Str "friend",Space,Str "to",Space,Str "men,",Note [Para [Link ("",[],[]) [Str "74."] ("#wasteland-content.xhtml#ln74",""),Space,Str "Cf.",Space,Str "the",Space,Str "Dirge",Space,Str "in",Space,Str "Webster's",Space,Str "White",Space,Str "Devil",Space,Str "."]]]]
- ,Div ("",[],[])
- [Plain [Str "\"Or",Space,Str "with",Space,Str "his",Space,Str "nails",Space,Str "he'll",Space,Str "dig",Space,Str "it",Space,Str "up",Space,Str "again!"]]
- ,Div ("wasteland-content.xhtml#ln76",[],[])
- [Plain [Str "\"You!",Space,Span ("",[],[("lang","fr")]) [Str "hypocrite",Space,Str "lecteur!",Space,Str "-",Space,Str "mon",Space,Str "semblable,",Space,Str "-",SoftBreak,Str "mon",Space,Str "frere"],Space,Str "!\"",Note [Para [Link ("",[],[]) [Str "76."] ("#wasteland-content.xhtml#ln76",""),Space,Str "V.",Space,Str "Baudelaire,",Space,Str "Preface",Space,Str "to",Space,Str "Fleurs",Space,Str "du",Space,Str "Mal."]]]]]]
- ,Div ("wasteland-content.xhtml#ch2",["section"],[])
- [Header 2 ("",[],[]) [Str "II.",Space,Str "A",Space,Str "GAME",Space,Str "OF",Space,Str "CHESS"]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln77",[],[])
- [Plain [Str "The",Space,Str "Chair",Space,Str "she",Space,Str "sat",Space,Str "in,",Space,Str "like",Space,Str "a",Space,Str "burnished",Space,Str "throne,",Note [Para [Link ("",[],[]) [Str "77."] ("#wasteland-content.xhtml#ln77",""),Space,Str "Cf.",Space,Str "Antony",Space,Str "and",Space,Str "Cleopatra,",Space,Str "II.",Space,Str "ii.,",Space,Str "l.",Space,Str "190."]]]]
- ,Div ("",[],[])
- [Plain [Str "Glowed",Space,Str "on",Space,Str "the",Space,Str "marble,",Space,Str "where",Space,Str "the",Space,Str "glass"]]
- ,Div ("",[],[])
- [Plain [Str "Held",Space,Str "up",Space,Str "by",Space,Str "standards",Space,Str "wrought",Space,Str "with",Space,Str "fruited",Space,Str "vines"]]
- ,Div ("",[],[])
- [Plain [Str "From",Space,Str "which",Space,Str "a",Space,Str "golden",Space,Str "Cupidon",Space,Str "peeped",Space,Str "out",Span ("",["lnum"],[]) [Str "80"]]]
- ,Div ("",[],[])
- [Plain [Str "(Another",Space,Str "hid",Space,Str "his",Space,Str "eyes",Space,Str "behind",Space,Str "his",Space,Str "wing)"]]
- ,Div ("",[],[])
- [Plain [Str "Doubled",Space,Str "the",Space,Str "flames",Space,Str "of",Space,Str "sevenbranched",Space,Str "candelabra"]]
- ,Div ("",[],[])
- [Plain [Str "Reflecting",Space,Str "light",Space,Str "upon",Space,Str "the",Space,Str "table",Space,Str "as"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "glitter",Space,Str "of",Space,Str "her",Space,Str "jewels",Space,Str "rose",Space,Str "to",Space,Str "meet",Space,Str "it,"]]
- ,Div ("",[],[])
- [Plain [Str "From",Space,Str "satin",Space,Str "cases",Space,Str "poured",Space,Str "in",Space,Str "rich",Space,Str "profusion;"]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "vials",Space,Str "of",Space,Str "ivory",Space,Str "and",Space,Str "coloured",Space,Str "glass"]]
- ,Div ("",[],[])
- [Plain [Str "Unstoppered,",Space,Str "lurked",Space,Str "her",Space,Str "strange",Space,Str "synthetic",Space,Str "perfumes,"]]
- ,Div ("",[],[])
- [Plain [Str "Unguent,",Space,Str "powdered,",Space,Str "or",Space,Str "liquid",Space,Str "-",Space,Str "troubled,",Space,Str "confused"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "drowned",Space,Str "the",Space,Str "sense",Space,Str "in",Space,Str "odours;",Space,Str "stirred",Space,Str "by",Space,Str "the",Space,Str "air"]]
- ,Div ("",[],[])
- [Plain [Str "That",Space,Str "freshened",Space,Str "from",Space,Str "the",Space,Str "window,",Space,Str "these",Space,Str "ascended",Span ("",["lnum"],[]) [Str "90"]]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "fattening",Space,Str "the",Space,Str "prolonged",Space,Str "candle-flames,"]]
- ,Div ("wasteland-content.xhtml#ln92",[],[])
- [Plain [Str "Flung",Space,Str "their",Space,Str "smoke",Space,Str "into",Space,Str "the",Space,Str "laquearia,",Note [Para [Link ("",[],[]) [Str "92."] ("#wasteland-content.xhtml#ln92",""),Space,Str "Laquearia.",Space,Str "V.",Space,Str "Aeneid,",Space,Str "I.",Space,Str "726:"],BlockQuote [Para [Str "dependent",Space,Str "lychni",Space,Str "laquearibus",Space,Str "aureis",Space,Str "incensi,",Space,Str "et",Space,Str "noctem",SoftBreak,Str "flammis",LineBreak,Str "funalia",Space,Str "vincunt."]]]]]
- ,Div ("",[],[])
- [Plain [Str "Stirring",Space,Str "the",Space,Str "pattern",Space,Str "on",Space,Str "the",Space,Str "coffered",Space,Str "ceiling."]]
- ,Div ("",[],[])
- [Plain [Str "Huge",Space,Str "sea-wood",Space,Str "fed",Space,Str "with",Space,Str "copper"]]
- ,Div ("",[],[])
- [Plain [Str "Burned",Space,Str "green",Space,Str "and",Space,Str "orange,",Space,Str "framed",Space,Str "by",Space,Str "the",Space,Str "coloured",Space,Str "stone,"]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "which",Space,Str "sad",Space,Str "light",Space,Str "a",Space,Str "carved",Space,Str "dolphin",Space,Str "swam."]]
- ,Div ("",[],[])
- [Plain [Str "Above",Space,Str "the",Space,Str "antique",Space,Str "mantel",Space,Str "was",Space,Str "displayed"]]
- ,Div ("wasteland-content.xhtml#ln98",[],[])
- [Plain [Str "As",Space,Str "though",Space,Str "a",Space,Str "window",Space,Str "gave",Space,Str "upon",Space,Str "the",Space,Str "sylvan",Space,Str "scene",Note [Para [Link ("",[],[]) [Str "98."] ("#wasteland-content.xhtml#ln98",""),Space,Str "Sylvan",Space,Str "scene.",Space,Str "V.",Space,Str "Milton,",Space,Str "Paradise",Space,Str "Lost,",Space,Str "iv.",Space,Str "140."]]]]
- ,Div ("wasteland-content.xhtml#ln99",[],[])
- [Plain [Str "The",Space,Str "change",Space,Str "of",Space,Str "Philomel,",Space,Str "by",Space,Str "the",Space,Str "barbarous",Space,Str "king",Note [Para [Link ("",[],[]) [Str "99."] ("#wasteland-content.xhtml#ln99",""),Space,Str "V.",Space,Str "Ovid,",Space,Str "Metamorphoses,",Space,Str "vi,",Space,Str "Philomela."]]]]
- ,Div ("wasteland-content.xhtml#ln100",[],[])
- [Plain [Str "So",Space,Str "rudely",Space,Str "forced;",Space,Str "yet",Space,Str "there",Space,Str "the",Space,Str "nightingale",Note [Para [Link ("",[],[]) [Str "100."] ("#wasteland-content.xhtml#ln100",""),Space,Str "Cf.",Space,Str "Part",Space,Str "III,",Space,Str "l.",Space,Str "204."]],SoftBreak,Span ("",["lnum"],[]) [Str "100"]]]
- ,Div ("",[],[])
- [Plain [Str "Filled",Space,Str "all",Space,Str "the",Space,Str "desert",Space,Str "with",Space,Str "inviolable",Space,Str "voice"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "still",Space,Str "she",Space,Str "cried,",Space,Str "and",Space,Str "still",Space,Str "the",Space,Str "world",Space,Str "pursues,"]]
- ,Div ("",[],[])
- [Plain [Str "\"Jug",Space,Str "Jug\"",Space,Str "to",Space,Str "dirty",Space,Str "ears."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "other",Space,Str "withered",Space,Str "stumps",Space,Str "of",Space,Str "time"]]
- ,Div ("",[],[])
- [Plain [Str "Were",Space,Str "told",Space,Str "upon",Space,Str "the",Space,Str "walls;",Space,Str "staring",Space,Str "forms"]]
- ,Div ("",[],[])
- [Plain [Str "Leaned",Space,Str "out,",Space,Str "leaning,",Space,Str "hushing",Space,Str "the",Space,Str "room",Space,Str "enclosed."]]
- ,Div ("",[],[])
- [Plain [Str "Footsteps",Space,Str "shuffled",Space,Str "on",Space,Str "the",Space,Str "stair."]]
- ,Div ("",[],[])
- [Plain [Str "Under",Space,Str "the",Space,Str "firelight,",Space,Str "under",Space,Str "the",Space,Str "brush,",Space,Str "her",Space,Str "hair"]]
- ,Div ("",[],[])
- [Plain [Str "Spread",Space,Str "out",Space,Str "in",Space,Str "fiery",Space,Str "points"]]
- ,Div ("",[],[])
- [Plain [Str "Glowed",Space,Str "into",Space,Str "words,",Space,Str "then",Space,Str "would",Space,Str "be",Space,Str "savagely",Space,Str "still.",Span ("",["lnum"],[]) [Str "110"]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "\"My",Space,Str "nerves",Space,Str "are",Space,Str "bad",Space,Str "to-night.",Space,Str "Yes,",Space,Str "bad.",Space,Str "Stay",Space,Str "with",Space,Str "me."]]
- ,Div ("",[],[])
- [Plain [Str "\"Speak",Space,Str "to",Space,Str "me.",Space,Str "Why",Space,Str "do",Space,Str "you",Space,Str "never",Space,Str "speak.",Space,Str "Speak."]]
- ,Div ("",[],[])
- [Plain [Str "\"What",Space,Str "are",Space,Str "you",Space,Str "thinking",Space,Str "of?",Space,Str "What",Space,Str "thinking?",Space,Str "What?"]]
- ,Div ("",[],[])
- [Plain [Str "\"I",Space,Str "never",Space,Str "know",Space,Str "what",Space,Str "you",Space,Str "are",Space,Str "thinking.",Space,Str "Think.\""]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln115",[],[])
- [Plain [Str "I",Space,Str "think",Space,Str "we",Space,Str "are",Space,Str "in",Space,Str "rats'",Space,Str "alley",Note [Para [Link ("",[],[]) [Str "115."] ("#wasteland-content.xhtml#ln115",""),Space,Str "Cf.",Space,Str "Part",Space,Str "III,",Space,Str "l.",Space,Str "195."]]]]
- ,Div ("",[],[])
- [Plain [Str "Where",Space,Str "the",Space,Str "dead",Space,Str "men",Space,Str "lost",Space,Str "their",Space,Str "bones."]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "\"What",Space,Str "is",Space,Str "that",Space,Str "noise?\""]]
- ,Div ("wasteland-content.xhtml#ln118",["indent"],[])
- [Plain [Str "The",Space,Str "wind",Space,Str "under",Space,Str "the",Space,Str "door.",Note [Para [Link ("",[],[]) [Str "118."] ("#wasteland-content.xhtml#ln118",""),Space,Str "Cf.",Space,Str "Webster:"],BlockQuote [Para [Str "\"Is",Space,Str "the",Space,Str "wind",Space,Str "in",Space,Str "that",Space,Str "door",Space,Str "still?\""]]]]]
- ,Div ("",[],[])
- [Plain [Str "\"What",Space,Str "is",Space,Str "that",Space,Str "noise",Space,Str "now?",Space,Str "What",Space,Str "is",Space,Str "the",Space,Str "wind",Space,Str "doing?\""]]
- ,Div ("",["indent"],[])
- [Plain [Str "Nothing",Space,Str "again",Space,Str "nothing.",Span ("",["lnum"],[]) [Str "120"]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "\"Do"]]
- ,Div ("",[],[])
- [Plain [Str "\"You",Space,Str "know",Space,Str "nothing?",Space,Str "Do",Space,Str "you",Space,Str "see",Space,Str "nothing?",Space,Str "Do",Space,Str "you",Space,Str "remember"]]
- ,Div ("",[],[])
- [Plain [Str "\"Nothing?\""]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "I",Space,Str "remember"]]
- ,Div ("",[],[])
- [Plain [Str "Those",Space,Str "are",Space,Str "pearls",Space,Str "that",Space,Str "were",Space,Str "his",Space,Str "eyes."]]
- ,Div ("wasteland-content.xhtml#ln126",[],[])
- [Plain [Str "\"Are",Space,Str "you",Space,Str "alive,",Space,Str "or",Space,Str "not?",Space,Str "Is",Space,Str "there",Space,Str "nothing",Space,Str "in",Space,Str "your",Space,Str "head?\"",Note [Para [Link ("",[],[]) [Str "126."] ("#wasteland-content.xhtml#ln126",""),Space,Str "Cf.",Space,Str "Part",Space,Str "I,",Space,Str "l.",Space,Str "37,",Space,Str "48."]]]]
- ,Div ("",[],[])
- [Plain [Str "But"]]
- ,Div ("",[],[])
- [Plain [Str "O",Space,Str "O",Space,Str "O",Space,Str "O",Space,Str "that",Space,Str "Shakespeherian",Space,Str "Rag\8213"]]
- ,Div ("",[],[])
- [Plain [Str "It's",Space,Str "so",Space,Str "elegant"]]
- ,Div ("",[],[])
- [Plain [Str "So",Space,Str "intelligent",Span ("",["lnum"],[]) [Str "130"]]]
- ,Div ("",[],[])
- [Plain [Str "\"What",Space,Str "shall",Space,Str "I",Space,Str "do",Space,Str "now?",Space,Str "What",Space,Str "shall",Space,Str "I",Space,Str "do?\""]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "shall",Space,Str "rush",Space,Str "out",Space,Str "as",Space,Str "I",Space,Str "am,",Space,Str "and",Space,Str "walk",Space,Str "the",Space,Str "street"]]
- ,Div ("",[],[])
- [Plain [Str "\"With",Space,Str "my",Space,Str "hair",Space,Str "down,",Space,Str "so.",Space,Str "What",Space,Str "shall",Space,Str "we",Space,Str "do",Space,Str "to-morrow?"]]
- ,Div ("",[],[])
- [Plain [Str "\"What",Space,Str "shall",Space,Str "we",Space,Str "ever",Space,Str "do?\""]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "hot",Space,Str "water",Space,Str "at",Space,Str "ten."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "if",Space,Str "it",Space,Str "rains,",Space,Str "a",Space,Str "closed",Space,Str "car",Space,Str "at",Space,Str "four."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "we",Space,Str "shall",Space,Str "play",Space,Str "a",Space,Str "game",Space,Str "of",Space,Str "chess,"]]
- ,Div ("wasteland-content.xhtml#ln138",[],[])
- [Plain [Str "Pressing",Space,Str "lidless",Space,Str "eyes",Space,Str "and",Space,Str "waiting",Space,Str "for",Space,Str "a",Space,Str "knock",Space,Str "upon",Space,Str "the",Space,Str "door.",Note [Para [Link ("",[],[]) [Str "138."] ("#wasteland-content.xhtml#ln138",""),Space,Str "Cf.",Space,Str "the",Space,Str "game",Space,Str "of",Space,Str "chess",Space,Str "in",Space,Str "Middleton's",Space,Str "Women",Space,Str "beware",Space,Str "Women."]]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "When",Space,Str "Lil's",Space,Str "husband",Space,Str "got",Space,Str "demobbed,",Space,Str "I",Space,Str "said",Space,Str "-"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "didn't",Space,Str "mince",Space,Str "my",Space,Str "words,",Space,Str "I",Space,Str "said",Space,Str "to",Space,Str "her",Space,Str "myself,",Span ("",["lnum"],[]) [Str "140"]]]
- ,Div ("",[],[])
- [Plain [Str "HURRY",Space,Str "UP",Space,Str "PLEASE",Space,Str "ITS",Space,Str "TIME"]]
- ,Div ("",[],[])
- [Plain [Str "Now",Space,Str "Albert's",Space,Str "coming",Space,Str "back,",Space,Str "make",Space,Str "yourself",Space,Str "a",Space,Str "bit",Space,Str "smart."]]
- ,Div ("",[],[])
- [Plain [Str "He'll",Space,Str "want",Space,Str "to",Space,Str "know",Space,Str "what",Space,Str "you",Space,Str "done",Space,Str "with",Space,Str "that",Space,Str "money",Space,Str "he",Space,Str "gave",SoftBreak,Str "you"]]
- ,Div ("",[],[])
- [Plain [Str "To",Space,Str "get",Space,Str "yourself",Space,Str "some",Space,Str "teeth.",Space,Str "He",Space,Str "did,",Space,Str "I",Space,Str "was",Space,Str "there."]]
- ,Div ("",[],[])
- [Plain [Str "You",Space,Str "have",Space,Str "them",Space,Str "all",Space,Str "out,",Space,Str "Lil,",Space,Str "and",Space,Str "get",Space,Str "a",Space,Str "nice",Space,Str "set,"]]
- ,Div ("",[],[])
- [Plain [Str "He",Space,Str "said,",Space,Str "I",Space,Str "swear,",Space,Str "I",Space,Str "can't",Space,Str "bear",Space,Str "to",Space,Str "look",Space,Str "at",Space,Str "you."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "no",Space,Str "more",Space,Str "can't",Space,Str "I,",Space,Str "I",Space,Str "said,",Space,Str "and",Space,Str "think",Space,Str "of",Space,Str "poor",Space,Str "Albert,"]]
- ,Div ("",[],[])
- [Plain [Str "He's",Space,Str "been",Space,Str "in",Space,Str "the",Space,Str "army",Space,Str "four",Space,Str "years,",Space,Str "he",Space,Str "wants",Space,Str "a",Space,Str "good",Space,Str "time,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "if",Space,Str "you",Space,Str "don't",Space,Str "give",Space,Str "it",Space,Str "him,",Space,Str "there's",Space,Str "others",Space,Str "will,",Space,Str "I",SoftBreak,Str "said."]]
- ,Div ("",[],[])
- [Plain [Str "Oh",Space,Str "is",Space,Str "there,",Space,Str "she",Space,Str "said.",Space,Str "Something",Space,Str "o'",Space,Str "that,",Space,Str "I",Space,Str "said.",Span ("",["lnum"],[]) [Str "150"]]]
- ,Div ("",[],[])
- [Plain [Str "Then",Space,Str "I'll",Space,Str "know",Space,Str "who",Space,Str "to",Space,Str "thank,",Space,Str "she",Space,Str "said,",Space,Str "and",Space,Str "give",Space,Str "me",Space,Str "a",Space,Str "straight",SoftBreak,Str "look."]]
- ,Div ("",[],[])
- [Plain [Str "HURRY",Space,Str "UP",Space,Str "PLEASE",Space,Str "ITS",Space,Str "TIME"]]
- ,Div ("",[],[])
- [Plain [Str "If",Space,Str "you",Space,Str "don't",Space,Str "like",Space,Str "it",Space,Str "you",Space,Str "can",Space,Str "get",Space,Str "on",Space,Str "with",Space,Str "it,",Space,Str "I",Space,Str "said."]]
- ,Div ("",[],[])
- [Plain [Str "Others",Space,Str "can",Space,Str "pick",Space,Str "and",Space,Str "choose",Space,Str "if",Space,Str "you",Space,Str "can't."]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "if",Space,Str "Albert",Space,Str "makes",Space,Str "off,",Space,Str "it",Space,Str "won't",Space,Str "be",Space,Str "for",Space,Str "lack",Space,Str "of",SoftBreak,Str "telling."]]
- ,Div ("",[],[])
- [Plain [Str "You",Space,Str "ought",Space,Str "to",Space,Str "be",Space,Str "ashamed,",Space,Str "I",Space,Str "said,",Space,Str "to",Space,Str "look",Space,Str "so",Space,Str "antique."]]
- ,Div ("",[],[])
- [Plain [Str "(And",Space,Str "her",Space,Str "only",Space,Str "thirty-one.)"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "can't",Space,Str "help",Space,Str "it,",Space,Str "she",Space,Str "said,",Space,Str "pulling",Space,Str "a",Space,Str "long",Space,Str "face,"]]
- ,Div ("",[],[])
- [Plain [Str "It's",Space,Str "them",Space,Str "pills",Space,Str "I",Space,Str "took,",Space,Str "to",Space,Str "bring",Space,Str "it",Space,Str "off,",Space,Str "she",Space,Str "said."]]
- ,Div ("",[],[])
- [Plain [Str "(She's",Space,Str "had",Space,Str "five",Space,Str "already,",Space,Str "and",Space,Str "nearly",Space,Str "died",Space,Str "of",Space,Str "young",Space,Str "George.)",Span ("",["lnum"],[]) [Str "160"]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "chemist",Space,Str "said",Space,Str "it",Space,Str "would",Space,Str "be",Space,Str "all",Space,Str "right,",Space,Str "but",Space,Str "I've",Space,Str "never",Space,Str "been",Space,Str "the",SoftBreak,Str "same."]]
- ,Div ("",[],[])
- [Plain [Str "You",Space,Emph [Str "are"],Space,Str "a",Space,Str "proper",Space,Str "fool,",Space,Str "I",Space,Str "said."]]
- ,Div ("",[],[])
- [Plain [Str "Well,",Space,Str "if",Space,Str "Albert",Space,Str "won't",Space,Str "leave",Space,Str "you",Space,Str "alone,",Space,Str "there",Space,Str "it",Space,Str "is,",Space,Str "I",SoftBreak,Str "said,"]]
- ,Div ("",[],[])
- [Plain [Str "What",Space,Str "you",Space,Str "get",Space,Str "married",Space,Str "for",Space,Str "if",Space,Str "you",Space,Str "don't",Space,Str "want",Space,Str "children?"]]
- ,Div ("",[],[])
- [Plain [Str "HURRY",Space,Str "UP",Space,Str "PLEASE",Space,Str "ITS",Space,Str "TIME"]]
- ,Div ("",[],[])
- [Plain [Str "Well,",Space,Str "that",Space,Str "Sunday",Space,Str "Albert",Space,Str "was",Space,Str "home,",Space,Str "they",Space,Str "had",Space,Str "a",Space,Str "hot",SoftBreak,Str "gammon,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "they",Space,Str "asked",Space,Str "me",Space,Str "in",Space,Str "to",Space,Str "dinner,",Space,Str "to",Space,Str "get",Space,Str "the",Space,Str "beauty",Space,Str "of",Space,Str "it",SoftBreak,Str "hot\8213"]]
- ,Div ("",[],[])
- [Plain [Str "HURRY",Space,Str "UP",Space,Str "PLEASE",Space,Str "ITS",Space,Str "TIME"]]
- ,Div ("",[],[])
- [Plain [Str "HURRY",Space,Str "UP",Space,Str "PLEASE",Space,Str "ITS",Space,Str "TIME"]]
- ,Div ("",[],[])
- [Plain [Str "Goonight",Space,Str "Bill.",Space,Str "Goonight",Space,Str "Lou.",Space,Str "Goonight",Space,Str "May.",Space,Str "Goonight.",Span ("",["lnum"],[]) [Str "170"]]]
- ,Div ("",[],[])
- [Plain [Str "Ta",Space,Str "ta.",Space,Str "Goonight.",Space,Str "Goonight."]]
- ,Div ("",[],[])
- [Plain [Str "Good",Space,Str "night,",Space,Str "ladies,",Space,Str "good",Space,Str "night,",Space,Str "sweet",Space,Str "ladies,",Space,Str "good",Space,Str "night,",Space,Str "good",SoftBreak,Str "night."]]]]
- ,Div ("wasteland-content.xhtml#ch3",["section"],[])
- [Header 2 ("",[],[]) [Str "III.",Space,Str "THE",Space,Str "FIRE",Space,Str "SERMON"]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "The",Space,Str "river's",Space,Str "tent",Space,Str "is",Space,Str "broken:",Space,Str "the",Space,Str "last",Space,Str "fingers",Space,Str "of",Space,Str "leaf"]]
- ,Div ("",[],[])
- [Plain [Str "Clutch",Space,Str "and",Space,Str "sink",Space,Str "into",Space,Str "the",Space,Str "wet",Space,Str "bank.",Space,Str "The",Space,Str "wind"]]
- ,Div ("",[],[])
- [Plain [Str "Crosses",Space,Str "the",Space,Str "brown",Space,Str "land,",Space,Str "unheard.",Space,Str "The",Space,Str "nymphs",Space,Str "are",SoftBreak,Str "departed."]]
- ,Div ("wasteland-content.xhtml#ln176",[],[])
- [Plain [Str "Sweet",Space,Str "Thames,",Space,Str "run",Space,Str "softly,",Space,Str "till",Space,Str "I",Space,Str "end",Space,Str "my",Space,Str "song.",Note [Para [Link ("",[],[]) [Str "176."] ("#wasteland-content.xhtml#ln176",""),Space,Str "V.",Space,Str "Spenser,",Space,Str "Prothalamion."]]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "river",Space,Str "bears",Space,Str "no",Space,Str "empty",Space,Str "bottles,",Space,Str "sandwich",Space,Str "papers,"]]
- ,Div ("",[],[])
- [Plain [Str "Silk",Space,Str "handkerchiefs,",Space,Str "cardboard",Space,Str "boxes,",Space,Str "cigarette",Space,Str "ends"]]
- ,Div ("",[],[])
- [Plain [Str "Or",Space,Str "other",Space,Str "testimony",Space,Str "of",Space,Str "summer",Space,Str "nights.",Space,Str "The",Space,Str "nymphs",Space,Str "are",SoftBreak,Str "departed."]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "their",Space,Str "friends,",Space,Str "the",Space,Str "loitering",Space,Str "heirs",Space,Str "of",Space,Str "city",Space,Str "directors;",Span ("",["lnum"],[]) [Str "180"]]]
- ,Div ("",[],[])
- [Plain [Str "Departed,",Space,Str "have",Space,Str "left",Space,Str "no",Space,Str "addresses."]]
- ,Div ("",[],[])
- [Plain [Str "By",Space,Str "the",Space,Str "waters",Space,Str "of",Space,Str "Leman",Space,Str "I",Space,Str "sat",Space,Str "down",Space,Str "and",Space,Str "wept",Space,Str ".",Space,Str ".",Space,Str "."]]
- ,Div ("",[],[])
- [Plain [Str "Sweet",Space,Str "Thames,",Space,Str "run",Space,Str "softly",Space,Str "till",Space,Str "I",Space,Str "end",Space,Str "my",Space,Str "song,"]]
- ,Div ("",[],[])
- [Plain [Str "Sweet",Space,Str "Thames,",Space,Str "run",Space,Str "softly,",Space,Str "for",Space,Str "I",Space,Str "speak",Space,Str "not",Space,Str "loud",Space,Str "or",Space,Str "long."]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "at",Space,Str "my",Space,Str "back",Space,Str "in",Space,Str "a",Space,Str "cold",Space,Str "blast",Space,Str "I",Space,Str "hear"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "rattle",Space,Str "of",Space,Str "the",Space,Str "bones,",Space,Str "and",Space,Str "chuckle",Space,Str "spread",Space,Str "from",Space,Str "ear",Space,Str "to",SoftBreak,Str "ear."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "A",Space,Str "rat",Space,Str "crept",Space,Str "softly",Space,Str "through",Space,Str "the",Space,Str "vegetation"]]
- ,Div ("",[],[])
- [Plain [Str "Dragging",Space,Str "its",Space,Str "slimy",Space,Str "belly",Space,Str "on",Space,Str "the",Space,Str "bank"]]
- ,Div ("",[],[])
- [Plain [Str "While",Space,Str "I",Space,Str "was",Space,Str "fishing",Space,Str "in",Space,Str "the",Space,Str "dull",Space,Str "canal"]]
- ,Div ("",[],[])
- [Plain [Str "On",Space,Str "a",Space,Str "winter",Space,Str "evening",Space,Str "round",Space,Str "behind",Space,Str "the",Space,Str "gashouse",Span ("",["lnum"],[]) [Str "190"]]]
- ,Div ("",[],[])
- [Plain [Str "Musing",Space,Str "upon",Space,Str "the",Space,Str "king",Space,Str "my",Space,Str "brother's",Space,Str "wreck"]]
- ,Div ("wasteland-content.xhtml#ln192",[],[])
- [Plain [Str "And",Space,Str "on",Space,Str "the",Space,Str "king",Space,Str "my",Space,Str "father's",Space,Str "death",Space,Str "before",Space,Str "him.",Note [Para [Link ("",[],[]) [Str "192."] ("#wasteland-content.xhtml#ln192",""),Space,Str "Cf.",Space,Str "The",Space,Str "Tempest,",Space,Str "I.",Space,Str "ii."]]]]
- ,Div ("",[],[])
- [Plain [Str "White",Space,Str "bodies",Space,Str "naked",Space,Str "on",Space,Str "the",Space,Str "low",Space,Str "damp",Space,Str "ground"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "bones",Space,Str "cast",Space,Str "in",Space,Str "a",Space,Str "little",Space,Str "low",Space,Str "dry",Space,Str "garret,"]]
- ,Div ("",[],[])
- [Plain [Str "Rattled",Space,Str "by",Space,Str "the",Space,Str "rat's",Space,Str "foot",Space,Str "only,",Space,Str "year",Space,Str "to",Space,Str "year."]]
- ,Div ("wasteland-content.xhtml#ln196",[],[])
- [Plain [Str "But",Space,Str "at",Space,Str "my",Space,Str "back",Space,Str "from",Space,Str "time",Space,Str "to",Space,Str "time",Space,Str "I",Space,Str "hear",Note [Para [Link ("",[],[]) [Str "196."] ("#wasteland-content.xhtml#ln196",""),Space,Str "Cf.",Space,Str "Marvell,",Space,Str "To",Space,Str "His",Space,Str "Coy",Space,Str "Mistress."]]]]
- ,Div ("wasteland-content.xhtml#ln197",[],[])
- [Plain [Str "The",Space,Str "sound",Space,Str "of",Space,Str "horns",Space,Str "and",Space,Str "motors,",Space,Str "which",Space,Str "shall",Space,Str "bring",Note [Para [Link ("",[],[]) [Str "197."] ("#wasteland-content.xhtml#ln197",""),Space,Str "Cf.",Space,Str "Day,",Space,Str "Parliament",Space,Str "of",Space,Str "Bees:"],BlockQuote [Div ("",[],[]) [Div ("",[],[]) [Plain [Str "\"When",Space,Str "of",Space,Str "the",Space,Str "sudden,",Space,Str "listening,",Space,Str "you",Space,Str "shall",SoftBreak,Str "hear,"]],Div ("",[],[]) [Plain [Str "\"A",Space,Str "noise",Space,Str "of",Space,Str "horns",Space,Str "and",Space,Str "hunting,",Space,Str "which",Space,Str "shall",SoftBreak,Str "bring"]],Div ("",[],[]) [Plain [Str "\"Actaeon",Space,Str "to",Space,Str "Diana",Space,Str "in",Space,Str "the",Space,Str "spring,"]],Div ("",[],[]) [Plain [Str "\"Where",Space,Str "all",Space,Str "shall",Space,Str "see",Space,Str "her",Space,Str "naked",Space,Str "skin",Space,Str ".",Space,Str ".",Space,Str ".\""]]]]]]]
- ,Div ("",[],[])
- [Plain [Str "Sweeney",Space,Str "to",Space,Str "Mrs.",Space,Str "Porter",Space,Str "in",Space,Str "the",Space,Str "spring."]]
- ,Div ("wasteland-content.xhtml#ln199",[],[])
- [Plain [Str "O",Space,Str "the",Space,Str "moon",Space,Str "shone",Space,Str "bright",Space,Str "on",Space,Str "Mrs.",Space,Str "Porter",Note [Para [Link ("",[],[]) [Str "199."] ("#wasteland-content.xhtml#ln199",""),Space,Str "I",Space,Str "do",Space,Str "not",Space,Str "know",Space,Str "the",Space,Str "origin",Space,Str "of",Space,Str "the",Space,Str "ballad",Space,Str "from",Space,Str "which",Space,Str "these",Space,Str "lines",Space,Str "are",SoftBreak,Str "taken:",Space,Str "it",Space,Str "was",Space,Str "reported",Space,Str "to",Space,Str "me",Space,Str "from",Space,Str "Sydney,",Space,Str "Australia."]]]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "on",Space,Str "her",Space,Str "daughter",Span ("",["lnum"],[]) [Str "200"]]]
- ,Div ("",[],[])
- [Plain [Str "They",Space,Str "wash",Space,Str "their",Space,Str "feet",Space,Str "in",Space,Str "soda",Space,Str "water"]]
- ,Div ("wasteland-content.xhtml#ln202",[],[("lang","fr")])
- [Plain [Emph [Str "Et",Space,Str "O",Space,Str "ces",Space,Str "voix",Space,Str "d'enfants,",Space,Str "chantant",Space,Str "dans",Space,Str "la",Space,Str "coupole"],Str "!",Note [Para [Link ("",[],[]) [Str "202."] ("#wasteland-content.xhtml#ln202",""),Space,Str "V.",Space,Str "Verlaine,",Space,Str "Parsifal."]]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Twit",Space,Str "twit",Space,Str "twit"]]
- ,Div ("",[],[])
- [Plain [Str "Jug",Space,Str "jug",Space,Str "jug",Space,Str "jug",Space,Str "jug",Space,Str "jug"]]
- ,Div ("",[],[])
- [Plain [Str "So",Space,Str "rudely",Space,Str "forc'd."]]
- ,Div ("",[],[])
- [Plain [Str "Tereu"]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Unreal",Space,Str "City"]]
- ,Div ("",[],[])
- [Plain [Str "Under",Space,Str "the",Space,Str "brown",Space,Str "fog",Space,Str "of",Space,Str "a",Space,Str "winter",Space,Str "noon"]]
- ,Div ("",[],[])
- [Plain [Str "Mr.",Space,Str "Eugenides,",Space,Str "the",Space,Str "Smyrna",Space,Str "merchant"]]
- ,Div ("wasteland-content.xhtml#ln210",[],[])
- [Plain [Str "Unshaven,",Space,Str "with",Space,Str "a",Space,Str "pocket",Space,Str "full",Space,Str "of",Space,Str "currants",Note [Para [Link ("",[],[]) [Str "210."] ("#wasteland-content.xhtml#ln210",""),Space,Str "The",Space,Str "currants",Space,Str "were",Space,Str "quoted",Space,Str "at",Space,Str "a",Space,Str "price",Space,Str "\"cost",Space,Str "insurance",Space,Str "and",Space,Str "freight",Space,Str "to",SoftBreak,Str "London\";",Space,Str "and",Space,Str "the",Space,Str "Bill",Space,Str "of",Space,Str "Lading",Space,Str "etc.",Space,Str "were",Space,Str "to",Space,Str "be",Space,Str "handed",Space,Str "to",Space,Str "the",Space,Str "buyer",Space,Str "upon",SoftBreak,Str "payment",Space,Str "of",Space,Str "the",Space,Str "sight",Space,Str "draft."]],SoftBreak,Span ("",["lnum"],[]) [Str "210"]]]
- ,Div ("",[],[])
- [Plain [Str "C.i.f.",Space,Str "London:",Space,Str "documents",Space,Str "at",Space,Str "sight,"]]
- ,Div ("",[],[])
- [Plain [Str "Asked",Space,Str "me",Space,Str "in",Space,Str "demotic",Space,Str "French"]]
- ,Div ("",[],[])
- [Plain [Str "To",Space,Str "luncheon",Space,Str "at",Space,Str "the",Space,Str "Cannon",Space,Str "Street",Space,Str "Hotel"]]
- ,Div ("",[],[])
- [Plain [Str "Followed",Space,Str "by",Space,Str "a",Space,Str "weekend",Space,Str "at",Space,Str "the",Space,Str "Metropole."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "At",Space,Str "the",Space,Str "violet",Space,Str "hour,",Space,Str "when",Space,Str "the",Space,Str "eyes",Space,Str "and",Space,Str "back"]]
- ,Div ("",[],[])
- [Plain [Str "Turn",Space,Str "upward",Space,Str "from",Space,Str "the",Space,Str "desk,",Space,Str "when",Space,Str "the",Space,Str "human",Space,Str "engine",Space,Str "waits"]]
- ,Div ("",[],[])
- [Plain [Str "Like",Space,Str "a",Space,Str "taxi",Space,Str "throbbing",Space,Str "waiting,"]]
- ,Div ("wasteland-content.xhtml#ln218",[],[])
- [Plain [Str "I",Space,Str "Tiresias,",Space,Str "though",Space,Str "blind,",Space,Str "throbbing",Space,Str "between",Space,Str "two",Space,Str "lives,",Note [Para [Link ("",[],[]) [Str "218."] ("#wasteland-content.xhtml#ln218",""),Space,Str "Tiresias,",Space,Str "although",Space,Str "a",Space,Str "mere",Space,Str "spectator",Space,Str "and",Space,Str "not",Space,Str "indeed",Space,Str "a",Space,Str "\"character,\"",Space,Str "is",SoftBreak,Str "yet",Space,Str "the",Space,Str "most",Space,Str "important",Space,Str "personage",Space,Str "in",Space,Str "the",Space,Str "poem,",Space,Str "uniting",Space,Str "all",Space,Str "the",Space,Str "rest.",Space,Str "Just",SoftBreak,Str "as",Space,Str "the",Space,Str "one-eyed",Space,Str "merchant,",Space,Str "seller",Space,Str "of",Space,Str "currants,",Space,Str "melts",Space,Str "into",Space,Str "the",Space,Str "Phoenician",SoftBreak,Str "Sailor,",Space,Str "and",Space,Str "the",Space,Str "latter",Space,Str "is",Space,Str "not",Space,Str "wholly",Space,Str "distinct",Space,Str "from",Space,Str "Ferdinand",Space,Str "Prince",Space,Str "of",SoftBreak,Str "Naples,",Space,Str "so",Space,Str "all",Space,Str "the",Space,Str "women",Space,Str "are",Space,Str "one",Space,Str "woman,",Space,Str "and",Space,Str "the",Space,Str "two",Space,Str "sexes",Space,Str "meet",Space,Str "in",SoftBreak,Str "Tiresias.",Space,Str "What",Space,Str "Tiresias",Space,Str "sees,",Space,Str "in",Space,Str "fact,",Space,Str "is",Space,Str "the",Space,Str "substance",Space,Str "of",Space,Str "the",Space,Str "poem.",Space,Str "The",SoftBreak,Str "whole",Space,Str "passage",Space,Str "from",Space,Str "Ovid",Space,Str "is",Space,Str "of",Space,Str "great",Space,Str "anthropological",Space,Str "interest:"],BlockQuote [Para [Str "'.",Space,Str ".",Space,Str ".",Space,Str "Cum",Space,Str "Iunone",Space,Str "iocos",Space,Str "et",Space,Str "maior",Space,Str "vestra",Space,Str "profecto",Space,Str "est",LineBreak,Str "Quam,",Space,Str "quae",SoftBreak,Str "contingit",Space,Str "maribus,'",Space,Str "dixisse,",Space,Str "'voluptas.'",LineBreak,Str "Illa",Space,Str "negat;",Space,Str "placuit",SoftBreak,Str "quae",Space,Str "sit",Space,Str "sententia",Space,Str "docti",LineBreak,Str "Quaerere",Space,Str "Tiresiae:",Space,Str "venus",Space,Str "huic",Space,Str "erat",SoftBreak,Str "utraque",Space,Str "nota.",LineBreak,Str "Nam",Space,Str "duo",Space,Str "magnorum",Space,Str "viridi",Space,Str "coeuntia",Space,Str "silva",LineBreak,Str "Corpora",Space,Str "serpentum",Space,Str "baculi",Space,Str "violaverat",Space,Str "ictu",LineBreak,Str "Deque",Space,Str "viro",Space,Str "factus,",SoftBreak,Str "mirabile,",Space,Str "femina",Space,Str "septem",LineBreak,Str "Egerat",Space,Str "autumnos;",Space,Str "octavo",Space,Str "rursus",SoftBreak,Str "eosdem",LineBreak,Str "Vidit",Space,Str "et",Space,Str "'est",Space,Str "vestrae",Space,Str "si",Space,Str "tanta",Space,Str "potentia",Space,Str "plagae,'",LineBreak,Str "Dixit",Space,Str "'ut",Space,Str "auctoris",Space,Str "sortem",Space,Str "in",Space,Str "contraria",Space,Str "mutet,",LineBreak,Str "Nunc",Space,Str "quoque",Space,Str "vos",SoftBreak,Str "feriam!'",Space,Str "percussis",Space,Str "anguibus",Space,Str "isdem",LineBreak,Str "Forma",Space,Str "prior",Space,Str "rediit",SoftBreak,Str "genetivaque",Space,Str "venit",Space,Str "imago.",LineBreak,Str "Arbiter",Space,Str "hic",Space,Str "igitur",Space,Str "sumptus",Space,Str "de",Space,Str "lite",SoftBreak,Str "iocosa",LineBreak,Str "Dicta",Space,Str "Iovis",Space,Str "firmat;",Space,Str "gravius",Space,Str "Saturnia",Space,Str "iusto",LineBreak,Str "Nec",SoftBreak,Str "pro",Space,Str "materia",Space,Str "fertur",Space,Str "doluisse",Space,Str "suique",LineBreak,Str "Iudicis",Space,Str "aeterna",Space,Str "damnavit",SoftBreak,Str "lumina",Space,Str "nocte,",LineBreak,Str "At",Space,Str "pater",Space,Str "omnipotens",Space,Str "(neque",Space,Str "enim",Space,Str "licet",Space,Str "inrita",SoftBreak,Str "cuiquam",LineBreak,Str "Facta",Space,Str "dei",Space,Str "fecisse",Space,Str "deo)",Space,Str "pro",Space,Str "lumine",Space,Str "adempto",LineBreak,Str "Scire",SoftBreak,Str "futura",Space,Str "dedit",Space,Str "poenamque",Space,Str "levavit",Space,Str "honore.",LineBreak]]]]]
- ,Div ("",[],[])
- [Plain [Str "Old",Space,Str "man",Space,Str "with",Space,Str "wrinkled",Space,Str "female",Space,Str "breasts,",Space,Str "can",Space,Str "see"]]
- ,Div ("",[],[])
- [Plain [Str "At",Space,Str "the",Space,Str "violet",Space,Str "hour,",Space,Str "the",Space,Str "evening",Space,Str "hour",Space,Str "that",Space,Str "strives",Span ("",["lnum"],[]) [Str "220"]]]
- ,Div ("wasteland-content.xhtml#ln221",[],[])
- [Plain [Str "Homeward,",Space,Str "and",Space,Str "brings",Space,Str "the",Space,Str "sailor",Space,Str "home",Space,Str "from",Space,Str "sea,",Note [Para [Link ("",[],[]) [Str "221."] ("#wasteland-content.xhtml#ln221",""),Space,Str "This",Space,Str "may",Space,Str "not",Space,Str "appear",Space,Str "as",Space,Str "exact",Space,Str "as",Space,Str "Sappho's",Space,Str "lines,",Space,Str "but",Space,Str "I",Space,Str "had",Space,Str "in",Space,Str "mind",SoftBreak,Str "the",Space,Str "\"longshore\"",Space,Str "or",Space,Str "\"dory\"",Space,Str "fisherman,",Space,Str "who",Space,Str "returns",Space,Str "at",Space,Str "nightfall."]]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "typist",Space,Str "home",Space,Str "at",Space,Str "teatime,",Space,Str "clears",Space,Str "her",Space,Str "breakfast,",Space,Str "lights"]]
- ,Div ("",[],[])
- [Plain [Str "Her",Space,Str "stove,",Space,Str "and",Space,Str "lays",Space,Str "out",Space,Str "food",Space,Str "in",Space,Str "tins."]]
- ,Div ("",[],[])
- [Plain [Str "Out",Space,Str "of",Space,Str "the",Space,Str "window",Space,Str "perilously",Space,Str "spread"]]
- ,Div ("",[],[])
- [Plain [Str "Her",Space,Str "drying",Space,Str "combinations",Space,Str "touched",Space,Str "by",Space,Str "the",Space,Str "sun's",Space,Str "last",Space,Str "rays,"]]
- ,Div ("",[],[])
- [Plain [Str "On",Space,Str "the",Space,Str "divan",Space,Str "are",Space,Str "piled",Space,Str "(at",Space,Str "night",Space,Str "her",Space,Str "bed)"]]
- ,Div ("",[],[])
- [Plain [Str "Stockings,",Space,Str "slippers,",Space,Str "camisoles,",Space,Str "and",Space,Str "stays."]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "Tiresias,",Space,Str "old",Space,Str "man",Space,Str "with",Space,Str "wrinkled",Space,Str "dugs"]]
- ,Div ("",[],[])
- [Plain [Str "Perceived",Space,Str "the",Space,Str "scene,",Space,Str "and",Space,Str "foretold",Space,Str "the",Space,Str "rest",Space,Str "-"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "too",Space,Str "awaited",Space,Str "the",Space,Str "expected",Space,Str "guest.",Span ("",["lnum"],[]) [Str "230"]]]
- ,Div ("",[],[])
- [Plain [Str "He,",Space,Str "the",Space,Str "young",Space,Str "man",Space,Str "carbuncular,",Space,Str "arrives,"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "small",Space,Str "house",Space,Str "agent's",Space,Str "clerk,",Space,Str "with",Space,Str "one",Space,Str "bold",Space,Str "stare,"]]
- ,Div ("",[],[])
- [Plain [Str "One",Space,Str "of",Space,Str "the",Space,Str "low",Space,Str "on",Space,Str "whom",Space,Str "assurance",Space,Str "sits"]]
- ,Div ("",[],[])
- [Plain [Str "As",Space,Str "a",Space,Str "silk",Space,Str "hat",Space,Str "on",Space,Str "a",Space,Str "Bradford",Space,Str "millionaire."]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "time",Space,Str "is",Space,Str "now",Space,Str "propitious,",Space,Str "as",Space,Str "he",Space,Str "guesses,"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "meal",Space,Str "is",Space,Str "ended,",Space,Str "she",Space,Str "is",Space,Str "bored",Space,Str "and",Space,Str "tired,"]]
- ,Div ("",[],[])
- [Plain [Str "Endeavours",Space,Str "to",Space,Str "engage",Space,Str "her",Space,Str "in",Space,Str "caresses"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "still",Space,Str "are",Space,Str "unreproved,",Space,Str "if",Space,Str "undesired."]]
- ,Div ("",[],[])
- [Plain [Str "Flushed",Space,Str "and",Space,Str "decided,",Space,Str "he",Space,Str "assaults",Space,Str "at",Space,Str "once;"]]
- ,Div ("",[],[])
- [Plain [Str "Exploring",Space,Str "hands",Space,Str "encounter",Space,Str "no",Space,Str "defence;",Span ("",["lnum"],[]) [Str "240"]]]
- ,Div ("",[],[])
- [Plain [Str "His",Space,Str "vanity",Space,Str "requires",Space,Str "no",Space,Str "response,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "makes",Space,Str "a",Space,Str "welcome",Space,Str "of",Space,Str "indifference."]]
- ,Div ("",[],[])
- [Plain [Str "(And",Space,Str "I",Space,Str "Tiresias",Space,Str "have",Space,Str "foresuffered",Space,Str "all"]]
- ,Div ("",[],[])
- [Plain [Str "Enacted",Space,Str "on",Space,Str "this",Space,Str "same",Space,Str "divan",Space,Str "or",Space,Str "bed;"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "who",Space,Str "have",Space,Str "sat",Space,Str "by",Space,Str "Thebes",Space,Str "below",Space,Str "the",Space,Str "wall"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "walked",Space,Str "among",Space,Str "the",Space,Str "lowest",Space,Str "of",Space,Str "the",Space,Str "dead.)"]]
- ,Div ("",[],[])
- [Plain [Str "Bestows",Space,Str "one",Space,Str "final",Space,Str "patronising",Space,Str "kiss,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "gropes",Space,Str "his",Space,Str "way,",Space,Str "finding",Space,Str "the",Space,Str "stairs",Space,Str "unlit",Space,Str ".",Space,Str ".",Space,Str "."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "She",Space,Str "turns",Space,Str "and",Space,Str "looks",Space,Str "a",Space,Str "moment",Space,Str "in",Space,Str "the",Space,Str "glass,"]]
- ,Div ("",[],[])
- [Plain [Str "Hardly",Space,Str "aware",Space,Str "of",Space,Str "her",Space,Str "departed",Space,Str "lover;",Span ("",["lnum"],[]) [Str "250"]]]
- ,Div ("",[],[])
- [Plain [Str "Her",Space,Str "brain",Space,Str "allows",Space,Str "one",Space,Str "half-formed",Space,Str "thought",Space,Str "to",Space,Str "pass:"]]
- ,Div ("",[],[])
- [Plain [Str "\"Well",Space,Str "now",Space,Str "that's",Space,Str "done:",Space,Str "and",Space,Str "I'm",Space,Str "glad",Space,Str "it's",Space,Str "over.\""]]
- ,Div ("wasteland-content.xhtml#ln253",[],[])
- [Plain [Str "When",Space,Str "lovely",Space,Str "woman",Space,Str "stoops",Space,Str "to",Space,Str "folly",Space,Str "and",Note [Para [Link ("",[],[]) [Str "253."] ("#wasteland-content.xhtml#ln253",""),Space,Str "V.",Space,Str "Goldsmith,",Space,Str "the",Space,Str "song",Space,Str "in",Space,Str "The",Space,Str "Vicar",Space,Str "of",Space,Str "Wakefield."]]]]
- ,Div ("",[],[])
- [Plain [Str "Paces",Space,Str "about",Space,Str "her",Space,Str "room",Space,Str "again,",Space,Str "alone,"]]
- ,Div ("",[],[])
- [Plain [Str "She",Space,Str "smoothes",Space,Str "her",Space,Str "hair",Space,Str "with",Space,Str "automatic",Space,Str "hand,"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "puts",Space,Str "a",Space,Str "record",Space,Str "on",Space,Str "the",Space,Str "gramophone."]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln257",[],[])
- [Plain [Str "\"This",Space,Str "music",Space,Str "crept",Space,Str "by",Space,Str "me",Space,Str "upon",Space,Str "the",Space,Str "waters\"",Note [Para [Link ("",[],[]) [Str "257."] ("#wasteland-content.xhtml#ln257",""),Space,Str "V.",Space,Str "The",Space,Str "Tempest,",Space,Str "as",Space,Str "above."]]]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "along",Space,Str "the",Space,Str "Strand,",Space,Str "up",Space,Str "Queen",Space,Str "Victoria",Space,Str "Street."]]
- ,Div ("",[],[])
- [Plain [Str "O",Space,Str "City",Space,Str "city,",Space,Str "I",Space,Str "can",Space,Str "sometimes",Space,Str "hear"]]
- ,Div ("",[],[])
- [Plain [Str "Beside",Space,Str "a",Space,Str "public",Space,Str "bar",Space,Str "in",Space,Str "Lower",Space,Str "Thames",Space,Str "Street,",Span ("",["lnum"],[]) [Str "260"]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "pleasant",Space,Str "whining",Space,Str "of",Space,Str "a",Space,Str "mandoline"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "a",Space,Str "clatter",Space,Str "and",Space,Str "a",Space,Str "chatter",Space,Str "from",Space,Str "within"]]
- ,Div ("",[],[])
- [Plain [Str "Where",Space,Str "fishmen",Space,Str "lounge",Space,Str "at",Space,Str "noon:",Space,Str "where",Space,Str "the",Space,Str "walls"]]
- ,Div ("wasteland-content.xhtml#ln264",[],[])
- [Plain [Str "Of",Space,Str "Magnus",Space,Str "Martyr",Space,Str "hold",Note [Para [Link ("",[],[]) [Str "264."] ("#wasteland-content.xhtml#ln264",""),Space,Str "The",Space,Str "interior",Space,Str "of",Space,Str "St.",Space,Str "Magnus",Space,Str "Martyr",Space,Str "is",Space,Str "to",Space,Str "my",Space,Str "mind",Space,Str "one",Space,Str "of",Space,Str "the",Space,Str "finest",SoftBreak,Str "among",Space,Str "Wren's",Space,Str "interiors.",Space,Str "See",Space,Str "The",Space,Str "Proposed",Space,Str "Demolition",Space,Str "of",Space,Str "Nineteen",Space,Str "City",SoftBreak,Str "Churches",Space,Str "(P.",Space,Str "S.",Space,Str "King",Space,Str "&",Space,Str "Son,",Space,Str "Ltd.)."]]]]
- ,Div ("",[],[])
- [Plain [Str "Inexplicable",Space,Str "splendour",Space,Str "of",Space,Str "Ionian",Space,Str "white",Space,Str "and",Space,Str "gold."]]]
- ,Div ("",["linegroup","indent"],[])
- [Div ("wasteland-content.xhtml#ln266",[],[])
- [Plain [Str "The",Space,Str "river",Space,Str "sweats",Note [Para [Link ("",[],[]) [Str "266."] ("#wasteland-content.xhtml#ln266",""),Space,Str "The",Space,Str "Song",Space,Str "of",Space,Str "the",Space,Str "(three)",Space,Str "Thames-daughters",Space,Str "begins",Space,Str "here.",Space,Str "From",Space,Str "line",Space,Str "292",SoftBreak,Str "to",Space,Str "306",Space,Str "inclusive",Space,Str "they",Space,Str "speak",Space,Str "in",Space,Str "turn.",Space,Str "V.",Space,Str "Gutterdsammerung,",Space,Str "III.",Space,Str "i:",Space,Str "the",SoftBreak,Str "Rhine-daughters."]]]]
- ,Div ("",[],[])
- [Plain [Str "Oil",Space,Str "and",Space,Str "tar"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "barges",Space,Str "drift"]]
- ,Div ("",[],[])
- [Plain [Str "With",Space,Str "the",Space,Str "turning",Space,Str "tide"]]
- ,Div ("",[],[])
- [Plain [Str "Red",Space,Str "sails",Span ("",["lnum"],[]) [Str "270"]]]
- ,Div ("",[],[])
- [Plain [Str "Wide"]]
- ,Div ("",[],[])
- [Plain [Str "To",Space,Str "leeward,",Space,Str "swing",Space,Str "on",Space,Str "the",Space,Str "heavy",Space,Str "spar."]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "barges",Space,Str "wash"]]
- ,Div ("",[],[])
- [Plain [Str "Drifting",Space,Str "logs"]]
- ,Div ("",[],[])
- [Plain [Str "Down",Space,Str "Greenwich",Space,Str "reach"]]
- ,Div ("",[],[])
- [Plain [Str "Past",Space,Str "the",Space,Str "Isle",Space,Str "of",Space,Str "Dogs."]]
- ,Div ("",["indent"],[])
- [Plain [Str "Weialala",Space,Str "leia"]]
- ,Div ("",["indent"],[])
- [Plain [Str "Wallala",Space,Str "leialala"]]]
- ,Div ("",["linegroup","indent"],[])
- [Div ("wasteland-content.xhtml#ln279",[],[])
- [Plain [Str "Elizabeth",Space,Str "and",Space,Str "Leicester",Note [Para [Link ("",[],[]) [Str "279."] ("#wasteland-content.xhtml#ln279",""),Space,Str "V.",Space,Str "Froude,",Space,Str "Elizabeth,",Space,Str "Vol.",Space,Str "I,",Space,Str "ch.",Space,Str "iv,",Space,Str "letter",Space,Str "of",Space,Str "De",Space,Str "Quadra",Space,Str "to",Space,Str "Philip",SoftBreak,Str "of",Space,Str "Spain:"],BlockQuote [Div ("",[],[]) [Div ("",[],[]) [Plain [Str "\"In",Space,Str "the",Space,Str "afternoon",Space,Str "we",Space,Str "were",Space,Str "in",Space,Str "a",Space,Str "barge,",Space,Str "watching",Space,Str "the",SoftBreak,Str "games",Space,Str "on",Space,Str "the",Space,Str "river."]],Div ("",[],[]) [Plain [Str "(The",Space,Str "queen)",Space,Str "was",Space,Str "alone",Space,Str "with",Space,Str "Lord",Space,Str "Robert",Space,Str "and",Space,Str "myself",SoftBreak,Str "on",Space,Str "the",Space,Str "poop,"]],Div ("",[],[]) [Plain [Str "when",Space,Str "they",Space,Str "began",Space,Str "to",Space,Str "talk",Space,Str "nonsense,",Space,Str "and",Space,Str "went",Space,Str "so",Space,Str "far",SoftBreak,Str "that",Space,Str "Lord",Space,Str "Robert"]],Div ("",[],[]) [Plain [Str "at",Space,Str "last",Space,Str "said,",Space,Str "as",Space,Str "I",Space,Str "was",Space,Str "on",Space,Str "the",Space,Str "spot",Space,Str "there",Space,Str "was",Space,Str "no",SoftBreak,Str "reason",Space,Str "why",Space,Str "they"]],Div ("",[],[]) [Plain [Str "should",Space,Str "not",Space,Str "be",Space,Str "married",Space,Str "if",Space,Str "the",Space,Str "queen",Space,Str "pleased.\""]]]]]]]
- ,Div ("",[],[])
- [Plain [Str "Beating",Space,Str "oars",Span ("",["lnum"],[]) [Str "280"]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "stern",Space,Str "was",Space,Str "formed"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "gilded",Space,Str "shell"]]
- ,Div ("",[],[])
- [Plain [Str "Red",Space,Str "and",Space,Str "gold"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "brisk",Space,Str "swell"]]
- ,Div ("",[],[])
- [Plain [Str "Rippled",Space,Str "both",Space,Str "shores"]]
- ,Div ("",[],[])
- [Plain [Str "Southwest",Space,Str "wind"]]
- ,Div ("",[],[])
- [Plain [Str "Carried",Space,Str "down",Space,Str "stream"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "peal",Space,Str "of",Space,Str "bells"]]
- ,Div ("",[],[])
- [Plain [Str "White",Space,Str "towers"]]
- ,Div ("",["indent"],[])
- [Plain [Str "Weialala",Space,Str "leia",Span ("",["lnum"],[]) [Str "290"]]]
- ,Div ("",["indent"],[])
- [Plain [Str "Wallala",Space,Str "leialala"]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "\"Trams",Space,Str "and",Space,Str "dusty",Space,Str "trees."]]
- ,Div ("wasteland-content.xhtml#ln293",[],[])
- [Plain [Str "Highbury",Space,Str "bore",Space,Str "me.",Space,Str "Richmond",Space,Str "and",Space,Str "Kew",Note [Para [Link ("",[],[]) [Str "293."] ("#wasteland-content.xhtml#ln293",""),Space,Str "Cf.",Space,Str "Purgatorio,",Space,Str "v.",Space,Str "133:"],BlockQuote [Para [Str "\"Ricorditi",Space,Str "di",Space,Str "me,",Space,Str "che",Space,Str "son",Space,Str "la",Space,Str "Pia;",LineBreak,Str "Siena",Space,Str "mi",Space,Str "fe',",Space,Str "disfecemi",SoftBreak,Str "Maremma.\""]]]]]
- ,Div ("",[],[])
- [Plain [Str "Undid",Space,Str "me.",Space,Str "By",Space,Str "Richmond",Space,Str "I",Space,Str "raised",Space,Str "my",Space,Str "knees"]]
- ,Div ("",[],[])
- [Plain [Str "Supine",Space,Str "on",Space,Str "the",Space,Str "floor",Space,Str "of",Space,Str "a",Space,Str "narrow",Space,Str "canoe.\""]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "\"My",Space,Str "feet",Space,Str "are",Space,Str "at",Space,Str "Moorgate,",Space,Str "and",Space,Str "my",Space,Str "heart"]]
- ,Div ("",[],[])
- [Plain [Str "Under",Space,Str "my",Space,Str "feet.",Space,Str "After",Space,Str "the",Space,Str "event"]]
- ,Div ("",[],[])
- [Plain [Str "He",Space,Str "wept.",Space,Str "He",Space,Str "promised",Space,Str "'a",Space,Str "new",Space,Str "start'."]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "made",Space,Str "no",Space,Str "comment.",Space,Str "What",Space,Str "should",Space,Str "I",Space,Str "resent?\""]]
- ,Div ("",[],[])
- [Plain [Str "\"On",Space,Str "Margate",Space,Str "Sands.",Span ("",["lnum"],[]) [Str "300"]]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "can",Space,Str "connect"]]
- ,Div ("",[],[])
- [Plain [Str "Nothing",Space,Str "with",Space,Str "nothing."]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "broken",Space,Str "fingernails",Space,Str "of",Space,Str "dirty",Space,Str "hands."]]
- ,Div ("",[],[])
- [Plain [Str "My",Space,Str "people",Space,Str "humble",Space,Str "people",Space,Str "who",Space,Str "expect"]]
- ,Div ("",[],[])
- [Plain [Str "Nothing.\""]]
- ,Div ("",["indent"],[])
- [Plain [Str "la",Space,Str "la"]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln307",[],[])
- [Plain [Str "To",Space,Str "Carthage",Space,Str "then",Space,Str "I",Space,Str "came",Note [Para [Link ("",[],[]) [Str "307."] ("#wasteland-content.xhtml#ln307",""),Space,Str "V.",Space,Str "St.",Space,Str "Augustine's",Space,Str "Confessions:",Space,Str "\"to",Space,Str "Carthage",Space,Str "then",Space,Str "I",Space,Str "came,",Space,Str "where",Space,Str "a",SoftBreak,Str "cauldron",Space,Str "of",Space,Str "unholy",Space,Str "loves",Space,Str "sang",Space,Str "all",Space,Str "about",Space,Str "mine",Space,Str "ears.\""]]]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln308",[],[])
- [Plain [Str "Burning",Space,Str "burning",Space,Str "burning",Space,Str "burning",Note [Para [Link ("",[],[]) [Str "308."] ("#wasteland-content.xhtml#ln308",""),Space,Str "The",Space,Str "complete",Space,Str "text",Space,Str "of",Space,Str "the",Space,Str "Buddha's",Space,Str "Fire",Space,Str "Sermon",Space,Str "(which",Space,Str "corresponds",Space,Str "in",SoftBreak,Str "importance",Space,Str "to",Space,Str "the",Space,Str "Sermon",Space,Str "on",Space,Str "the",Space,Str "Mount)",Space,Str "from",Space,Str "which",Space,Str "these",Space,Str "words",Space,Str "are",Space,Str "taken,",SoftBreak,Str "will",Space,Str "be",Space,Str "found",Space,Str "translated",Space,Str "in",Space,Str "the",Space,Str "late",Space,Str "Henry",Space,Str "Clarke",Space,Str "Warren's",Space,Str "Buddhism",Space,Str "in",SoftBreak,Str "Translation",Space,Str "(Harvard",Space,Str "Oriental",Space,Str "Series).",Space,Str "Mr.",Space,Str "Warren",Space,Str "was",Space,Str "one",Space,Str "of",Space,Str "the",Space,Str "great",SoftBreak,Str "pioneers",Space,Str "of",Space,Str "Buddhist",Space,Str "studies",Space,Str "in",Space,Str "the",Space,Str "Occident."]]]]
- ,Div ("wasteland-content.xhtml#ln309",[],[])
- [Plain [Str "O",Space,Str "Lord",Space,Str "Thou",Space,Str "pluckest",Space,Str "me",Space,Str "out",Note [Para [Link ("",[],[]) [Str "309."] ("#wasteland-content.xhtml#ln309",""),Space,Str "From",Space,Str "St.",Space,Str "Augustine's",Space,Str "Confessions",Space,Str "again.",Space,Str "The",Space,Str "collocation",Space,Str "of",Space,Str "these",Space,Str "two",SoftBreak,Str "representatives",Space,Str "of",Space,Str "eastern",Space,Str "and",Space,Str "western",Space,Str "asceticism,",Space,Str "as",Space,Str "the",Space,Str "culmination",Space,Str "of",SoftBreak,Str "this",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "poem,",Space,Str "is",Space,Str "not",Space,Str "an",Space,Str "accident."]]]]
- ,Div ("",[],[])
- [Plain [Str "O",Space,Str "Lord",Space,Str "Thou",Space,Str "pluckest",Span ("",["lnum"],[]) [Str "310"]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "burning"]]]]
- ,Div ("wasteland-content.xhtml#ch4",["section"],[])
- [Header 2 ("",[],[]) [Str "IV.",Space,Str "DEATH",Space,Str "BY",Space,Str "WATER"]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Phlebas",Space,Str "the",Space,Str "Phoenician,",Space,Str "a",Space,Str "fortnight",Space,Str "dead,"]]
- ,Div ("",[],[])
- [Plain [Str "Forgot",Space,Str "the",Space,Str "cry",Space,Str "of",Space,Str "gulls,",Space,Str "and",Space,Str "the",Space,Str "deep",Space,Str "sea",Space,Str "swell"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "the",Space,Str "profit",Space,Str "and",Space,Str "loss."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",["indent2"],[])
- [Plain [Str "A",Space,Str "current",Space,Str "under",Space,Str "sea"]]
- ,Div ("",[],[])
- [Plain [Str "Picked",Space,Str "his",Space,Str "bones",Space,Str "in",Space,Str "whispers.",Space,Str "As",Space,Str "he",Space,Str "rose",Space,Str "and",Space,Str "fell"]]
- ,Div ("",[],[])
- [Plain [Str "He",Space,Str "passed",Space,Str "the",Space,Str "stages",Space,Str "of",Space,Str "his",Space,Str "age",Space,Str "and",Space,Str "youth"]]
- ,Div ("",[],[])
- [Plain [Str "Entering",Space,Str "the",Space,Str "whirlpool."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",["indent2"],[])
- [Plain [Str "Gentile",Space,Str "or",Space,Str "Jew"]]
- ,Div ("",[],[])
- [Plain [Str "O",Space,Str "you",Space,Str "who",Space,Str "turn",Space,Str "the",Space,Str "wheel",Space,Str "and",Space,Str "look",Space,Str "to",Space,Str "windward,",Span ("",["lnum"],[]) [Str "320"]]]
- ,Div ("",[],[])
- [Plain [Str "Consider",Space,Str "Phlebas,",Space,Str "who",Space,Str "was",Space,Str "once",Space,Str "handsome",Space,Str "and",Space,Str "tall",Space,Str "as",Space,Str "you."]]]]
- ,Div ("wasteland-content.xhtml#ch5",["section"],[])
- [Header 2 ("",[],[]) [Str "V.",Space,Str "WHAT",Space,Str "THE",Space,Str "THUNDER",Space,Str "SAID"]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "After",Space,Str "the",Space,Str "torchlight",Space,Str "red",Space,Str "on",Space,Str "sweaty",Space,Str "faces"]]
- ,Div ("",[],[])
- [Plain [Str "After",Space,Str "the",Space,Str "frosty",Space,Str "silence",Space,Str "in",Space,Str "the",Space,Str "gardens"]]
- ,Div ("",[],[])
- [Plain [Str "After",Space,Str "the",Space,Str "agony",Space,Str "in",Space,Str "stony",Space,Str "places"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "shouting",Space,Str "and",Space,Str "the",Space,Str "crying"]]
- ,Div ("",[],[])
- [Plain [Str "Prison",Space,Str "and",Space,Str "palace",Space,Str "and",Space,Str "reverberation"]]
- ,Div ("",[],[])
- [Plain [Str "Of",Space,Str "thunder",Space,Str "of",Space,Str "spring",Space,Str "over",Space,Str "distant",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "He",Space,Str "who",Space,Str "was",Space,Str "living",Space,Str "is",Space,Str "now",Space,Str "dead"]]
- ,Div ("",[],[])
- [Plain [Str "We",Space,Str "who",Space,Str "were",Space,Str "living",Space,Str "are",Space,Str "now",Space,Str "dying"]]
- ,Div ("",[],[])
- [Plain [Str "With",Space,Str "a",Space,Str "little",Space,Str "patience",Span ("",["lnum"],[]) [Str "330"]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Here",Space,Str "is",Space,Str "no",Space,Str "water",Space,Str "but",Space,Str "only",Space,Str "rock"]]
- ,Div ("",[],[])
- [Plain [Str "Rock",Space,Str "and",Space,Str "no",Space,Str "water",Space,Str "and",Space,Str "the",Space,Str "sandy",Space,Str "road"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "road",Space,Str "winding",Space,Str "above",Space,Str "among",Space,Str "the",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "are",Space,Str "mountains",Space,Str "of",Space,Str "rock",Space,Str "without",Space,Str "water"]]
- ,Div ("",[],[])
- [Plain [Str "If",Space,Str "there",Space,Str "were",Space,Str "water",Space,Str "we",Space,Str "should",Space,Str "stop",Space,Str "and",Space,Str "drink"]]
- ,Div ("",[],[])
- [Plain [Str "Amongst",Space,Str "the",Space,Str "rock",Space,Str "one",Space,Str "cannot",Space,Str "stop",Space,Str "or",Space,Str "think"]]
- ,Div ("",[],[])
- [Plain [Str "Sweat",Space,Str "is",Space,Str "dry",Space,Str "and",Space,Str "feet",Space,Str "are",Space,Str "in",Space,Str "the",Space,Str "sand"]]
- ,Div ("",[],[])
- [Plain [Str "If",Space,Str "there",Space,Str "were",Space,Str "only",Space,Str "water",Space,Str "amongst",Space,Str "the",Space,Str "rock"]]
- ,Div ("",[],[])
- [Plain [Str "Dead",Space,Str "mountain",Space,Str "mouth",Space,Str "of",Space,Str "carious",Space,Str "teeth",Space,Str "that",Space,Str "cannot",Space,Str "spit"]]
- ,Div ("",[],[])
- [Plain [Str "Here",Space,Str "one",Space,Str "can",Space,Str "neither",Space,Str "stand",Space,Str "nor",Space,Str "lie",Space,Str "nor",Space,Str "sit",Span ("",["lnum"],[]) [Str "340"]]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "is",Space,Str "not",Space,Str "even",Space,Str "silence",Space,Str "in",Space,Str "the",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "dry",Space,Str "sterile",Space,Str "thunder",Space,Str "without",Space,Str "rain"]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "is",Space,Str "not",Space,Str "even",Space,Str "solitude",Space,Str "in",Space,Str "the",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "red",Space,Str "sullen",Space,Str "faces",Space,Str "sneer",Space,Str "and",Space,Str "snarl"]]
- ,Div ("",[],[])
- [Plain [Str "From",Space,Str "doors",Space,Str "of",Space,Str "mudcracked",Space,Str "houses"]]
- ,Div ("",["linegroup"],[])
- [Div ("",["indent2"],[])
- [Plain [Str "If",Space,Str "there",Space,Str "were",Space,Str "water"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "no",Space,Str "rock"]]
- ,Div ("",[],[])
- [Plain [Str "If",Space,Str "there",Space,Str "were",Space,Str "rock"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "also",Space,Str "water"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "water",Span ("",["lnum"],[]) [Str "350"]]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "spring"]]
- ,Div ("",[],[])
- [Plain [Str "A",Space,Str "pool",Space,Str "among",Space,Str "the",Space,Str "rock"]]
- ,Div ("",[],[])
- [Plain [Str "If",Space,Str "there",Space,Str "were",Space,Str "the",Space,Str "sound",Space,Str "of",Space,Str "water",Space,Str "only"]]
- ,Div ("",[],[])
- [Plain [Str "Not",Space,Str "the",Space,Str "cicada"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "dry",Space,Str "grass",Space,Str "singing"]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "sound",Space,Str "of",Space,Str "water",Space,Str "over",Space,Str "a",Space,Str "rock"]]
- ,Div ("wasteland-content.xhtml#ln357",[],[])
- [Plain [Str "Where",Space,Str "the",Space,Str "hermit-thrush",Space,Str "sings",Space,Str "in",Space,Str "the",Space,Str "pine",Space,Str "trees",Note [Para [Link ("",[],[]) [Str "357."] ("#wasteland-content.xhtml#ln357",""),Space,Str "This",Space,Str "is",Space,Str "Turdus",Space,Str "aonalaschkae",Space,Str "pallasii,",Space,Str "the",Space,Str "hermit-thrush",Space,Str "which",Space,Str "I",Space,Str "have",SoftBreak,Str "heard",Space,Str "in",Space,Str "Quebec",Space,Str "County.",Space,Str "Chapman",Space,Str "says",Space,Str "(Handbook",Space,Str "of",Space,Str "Birds",Space,Str "of",Space,Str "Eastern",Space,Str "North",SoftBreak,Str "America)",Space,Str "\"it",Space,Str "is",Space,Str "most",Space,Str "at",Space,Str "home",Space,Str "in",Space,Str "secluded",Space,Str "woodland",Space,Str "and",Space,Str "thickety",Space,Str "retreats.",SoftBreak,Str ".",Space,Str ".",Space,Str ".",Space,Str "Its",Space,Str "notes",Space,Str "are",Space,Str "not",Space,Str "remarkable",Space,Str "for",Space,Str "variety",Space,Str "or",Space,Str "volume,",Space,Str "but",Space,Str "in",Space,Str "purity",SoftBreak,Str "and",Space,Str "sweetness",Space,Str "of",Space,Str "tone",Space,Str "and",Space,Str "exquisite",Space,Str "modulation",Space,Str "they",Space,Str "are",Space,Str "unequalled.\"",Space,Str "Its",SoftBreak,Str "\"water-dripping",Space,Str "song\"",Space,Str "is",Space,Str "justly",Space,Str "celebrated."]]]]
- ,Div ("",[],[])
- [Plain [Str "Drip",Space,Str "drop",Space,Str "drip",Space,Str "drop",Space,Str "drop",Space,Str "drop",Space,Str "drop"]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "there",Space,Str "is",Space,Str "no",Space,Str "water"]]]]
- ,Div ("",["linegroup"],[])
- [Div ("wasteland-content.xhtml#ln360",[],[])
- [Plain [Str "Who",Space,Str "is",Space,Str "the",Space,Str "third",Space,Str "who",Space,Str "walks",Space,Str "always",Space,Str "beside",Space,Str "you?",Note [Para [Link ("",[],[]) [Str "360."] ("#wasteland-content.xhtml#ln360",""),Space,Str "The",Space,Str "following",Space,Str "lines",Space,Str "were",Space,Str "stimulated",Space,Str "by",Space,Str "the",Space,Str "account",Space,Str "of",Space,Str "one",Space,Str "of",Space,Str "the",SoftBreak,Str "Antarctic",Space,Str "expeditions",Space,Str "(I",Space,Str "forget",Space,Str "which,",Space,Str "but",Space,Str "I",Space,Str "think",Space,Str "one",Space,Str "of",Space,Str "Shackleton's):",SoftBreak,Str "it",Space,Str "was",Space,Str "related",Space,Str "that",Space,Str "the",Space,Str "party",Space,Str "of",Space,Str "explorers,",Space,Str "at",Space,Str "the",Space,Str "extremity",Space,Str "of",Space,Str "their",SoftBreak,Str "strength,",Space,Str "had",Space,Str "the",Space,Str "constant",Space,Str "delusion",Space,Str "that",Space,Str "there",Space,Str "was",Space,Str "one",Space,Str "more",Space,Str "member",Space,Str "than",SoftBreak,Str "could",Space,Str "actually",Space,Str "be",Space,Str "counted."]],SoftBreak,Span ("",["lnum"],[]) [Str "360"]]]
- ,Div ("",[],[])
- [Plain [Str "When",Space,Str "I",Space,Str "count,",Space,Str "there",Space,Str "are",Space,Str "only",Space,Str "you",Space,Str "and",Space,Str "I",Space,Str "together"]]
- ,Div ("",[],[])
- [Plain [Str "But",Space,Str "when",Space,Str "I",Space,Str "look",Space,Str "ahead",Space,Str "up",Space,Str "the",Space,Str "white",Space,Str "road"]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "is",Space,Str "always",Space,Str "another",Space,Str "one",Space,Str "walking",Space,Str "beside",Space,Str "you"]]
- ,Div ("",[],[])
- [Plain [Str "Gliding",Space,Str "wrapt",Space,Str "in",Space,Str "a",Space,Str "brown",Space,Str "mantle,",Space,Str "hooded"]]
- ,Div ("",[],[])
- [Plain [Str "I",Space,Str "do",Space,Str "not",Space,Str "know",Space,Str "whether",Space,Str "a",Space,Str "man",Space,Str "or",Space,Str "a",Space,Str "woman"]]
- ,Div ("wasteland-content.xhtml#ln367",[],[])
- [Plain [Str "\8213But",Space,Str "who",Space,Str "is",Space,Str "that",Space,Str "on",Space,Str "the",Space,Str "other",Space,Str "side",Space,Str "of",Space,Str "you?",Note [Para [Link ("",[],[]) [Str "367-77."] ("#wasteland-content.xhtml#ln367",""),Space,Str "Cf.",Space,Str "Hermann",Space,Str "Hesse,",Space,Str "Blick",Space,Str "ins",Space,Str "Chaos:"],BlockQuote [Para [Str "\"Schon",Space,Str "ist",Space,Str "halb",Space,Str "Europa,",Space,Str "schon",Space,Str "ist",Space,Str "zumindest",Space,Str "der",Space,Str "halbe",Space,Str "Osten",Space,Str "Europas",SoftBreak,Str "auf",Space,Str "dem",LineBreak,Str "Wege",Space,Str "zum",Space,Str "Chaos,",Space,Str "fhrt",Space,Str "betrunken",Space,Str "im",Space,Str "heiligem",Space,Str "Wahn",Space,Str "am",SoftBreak,Str "Abgrund",Space,Str "entlang",LineBreak,Str "und",Space,Str "singt",Space,Str "dazu,",Space,Str "singt",Space,Str "betrunken",Space,Str "und",Space,Str "hymnisch",SoftBreak,Str "wie",Space,Str "Dmitri",Space,Str "Karamasoff",Space,Str "sang.",LineBreak,Str "Ueber",Space,Str "diese",Space,Str "Lieder",Space,Str "lacht",Space,Str "der",SoftBreak,Str "Bsrger",Space,Str "beleidigt,",Space,Str "der",Space,Str "Heilige",LineBreak,Str "und",Space,Str "Seher",Space,Str "hrt",Space,Str "sie",Space,Str "mit",SoftBreak,Str "Trvnen.\""]]]]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "What",Space,Str "is",Space,Str "that",Space,Str "sound",Space,Str "high",Space,Str "in",Space,Str "the",Space,Str "air"]]
- ,Div ("",[],[])
- [Plain [Str "Murmur",Space,Str "of",Space,Str "maternal",Space,Str "lamentation"]]
- ,Div ("",[],[])
- [Plain [Str "Who",Space,Str "are",Space,Str "those",Space,Str "hooded",Space,Str "hordes",Space,Str "swarming"]]
- ,Div ("",[],[])
- [Plain [Str "Over",Space,Str "endless",Space,Str "plains,",Space,Str "stumbling",Space,Str "in",Space,Str "cracked",Space,Str "earth",Span ("",["lnum"],[]) [Str "370"]]]
- ,Div ("",[],[])
- [Plain [Str "Ringed",Space,Str "by",Space,Str "the",Space,Str "flat",Space,Str "horizon",Space,Str "only"]]
- ,Div ("",[],[])
- [Plain [Str "What",Space,Str "is",Space,Str "the",Space,Str "city",Space,Str "over",Space,Str "the",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "Cracks",Space,Str "and",Space,Str "reforms",Space,Str "and",Space,Str "bursts",Space,Str "in",Space,Str "the",Space,Str "violet",Space,Str "air"]]
- ,Div ("",[],[])
- [Plain [Str "Falling",Space,Str "towers"]]
- ,Div ("",[],[])
- [Plain [Str "Jerusalem",Space,Str "Athens",Space,Str "Alexandria"]]
- ,Div ("",[],[])
- [Plain [Str "Vienna",Space,Str "London"]]
- ,Div ("",[],[])
- [Plain [Str "Unreal"]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "A",Space,Str "woman",Space,Str "drew",Space,Str "her",Space,Str "long",Space,Str "black",Space,Str "hair",Space,Str "out",Space,Str "tight"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "fiddled",Space,Str "whisper",Space,Str "music",Space,Str "on",Space,Str "those",Space,Str "strings"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "bats",Space,Str "with",Space,Str "baby",Space,Str "faces",Space,Str "in",Space,Str "the",Space,Str "violet",Space,Str "light",Span ("",["lnum"],[]) [Str "380"]]]
- ,Div ("",[],[])
- [Plain [Str "Whistled,",Space,Str "and",Space,Str "beat",Space,Str "their",Space,Str "wings"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "crawled",Space,Str "head",Space,Str "downward",Space,Str "down",Space,Str "a",Space,Str "blackened",Space,Str "wall"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "upside",Space,Str "down",Space,Str "in",Space,Str "air",Space,Str "were",Space,Str "towers"]]
- ,Div ("",[],[])
- [Plain [Str "Tolling",Space,Str "reminiscent",Space,Str "bells,",Space,Str "that",Space,Str "kept",Space,Str "the",Space,Str "hours"]]
- ,Div ("",[],[])
- [Plain [Str "And",Space,Str "voices",Space,Str "singing",Space,Str "out",Space,Str "of",Space,Str "empty",Space,Str "cisterns",Space,Str "and",Space,Str "exhausted",SoftBreak,Str "wells."]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "In",Space,Str "this",Space,Str "decayed",Space,Str "hole",Space,Str "among",Space,Str "the",Space,Str "mountains"]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "the",Space,Str "faint",Space,Str "moonlight,",Space,Str "the",Space,Str "grass",Space,Str "is",Space,Str "singing"]]
- ,Div ("",[],[])
- [Plain [Str "Over",Space,Str "the",Space,Str "tumbled",Space,Str "graves,",Space,Str "about",Space,Str "the",Space,Str "chapel"]]
- ,Div ("",[],[])
- [Plain [Str "There",Space,Str "is",Space,Str "the",Space,Str "empty",Space,Str "chapel,",Space,Str "only",Space,Str "the",Space,Str "wind's",Space,Str "home."]]
- ,Div ("",[],[])
- [Plain [Str "It",Space,Str "has",Space,Str "no",Space,Str "windows,",Space,Str "and",Space,Str "the",Space,Str "door",Space,Str "swings,",Span ("",["lnum"],[]) [Str "390"]]]
- ,Div ("",[],[])
- [Plain [Str "Dry",Space,Str "bones",Space,Str "can",Space,Str "harm",Space,Str "no",Space,Str "one."]]
- ,Div ("",[],[])
- [Plain [Str "Only",Space,Str "a",Space,Str "cock",Space,Str "stood",Space,Str "on",Space,Str "the",Space,Str "rooftree"]]
- ,Div ("",[],[])
- [Plain [Str "Co",Space,Str "co",Space,Str "rico",Space,Str "co",Space,Str "co",Space,Str "rico"]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "a",Space,Str "flash",Space,Str "of",Space,Str "lightning.",Space,Str "Then",Space,Str "a",Space,Str "damp",Space,Str "gust"]]
- ,Div ("",[],[])
- [Plain [Str "Bringing",Space,Str "rain"]]]
- ,Div ("",["linegroup"],[])
- [Div ("",[],[])
- [Plain [Str "Ganga",Space,Str "was",Space,Str "sunken,",Space,Str "and",Space,Str "the",Space,Str "limp",Space,Str "leaves"]]
- ,Div ("",[],[])
- [Plain [Str "Waited",Space,Str "for",Space,Str "rain,",Space,Str "while",Space,Str "the",Space,Str "black",Space,Str "clouds"]]
- ,Div ("",[],[])
- [Plain [Str "Gathered",Space,Str "far",Space,Str "distant,",Space,Str "over",Space,Str "Himavant."]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "jungle",Space,Str "crouched,",Space,Str "humped",Space,Str "in",Space,Str "silence."]]
- ,Div ("",[],[])
- [Plain [Str "Then",Space,Str "spoke",Space,Str "the",Space,Str "thunder",Span ("",["lnum"],[]) [Str "400"]]]
- ,Div ("",[],[])
- [Plain [Str "DA"]]
- ,Div ("wasteland-content.xhtml#ln402",[],[])
- [Plain [Span ("",[],[("lang","sa")]) [Str "Datta"],Str ":",Space,Str "what",Space,Str "have",Space,Str "we",Space,Str "given?",Note [Para [Link ("",[],[]) [Str "402."] ("#wasteland-content.xhtml#ln402",""),Space,Quoted DoubleQuote [Str "\"Datta,",Space,Str "dayadhvam,",Space,Str "damyata\""],Space,Str "(Give,",Space,Str "sympathize,",SoftBreak,Str "control).",Space,Str "The",Space,Str "fable",Space,Str "of",Space,Str "the",Space,Str "meaning",Space,Str "of",Space,Str "the",Space,Str "Thunder",Space,Str "is",Space,Str "found",Space,Str "in",Space,Str "the",SoftBreak,Str "Brihadaranyaka-Upanishad,",Space,Str "5,",Space,Str "1.",Space,Str "A",Space,Str "translation",Space,Str "is",Space,Str "found",Space,Str "in",Space,Str "Deussen's",SoftBreak,Str "Sechzig",Space,Str "Upanishads",Space,Str "des",Space,Str "Veda,",Space,Str "p.",Space,Str "489."]]]]
- ,Div ("",[],[])
- [Plain [Str "My",Space,Str "friend,",Space,Str "blood",Space,Str "shaking",Space,Str "my",Space,Str "heart"]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "awful",Space,Str "daring",Space,Str "of",Space,Str "a",Space,Str "moment's",Space,Str "surrender"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "an",Space,Str "age",Space,Str "of",Space,Str "prudence",Space,Str "can",Space,Str "never",Space,Str "retract"]]
- ,Div ("",[],[])
- [Plain [Str "By",Space,Str "this,",Space,Str "and",Space,Str "this",Space,Str "only,",Space,Str "we",Space,Str "have",Space,Str "existed"]]
- ,Div ("",[],[])
- [Plain [Str "Which",Space,Str "is",Space,Str "not",Space,Str "to",Space,Str "be",Space,Str "found",Space,Str "in",Space,Str "our",Space,Str "obituaries"]]
- ,Div ("wasteland-content.xhtml#ln408",[],[])
- [Plain [Str "Or",Space,Str "in",Space,Str "memories",Space,Str "draped",Space,Str "by",Space,Str "the",Space,Str "beneficent",Space,Str "spider",Note [Para [Link ("",[],[]) [Str "408."] ("#wasteland-content.xhtml#ln408",""),Space,Str "Cf.",Space,Str "Webster,",Space,Str "The",Space,Str "White",Space,Str "Devil,",Space,Str "v.",Space,Str "vi:"],BlockQuote [Para [Str "\".",Space,Str ".",Space,Str ".",Space,Str "they'll",Space,Str "remarry",LineBreak,Str "Ere",Space,Str "the",Space,Str "worm",Space,Str "pierce",Space,Str "your",Space,Str "winding-sheet,",SoftBreak,Str "ere",Space,Str "the",Space,Str "spider",LineBreak,Str "Make",Space,Str "a",Space,Str "thin",Space,Str "curtain",Space,Str "for",Space,Str "your",Space,Str "epitaphs.\""]]]]]
- ,Div ("",[],[])
- [Plain [Str "Or",Space,Str "under",Space,Str "seals",Space,Str "broken",Space,Str "by",Space,Str "the",Space,Str "lean",Space,Str "solicitor"]]
- ,Div ("",[],[])
- [Plain [Str "In",Space,Str "our",Space,Str "empty",Space,Str "rooms",Span ("",["lnum"],[]) [Str "410"]]]
- ,Div ("",[],[])
- [Plain [Str "DA"]]
- ,Div ("wasteland-content.xhtml#ln412",[],[])
- [Plain [Span ("",[],[("lang","sa")]) [Str "Dayadhvam"],Str ":",Space,Str "I",Space,Str "have",Space,Str "heard",Space,Str "the",Space,Str "key",Note [Para [Link ("",[],[]) [Str "412."] ("#wasteland-content.xhtml#ln412",""),Space,Str "Cf.",Space,Str "Inferno,",Space,Str "xxxiii.",Space,Str "46:"],BlockQuote [Para [Str "\"ed",Space,Str "io",Space,Str "sentii",Space,Str "chiavar",Space,Str "l'uscio",Space,Str "di",Space,Str "sotto",LineBreak,Str "all'orribile",Space,Str "torre.\""]],Para [Str "Also",Space,Str "F.",Space,Str "H.",Space,Str "Bradley,",Space,Str "Appearance",Space,Str "and",Space,Str "Reality,",Space,Str "p.",Space,Str "346:"],BlockQuote [Para [Str "\"My",Space,Str "external",Space,Str "sensations",Space,Str "are",Space,Str "no",Space,Str "less",Space,Str "private",Space,Str "to",Space,Str "myself",Space,Str "than",Space,Str "are",Space,Str "my",SoftBreak,Str "thoughts",Space,Str "or",Space,Str "my",Space,Str "feelings.",Space,Str "In",Space,Str "either",Space,Str "case",Space,Str "my",Space,Str "experience",Space,Str "falls",Space,Str "within",SoftBreak,Str "my",Space,Str "own",Space,Str "circle,",Space,Str "a",Space,Str "circle",Space,Str "closed",Space,Str "on",Space,Str "the",Space,Str "outside;",Space,Str "and,",Space,Str "with",Space,Str "all",Space,Str "its",SoftBreak,Str "elements",Space,Str "alike,",Space,Str "every",Space,Str "sphere",Space,Str "is",Space,Str "opaque",Space,Str "to",Space,Str "the",Space,Str "others",Space,Str "which",Space,Str "surround",SoftBreak,Str "it.",Space,Str ".",Space,Str ".",Space,Str ".",Space,Str "In",Space,Str "brief,",Space,Str "regarded",Space,Str "as",Space,Str "an",Space,Str "existence",Space,Str "which",Space,Str "appears",Space,Str "in",Space,Str "a",SoftBreak,Str "soul,",Space,Str "the",Space,Str "whole",Space,Str "world",Space,Str "for",Space,Str "each",Space,Str "is",Space,Str "peculiar",Space,Str "and",Space,Str "private",Space,Str "to",Space,Str "that",SoftBreak,Str "soul.\""]]]]]
- ,Div ("",[],[])
- [Plain [Str "Turn",Space,Str "in",Space,Str "the",Space,Str "door",Space,Str "once",Space,Str "and",Space,Str "turn",Space,Str "once",Space,Str "only"]]
- ,Div ("",[],[])
- [Plain [Str "We",Space,Str "think",Space,Str "of",Space,Str "the",Space,Str "key,",Space,Str "each",Space,Str "in",Space,Str "his",Space,Str "prison"]]
- ,Div ("",[],[])
- [Plain [Str "Thinking",Space,Str "of",Space,Str "the",Space,Str "key,",Space,Str "each",Space,Str "confirms",Space,Str "a",Space,Str "prison"]]
- ,Div ("",[],[])
- [Plain [Str "Only",Space,Str "at",Space,Str "nightfall,",Space,Str "aetherial",Space,Str "rumours"]]
- ,Div ("",[],[])
- [Plain [Str "Revive",Space,Str "for",Space,Str "a",Space,Str "moment",Space,Str "a",Space,Str "broken",Space,Str "Coriolanus"]]
- ,Div ("",[],[])
- [Plain [Str "DA"]]
- ,Div ("",[],[])
- [Plain [Span ("",[],[("lang","sa")]) [Str "Damyata"],Str ":",Space,Str "The",Space,Str "boat",Space,Str "responded"]]
- ,Div ("",[],[])
- [Plain [Str "Gaily,",Space,Str "to",Space,Str "the",Space,Str "hand",Space,Str "expert",Space,Str "with",Space,Str "sail",Space,Str "and",Space,Str "oar",Span ("",["lnum"],[]) [Str "420"]]]
- ,Div ("",[],[])
- [Plain [Str "The",Space,Str "sea",Space,Str "was",Space,Str "calm,",Space,Str "your",Space,Str "heart",Space,Str "would",Space,Str "have",Space,Str "responded"]]
- ,Div ("",[],[])
- [Plain [Str "Gaily,",Space,Str "when",Space,Str "invited,",Space,Str "beating",Space,Str "obedient"]]
- ,Div ("",[],[])
- [Plain [Str "To",Space,Str "controlling",Space,Str "hands"]]]
- ,Div ("",["linegroup"],[])
- [Div ("",["indent"],[])
- [Plain [Str "I",Space,Str "sat",Space,Str "upon",Space,Str "the",Space,Str "shore"]]
- ,Div ("wasteland-content.xhtml#ln425",[],[])
- [Plain [Str "Fishing,",Space,Str "with",Space,Str "the",Space,Str "arid",Space,Str "plain",Space,Str "behind",Space,Str "me",Note [Para [Link ("",[],[]) [Str "425."] ("#wasteland-content.xhtml#ln425",""),Space,Str "V.",Space,Str "Weston,",Space,Str "From",Space,Str "Ritual",Space,Str "to",Space,Str "Romance;",Space,Str "chapter",Space,Str "on",Space,Str "the",Space,Str "Fisher",Space,Str "King."]]]]
- ,Div ("",[],[])
- [Plain [Str "Shall",Space,Str "I",Space,Str "at",Space,Str "least",Space,Str "set",Space,Str "my",Space,Str "lands",Space,Str "in",Space,Str "order?"]]
- ,Div ("",[],[])
- [Plain [Str "London",Space,Str "Bridge",Space,Str "is",Space,Str "falling",Space,Str "down",Space,Str "falling",Space,Str "down",Space,Str "falling",Space,Str "down"]]
- ,Div ("wasteland-content.xhtml#ln428",[],[("lang","it")])
- [Plain [Emph [Str "Poi",Space,Str "s'ascose",Space,Str "nel",Space,Str "foco",Space,Str "che",Space,Str "gli",Space,Str "affina"],SoftBreak,Note [Para [Link ("",[],[]) [Str "428."] ("#wasteland-content.xhtml#ln428",""),Space,Str "V.",Space,Str "Purgatorio,",Space,Str "xxvi.",Space,Str "148."],BlockQuote [Para [Str "\"'Ara",Space,Str "vos",Space,Str "prec",Space,Str "per",Space,Str "aquella",Space,Str "valor",LineBreak,Str "'que",Space,Str "vos",Space,Str "guida",Space,Str "al",Space,Str "som",Space,Str "de",SoftBreak,Str "l'escalina,",LineBreak,Str "'sovegna",Space,Str "vos",Space,Str "a",Space,Str "temps",Space,Str "de",Space,Str "ma",Space,Str "dolor.'",LineBreak,Str "Poi",SoftBreak,Str "s'ascose",Space,Str "nel",Space,Str "foco",Space,Str "che",Space,Str "gli",Space,Str "affina.\""]]]]]
- ,Div ("wasteland-content.xhtml#ln429",[],[])
- [Plain [Span ("",[],[("lang","it")]) [SoftBreak,Emph [Str "Quando",Space,Str "fiam",Space,Str "ceu",Space,Str "chelidon"],SoftBreak],Space,Str "-",Space,Str "O",Space,Str "swallow",Space,Str "swallow",Note [Para [Link ("",[],[]) [Str "429."] ("#wasteland-content.xhtml#ln429",""),Space,Str "V.",Space,Str "Pervigilium",Space,Str "Veneris.",Space,Str "Cf.",Space,Str "Philomela",Space,Str "in",Space,Str "Parts",Space,Str "II",Space,Str "and",Space,Str "III."]]]]
- ,Div ("wasteland-content.xhtml#ln430",[],[("lang","fr")])
- [Plain [Emph [Str "Le",Space,Str "Prince",Space,Str "d'Aquitaine",Space,Str "a",Space,Str "la",Space,Str "tour",Space,Str "abolie"],SoftBreak,Note [Para [Link ("",[],[]) [Str "430."] ("#wasteland-content.xhtml#ln430",""),Space,Str "V.",Space,Str "Gerard",Space,Str "de",Space,Str "Nerval,",Space,Str "Sonnet",Space,Str "El",Space,Str "Desdichado."]],SoftBreak,Span ("",["lnum"],[]) [Str "430"]]]
- ,Div ("",[],[])
- [Plain [Str "These",Space,Str "fragments",Space,Str "I",Space,Str "have",Space,Str "shored",Space,Str "against",Space,Str "my",Space,Str "ruins"]]
- ,Div ("wasteland-content.xhtml#ln432",[],[])
- [Plain [Str "Why",Space,Str "then",Space,Str "Ile",Space,Str "fit",Space,Str "you.",Space,Str "Hieronymo's",Space,Str "mad",Space,Str "againe.",Note [Para [Link ("",[],[]) [Str "432."] ("#wasteland-content.xhtml#ln432",""),Space,Str "V.",Space,Str "Kyd's",Space,Str "Spanish",Space,Str "Tragedy."]]]]
- ,Div ("",[],[("lang","sa")])
- [Plain [Str "Datta.",Space,Str "Dayadhvam.",Space,Str "Damyata."]]
- ,Div ("wasteland-content.xhtml#ln434",["linegroup","indent"],[])
- [Plain [Span ("",[],[("lang","sa")]) [Str "Shantih",Space,Str "shantih",Space,Str "shantih",Note [Para [Link ("",[],[]) [Str "434."] ("#wasteland-content.xhtml#ln434",""),Space,Str "Shantih.",Space,Str "Repeated",Space,Str "as",Space,Str "here,",Space,Str "a",Space,Str "formal",Space,Str "ending",Space,Str "to",Space,Str "an",Space,Str "Upanishad.",Space,Str "'The",SoftBreak,Str "Peace",Space,Str "which",Space,Str "passeth",Space,Str "understanding'",Space,Str "is",Space,Str "a",Space,Str "feeble",Space,Str "translation",Space,Str "of",Space,Str "the",SoftBreak,Str "content",Space,Str "of",Space,Str "this",Space,Str "word."]],SoftBreak]]]]]]
-,Div ("wasteland-content.xhtml#backmatter",["section","backmatter"],[])
- [Div ("wasteland-content.xhtml#rearnotes",["section","rearnotes"],[])
- [Header 2 ("",[],[]) [Str "NOTES",Space,Str "ON",Space,Str "\"THE",Space,Str "WASTE",Space,Str "LAND\""]
- ,Para [Str "Not",Space,Str "only",Space,Str "the",Space,Str "title,",Space,Str "but",Space,Str "the",Space,Str "plan",Space,Str "and",Space,Str "a",Space,Str "good",Space,Str "deal",Space,Str "of",Space,Str "the",Space,Str "incidental",Space,Str "symbolism",Space,Str "of",SoftBreak,Str "the",Space,Str "poem",Space,Str "were",Space,Str "suggested",Space,Str "by",Space,Str "Miss",Space,Str "Jessie",Space,Str "L.",Space,Str "Weston's",Space,Str "book",Space,Str "on",Space,Str "the",Space,Str "Grail",Space,Str "legend:",SoftBreak,Str "From",Space,Str "Ritual",Space,Str "to",Space,Str "Romance"]
- ,Para [Str "Indeed,",Space,Str "so",Space,Str "deeply",Space,Str "am",Space,Str "I",Space,Str "indebted,",Space,Str "Miss",Space,Str "Weston's",Space,Str "book",Space,Str "will",Space,Str "elucidate",Space,Str "the",SoftBreak,Str "difficulties",Space,Str "of",Space,Str "the",Space,Str "poem",Space,Str "much",Space,Str "better",Space,Str "than",Space,Str "my",Space,Str "notes",Space,Str "can",Space,Str "do;",Space,Str "and",Space,Str "I",Space,Str "recommend",Space,Str "it",SoftBreak,Str "(apart",Space,Str "from",Space,Str "the",Space,Str "great",Space,Str "interest",Space,Str "of",Space,Str "the",Space,Str "book",Space,Str "itself)",Space,Str "to",Space,Str "any",Space,Str "who",Space,Str "think",Space,Str "such",SoftBreak,Str "elucidation",Space,Str "of",Space,Str "the",Space,Str "poem",Space,Str "worth",Space,Str "the",Space,Str "trouble.",Space,Str "To",Space,Str "another",Space,Str "work",Space,Str "of",Space,Str "anthropology",Space,Str "I",Space,Str "am",SoftBreak,Str "indebted",Space,Str "in",Space,Str "general,",Space,Str "one",Space,Str "which",Space,Str "has",Space,Str "influenced",Space,Str "our",Space,Str "generation",Space,Str "profoundly;",Space,Str "I",Space,Str "mean",SoftBreak,Str "The",Space,Str "Golden",Space,Str "Bough;",Space,Str "I",Space,Str "have",Space,Str "used",Space,Str "especially",Space,Str "the",Space,Str "two",Space,Str "volumes",Space,Str "Adonis,",Space,Str "Attis,",Space,Str "Osiris.",SoftBreak,Str "Anyone",Space,Str "who",Space,Str "is",Space,Str "acquainted",Space,Str "with",Space,Str "these",Space,Str "works",Space,Str "will",Space,Str "immediately",Space,Str "recognise",Space,Str "in",Space,Str "the",Space,Str "poem",SoftBreak,Str "certain",Space,Str "references",Space,Str "to",Space,Str "vegetation",Space,Str "ceremonies."]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "I.",Space,Str "THE",Space,Str "BURIAL",Space,Str "OF",Space,Str "THE",Space,Str "DEAD"]]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "II.",Space,Str "A",Space,Str "GAME",Space,Str "OF",Space,Str "CHESS"]]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "III.",Space,Str "THE",Space,Str "FIRE",Space,Str "SERMON"]]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "V.",Space,Str "WHAT",Space,Str "THE",Space,Str "THUNDER",Space,Str "SAID"]
- ,Para [Str "In",Space,Str "the",Space,Str "first",Space,Str "part",Space,Str "of",Space,Str "Part",Space,Str "V",Space,Str "three",Space,Str "themes",Space,Str "are",Space,Str "employed:",Space,Str "the",Space,Str "journey",Space,Str "to",Space,Str "Emmaus,",SoftBreak,Str "the",Space,Str "approach",Space,Str "to",Space,Str "the",Space,Str "Chapel",Space,Str "Perilous",Space,Str "(see",Space,Str "Miss",Space,Str "Weston's",Space,Str "book)",Space,Str "and",Space,Str "the",Space,Str "present",SoftBreak,Str "decay",Space,Str "of",Space,Str "eastern",Space,Str "Europe."]]]]]
+[ Para
+ [ Image ( "" , [] , [] ) [] ( "wasteland-cover.jpg" , "" ) ]
+, Para [ Span ( "wasteland-content.xhtml" , [] , [] ) [] ]
+, Div
+ ( "wasteland-content.xhtml#frontmatter"
+ , [ "section" , "frontmatter" ]
+ , []
+ )
+ []
+, Div
+ ( "wasteland-content.xhtml#bodymatter"
+ , [ "section" , "bodymatter" ]
+ , []
+ )
+ [ Div
+ ( "wasteland-content.xhtml#ch1" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "I."
+ , Space
+ , Str "THE"
+ , Space
+ , Str "BURIAL"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "THE"
+ , Space
+ , Str "DEAD"
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "April"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "cruellest"
+ , Space
+ , Str "month,"
+ , Space
+ , Str "breeding"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Lilacs"
+ , Space
+ , Str "out"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "land,"
+ , Space
+ , Str "mixing"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Memory"
+ , Space
+ , Str "and"
+ , Space
+ , Str "desire,"
+ , Space
+ , Str "stirring"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Dull"
+ , Space
+ , Str "roots"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spring"
+ , Space
+ , Str "rain."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Winter"
+ , Space
+ , Str "kept"
+ , Space
+ , Str "us"
+ , Space
+ , Str "warm,"
+ , Space
+ , Str "covering"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Earth"
+ , Space
+ , Str "in"
+ , Space
+ , Str "forgetful"
+ , Space
+ , Str "snow,"
+ , Space
+ , Str "feeding"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "little"
+ , Space
+ , Str "life"
+ , Space
+ , Str "with"
+ , Space
+ , Str "dried"
+ , Space
+ , Str "tubers."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Summer"
+ , Space
+ , Str "surprised"
+ , Space
+ , Str "us,"
+ , Space
+ , Str "coming"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Starnbergersee"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "shower"
+ , Space
+ , Str "of"
+ , Space
+ , Str "rain;"
+ , Space
+ , Str "we"
+ , Space
+ , Str "stopped"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "colonnade,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "went"
+ , Space
+ , Str "on"
+ , Space
+ , Str "in"
+ , Space
+ , Str "sunlight,"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Hofgarten,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "10" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "drank"
+ , Space
+ , Str "coffee,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "talked"
+ , Space
+ , Str "for"
+ , Space
+ , Str "an"
+ , Space
+ , Str "hour."
+ ]
+ ]
+ , Div
+ ( "" , [] , [ ( "lang" , "de" ) ] )
+ [ Plain
+ [ Str "Bin"
+ , Space
+ , Str "gar"
+ , Space
+ , Str "keine"
+ , Space
+ , Str "Russin,"
+ , Space
+ , Str "stamm'"
+ , Space
+ , Str "aus"
+ , Space
+ , Str "Litauen,"
+ , Space
+ , Str "echt"
+ , SoftBreak
+ , Str "deutsch."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "when"
+ , Space
+ , Str "we"
+ , Space
+ , Str "were"
+ , Space
+ , Str "children,"
+ , Space
+ , Str "staying"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "archduke's,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "My"
+ , Space
+ , Str "cousin's,"
+ , Space
+ , Str "he"
+ , Space
+ , Str "took"
+ , Space
+ , Str "me"
+ , Space
+ , Str "out"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sled,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "frightened."
+ , Space
+ , Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "Marie,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Marie,"
+ , Space
+ , Str "hold"
+ , Space
+ , Str "on"
+ , Space
+ , Str "tight."
+ , Space
+ , Str "And"
+ , Space
+ , Str "down"
+ , Space
+ , Str "we"
+ , Space
+ , Str "went."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "the"
+ , Space
+ , Str "mountains,"
+ , Space
+ , Str "there"
+ , Space
+ , Str "you"
+ , Space
+ , Str "feel"
+ , Space
+ , Str "free."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "read,"
+ , Space
+ , Str "much"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "go"
+ , Space
+ , Str "south"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "winter."
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "What"
+ , Space
+ , Str "are"
+ , Space
+ , Str "the"
+ , Space
+ , Str "roots"
+ , Space
+ , Str "that"
+ , Space
+ , Str "clutch,"
+ , Space
+ , Str "what"
+ , Space
+ , Str "branches"
+ , Space
+ , Str "grow"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln20" , [] , [] )
+ [ Plain
+ [ Str "Out"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "stony"
+ , Space
+ , Str "rubbish?"
+ , Space
+ , Str "Son"
+ , Space
+ , Str "of"
+ , Space
+ , Str "man,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Line" , Space , Str "20." ]
+ ( "#wasteland-content.xhtml#ln20" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Ezekiel"
+ , Space
+ , Str "2:1."
+ ]
+ ]
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "20" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "cannot"
+ , Space
+ , Str "say,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "guess,"
+ , Space
+ , Str "for"
+ , Space
+ , Str "you"
+ , Space
+ , Str "know"
+ , Space
+ , Str "only"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "heap"
+ , Space
+ , Str "of"
+ , Space
+ , Str "broken"
+ , Space
+ , Str "images,"
+ , Space
+ , Str "where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sun"
+ , Space
+ , Str "beats,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln23" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "tree"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "no"
+ , Space
+ , Str "shelter,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "cricket"
+ , Space
+ , Str "no"
+ , Space
+ , Str "relief,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "23." ]
+ ( "#wasteland-content.xhtml#ln23" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Ecclesiastes"
+ , Space
+ , Str "12:5."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dry"
+ , Space
+ , Str "stone"
+ , Space
+ , Str "no"
+ , Space
+ , Str "sound"
+ , Space
+ , Str "of"
+ , Space
+ , Str "water."
+ , Space
+ , Str "Only"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "under"
+ , Space
+ , Str "this"
+ , Space
+ , Str "red"
+ , Space
+ , Str "rock,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Come"
+ , Space
+ , Str "in"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "red"
+ , Space
+ , Str "rock),"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "I"
+ , Space
+ , Str "will"
+ , Space
+ , Str "show"
+ , Space
+ , Str "you"
+ , Space
+ , Str "something"
+ , Space
+ , Str "different"
+ , Space
+ , Str "from"
+ , Space
+ , Str "either"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Your"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "at"
+ , Space
+ , Str "morning"
+ , Space
+ , Str "striding"
+ , Space
+ , Str "behind"
+ , Space
+ , Str "you"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Or"
+ , Space
+ , Str "your"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "at"
+ , Space
+ , Str "evening"
+ , Space
+ , Str "rising"
+ , Space
+ , Str "to"
+ , Space
+ , Str "meet"
+ , Space
+ , Str "you;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "will"
+ , Space
+ , Str "show"
+ , Space
+ , Str "you"
+ , Space
+ , Str "fear"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "handful"
+ , Space
+ , Str "of"
+ , Space
+ , Str "dust."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "30" ]
+ ]
+ ]
+ , BlockQuote
+ [ Div
+ ( "" , [] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln31" , [] , [] )
+ [ Plain
+ [ Str "Frisch"
+ , Space
+ , Str "weht"
+ , Space
+ , Str "der"
+ , Space
+ , Str "Wind"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "31." ]
+ ( "#wasteland-content.xhtml#ln31"
+ , ""
+ )
+ , Space
+ , Str "V."
+ , Space
+ , Str "Tristan"
+ , Space
+ , Str "und"
+ , Space
+ , Str "Isolde,"
+ , Space
+ , Str "i,"
+ , Space
+ , Str "verses"
+ , Space
+ , Str "5-8."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Der"
+ , Space
+ , Str "Heimat"
+ , Space
+ , Str "zu"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Mein"
+ , Space
+ , Str "Irisch"
+ , Space
+ , Str "Kind,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Wo"
+ , Space
+ , Str "weilest"
+ , Space
+ , Str "du?"
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "gave"
+ , Space
+ , Str "me"
+ , Space
+ , Str "hyacinths"
+ , Space
+ , Str "first"
+ , Space
+ , Str "a"
+ , Space
+ , Str "year"
+ , Space
+ , Str "ago;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"They"
+ , Space
+ , Str "called"
+ , Space
+ , Str "me"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hyacinth"
+ , Space
+ , Str "girl.\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\8213Yet"
+ , Space
+ , Str "when"
+ , Space
+ , Str "we"
+ , Space
+ , Str "came"
+ , Space
+ , Str "back,"
+ , Space
+ , Str "late,"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Hyacinth"
+ , SoftBreak
+ , Str "garden,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Your"
+ , Space
+ , Str "arms"
+ , Space
+ , Str "full,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "your"
+ , Space
+ , Str "hair"
+ , Space
+ , Str "wet,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "could"
+ , Space
+ , Str "not"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Speak,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "my"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "failed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "neither"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Living"
+ , Space
+ , Str "nor"
+ , Space
+ , Str "dead,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "I"
+ , Space
+ , Str "knew"
+ , Space
+ , Str "nothing,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "40" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Looking"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "heart"
+ , Space
+ , Str "of"
+ , Space
+ , Str "light,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "silence."
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln42"
+ , []
+ , [ ( "lang" , "de" ) ]
+ )
+ [ Plain
+ [ Emph
+ [ Str "Od'"
+ , Space
+ , Str "und"
+ , Space
+ , Str "leer"
+ , Space
+ , Str "das"
+ , Space
+ , Str "Meer"
+ ]
+ , Str "."
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "42." ]
+ ( "#wasteland-content.xhtml#ln42" , "" )
+ , Space
+ , Str "Id."
+ , Space
+ , Str "iii,"
+ , Space
+ , Str "verse"
+ , Space
+ , Str "24."
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Madame"
+ , Space
+ , Str "Sosostris,"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "clairvoyante,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bad"
+ , Space
+ , Str "cold,"
+ , Space
+ , Str "nevertheless"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Is"
+ , Space
+ , Str "known"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "the"
+ , Space
+ , Str "wisest"
+ , Space
+ , Str "woman"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Europe,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln46" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "wicked"
+ , Space
+ , Str "pack"
+ , Space
+ , Str "of"
+ , Space
+ , Str "cards."
+ , Space
+ , Str "Here,"
+ , Space
+ , Str "said"
+ , Space
+ , Str "she,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "46." ]
+ ( "#wasteland-content.xhtml#ln46" , "" )
+ , Space
+ , Str "I"
+ , Space
+ , Str "am"
+ , Space
+ , Str "not"
+ , Space
+ , Str "familiar"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , Space
+ , Str "exact"
+ , Space
+ , Str "constitution"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Tarot"
+ , Space
+ , Str "pack"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "cards,"
+ , Space
+ , Str "from"
+ , Space
+ , Str "which"
+ , Space
+ , Str "I"
+ , Space
+ , Str "have"
+ , Space
+ , Str "obviously"
+ , Space
+ , Str "departed"
+ , Space
+ , Str "to"
+ , Space
+ , Str "suit"
+ , Space
+ , Str "my"
+ , Space
+ , Str "own"
+ , Space
+ , Str "convenience."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "Hanged"
+ , Space
+ , Str "Man,"
+ , Space
+ , Str "a"
+ , Space
+ , Str "member"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "traditional"
+ , Space
+ , Str "pack,"
+ , Space
+ , Str "fits"
+ , Space
+ , Str "my"
+ , Space
+ , Str "purpose"
+ , Space
+ , Str "in"
+ , Space
+ , Str "two"
+ , SoftBreak
+ , Str "ways:"
+ , Space
+ , Str "because"
+ , Space
+ , Str "he"
+ , Space
+ , Str "is"
+ , Space
+ , Str "associated"
+ , Space
+ , Str "in"
+ , Space
+ , Str "my"
+ , Space
+ , Str "mind"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Hanged"
+ , Space
+ , Str "God"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Frazer,"
+ , SoftBreak
+ , Str "and"
+ , Space
+ , Str "because"
+ , Space
+ , Str "I"
+ , Space
+ , Str "associate"
+ , Space
+ , Str "him"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hooded"
+ , Space
+ , Str "figure"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "passage"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "disciples"
+ , Space
+ , Str "to"
+ , Space
+ , Str "Emmaus"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Part"
+ , Space
+ , Str "V."
+ , Space
+ , Str "The"
+ , Space
+ , Str "Phoenician"
+ , Space
+ , Str "Sailor"
+ , Space
+ , Str "and"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Merchant"
+ , SoftBreak
+ , Str "appear"
+ , Space
+ , Str "later;"
+ , Space
+ , Str "also"
+ , Space
+ , Str "the"
+ , Space
+ , Str "\"crowds"
+ , Space
+ , Str "of"
+ , Space
+ , Str "people,\""
+ , Space
+ , Str "and"
+ , Space
+ , Str "Death"
+ , Space
+ , Str "by"
+ , Space
+ , Str "Water"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Str "executed"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Part"
+ , Space
+ , Str "IV."
+ , Space
+ , Str "The"
+ , Space
+ , Str "Man"
+ , Space
+ , Str "with"
+ , Space
+ , Str "Three"
+ , Space
+ , Str "Staves"
+ , Space
+ , Str "(an"
+ , Space
+ , Str "authentic"
+ , Space
+ , Str "member"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "Tarot"
+ , Space
+ , Str "pack)"
+ , Space
+ , Str "I"
+ , Space
+ , Str "associate,"
+ , Space
+ , Str "quite"
+ , Space
+ , Str "arbitrarily,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Fisher"
+ , Space
+ , Str "King"
+ , SoftBreak
+ , Str "himself."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Is"
+ , Space
+ , Str "your"
+ , Space
+ , Str "card,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "drowned"
+ , Space
+ , Str "Phoenician"
+ , Space
+ , Str "Sailor,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Those"
+ , Space
+ , Str "are"
+ , Space
+ , Str "pearls"
+ , Space
+ , Str "that"
+ , Space
+ , Str "were"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes."
+ , Space
+ , Str "Look!)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "Belladonna,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Lady"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Rocks,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "lady"
+ , Space
+ , Str "of"
+ , Space
+ , Str "situations."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "50" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "man"
+ , Space
+ , Str "with"
+ , Space
+ , Str "three"
+ , Space
+ , Str "staves,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "here"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Wheel,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "one-eyed"
+ , Space
+ , Str "merchant,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "card,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Which"
+ , Space
+ , Str "is"
+ , Space
+ , Str "blank,"
+ , Space
+ , Str "is"
+ , Space
+ , Str "something"
+ , Space
+ , Str "he"
+ , Space
+ , Str "carries"
+ , Space
+ , Str "on"
+ , Space
+ , Str "his"
+ , Space
+ , Str "back,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Which"
+ , Space
+ , Str "I"
+ , Space
+ , Str "am"
+ , Space
+ , Str "forbidden"
+ , Space
+ , Str "to"
+ , Space
+ , Str "see."
+ , Space
+ , Str "I"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "find"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "Hanged"
+ , Space
+ , Str "Man."
+ , Space
+ , Str "Fear"
+ , Space
+ , Str "death"
+ , Space
+ , Str "by"
+ , Space
+ , Str "water."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "see"
+ , Space
+ , Str "crowds"
+ , Space
+ , Str "of"
+ , Space
+ , Str "people,"
+ , Space
+ , Str "walking"
+ , Space
+ , Str "round"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "ring."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Thank"
+ , Space
+ , Str "you."
+ , Space
+ , Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "see"
+ , Space
+ , Str "dear"
+ , Space
+ , Str "Mrs."
+ , Space
+ , Str "Equitone,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Tell"
+ , Space
+ , Str "her"
+ , Space
+ , Str "I"
+ , Space
+ , Str "bring"
+ , Space
+ , Str "the"
+ , Space
+ , Str "horoscope"
+ , Space
+ , Str "myself:"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "One"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "so"
+ , Space
+ , Str "careful"
+ , Space
+ , Str "these"
+ , Space
+ , Str "days."
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln60" , [] , [] )
+ [ Plain
+ [ Str "Unreal"
+ , Space
+ , Str "City,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "60." ]
+ ( "#wasteland-content.xhtml#ln60" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Baudelaire:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "\"Fourmillante"
+ , Space
+ , Str "cite;,"
+ , Space
+ , Str "cite;"
+ , Space
+ , Str "pleine"
+ , Space
+ , Str "de"
+ , Space
+ , Str "reves,"
+ , LineBreak
+ , Str "Ou"
+ , Space
+ , Str "le"
+ , Space
+ , Str "spectre"
+ , Space
+ , Str "en"
+ , SoftBreak
+ , Str "plein"
+ , Space
+ , Str "jour"
+ , Space
+ , Str "raccroche"
+ , Space
+ , Str "le"
+ , Space
+ , Str "passant.\""
+ ]
+ ]
+ ]
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "60" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fog"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "winter"
+ , Space
+ , Str "dawn,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "crowd"
+ , Space
+ , Str "flowed"
+ , Space
+ , Str "over"
+ , Space
+ , Str "London"
+ , Space
+ , Str "Bridge,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "many,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln63" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "had"
+ , Space
+ , Str "not"
+ , Space
+ , Str "thought"
+ , Space
+ , Str "death"
+ , Space
+ , Str "had"
+ , Space
+ , Str "undone"
+ , Space
+ , Str "so"
+ , Space
+ , Str "many."
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "63." ]
+ ( "#wasteland-content.xhtml#ln63" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Inferno,"
+ , Space
+ , Str "iii."
+ , Space
+ , Str "55-7."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "\"si"
+ , Space
+ , Str "lunga"
+ , Space
+ , Str "tratta"
+ , LineBreak
+ , Str "di"
+ , Space
+ , Str "gente,"
+ , Space
+ , Str "ch'io"
+ , Space
+ , Str "non"
+ , Space
+ , Str "avrei"
+ , Space
+ , Str "mai"
+ , Space
+ , Str "creduto"
+ , LineBreak
+ , Str "che"
+ , SoftBreak
+ , Str "morte"
+ , Space
+ , Str "tanta"
+ , Space
+ , Str "n'avesse"
+ , Space
+ , Str "disfatta.\""
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln64" , [] , [] )
+ [ Plain
+ [ Str "Sighs,"
+ , Space
+ , Str "short"
+ , Space
+ , Str "and"
+ , Space
+ , Str "infrequent,"
+ , Space
+ , Str "were"
+ , Space
+ , Str "exhaled,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "64." ]
+ ( "#wasteland-content.xhtml#ln64" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Inferno,"
+ , Space
+ , Str "iv."
+ , Space
+ , Str "25-7:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "\"Quivi,"
+ , Space
+ , Str "secondo"
+ , Space
+ , Str "che"
+ , Space
+ , Str "per"
+ , Space
+ , Str "ascoltahre,"
+ , LineBreak
+ , Str "\"non"
+ , Space
+ , Str "avea"
+ , Space
+ , Str "pianto,"
+ , Space
+ , Str "ma'"
+ , Space
+ , Str "che"
+ , Space
+ , Str "di"
+ , SoftBreak
+ , Str "sospiri,"
+ , LineBreak
+ , Str "\"che"
+ , Space
+ , Str "l'aura"
+ , Space
+ , Str "eterna"
+ , Space
+ , Str "facevan"
+ , Space
+ , Str "tremare.\""
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "each"
+ , Space
+ , Str "man"
+ , Space
+ , Str "fixed"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "before"
+ , Space
+ , Str "his"
+ , Space
+ , Str "feet."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Flowed"
+ , Space
+ , Str "up"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hill"
+ , Space
+ , Str "and"
+ , Space
+ , Str "down"
+ , Space
+ , Str "King"
+ , Space
+ , Str "William"
+ , Space
+ , Str "Street,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "To"
+ , Space
+ , Str "where"
+ , Space
+ , Str "Saint"
+ , Space
+ , Str "Mary"
+ , Space
+ , Str "Woolnoth"
+ , Space
+ , Str "kept"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hours"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln68" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "sound"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "final"
+ , Space
+ , Str "stroke"
+ , Space
+ , Str "of"
+ , Space
+ , Str "nine."
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "68." ]
+ ( "#wasteland-content.xhtml#ln68" , "" )
+ , Space
+ , Str "A"
+ , Space
+ , Str "phenomenon"
+ , Space
+ , Str "which"
+ , Space
+ , Str "I"
+ , Space
+ , Str "have"
+ , Space
+ , Str "often"
+ , Space
+ , Str "noticed."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "There"
+ , Space
+ , Str "I"
+ , Space
+ , Str "saw"
+ , Space
+ , Str "one"
+ , Space
+ , Str "I"
+ , Space
+ , Str "knew,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "stopped"
+ , Space
+ , Str "him,"
+ , Space
+ , Str "crying"
+ , SoftBreak
+ , Str "\"Stetson!"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "who"
+ , Space
+ , Str "were"
+ , Space
+ , Str "with"
+ , Space
+ , Str "me"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ships"
+ , Space
+ , Str "at"
+ , Space
+ , Str "Mylae!"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "70" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"That"
+ , Space
+ , Str "corpse"
+ , Space
+ , Str "you"
+ , Space
+ , Str "planted"
+ , Space
+ , Str "last"
+ , Space
+ , Str "year"
+ , Space
+ , Str "in"
+ , Space
+ , Str "your"
+ , Space
+ , Str "garden,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Has"
+ , Space
+ , Str "it"
+ , Space
+ , Str "begun"
+ , Space
+ , Str "to"
+ , Space
+ , Str "sprout?"
+ , Space
+ , Str "Will"
+ , Space
+ , Str "it"
+ , Space
+ , Str "bloom"
+ , Space
+ , Str "this"
+ , Space
+ , Str "year?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Or"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sudden"
+ , Space
+ , Str "frost"
+ , Space
+ , Str "disturbed"
+ , Space
+ , Str "its"
+ , Space
+ , Str "bed?"
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln74" , [] , [] )
+ [ Plain
+ [ Str "\"Oh"
+ , Space
+ , Str "keep"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "far"
+ , Space
+ , Str "hence,"
+ , Space
+ , Str "that's"
+ , Space
+ , Str "friend"
+ , Space
+ , Str "to"
+ , Space
+ , Str "men,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "74." ]
+ ( "#wasteland-content.xhtml#ln74" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "the"
+ , Space
+ , Str "Dirge"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Webster's"
+ , Space
+ , Str "White"
+ , Space
+ , Str "Devil"
+ , Space
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Or"
+ , Space
+ , Str "with"
+ , Space
+ , Str "his"
+ , Space
+ , Str "nails"
+ , Space
+ , Str "he'll"
+ , Space
+ , Str "dig"
+ , Space
+ , Str "it"
+ , Space
+ , Str "up"
+ , Space
+ , Str "again!"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln76" , [] , [] )
+ [ Plain
+ [ Str "\"You!"
+ , Space
+ , Span
+ ( "" , [] , [ ( "lang" , "fr" ) ] )
+ [ Str "hypocrite"
+ , Space
+ , Str "lecteur!"
+ , Space
+ , Str "-"
+ , Space
+ , Str "mon"
+ , Space
+ , Str "semblable,"
+ , Space
+ , Str "-"
+ , SoftBreak
+ , Str "mon"
+ , Space
+ , Str "frere"
+ ]
+ , Space
+ , Str "!\""
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "76." ]
+ ( "#wasteland-content.xhtml#ln76" , "" )
+ , Space
+ , Str "V."
+ , Space
+ , Str "Baudelaire,"
+ , Space
+ , Str "Preface"
+ , Space
+ , Str "to"
+ , Space
+ , Str "Fleurs"
+ , Space
+ , Str "du"
+ , Space
+ , Str "Mal."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ch2" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "II."
+ , Space
+ , Str "A"
+ , Space
+ , Str "GAME"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "CHESS"
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln77" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "Chair"
+ , Space
+ , Str "she"
+ , Space
+ , Str "sat"
+ , Space
+ , Str "in,"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "burnished"
+ , Space
+ , Str "throne,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "77." ]
+ ( "#wasteland-content.xhtml#ln77" , "" )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Antony"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Cleopatra,"
+ , Space
+ , Str "II."
+ , Space
+ , Str "ii.,"
+ , Space
+ , Str "l."
+ , Space
+ , Str "190."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Glowed"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "marble,"
+ , Space
+ , Str "where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "glass"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Held"
+ , Space
+ , Str "up"
+ , Space
+ , Str "by"
+ , Space
+ , Str "standards"
+ , Space
+ , Str "wrought"
+ , Space
+ , Str "with"
+ , Space
+ , Str "fruited"
+ , Space
+ , Str "vines"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "From"
+ , Space
+ , Str "which"
+ , Space
+ , Str "a"
+ , Space
+ , Str "golden"
+ , Space
+ , Str "Cupidon"
+ , Space
+ , Str "peeped"
+ , Space
+ , Str "out"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "80" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Another"
+ , Space
+ , Str "hid"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "behind"
+ , Space
+ , Str "his"
+ , Space
+ , Str "wing)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Doubled"
+ , Space
+ , Str "the"
+ , Space
+ , Str "flames"
+ , Space
+ , Str "of"
+ , Space
+ , Str "sevenbranched"
+ , Space
+ , Str "candelabra"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Reflecting"
+ , Space
+ , Str "light"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "table"
+ , Space
+ , Str "as"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "glitter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "her"
+ , Space
+ , Str "jewels"
+ , Space
+ , Str "rose"
+ , Space
+ , Str "to"
+ , Space
+ , Str "meet"
+ , Space
+ , Str "it,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "From"
+ , Space
+ , Str "satin"
+ , Space
+ , Str "cases"
+ , Space
+ , Str "poured"
+ , Space
+ , Str "in"
+ , Space
+ , Str "rich"
+ , Space
+ , Str "profusion;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "vials"
+ , Space
+ , Str "of"
+ , Space
+ , Str "ivory"
+ , Space
+ , Str "and"
+ , Space
+ , Str "coloured"
+ , Space
+ , Str "glass"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Unstoppered,"
+ , Space
+ , Str "lurked"
+ , Space
+ , Str "her"
+ , Space
+ , Str "strange"
+ , Space
+ , Str "synthetic"
+ , Space
+ , Str "perfumes,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Unguent,"
+ , Space
+ , Str "powdered,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "liquid"
+ , Space
+ , Str "-"
+ , Space
+ , Str "troubled,"
+ , Space
+ , Str "confused"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "drowned"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sense"
+ , Space
+ , Str "in"
+ , Space
+ , Str "odours;"
+ , Space
+ , Str "stirred"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "air"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "That"
+ , Space
+ , Str "freshened"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "window,"
+ , Space
+ , Str "these"
+ , Space
+ , Str "ascended"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "90" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "fattening"
+ , Space
+ , Str "the"
+ , Space
+ , Str "prolonged"
+ , Space
+ , Str "candle-flames,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln92" , [] , [] )
+ [ Plain
+ [ Str "Flung"
+ , Space
+ , Str "their"
+ , Space
+ , Str "smoke"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "laquearia,"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "92." ]
+ ( "#wasteland-content.xhtml#ln92" , "" )
+ , Space
+ , Str "Laquearia."
+ , Space
+ , Str "V."
+ , Space
+ , Str "Aeneid,"
+ , Space
+ , Str "I."
+ , Space
+ , Str "726:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "dependent"
+ , Space
+ , Str "lychni"
+ , Space
+ , Str "laquearibus"
+ , Space
+ , Str "aureis"
+ , Space
+ , Str "incensi,"
+ , Space
+ , Str "et"
+ , Space
+ , Str "noctem"
+ , SoftBreak
+ , Str "flammis"
+ , LineBreak
+ , Str "funalia"
+ , Space
+ , Str "vincunt."
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Stirring"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pattern"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "coffered"
+ , Space
+ , Str "ceiling."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Huge"
+ , Space
+ , Str "sea-wood"
+ , Space
+ , Str "fed"
+ , Space
+ , Str "with"
+ , Space
+ , Str "copper"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Burned"
+ , Space
+ , Str "green"
+ , Space
+ , Str "and"
+ , Space
+ , Str "orange,"
+ , Space
+ , Str "framed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "coloured"
+ , Space
+ , Str "stone,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "which"
+ , Space
+ , Str "sad"
+ , Space
+ , Str "light"
+ , Space
+ , Str "a"
+ , Space
+ , Str "carved"
+ , Space
+ , Str "dolphin"
+ , Space
+ , Str "swam."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Above"
+ , Space
+ , Str "the"
+ , Space
+ , Str "antique"
+ , Space
+ , Str "mantel"
+ , Space
+ , Str "was"
+ , Space
+ , Str "displayed"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln98" , [] , [] )
+ [ Plain
+ [ Str "As"
+ , Space
+ , Str "though"
+ , Space
+ , Str "a"
+ , Space
+ , Str "window"
+ , Space
+ , Str "gave"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sylvan"
+ , Space
+ , Str "scene"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "98." ]
+ ( "#wasteland-content.xhtml#ln98" , "" )
+ , Space
+ , Str "Sylvan"
+ , Space
+ , Str "scene."
+ , Space
+ , Str "V."
+ , Space
+ , Str "Milton,"
+ , Space
+ , Str "Paradise"
+ , Space
+ , Str "Lost,"
+ , Space
+ , Str "iv."
+ , Space
+ , Str "140."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln99" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "change"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Philomel,"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "barbarous"
+ , Space
+ , Str "king"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "99." ]
+ ( "#wasteland-content.xhtml#ln99" , "" )
+ , Space
+ , Str "V."
+ , Space
+ , Str "Ovid,"
+ , Space
+ , Str "Metamorphoses,"
+ , Space
+ , Str "vi,"
+ , Space
+ , Str "Philomela."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln100" , [] , [] )
+ [ Plain
+ [ Str "So"
+ , Space
+ , Str "rudely"
+ , Space
+ , Str "forced;"
+ , Space
+ , Str "yet"
+ , Space
+ , Str "there"
+ , Space
+ , Str "the"
+ , Space
+ , Str "nightingale"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "100." ]
+ ( "#wasteland-content.xhtml#ln100"
+ , ""
+ )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Part"
+ , Space
+ , Str "III,"
+ , Space
+ , Str "l."
+ , Space
+ , Str "204."
+ ]
+ ]
+ , SoftBreak
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "100" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Filled"
+ , Space
+ , Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "desert"
+ , Space
+ , Str "with"
+ , Space
+ , Str "inviolable"
+ , Space
+ , Str "voice"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "still"
+ , Space
+ , Str "she"
+ , Space
+ , Str "cried,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "still"
+ , Space
+ , Str "the"
+ , Space
+ , Str "world"
+ , Space
+ , Str "pursues,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Jug"
+ , Space
+ , Str "Jug\""
+ , Space
+ , Str "to"
+ , Space
+ , Str "dirty"
+ , Space
+ , Str "ears."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "other"
+ , Space
+ , Str "withered"
+ , Space
+ , Str "stumps"
+ , Space
+ , Str "of"
+ , Space
+ , Str "time"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Were"
+ , Space
+ , Str "told"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "walls;"
+ , Space
+ , Str "staring"
+ , Space
+ , Str "forms"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Leaned"
+ , Space
+ , Str "out,"
+ , Space
+ , Str "leaning,"
+ , Space
+ , Str "hushing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "room"
+ , Space
+ , Str "enclosed."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Footsteps"
+ , Space
+ , Str "shuffled"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "stair."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "firelight,"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "brush,"
+ , Space
+ , Str "her"
+ , Space
+ , Str "hair"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Spread"
+ , Space
+ , Str "out"
+ , Space
+ , Str "in"
+ , Space
+ , Str "fiery"
+ , Space
+ , Str "points"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Glowed"
+ , Space
+ , Str "into"
+ , Space
+ , Str "words,"
+ , Space
+ , Str "then"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "savagely"
+ , Space
+ , Str "still."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "110" ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"My"
+ , Space
+ , Str "nerves"
+ , Space
+ , Str "are"
+ , Space
+ , Str "bad"
+ , Space
+ , Str "to-night."
+ , Space
+ , Str "Yes,"
+ , Space
+ , Str "bad."
+ , Space
+ , Str "Stay"
+ , Space
+ , Str "with"
+ , Space
+ , Str "me."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Speak"
+ , Space
+ , Str "to"
+ , Space
+ , Str "me."
+ , Space
+ , Str "Why"
+ , Space
+ , Str "do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "never"
+ , Space
+ , Str "speak."
+ , Space
+ , Str "Speak."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "are"
+ , Space
+ , Str "you"
+ , Space
+ , Str "thinking"
+ , Space
+ , Str "of?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "thinking?"
+ , Space
+ , Str "What?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"I"
+ , Space
+ , Str "never"
+ , Space
+ , Str "know"
+ , Space
+ , Str "what"
+ , Space
+ , Str "you"
+ , Space
+ , Str "are"
+ , Space
+ , Str "thinking."
+ , Space
+ , Str "Think.\""
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln115" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "think"
+ , Space
+ , Str "we"
+ , Space
+ , Str "are"
+ , Space
+ , Str "in"
+ , Space
+ , Str "rats'"
+ , Space
+ , Str "alley"
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "115." ]
+ ( "#wasteland-content.xhtml#ln115"
+ , ""
+ )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Part"
+ , Space
+ , Str "III,"
+ , Space
+ , Str "l."
+ , Space
+ , Str "195."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "men"
+ , Space
+ , Str "lost"
+ , Space
+ , Str "their"
+ , Space
+ , Str "bones."
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "that"
+ , Space
+ , Str "noise?\""
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln118" , [ "indent" ] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "wind"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "door."
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "118." ]
+ ( "#wasteland-content.xhtml#ln118"
+ , ""
+ )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Webster:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "\"Is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "wind"
+ , Space
+ , Str "in"
+ , Space
+ , Str "that"
+ , Space
+ , Str "door"
+ , Space
+ , Str "still?\""
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "that"
+ , Space
+ , Str "noise"
+ , Space
+ , Str "now?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "wind"
+ , Space
+ , Str "doing?\""
+ ]
+ ]
+ , Div
+ ( "" , [ "indent" ] , [] )
+ [ Plain
+ [ Str "Nothing"
+ , Space
+ , Str "again"
+ , Space
+ , Str "nothing."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "120" ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div ( "" , [] , [] ) [ Plain [ Str "\"Do" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "know"
+ , Space
+ , Str "nothing?"
+ , Space
+ , Str "Do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "see"
+ , Space
+ , Str "nothing?"
+ , Space
+ , Str "Do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "remember"
+ ]
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "\"Nothing?\"" ] ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain [ Str "I" , Space , Str "remember" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Those"
+ , Space
+ , Str "are"
+ , Space
+ , Str "pearls"
+ , Space
+ , Str "that"
+ , Space
+ , Str "were"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes."
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln126" , [] , [] )
+ [ Plain
+ [ Str "\"Are"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "not?"
+ , Space
+ , Str "Is"
+ , Space
+ , Str "there"
+ , Space
+ , Str "nothing"
+ , Space
+ , Str "in"
+ , Space
+ , Str "your"
+ , Space
+ , Str "head?\""
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "126." ]
+ ( "#wasteland-content.xhtml#ln126"
+ , ""
+ )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "Part"
+ , Space
+ , Str "I,"
+ , Space
+ , Str "l."
+ , Space
+ , Str "37,"
+ , Space
+ , Str "48."
+ ]
+ ]
+ ]
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "But" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "that"
+ , Space
+ , Str "Shakespeherian"
+ , Space
+ , Str "Rag\8213"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "It's"
+ , Space
+ , Str "so"
+ , Space
+ , Str "elegant"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "So"
+ , Space
+ , Str "intelligent"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "130" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "I"
+ , Space
+ , Str "do"
+ , Space
+ , Str "now?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "I"
+ , Space
+ , Str "do?\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "rush"
+ , Space
+ , Str "out"
+ , Space
+ , Str "as"
+ , Space
+ , Str "I"
+ , Space
+ , Str "am,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "walk"
+ , Space
+ , Str "the"
+ , Space
+ , Str "street"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"With"
+ , Space
+ , Str "my"
+ , Space
+ , Str "hair"
+ , Space
+ , Str "down,"
+ , Space
+ , Str "so."
+ , Space
+ , Str "What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "we"
+ , Space
+ , Str "do"
+ , Space
+ , Str "to-morrow?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "we"
+ , Space
+ , Str "ever"
+ , Space
+ , Str "do?\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "hot"
+ , Space
+ , Str "water"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ten."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "if"
+ , Space
+ , Str "it"
+ , Space
+ , Str "rains,"
+ , Space
+ , Str "a"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "car"
+ , Space
+ , Str "at"
+ , Space
+ , Str "four."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "we"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "play"
+ , Space
+ , Str "a"
+ , Space
+ , Str "game"
+ , Space
+ , Str "of"
+ , Space
+ , Str "chess,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln138" , [] , [] )
+ [ Plain
+ [ Str "Pressing"
+ , Space
+ , Str "lidless"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "and"
+ , Space
+ , Str "waiting"
+ , Space
+ , Str "for"
+ , Space
+ , Str "a"
+ , Space
+ , Str "knock"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "door."
+ , Note
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "138." ]
+ ( "#wasteland-content.xhtml#ln138"
+ , ""
+ )
+ , Space
+ , Str "Cf."
+ , Space
+ , Str "the"
+ , Space
+ , Str "game"
+ , Space
+ , Str "of"
+ , Space
+ , Str "chess"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Middleton's"
+ , Space
+ , Str "Women"
+ , Space
+ , Str "beware"
+ , Space
+ , Str "Women."
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "When"
+ , Space
+ , Str "Lil's"
+ , Space
+ , Str "husband"
+ , Space
+ , Str "got"
+ , Space
+ , Str "demobbed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said"
+ , Space
+ , Str "-"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "didn't"
+ , Space
+ , Str "mince"
+ , Space
+ , Str "my"
+ , Space
+ , Str "words,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "her"
+ , Space
+ , Str "myself,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "140" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Now"
+ , Space
+ , Str "Albert's"
+ , Space
+ , Str "coming"
+ , Space
+ , Str "back,"
+ , Space
+ , Str "make"
+ , Space
+ , Str "yourself"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bit"
+ , Space
+ , Str "smart."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He'll"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "know"
+ , Space
+ , Str "what"
+ , Space
+ , Str "you"
+ , Space
+ , Str "done"
+ , Space
+ , Str "with"
+ , Space
+ , Str "that"
+ , Space
+ , Str "money"
+ , Space
+ , Str "he"
+ , Space
+ , Str "gave"
+ , SoftBreak
+ , Str "you"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "yourself"
+ , Space
+ , Str "some"
+ , Space
+ , Str "teeth."
+ , Space
+ , Str "He"
+ , Space
+ , Str "did,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "there."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "have"
+ , Space
+ , Str "them"
+ , Space
+ , Str "all"
+ , Space
+ , Str "out,"
+ , Space
+ , Str "Lil,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "get"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nice"
+ , Space
+ , Str "set,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "swear,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "bear"
+ , Space
+ , Str "to"
+ , Space
+ , Str "look"
+ , Space
+ , Str "at"
+ , Space
+ , Str "you."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "no"
+ , Space
+ , Str "more"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "I,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "think"
+ , Space
+ , Str "of"
+ , Space
+ , Str "poor"
+ , Space
+ , Str "Albert,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He's"
+ , Space
+ , Str "been"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "army"
+ , Space
+ , Str "four"
+ , Space
+ , Str "years,"
+ , Space
+ , Str "he"
+ , Space
+ , Str "wants"
+ , Space
+ , Str "a"
+ , Space
+ , Str "good"
+ , Space
+ , Str "time,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "give"
+ , Space
+ , Str "it"
+ , Space
+ , Str "him,"
+ , Space
+ , Str "there's"
+ , Space
+ , Str "others"
+ , Space
+ , Str "will,"
+ , Space
+ , Str "I"
+ , SoftBreak
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Oh"
+ , Space
+ , Str "is"
+ , Space
+ , Str "there,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said."
+ , Space
+ , Str "Something"
+ , Space
+ , Str "o'"
+ , Space
+ , Str "that,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "150" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Then"
+ , Space
+ , Str "I'll"
+ , Space
+ , Str "know"
+ , Space
+ , Str "who"
+ , Space
+ , Str "to"
+ , Space
+ , Str "thank,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "give"
+ , Space
+ , Str "me"
+ , Space
+ , Str "a"
+ , Space
+ , Str "straight"
+ , SoftBreak
+ , Str "look."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "like"
+ , Space
+ , Str "it"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "get"
+ , Space
+ , Str "on"
+ , Space
+ , Str "with"
+ , Space
+ , Str "it,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Others"
+ , Space
+ , Str "can"
+ , Space
+ , Str "pick"
+ , Space
+ , Str "and"
+ , Space
+ , Str "choose"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can't."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "But"
+ , Space
+ , Str "if"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "makes"
+ , Space
+ , Str "off,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "won't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "for"
+ , Space
+ , Str "lack"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "telling."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "ought"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "ashamed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "look"
+ , Space
+ , Str "so"
+ , Space
+ , Str "antique."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(And"
+ , Space
+ , Str "her"
+ , Space
+ , Str "only"
+ , Space
+ , Str "thirty-one.)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "help"
+ , Space
+ , Str "it,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "pulling"
+ , Space
+ , Str "a"
+ , Space
+ , Str "long"
+ , Space
+ , Str "face,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "It's"
+ , Space
+ , Str "them"
+ , Space
+ , Str "pills"
+ , Space
+ , Str "I"
+ , Space
+ , Str "took,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "bring"
+ , Space
+ , Str "it"
+ , Space
+ , Str "off,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(She's"
+ , Space
+ , Str "had"
+ , Space
+ , Str "five"
+ , Space
+ , Str "already,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nearly"
+ , Space
+ , Str "died"
+ , Space
+ , Str "of"
+ , Space
+ , Str "young"
+ , Space
+ , Str "George.)"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "160" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "chemist"
+ , Space
+ , Str "said"
+ , Space
+ , Str "it"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "all"
+ , Space
+ , Str "right,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "I've"
+ , Space
+ , Str "never"
+ , Space
+ , Str "been"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "same."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Emph [ Str "are" ]
+ , Space
+ , Str "a"
+ , Space
+ , Str "proper"
+ , Space
+ , Str "fool,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Well,"
+ , Space
+ , Str "if"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "won't"
+ , Space
+ , Str "leave"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alone,"
+ , Space
+ , Str "there"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is,"
+ , Space
+ , Str "I"
+ , SoftBreak
+ , Str "said,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "What"
+ , Space
+ , Str "you"
+ , Space
+ , Str "get"
+ , Space
+ , Str "married"
+ , Space
+ , Str "for"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "want"
+ , Space
+ , Str "children?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Well,"
+ , Space
+ , Str "that"
+ , Space
+ , Str "Sunday"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "was"
+ , Space
+ , Str "home,"
+ , Space
+ , Str "they"
+ , Space
+ , Str "had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hot"
+ , SoftBreak
+ , Str "gammon,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "they"
+ , Space
+ , Str "asked"
+ , Space
+ , Str "me"
+ , Space
+ , Str "in"
+ , Space
+ , Str "to"
+ , Space
+ , Str "dinner,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beauty"
+ , Space
+ , Str "of"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "hot\8213"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Goonight"
+ , Space
+ , Str "Bill."
+ , Space
+ , Str "Goonight"
+ , Space
+ , Str "Lou."
+ , Space
+ , Str "Goonight"
+ , Space
+ , Str "May."
+ , Space
+ , Str "Goonight."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "170" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Ta"
+ , Space
+ , Str "ta."
+ , Space
+ , Str "Goonight."
+ , Space
+ , Str "Goonight."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "ladies,"
+ , Space
+ , Str "good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "sweet"
+ , Space
+ , Str "ladies,"
+ , Space
+ , Str "good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "good"
+ , SoftBreak
+ , Str "night."
+ ]
+ ]
+ ]
+ ]
+ ]
+, Div
+ ( "wasteland-content.xhtml#backmatter"
+ , [ "section" , "backmatter" ]
+ , []
+ )
+ [ Div
+ ( "wasteland-content.xhtml#rearnotes"
+ , [ "section" , "rearnotes" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "NOTES"
+ , Space
+ , Str "ON"
+ , Space
+ , Str "\"THE"
+ , Space
+ , Str "WASTE"
+ , Space
+ , Str "LAND\""
+ ]
+ , Para
+ [ Str "Not"
+ , Space
+ , Str "only"
+ , Space
+ , Str "the"
+ , Space
+ , Str "title,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "the"
+ , Space
+ , Str "plan"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "good"
+ , Space
+ , Str "deal"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "incidental"
+ , Space
+ , Str "symbolism"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "poem"
+ , Space
+ , Str "were"
+ , Space
+ , Str "suggested"
+ , Space
+ , Str "by"
+ , Space
+ , Str "Miss"
+ , Space
+ , Str "Jessie"
+ , Space
+ , Str "L."
+ , Space
+ , Str "Weston's"
+ , Space
+ , Str "book"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Grail"
+ , Space
+ , Str "legend:"
+ , SoftBreak
+ , Str "From"
+ , Space
+ , Str "Ritual"
+ , Space
+ , Str "to"
+ , Space
+ , Str "Romance"
+ ]
+ , Para
+ [ Str "Indeed,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "deeply"
+ , Space
+ , Str "am"
+ , Space
+ , Str "I"
+ , Space
+ , Str "indebted,"
+ , Space
+ , Str "Miss"
+ , Space
+ , Str "Weston's"
+ , Space
+ , Str "book"
+ , Space
+ , Str "will"
+ , Space
+ , Str "elucidate"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "difficulties"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "poem"
+ , Space
+ , Str "much"
+ , Space
+ , Str "better"
+ , Space
+ , Str "than"
+ , Space
+ , Str "my"
+ , Space
+ , Str "notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "do;"
+ , Space
+ , Str "and"
+ , Space
+ , Str "I"
+ , Space
+ , Str "recommend"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "(apart"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "great"
+ , Space
+ , Str "interest"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "book"
+ , Space
+ , Str "itself)"
+ , Space
+ , Str "to"
+ , Space
+ , Str "any"
+ , Space
+ , Str "who"
+ , Space
+ , Str "think"
+ , Space
+ , Str "such"
+ , SoftBreak
+ , Str "elucidation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "poem"
+ , Space
+ , Str "worth"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trouble."
+ , Space
+ , Str "To"
+ , Space
+ , Str "another"
+ , Space
+ , Str "work"
+ , Space
+ , Str "of"
+ , Space
+ , Str "anthropology"
+ , Space
+ , Str "I"
+ , Space
+ , Str "am"
+ , SoftBreak
+ , Str "indebted"
+ , Space
+ , Str "in"
+ , Space
+ , Str "general,"
+ , Space
+ , Str "one"
+ , Space
+ , Str "which"
+ , Space
+ , Str "has"
+ , Space
+ , Str "influenced"
+ , Space
+ , Str "our"
+ , Space
+ , Str "generation"
+ , Space
+ , Str "profoundly;"
+ , Space
+ , Str "I"
+ , Space
+ , Str "mean"
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "Golden"
+ , Space
+ , Str "Bough;"
+ , Space
+ , Str "I"
+ , Space
+ , Str "have"
+ , Space
+ , Str "used"
+ , Space
+ , Str "especially"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "volumes"
+ , Space
+ , Str "Adonis,"
+ , Space
+ , Str "Attis,"
+ , Space
+ , Str "Osiris."
+ , SoftBreak
+ , Str "Anyone"
+ , Space
+ , Str "who"
+ , Space
+ , Str "is"
+ , Space
+ , Str "acquainted"
+ , Space
+ , Str "with"
+ , Space
+ , Str "these"
+ , Space
+ , Str "works"
+ , Space
+ , Str "will"
+ , Space
+ , Str "immediately"
+ , Space
+ , Str "recognise"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "poem"
+ , SoftBreak
+ , Str "certain"
+ , Space
+ , Str "references"
+ , Space
+ , Str "to"
+ , Space
+ , Str "vegetation"
+ , Space
+ , Str "ceremonies."
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "I."
+ , Space
+ , Str "THE"
+ , Space
+ , Str "BURIAL"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "THE"
+ , Space
+ , Str "DEAD"
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "II."
+ , Space
+ , Str "A"
+ , Space
+ , Str "GAME"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "CHESS"
+ ]
+ ]
+ ]
+ ]
+]
diff --git a/test/fb2/reader/emphasis.native b/test/fb2/reader/emphasis.native
index 422e7bb15..a3f4cdeb6 100644
--- a/test/fb2/reader/emphasis.native
+++ b/test/fb2/reader/emphasis.native
@@ -1,6 +1,35 @@
-Pandoc (Meta {unMeta = fromList []})
-[Div ("",["section"],[])
- [Para [Str "Plain,",Space,Strong [Str "strong"],Str ",",Space,Emph [Str "emphasis"],Str ",",Space,Strong [Emph [Str "strong",Space,Str "emphasis"]],Str ",",Space,Emph [Strong [Str "emphasized",Space,Str "strong"]],Str "."]
- ,Para [Str "Strikethrough:",Space,Strikeout [Str "deleted"]]
- ,Para [Subscript [Str "Subscript"],Space,Str "and",Space,Superscript [Str "superscript"]]
- ,Para [Str "Some",Space,Code ("",[],[]) "code"]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Div
+ ( "" , [ "section" ] , [] )
+ [ Para
+ [ Str "Plain,"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Emph [ Str "emphasis" ]
+ , Str ","
+ , Space
+ , Strong [ Emph [ Str "strong" , Space , Str "emphasis" ] ]
+ , Str ","
+ , Space
+ , Emph
+ [ Strong [ Str "emphasized" , Space , Str "strong" ] ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Strikethrough:"
+ , Space
+ , Strikeout [ Str "deleted" ]
+ ]
+ , Para
+ [ Subscript [ Str "Subscript" ]
+ , Space
+ , Str "and"
+ , Space
+ , Superscript [ Str "superscript" ]
+ ]
+ , Para [ Str "Some" , Space , Code ( "" , [] , [] ) "code" ]
+ ]
+ ]
diff --git a/test/fb2/reader/epigraph.native b/test/fb2/reader/epigraph.native
index a58a3e05b..eb11c1d79 100644
--- a/test/fb2/reader/epigraph.native
+++ b/test/fb2/reader/epigraph.native
@@ -1,9 +1,18 @@
-Pandoc (Meta {unMeta = fromList []})
-[Div ("",["epigraph"],[])
- [Para [Str "Body",Space,Str "epigraph"]]
-,Div ("",["section"],[])
- [Div ("",["epigraph"],[])
- [Para [Str "Section",Space,Str "epigraph"]]
- ,Div ("",["section"],[])
- [Div ("",["epigraph"],[])
- [Para [Str "Subsection",Space,Str "epigraph"]]]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Body" , Space , Str "epigraph" ] ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Section" , Space , Str "epigraph" ] ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Subsection" , Space , Str "epigraph" ] ]
+ ]
+ ]
+ ]
diff --git a/test/fb2/reader/meta.native b/test/fb2/reader/meta.native
index 71a8795b6..851250296 100644
--- a/test/fb2/reader/meta.native
+++ b/test/fb2/reader/meta.native
@@ -1,2 +1,48 @@
-Pandoc (Meta {unMeta = fromList [("abstract",MetaBlocks [Para [Str "Book",Space,Str "annotation"],Para [Str "Second",Space,Str "paragraph",Space,Str "of",Space,Str "book",Space,Str "annotation"]]),("author",MetaList [MetaInlines [Str "First",Space,Str "Middle",Space,Str "Last"],MetaInlines [Str "Another",Space,Str "Author"]]),("date",MetaInlines [Str "2018"]),("keywords",MetaList [MetaString "foo",MetaString "bar",MetaString "baz"]),("title",MetaInlines [Str "Book",Space,Str "title"])]})
-[Header 1 ("",[],[]) [Str "Body",Space,Str "title"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "abstract"
+ , MetaBlocks
+ [ Para [ Str "Book" , Space , Str "annotation" ]
+ , Para
+ [ Str "Second"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "of"
+ , Space
+ , Str "book"
+ , Space
+ , Str "annotation"
+ ]
+ ]
+ )
+ , ( "author"
+ , MetaList
+ [ MetaInlines
+ [ Str "First"
+ , Space
+ , Str "Middle"
+ , Space
+ , Str "Last"
+ ]
+ , MetaInlines [ Str "Another" , Space , Str "Author" ]
+ ]
+ )
+ , ( "date" , MetaInlines [ Str "2018" ] )
+ , ( "keywords"
+ , MetaList
+ [ MetaString "foo"
+ , MetaString "bar"
+ , MetaString "baz"
+ ]
+ )
+ , ( "title"
+ , MetaInlines [ Str "Book" , Space , Str "title" ]
+ )
+ ]
+ }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ]
+ ]
diff --git a/test/fb2/reader/notes.native b/test/fb2/reader/notes.native
index f229209cd..56fa3873f 100644
--- a/test/fb2/reader/notes.native
+++ b/test/fb2/reader/notes.native
@@ -1,4 +1,28 @@
-Pandoc (Meta {unMeta = fromList []})
-[Div ("",["section"],[])
- [Para [Str "Note",Space,Note [Para [Str "Note",Space,Str "contents"]],Str "."]
- ,Para [Str "Second",Space,Str "note",Space,Note [Para [Str "Second",Space,Str "note",Space,Str "contents."]],Str "."]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Div
+ ( "" , [ "section" ] , [] )
+ [ Para
+ [ Str "Note"
+ , Space
+ , Note [ Para [ Str "Note" , Space , Str "contents" ] ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Second"
+ , Space
+ , Str "note"
+ , Space
+ , Note
+ [ Para
+ [ Str "Second"
+ , Space
+ , Str "note"
+ , Space
+ , Str "contents."
+ ]
+ ]
+ , Str "."
+ ]
+ ]
+ ]
diff --git a/test/fb2/reader/poem.native b/test/fb2/reader/poem.native
index 67be6a672..2b45347e8 100644
--- a/test/fb2/reader/poem.native
+++ b/test/fb2/reader/poem.native
@@ -1,14 +1,25 @@
-Pandoc (Meta {unMeta = fromList []})
-[Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Poem",Space,Str "title"]
- ,Div ("",["epigraph"],[])
- [Para [Str "Poem",Space,Str "epigraph"]]
- ,Header 2 ("",["unnumbered"],[]) [Str "Subtitle"]
- ,Header 2 ("",[],[]) [Str "First",Space,Str "stanza",Space,Str "title"]
- ,LineBlock
- [[Str "Verse"]
- ,[Emph [Str "More"],Space,Str "verse"]]
- ,LineBlock
- [[Str "One",Space,Str "more",Space,Str "stanza"]]
- ,Para [Str "Author"]
- ,Para [Str "April",Space,Str "2018"]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2 ( "" , [] , [] ) [ Str "Poem" , Space , Str "title" ]
+ , Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Poem" , Space , Str "epigraph" ] ]
+ , Header 2 ( "" , [ "unnumbered" ] , [] ) [ Str "Subtitle" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "First" , Space , Str "stanza" , Space , Str "title" ]
+ , LineBlock
+ [ [ Str "Verse" ]
+ , [ Emph [ Str "More" ] , Space , Str "verse" ]
+ ]
+ , LineBlock
+ [ [ Str "One" , Space , Str "more" , Space , Str "stanza" ]
+ ]
+ , Para [ Str "Author" ]
+ , Para [ Str "April" , Space , Str "2018" ]
+ ]
+ ]
diff --git a/test/fb2/reader/titles.native b/test/fb2/reader/titles.native
index a6c34f5ea..74669d848 100644
--- a/test/fb2/reader/titles.native
+++ b/test/fb2/reader/titles.native
@@ -1,8 +1,38 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("",[],[]) [Str "Body",Space,Str "title"]
-,Div ("",["section"],[])
- [Header 2 ("",[],[]) [Str "Section",Space,Str "title"]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "Subsection",Space,Str "title",LineBreak,Str "with",Space,Str "multiple",Space,Str "paragraphs"]]
- ,Div ("",["section"],[])
- [Header 3 ("",[],[]) [Str "Another",Space,Str "subsection",Space,Str "title"]]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2 ( "" , [] , [] ) [ Str "Section" , Space , Str "title" ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Subsection"
+ , Space
+ , Str "title"
+ , LineBreak
+ , Str "with"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "paragraphs"
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Another"
+ , Space
+ , Str "subsection"
+ , Space
+ , Str "title"
+ ]
+ ]
+ ]
+ ]
diff --git a/test/haddock-reader.native b/test/haddock-reader.native
index 7e36b2f72..619a52fea 100644
--- a/test/haddock-reader.native
+++ b/test/haddock-reader.native
@@ -1,31 +1,401 @@
-Pandoc (Meta {unMeta = fromList []})
-[Para [Str "This",Space,Str "file",Space,Str "tests",Space,Str "the",Space,Str "Pandoc",Space,Str "reader",Space,Str "for",Space,Str "Haddock.",SoftBreak,Str "We've",Space,Str "borrowed",Space,Str "examples",Space,Str "from",Space,Str "Haddock's",Space,Str "documentation:",Space,Link ("",[],[]) [Str "http://www.haskell.org/haddock/doc/html/ch03s08.html"] ("http://www.haskell.org/haddock/doc/html/ch03s08.html","http://www.haskell.org/haddock/doc/html/ch03s08.html"),Str "."]
-,Para [Str "The",Space,Str "following",Space,Str "characters",Space,Str "have",Space,Str "special",Space,Str "meanings",Space,Str "in",Space,Str "Haddock,",Space,Str "/,",Space,Str "',",Space,Str "`,",Space,Str "\",",Space,Str "@,",Space,Str "<,",Space,Str "so",Space,Str "they",Space,Str "must",Space,Str "be",Space,Str "escaped."]
-,Para [Str "*",Space,Str "This",Space,Str "is",Space,Str "a",Space,Str "paragraph,",Space,Str "not",Space,Str "a",Space,Str "list",Space,Str "item.",SoftBreak,Str ">",Space,Str "This",Space,Str "sentence",Space,Str "is",Space,Str "not",Space,Str "code.",SoftBreak,Str ">>>",Space,Str "This",Space,Str "is",Space,Str "not",Space,Str "an",Space,Str "example."]
-,Para [Str "The",Space,Str "references",Space,Str "\955,",Space,Str "\955",Space,Str "and",Space,Str "\955",Space,Str "all",Space,Str "represent",Space,Str "the",Space,Str "lower-case",Space,Str "letter",Space,Str "lambda."]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "code",Space,Str "block:"]
-,CodeBlock ("",[],[]) "map :: (a -> b) -> [a] -> [b]\nmap _ [] = []\nmap f (x:xs) = f x : map f xs"
-,Para [Str "This",Space,Str "is",Space,Str "another",Space,Str "code",Space,Str "block:"]
-,Para [Code ("",[],[]) "f x = x + x.",LineBreak,Code ("",[],[]) "The @...@ code block ",Emph [Code ("",[],[]) "interprets markup normally"],Code ("",[],[]) ".",Code ("",["haskell","module"],[]) "Module.Foo",Code ("",[],[]) "",LineBreak,Code ("",[],[]) "\"Hello World\""]
-,Para [Str "Haddock",Space,Str "supports",Space,Str "REPL",Space,Str "examples:"]
-,Para [Code ("",["prompt"],[]) ">>>",Space,Code ("",["haskell","expr"],[]) "fib 10",LineBreak,Code ("",["result"],[]) "55"]
-,Para [Code ("",["prompt"],[]) ">>>",Space,Code ("",["haskell","expr"],[]) "putStrLn \"foo\\nbar\"",LineBreak,Code ("",["result"],[]) "foo",LineBreak,Code ("",["result"],[]) "bar"]
-,Para [Str "That",Space,Str "was",Space,Emph [Str "really",Space,Str "cool"],Str "!",SoftBreak,Str "I",Space,Str "had",Space,Str "no",Space,Str "idea",Space,Code ("",[],[]) "fib 10 = 55",Str "."]
-,Para [Str "This",Space,Str "module",Space,Str "defines",Space,Str "the",Space,Str "type",Space,Code ("",["haskell","identifier"],[]) "T",Str ".",SoftBreak,Str "The",Space,Str "identifier",Space,Code ("",["haskell","identifier"],[]) "M.T",Space,Str "is",Space,Str "not",Space,Str "in",Space,Str "scope",SoftBreak,Str "I",Space,Str "don't",Space,Str "have",Space,Str "to",Space,Str "escape",Space,Str "my",Space,Str "apostrophes;",Space,Str "great,",Space,Str "isn't",Space,Str "it?",SoftBreak,Str "This",Space,Str "is",Space,Str "a",Space,Str "reference",Space,Str "to",Space,Str "the",Space,Code ("",["haskell","module"],[]) "Foo",Space,Str "module."]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "bulleted",Space,Str "list:"]
-,BulletList
- [[Para [Str "first",Space,Str "item"]]
- ,[Para [Str "second",Space,Str "item"]]]
-,Para [Str "This",Space,Str "is",Space,Str "an",Space,Str "enumerated",Space,Str "list:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "first",Space,Str "item"]]
- ,[Para [Str "second",Space,Str "item"]]]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "definition",Space,Str "list:"]
-,DefinitionList
- [([Code ("",[],[]) "foo"],
- [[Para [Str "The",Space,Str "description",Space,Str "of",Space,Code ("",[],[]) "foo",Str "."]]])
- ,([Code ("",[],[]) "bar"],
- [[Para [Str "The",Space,Str "description",Space,Str "of",Space,Code ("",[],[]) "bar",Str "."]]])]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "link:",Space,Link ("",[],[]) [Str "http://haskell.org"] ("http://haskell.org","http://haskell.org")]
-,Para [Link ("",[],[]) [Str "Haskell"] ("http://haskell.org","http://haskell.org"),Space,Str "is",Space,Str "a",Space,Str "fun",Space,Str "language!"]
-,Para [Link ("",[],[]) [Str "Click",Space,Str "Here!"] ("http://example.com","http://example.com")]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "file"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Pandoc"
+ , Space
+ , Str "reader"
+ , Space
+ , Str "for"
+ , Space
+ , Str "Haddock."
+ , SoftBreak
+ , Str "We've"
+ , Space
+ , Str "borrowed"
+ , Space
+ , Str "examples"
+ , Space
+ , Str "from"
+ , Space
+ , Str "Haddock's"
+ , Space
+ , Str "documentation:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ ]
+ ( "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ , "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ )
+ , Str "."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "have"
+ , Space
+ , Str "special"
+ , Space
+ , Str "meanings"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Haddock,"
+ , Space
+ , Str "/,"
+ , Space
+ , Str "',"
+ , Space
+ , Str "`,"
+ , Space
+ , Str "\","
+ , Space
+ , Str "@,"
+ , Space
+ , Str "<,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "they"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "escaped."
+ ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "This"
+ , Space
+ , Str "sentence"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "code."
+ , SoftBreak
+ , Str ">>>"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "references"
+ , Space
+ , Str "\955,"
+ , Space
+ , Str "\955"
+ , Space
+ , Str "and"
+ , Space
+ , Str "\955"
+ , Space
+ , Str "all"
+ , Space
+ , Str "represent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lower-case"
+ , Space
+ , Str "letter"
+ , Space
+ , Str "lambda."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "map :: (a -> b) -> [a] -> [b]\nmap _ [] = []\nmap f (x:xs) = f x : map f xs"
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block:"
+ ]
+ , Para
+ [ Code ( "" , [] , [] ) "f x = x + x."
+ , LineBreak
+ , Code ( "" , [] , [] ) "The @...@ code block "
+ , Emph
+ [ Code ( "" , [] , [] ) "interprets markup normally" ]
+ , Code ( "" , [] , [] ) "."
+ , Code ( "" , [ "haskell" , "module" ] , [] ) "Module.Foo"
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "\"Hello World\""
+ ]
+ , Para
+ [ Str "Haddock"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "REPL"
+ , Space
+ , Str "examples:"
+ ]
+ , Para
+ [ Code ( "" , [ "prompt" ] , [] ) ">>>"
+ , Space
+ , Code ( "" , [ "haskell" , "expr" ] , [] ) "fib 10"
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "55"
+ ]
+ , Para
+ [ Code ( "" , [ "prompt" ] , [] ) ">>>"
+ , Space
+ , Code
+ ( "" , [ "haskell" , "expr" ] , [] )
+ "putStrLn \"foo\\nbar\""
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "foo"
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "bar"
+ ]
+ , Para
+ [ Str "That"
+ , Space
+ , Str "was"
+ , Space
+ , Emph [ Str "really" , Space , Str "cool" ]
+ , Str "!"
+ , SoftBreak
+ , Str "I"
+ , Space
+ , Str "had"
+ , Space
+ , Str "no"
+ , Space
+ , Str "idea"
+ , Space
+ , Code ( "" , [] , [] ) "fib 10 = 55"
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "module"
+ , Space
+ , Str "defines"
+ , Space
+ , Str "the"
+ , Space
+ , Str "type"
+ , Space
+ , Code ( "" , [ "haskell" , "identifier" ] , [] ) "T"
+ , Str "."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "identifier"
+ , Space
+ , Code ( "" , [ "haskell" , "identifier" ] , [] ) "M.T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "in"
+ , Space
+ , Str "scope"
+ , SoftBreak
+ , Str "I"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "have"
+ , Space
+ , Str "to"
+ , Space
+ , Str "escape"
+ , Space
+ , Str "my"
+ , Space
+ , Str "apostrophes;"
+ , Space
+ , Str "great,"
+ , Space
+ , Str "isn't"
+ , Space
+ , Str "it?"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [ "haskell" , "module" ] , [] ) "Foo"
+ , Space
+ , Str "module."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bulleted"
+ , Space
+ , Str "list:"
+ ]
+ , BulletList
+ [ [ Para [ Str "first" , Space , Str "item" ] ]
+ , [ Para [ Str "second" , Space , Str "item" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "enumerated"
+ , Space
+ , Str "list:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "first" , Space , Str "item" ] ]
+ , [ Para [ Str "second" , Space , Str "item" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "list:"
+ ]
+ , DefinitionList
+ [ ( [ Code ( "" , [] , [] ) "foo" ]
+ , [ [ Para
+ [ Str "The"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [] , [] ) "foo"
+ , Str "."
+ ]
+ ]
+ ]
+ )
+ , ( [ Code ( "" , [] , [] ) "bar" ]
+ , [ [ Para
+ [ Str "The"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [] , [] ) "bar"
+ , Str "."
+ ]
+ ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://haskell.org" ]
+ ( "http://haskell.org" , "http://haskell.org" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Haskell" ]
+ ( "http://haskell.org" , "http://haskell.org" )
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "fun"
+ , Space
+ , Str "language!"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Click" , Space , Str "Here!" ]
+ ( "http://example.com" , "http://example.com" )
+ ]
+ ]
diff --git a/test/html-reader.native b/test/html-reader.native
index 880561a93..dba1cb85f 100644
--- a/test/html-reader.native
+++ b/test/html-reader.native
@@ -1,837 +1,3284 @@
-Pandoc (Meta {unMeta = fromList [("generator",MetaInlines [Str "pandoc"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Header 1 ("pandoc-test-suite",["title"],[]) [Str "Pandoc",Space,Str "Test",Space,Str "Suite"]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",Space,Str "Gruber's",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,HorizontalRule
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,HorizontalRule
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here's",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."]
-,Para [Str "Here's",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,HorizontalRule
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "item",Space,Str "one"]]
- ,[Plain [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",Space,Str ">",Space,Str "1."]
-,Para [Str "Box-style:"]
-,BlockQuote
- [Para [Str "Example:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"]
-,BlockQuote
- [OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "do",Space,Str "laundry"]]
- ,[Plain [Str "take",Space,Str "out",Space,Str "the",Space,Str "trash"]]]]
-,Para [Str "Here's",Space,Str "a",Space,Str "nested",Space,Str "one:"]
-,BlockQuote
- [Para [Str "Joe",Space,Str "said:"]
- ,BlockQuote
- [Para [Str "Don't",Space,Str "quote",Space,Str "me."]]]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,HorizontalRule
-,Header 1 ("inline-quotes",[],[]) [Str "Inline",Space,Str "quotes"]
-,Para [Str "Normal",Space,Str "text",Space,Str "but",Space,Str "then",Space,Str "a",Space,Quoted DoubleQuote [Span ("",[],[("cite","https://www.imdb.com/title/tt0062622/quotes/qt0396921")]) [Str "inline",Space,Str "quote"]],Str "."]
-,Para [Quoted DoubleQuote [Str "Missing",Space,Str "a",Space,Str "cite",Space,Str "attribute",Space,Str "means",Space,Str "its",Space,Str "just",Space,Str "normal",Space,Str "text"]]
-,HorizontalRule
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,HorizontalRule
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Plus",Space,Str "1"]]
- ,[Plain [Str "Plus",Space,Str "2"]]
- ,[Plain [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Minus",Space,Str "1"]]
- ,[Plain [Str "Minus",Space,Str "2"]]
- ,[Plain [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "One"]]
- ,[Plain [Str "Two"]]
- ,[Plain [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog's",Space,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Para [Str "List",Space,Str "styles:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- []
-,OrderedList (1,LowerRoman,DefaultDelim)
- []
-,OrderedList (1,LowerRoman,DefaultDelim)
- []
-,OrderedList (1,DefaultStyle,DefaultDelim)
- []
-,OrderedList (1,LowerRoman,DefaultDelim)
- []
-,OrderedList (1,LowerRoman,DefaultDelim)
- []
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]]]]]]]
-,Para [Str "Here's",Space,Str "another:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Plain [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,DefaultDelim)
- [[Plain [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,DefaultDelim)
- [[Plain [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Plain [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,DefaultDelim)
- [[Plain [Str "a",Space,Str "subsublist"]]
- ,[Plain [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,DefaultDelim)
- [[Plain [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,DefaultDelim)
- [[Plain [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,DefaultDelim)
- [[Plain [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,DefaultDelim)
- [[Plain [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Autonumber."]]
- ,[Plain [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Nested."]]]]]
-,HorizontalRule
-,Header 2 ("definition",[],[]) [Str "Definition"]
-,DefinitionList
- [([Str "Violin"],
- [[Plain [Str "Stringed",Space,Str "musical",Space,Str "instrument."]]
- ,[Plain [Str "Torture",Space,Str "device."]]])
- ,([Str "Cello",LineBreak,Str "Violoncello"],
- [[Plain [Str "Low-voiced",Space,Str "stringed",Space,Str "instrument."]]])]
-,HorizontalRule
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "Empty",Space,Strong [],Space,Str "and",Space,Emph [],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
-,Para [Str "This",Space,Str "is",Space,SmallCaps [Str "small",Space,Str "caps"],Str "."]
-,Para [Str "These",Space,Str "are",Space,Str "all",Space,Str "underlined:",Space,Underline [Str "foo"],Space,Str "and",Space,Underline [Str "bar"],Str "."]
-,Para [Str "These",Space,Str "are",Space,Str "all",Space,Str "strikethrough:",Space,Strikeout [Str "foo"],Str ",",Space,Strikeout [Str "bar"],Str ",",Space,Str "and",Space,Strikeout [Str "baz"],Str "."]
-,HorizontalRule
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Str "\"Hello,\"",Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Str "\"'Shelob'",Space,Str "is",Space,Str "my",Space,Str "name.\""]
-,Para [Str "'A',",Space,Str "'B',",Space,Str "and",Space,Str "'C'",Space,Str "are",Space,Str "letters."]
-,Para [Str "'Oak,'",Space,Str "'elm,'",Space,Str "and",Space,Str "'beech'",Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",Space,Str "So",Space,Str "is",Space,Str "'pine.'"]
-,Para [Str "'He",Space,Str "said,",Space,Str "\"I",Space,Str "want",Space,Str "to",Space,Str "go.\"'",Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",Space,Str "70's?"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Str "'",Code ("",[],[]) "code",Str "'",Space,Str "and",Space,Str "a",Space,Str "\"",Link ("",[],[]) [Str "quoted",Space,Str "link"] ("http://example.com/?foo=1&bar=2",""),Str "\"."]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one---two",Space,Str "---",Space,Str "three--four",Space,Str "--",Space,Str "five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5-7,",Space,Str "255-66,",Space,Str "1987-1999."]
-,Para [Str "Ellipses...and.",Space,Str ".",Space,Str ".and",Space,Str ".",Space,Str ".",Space,Str ".",Space,Str "."]
-,HorizontalRule
-,Header 1 ("latex",[],[]) [Str "LaTeX"]
-,BulletList
- [[Plain [Str "\\cite[22-23]{smith.1899}"]]
- ,[Plain [Str "\\doublespacing"]]
- ,[Plain [Str "$2+2=4$"]]
- ,[Plain [Str "$x",Space,Str "\\in",Space,Str "y$"]]
- ,[Plain [Str "$\\alpha",Space,Str "\\wedge",Space,Str "\\omega$"]]
- ,[Plain [Str "$223$"]]
- ,[Plain [Str "$p$-Tree"]]
- ,[Plain [Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to",Space,Str "0}\\frac{f(x+h)-f(x)}{h}$"]]
- ,[Plain [Str "Here's",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Str "$\\alpha",Space,Str "+",Space,Str "\\omega",Space,Str "\\times",Space,Str "x^2$."]]]
-,Para [Str "These",Space,Str "shouldn't",Space,Str "be",Space,Str "math:"]
-,BulletList
- [[Plain [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code ("",[],[]) "$e = mc^2$",Str "."]]
- ,[Plain [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",Space,Str "(It",Space,Str "worked",Space,Str "if",Space,Str "\"lot\"",Space,Str "is",Space,Str "emphasized.)"]]
- ,[Plain [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",Space,Str "emphasized"],Space,Str "23$."]]]
-,Para [Str "Here's",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
-,Para [Str "\\begin{tabular}{|l|l|}\\hline",Space,Str "Animal",Space,Str "&",Space,Str "Number",Space,Str "\\\\",Space,Str "\\hline",Space,Str "Dog",Space,Str "&",Space,Str "2",Space,Str "\\\\",Space,Str "Cat",Space,Str "&",Space,Str "1",Space,Str "\\\\",Space,Str "\\hline",Space,Str "\\end{tabular}"]
-,HorizontalRule
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Plain [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Plain [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Plain [Str "section:",Space,Str "\167"]]
- ,[Plain [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Plain [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,HorizontalRule
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by two spaces"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by a tab"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with \"quotes\" in it")]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with single quotes")]
-,Para [Str "Email",Space,Str "link",Space,Str "(nobody",Space,Str "[at]",Space,Str "nowhere.net)"]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/","Title with \"quotes\" inside"),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/","Title with \"quote\" inside"),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here's",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here's",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("http://att.com/","AT&T"),Str "."]
-,Para [Str "Here's",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here's",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Plain [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Plain [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Plain [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Str "nobody",Space,Str "[at]",Space,Str "nowhere.net"]
-,BlockQuote
- [Para [Str "Blockquoted:",Space,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",Space,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,HorizontalRule
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "lalune"] ("lalune.jpg","Voyage dans la Lune")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "movie"] ("movie.jpg",""),Space,Str "icon."]
-,HorizontalRule
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,Str "reference",Link ("",[],[]) [Str "(1)"] ("#note_1",""),Str ",",Space,Str "and",Space,Str "another",Link ("",[],[]) [Str "(longnote)"] ("#note_longnote",""),Str ".",Space,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",Space,Str "contains",Space,Str "a",Space,Str "space^(my",Space,Str "note)."]
-,Para [Link ("",[],[]) [Str "(1)"] ("#ref_1",""),Space,Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "in",Space,Str "the",Space,Str "document,",Space,Str "not",Space,Str "just",Space,Str "at",Space,Str "the",Space,Str "end."]
-,Para [Link ("",[],[]) [Str "(longnote)"] ("#ref_longnote",""),Space,Str "Here's",Space,Str "the",Space,Str "other",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",Space,Str "blocks."]
-,Para [Str "Caret",Space,Str "characters",Space,Str "are",Space,Str "used",Space,Str "to",Space,Str "indicate",Space,Str "that",Space,Str "the",Space,Str "blocks",Space,Str "all",Space,Str "belong",Space,Str "to",Space,Str "a",Space,Str "single",Space,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "block",Space,Str "quotes)."]
-,CodeBlock ("",[],[]) " { <code> }"
-,Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "use",Space,Str "a",Space,Str "caret",Space,Str "at",Space,Str "the",Space,Str "beginning",Space,Str "of",Space,Str "every",Space,Str "line,",Space,Str "as",Space,Str "with",Space,Str "blockquotes,",Space,Str "but",Space,Str "all",Space,Str "that",Space,Str "you",Space,Str "need",Space,Str "is",Space,Str "a",Space,Str "caret",Space,Str "at",Space,Str "the",Space,Str "beginning",Space,Str "of",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "the",Space,Str "block",Space,Str "and",Space,Str "any",Space,Str "preceding",Space,Str "blank",Space,Str "lines."]
-,Para [Str "text",Space,Emph [Str "Leading",Space,Str "space"]]
-,Para [Emph [Str "Trailing",Space,Str "space"],Space,Str "text"]
-,Para [Str "text",Space,Emph [Str "Leading",Space,Str "spaces"]]
-,Para [Emph [Str "Trailing",Space,Str "spaces"],Space,Str "text"]
-,Header 1 ("tables",[],[]) [Str "Tables"]
-,Header 2 ("tables-with-headers",[],[]) [Str "Tables",Space,Str "with",Space,Str "Headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Para [Str "Row",Space,Str "headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 1)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 1)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])]
- (TableFoot ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]]
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]]
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]]
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])
- ,(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])
- ,(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("tables-without-headers",[],[]) [Str "Tables",Space,Str "without",Space,Str "Headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Para [Str "tbody",Space,Str "tags",Space,Str "omitted"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Para [Str "empty",Space,Str "head"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Para [Str "explicit",Space,Str "body",Space,Str "and",Space,Str "foot"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])]
- (TableFoot ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])
-,Header 2 ("colspans-and-rowspans",[],[]) [Str "Colspans",Space,Str "and",Space,Str "Rowspans"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 2)
- [Plain [Str "1",Space,Str "and",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 3)
- [Plain [Str "4,",Space,Str "5,",Space,Str "and",Space,Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,HorizontalRule
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 3)
- [Plain [Str "Numbers"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 2) (ColSpan 1)
- [Plain [Str "1",Space,Str "and",Space,Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("attributes",[],[]) [Str "Attributes"]
-,Table ("attrib-test-table",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",["table-head"],[])
- [Row ("",["table-head-row"],[])
- [Cell ("",[],[("abbr","x")]) AlignDefault (RowSpan 1) (ColSpan 3)
- [Plain [Str "Cat",Space,Str "X"]]]])
- [(TableBody ("",["main"],[("part","body")]) (RowHeadColumns 0)
- []
- [Row ("",[],[("part","row")])
- [Cell ("",[],[("part","cell")]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[("valign","bottom")]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[("style","color: #151950")]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])]
- (TableFoot ("",["summary"],[])
- [Row ("",[],[("bgcolor","#ccc")])
- [Cell ("",[],[("square","true")]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])
-,Header 2 ("tag-omission",[],[]) [Str "Tag",Space,Str "omission"]
-,Para [Str "thead,",Space,Str "tbody,",Space,Str "and",Space,Str "tfoot"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]]])]
- (TableFoot ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]]])
-,Header 2 ("empty-tables",[],[]) [Str "Empty",Space,Str "Tables"]
-,Para [Str "This",Space,Str "section",Space,Str "should",Space,Str "be",Space,Str "empty."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "generator" , MetaInlines [ Str "pandoc" ] )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
+ }
+ [ Header
+ 1
+ ( "pandoc-test-suite" , [ "title" ] , [] )
+ [ Str "Pandoc" , Space , Str "Test" , Space , Str "Suite" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber's"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , Space
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , Space
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , Space
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ ]
+ , BlockQuote
+ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "do" , Space , Str "laundry" ] ]
+ , [ Plain
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "one:"
+ ]
+ , BlockQuote
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
+ [ Para
+ [ Str "Don't" , Space , Str "quote" , Space , Str "me." ]
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-quotes" , [] , [] )
+ [ Str "Inline" , Space , Str "quotes" ]
+ , Para
+ [ Str "Normal"
+ , Space
+ , Str "text"
+ , Space
+ , Str "but"
+ , Space
+ , Str "then"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Span
+ ( ""
+ , []
+ , [ ( "cite"
+ , "https://www.imdb.com/title/tt0062622/quotes/qt0396921"
+ )
+ ]
+ )
+ [ Str "inline" , Space , Str "quote" ]
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Quoted
+ DoubleQuote
+ [ Str "Missing"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cite"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "means"
+ , Space
+ , Str "its"
+ , Space
+ , Str "just"
+ , Space
+ , Str "normal"
+ , Space
+ , Str "text"
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , HorizontalRule
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog's"
+ , Space
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "List" , Space , Str "styles:" ]
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList [ [ Plain [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , DefaultDelim )
+ [ [ Plain
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , DefaultDelim )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , DefaultDelim )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , DefaultDelim )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , DefaultDelim )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Nested." ] ] ]
+ ]
+ ]
+ , HorizontalRule
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
+ , DefinitionList
+ [ ( [ Str "Violin" ]
+ , [ [ Plain
+ [ Str "Stringed"
+ , Space
+ , Str "musical"
+ , Space
+ , Str "instrument."
+ ]
+ ]
+ , [ Plain [ Str "Torture" , Space , Str "device." ] ]
+ ]
+ )
+ , ( [ Str "Cello" , LineBreak , Str "Violoncello" ]
+ , [ [ Plain
+ [ Str "Low-voiced"
+ , Space
+ , Str "stringed"
+ , Space
+ , Str "instrument."
+ ]
+ ]
+ ]
+ )
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Empty"
+ , Space
+ , Strong []
+ , Space
+ , Str "and"
+ , Space
+ , Emph []
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , SmallCaps [ Str "small" , Space , Str "caps" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "underlined:"
+ , Space
+ , Underline [ Str "foo" ]
+ , Space
+ , Str "and"
+ , Space
+ , Underline [ Str "bar" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "strikethrough:"
+ , Space
+ , Strikeout [ Str "foo" ]
+ , Str ","
+ , Space
+ , Strikeout [ Str "bar" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Strikeout [ Str "baz" ]
+ , Str "."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Str "\"Hello,\""
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Str "\"'Shelob'"
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name.\""
+ ]
+ , Para
+ [ Str "'A',"
+ , Space
+ , Str "'B',"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'C'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Str "'Oak,'"
+ , Space
+ , Str "'elm,'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'beech'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "'pine.'"
+ ]
+ , Para
+ [ Str "'He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "\"I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go.\"'"
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "70's?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Str "'"
+ , Code ( "" , [] , [] ) "code"
+ , Str "'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "\""
+ , Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "\"."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one---two"
+ , Space
+ , Str "---"
+ , Space
+ , Str "three--four"
+ , Space
+ , Str "--"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5-7,"
+ , Space
+ , Str "255-66,"
+ , Space
+ , Str "1987-1999."
+ ]
+ , Para
+ [ Str "Ellipses...and."
+ , Space
+ , Str "."
+ , Space
+ , Str ".and"
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain [ Str "\\cite[22-23]{smith.1899}" ] ]
+ , [ Plain [ Str "\\doublespacing" ] ]
+ , [ Plain [ Str "$2+2=4$" ] ]
+ , [ Plain
+ [ Str "$x" , Space , Str "\\in" , Space , Str "y$" ]
+ ]
+ , [ Plain
+ [ Str "$\\alpha"
+ , Space
+ , Str "\\wedge"
+ , Space
+ , Str "\\omega$"
+ ]
+ ]
+ , [ Plain [ Str "$223$" ] ]
+ , [ Plain [ Str "$p$-Tree" ] ]
+ , [ Plain
+ [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
+ , Space
+ , Str "0}\\frac{f(x+h)-f(x)}{h}$"
+ ]
+ ]
+ , [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Str "$\\alpha"
+ , Space
+ , Str "+"
+ , Space
+ , Str "\\omega"
+ , Space
+ , Str "\\times"
+ , Space
+ , Str "x^2$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ Str "$22,000"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Emph [ Str "lot" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "money."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "$34,000."
+ , Space
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Str "\"lot\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Para
+ [ Str "\\begin{tabular}{|l|l|}\\hline"
+ , Space
+ , Str "Animal"
+ , Space
+ , Str "&"
+ , Space
+ , Str "Number"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "&"
+ , Space
+ , Str "2"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "Cat"
+ , Space
+ , Str "&"
+ , Space
+ , Str "1"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "\\end{tabular}"
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Plain
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Str "Email"
+ , Space
+ , Str "link"
+ , Space
+ , Str "(nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net)"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "AT&T" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Plain
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Str "nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: <http://example.com/>"
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference"
+ , Link ( "" , [] , [] ) [ Str "(1)" ] ( "#note_1" , "" )
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "another"
+ , Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#note_longnote" , "" )
+ , Str "."
+ , Space
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space^(my"
+ , Space
+ , Str "note)."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "(1)" ] ( "#ref_1" , "" )
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "just"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#ref_longnote" , "" )
+ , Space
+ , Str "Here's"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Caret"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "indicate"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "all"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "blockquotes,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "all"
+ , Space
+ , Str "that"
+ , Space
+ , Str "you"
+ , Space
+ , Str "need"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "block"
+ , Space
+ , Str "and"
+ , Space
+ , Str "any"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "space" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "space" ]
+ , Space
+ , Str "text"
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "spaces" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "spaces" ]
+ , Space
+ , Str "text"
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Header
+ 2
+ ( "tables-with-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para [ Str "Row" , Space , Str "headers" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 1)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 1)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ , TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ , TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "tables-without-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "without"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para
+ [ Str "tbody" , Space , Str "tags" , Space , Str "omitted" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para [ Str "empty" , Space , Str "head" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para
+ [ Str "explicit"
+ , Space
+ , Str "body"
+ , Space
+ , Str "and"
+ , Space
+ , Str "foot"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "colspans-and-rowspans" , [] , [] )
+ [ Str "Colspans"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Rowspans"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 2)
+ [ Plain
+ [ Str "1" , Space , Str "and" , Space , Str "2" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain
+ [ Str "4,"
+ , Space
+ , Str "5,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "6"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Numbers" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 2)
+ (ColSpan 1)
+ [ Plain
+ [ Str "1" , Space , Str "and" , Space , Str "4" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 2 ( "attributes" , [] , [] ) [ Str "Attributes" ]
+ , Table
+ ( "attrib-test-table" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [ "table-head" ] , [] )
+ [ Row
+ ( "" , [ "table-head-row" ] , [] )
+ [ Cell
+ ( "" , [] , [ ( "abbr" , "x" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Cat" , Space , Str "X" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [ "main" ] , [ ( "part" , "body" ) ] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [ ( "part" , "row" ) ] )
+ [ Cell
+ ( "" , [] , [ ( "part" , "cell" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [ ( "valign" , "bottom" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [ ( "style" , "color: #151950" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [ "summary" ] , [] )
+ [ Row
+ ( "" , [] , [ ( "bgcolor" , "#ccc" ) ] )
+ [ Cell
+ ( "" , [] , [ ( "square" , "true" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "tag-omission" , [] , [] )
+ [ Str "Tag" , Space , Str "omission" ]
+ , Para
+ [ Str "thead,"
+ , Space
+ , Str "tbody,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "tfoot"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "empty-tables" , [] , [] )
+ [ Str "Empty" , Space , Str "Tables" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "empty."
+ ]
+ ]
diff --git a/test/ipynb/mime.ipynb b/test/ipynb/mime.ipynb
new file mode 100644
index 000000000..8789ca857
--- /dev/null
+++ b/test/ipynb/mime.ipynb
@@ -0,0 +1,187 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "id": "0ad1fbe7-107b-4668-ae4d-8ce4ae9a4400",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from __future__ import annotations\n",
+ "\n",
+ "from dataclasses import dataclass"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "id": "c2d3a9f4-dfdb-4ced-bbcd-3dfd1780af80",
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "7.29.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "import IPython\n",
+ "\n",
+ "print(IPython.__version__)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "21e7a4a1-0cf8-48cc-823c-dca698ae6853",
+ "metadata": {},
+ "source": [
+ "Supported IPython display formatters:"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "id": "053cdbc4-b157-4e3e-9c86-8f374770d006",
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "text/plain\n",
+ "text/html\n",
+ "text/markdown\n",
+ "image/svg+xml\n",
+ "image/png\n",
+ "application/pdf\n",
+ "image/jpeg\n",
+ "text/latex\n",
+ "application/json\n",
+ "application/javascript\n"
+ ]
+ }
+ ],
+ "source": [
+ "ip = get_ipython()\n",
+ "for mime in ip.display_formatter.formatters:\n",
+ " print(mime)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "d79b063d-ce81-497b-a0ea-5b2e2972e845",
+ "metadata": {},
+ "source": [
+ "Let's write a simple class that will output different mime:"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "id": "c847636c-1c45-432e-9d8d-7310dd7f5637",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "@dataclass\n",
+ "class Mime:\n",
+ " math: str\n",
+ "\n",
+ " def _repr_mimebundle_(\n",
+ " self,\n",
+ " include: Container[str] | None = None,\n",
+ " exclude: Container[str] | None = None,\n",
+ " **kwargs,\n",
+ " ) -> dict[str, str]:\n",
+ " string = self.math\n",
+ " data = {\n",
+ " \"text/plain\": string,\n",
+ " \"text/html\": (latex := f\"\\\\[{string}\\\\]\"),\n",
+ " \"text/markdown\": f\"$${string}$$\",\n",
+ " # \"image/svg+xml\":,\n",
+ " # \"image/png\":,\n",
+ " # \"application/pdf\":,\n",
+ " # \"image/jpeg\":,\n",
+ " \"text/latex\": latex,\n",
+ " # \"application/json\":,\n",
+ " # \"application/javascript\":,\n",
+ " }\n",
+ " if include:\n",
+ " data = {k: v for k, v in data.items() if k in include}\n",
+ " if exclude:\n",
+ " data = {k: v for k, v in data.items() if k not in exclude}\n",
+ " return data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "id": "4fa54f22-0c3a-4809-91f7-ea7101ff1907",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "mime = Mime(\"E = mc^2\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "id": "c419e6a6-240c-4af0-a244-5f1526705c30",
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\\[E = mc^2\\]"
+ ],
+ "text/latex": [
+ "\\[E = mc^2\\]"
+ ],
+ "text/markdown": [
+ "$$E = mc^2$$"
+ ],
+ "text/plain": [
+ "E = mc^2"
+ ]
+ },
+ "execution_count": 6,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "mime"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "bf140b8e-16ac-4670-9778-f1c1d9486f9d",
+ "metadata": {},
+ "source": [
+ "Note that #7561 made ipynb reader aware of this, and #7563 made ipynb writer aware of this."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3 (ipykernel)",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.9.6"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}
diff --git a/test/ipynb/mime.native b/test/ipynb/mime.native
new file mode 100644
index 000000000..21e3444e2
--- /dev/null
+++ b/test/ipynb/mime.native
@@ -0,0 +1,154 @@
+[ Div
+ ( "0ad1fbe7-107b-4668-ae4d-8ce4ae9a4400"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "1" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "from __future__ import annotations\n\nfrom dataclasses import dataclass"
+ ]
+, Div
+ ( "c2d3a9f4-dfdb-4ced-bbcd-3dfd1780af80"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "2" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "import IPython\n\nprint(IPython.__version__)"
+ , Div
+ ( "" , [ "output" , "stream" , "stdout" ] , [] )
+ [ CodeBlock ( "" , [] , [] ) "7.29.0\n" ]
+ ]
+, Div
+ ( "21e7a4a1-0cf8-48cc-823c-dca698ae6853"
+ , [ "cell" , "markdown" ]
+ , []
+ )
+ [ Para
+ [ Str "Supported"
+ , Space
+ , Str "IPython"
+ , Space
+ , Str "display"
+ , Space
+ , Str "formatters:"
+ ]
+ ]
+, Div
+ ( "053cdbc4-b157-4e3e-9c86-8f374770d006"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "3" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "ip = get_ipython()\nfor mime in ip.display_formatter.formatters:\n print(mime)"
+ , Div
+ ( "" , [ "output" , "stream" , "stdout" ] , [] )
+ [ CodeBlock
+ ( "" , [] , [] )
+ "text/plain\ntext/html\ntext/markdown\nimage/svg+xml\nimage/png\napplication/pdf\nimage/jpeg\ntext/latex\napplication/json\napplication/javascript\n"
+ ]
+ ]
+, Div
+ ( "d79b063d-ce81-497b-a0ea-5b2e2972e845"
+ , [ "cell" , "markdown" ]
+ , []
+ )
+ [ Para
+ [ Str "Let's"
+ , Space
+ , Str "write"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "class"
+ , Space
+ , Str "that"
+ , Space
+ , Str "will"
+ , Space
+ , Str "output"
+ , Space
+ , Str "different"
+ , Space
+ , Str "mime:"
+ ]
+ ]
+, Div
+ ( "c847636c-1c45-432e-9d8d-7310dd7f5637"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "4" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "@dataclass\nclass Mime:\n math: str\n\n def _repr_mimebundle_(\n self,\n include: Container[str] | None = None,\n exclude: Container[str] | None = None,\n **kwargs,\n ) -> dict[str, str]:\n string = self.math\n data = {\n \"text/plain\": string,\n \"text/html\": (latex := f\"\\\\[{string}\\\\]\"),\n \"text/markdown\": f\"$${string}$$\",\n # \"image/svg+xml\":,\n # \"image/png\":,\n # \"application/pdf\":,\n # \"image/jpeg\":,\n \"text/latex\": latex,\n # \"application/json\":,\n # \"application/javascript\":,\n }\n if include:\n data = {k: v for k, v in data.items() if k in include}\n if exclude:\n data = {k: v for k, v in data.items() if k not in exclude}\n return data"
+ ]
+, Div
+ ( "4fa54f22-0c3a-4809-91f7-ea7101ff1907"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "5" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] ) "mime = Mime(\"E = mc^2\")"
+ ]
+, Div
+ ( "c419e6a6-240c-4af0-a244-5f1526705c30"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "6" ) ]
+ )
+ [ CodeBlock ( "" , [ "python" ] , [] ) "mime"
+ , Div
+ ( ""
+ , [ "output" , "execute_result" ]
+ , [ ( "execution_count" , "6" ) ]
+ )
+ [ RawBlock (Format "html") "\\[E = mc^2\\]"
+ , RawBlock (Format "latex") "\\[E = mc^2\\]"
+ , RawBlock (Format "markdown") "$$E = mc^2$$"
+ , CodeBlock ( "" , [] , [] ) "E = mc^2"
+ ]
+ ]
+, Div
+ ( "bf140b8e-16ac-4670-9778-f1c1d9486f9d"
+ , [ "cell" , "markdown" ]
+ , []
+ )
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "that"
+ , Space
+ , Str "#7561"
+ , Space
+ , Str "made"
+ , Space
+ , Str "ipynb"
+ , Space
+ , Str "reader"
+ , Space
+ , Str "aware"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "#7563"
+ , Space
+ , Str "made"
+ , Space
+ , Str "ipynb"
+ , Space
+ , Str "writer"
+ , Space
+ , Str "aware"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this."
+ ]
+ ]
+]
diff --git a/test/ipynb/mime.out.ipynb b/test/ipynb/mime.out.ipynb
new file mode 100644
index 000000000..4cc806a1e
--- /dev/null
+++ b/test/ipynb/mime.out.ipynb
@@ -0,0 +1,169 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from __future__ import annotations\n",
+ "\n",
+ "from dataclasses import dataclass"
+ ],
+ "id": "0ad1fbe7-107b-4668-ae4d-8ce4ae9a4400"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "7.29.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "import IPython\n",
+ "\n",
+ "print(IPython.__version__)"
+ ],
+ "id": "c2d3a9f4-dfdb-4ced-bbcd-3dfd1780af80"
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Supported IPython display formatters:"
+ ],
+ "id": "21e7a4a1-0cf8-48cc-823c-dca698ae6853"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "text/plain\n",
+ "text/html\n",
+ "text/markdown\n",
+ "image/svg+xml\n",
+ "image/png\n",
+ "application/pdf\n",
+ "image/jpeg\n",
+ "text/latex\n",
+ "application/json\n",
+ "application/javascript\n"
+ ]
+ }
+ ],
+ "source": [
+ "ip = get_ipython()\n",
+ "for mime in ip.display_formatter.formatters:\n",
+ " print(mime)"
+ ],
+ "id": "053cdbc4-b157-4e3e-9c86-8f374770d006"
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Let's write a simple class that will output different mime:"
+ ],
+ "id": "d79b063d-ce81-497b-a0ea-5b2e2972e845"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "@dataclass\n",
+ "class Mime:\n",
+ " math: str\n",
+ "\n",
+ " def _repr_mimebundle_(\n",
+ " self,\n",
+ " include: Container[str] | None = None,\n",
+ " exclude: Container[str] | None = None,\n",
+ " **kwargs,\n",
+ " ) -> dict[str, str]:\n",
+ " string = self.math\n",
+ " data = {\n",
+ " \"text/plain\": string,\n",
+ " \"text/html\": (latex := f\"\\\\[{string}\\\\]\"),\n",
+ " \"text/markdown\": f\"$${string}$$\",\n",
+ " # \"image/svg+xml\":,\n",
+ " # \"image/png\":,\n",
+ " # \"application/pdf\":,\n",
+ " # \"image/jpeg\":,\n",
+ " \"text/latex\": latex,\n",
+ " # \"application/json\":,\n",
+ " # \"application/javascript\":,\n",
+ " }\n",
+ " if include:\n",
+ " data = {k: v for k, v in data.items() if k in include}\n",
+ " if exclude:\n",
+ " data = {k: v for k, v in data.items() if k not in exclude}\n",
+ " return data"
+ ],
+ "id": "c847636c-1c45-432e-9d8d-7310dd7f5637"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "mime = Mime(\"E = mc^2\")"
+ ],
+ "id": "4fa54f22-0c3a-4809-91f7-ea7101ff1907"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "execute_result",
+ "execution_count": 6,
+ "metadata": {},
+ "data": {
+ "text/html": [
+ "\\[E = mc^2\\]"
+ ],
+ "text/latex": [
+ "\\[E = mc^2\\]"
+ ],
+ "text/markdown": [
+ "$$E = mc^2$$"
+ ],
+ "text/plain": [
+ "E = mc^2"
+ ]
+ }
+ }
+ ],
+ "source": [
+ "mime"
+ ],
+ "id": "c419e6a6-240c-4af0-a244-5f1526705c30"
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Note that #7561 made ipynb reader aware of this, and #7563 made ipynb writer aware of this."
+ ],
+ "id": "bf140b8e-16ac-4670-9778-f1c1d9486f9d"
+ }
+ ],
+ "nbformat": 4,
+ "nbformat_minor": 5,
+ "metadata": {}
+}
diff --git a/test/ipynb/rank.ipynb b/test/ipynb/rank.ipynb
new file mode 100644
index 000000000..c03ed7d99
--- /dev/null
+++ b/test/ipynb/rank.ipynb
@@ -0,0 +1,60 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "id": "5cf8f54d-bf3c-4db2-996d-22662a86ad43",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import matplotlib.pyplot as plt"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "id": "a0228622-9ff8-4392-9ddd-f70a90f0e106",
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": "<p><em>you should see this when converting from ipynb to html instead of the image below.</em></p>",
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8/fFQqAAAACXBIWXMAAACdAAAAnQGPcuduAAAASUlEQVR4nGNkYGBgc1HM+/lfkI/hqQ0XAwsDAwPDzSphBi6h/wwlahsgAiJCHxkkBL4zWLA8YGBkYGBgZGBg4GRgYPjDwMDABADgfgxL+wQIRAAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<Figure size 4x4 with 1 Axes>"
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "fig, ax = plt.subplots(figsize=(1, 1), dpi=4)\n",
+ "ax.imshow([[0, 1], [2, 3]]);"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3 (ipykernel)",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.10.0"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}
diff --git a/test/ipynb/rank.out.html b/test/ipynb/rank.out.html
new file mode 100644
index 000000000..a82fe8bbc
--- /dev/null
+++ b/test/ipynb/rank.out.html
@@ -0,0 +1,14 @@
+<div id="5cf8f54d-bf3c-4db2-996d-22662a86ad43" class="cell code"
+data-execution_count="1">
+<div class="sourceCode" id="cb1"><pre class="sourceCode
+python"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> matplotlib.pyplot <span class="im">as</span> plt</span></code></pre></div>
+</div>
+<div id="a0228622-9ff8-4392-9ddd-f70a90f0e106" class="cell code"
+data-execution_count="2">
+<div class="sourceCode" id="cb2"><pre class="sourceCode
+python"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>fig, ax <span class="op">=</span> plt.subplots(figsize<span class="op">=</span>(<span class="dv">1</span>, <span class="dv">1</span>), dpi<span class="op">=</span><span class="dv">4</span>)</span>
+<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>ax.imshow([[<span class="dv">0</span>, <span class="dv">1</span>], [<span class="dv">2</span>, <span class="dv">3</span>]])<span class="op">;</span></span></code></pre></div>
+<div class="output display_data">
+<p><em>you should see this when converting from ipynb to html instead of the image below.</em></p>
+</div>
+</div>
diff --git a/test/ipynb/simple.in.native b/test/ipynb/simple.in.native
index cc707877f..8f3d36019 100644
--- a/test/ipynb/simple.in.native
+++ b/test/ipynb/simple.in.native
@@ -1,15 +1,15 @@
Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaInlines [Str "4"]),("nbformat_minor",MetaInlines [Str "5"])]))]})
-[Div ("",["cell","markdown"],[])
+[Div ("uid1",["cell","markdown"],[])
[Header 1 ("lorem-ipsum",[],[]) [Str "Lorem",Space,Str "ipsum"]
,Para [Strong [Str "Lorem",Space,Str "ipsum"],Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipiscing",Space,Str "elit.",Space,Str "Nunc",Space,Str "luctus",SoftBreak,Str "bibendum",Space,Str "felis",Space,Str "dictum",Space,Str "sodales."]]
-,Div ("",["cell","code"],[])
+,Div ("uid2",["cell","code"],[])
[CodeBlock ("",["python"],[]) "print(\"hello\")"]
-,Div ("",["cell","markdown"],[])
+,Div ("uid3",["cell","markdown"],[])
[Header 2 ("pyout",[],[]) [Str "Pyout"]]
-,Div ("",["cell","code"],[("execution_count","2")])
+,Div ("uid4",["cell","code"],[("execution_count","2")])
[CodeBlock ("",["python"],[]) "from IPython.display import HTML\nHTML(\"\"\"\n<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\n\"\"\")"
- ,Div ("",["output","execute_result"],[("execution_count","2")])
+ ,Div ("uid5",["output","execute_result"],[("execution_count","2")])
[RawBlock (Format "html") "<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\nhello"]]
-,Div ("",["cell","markdown"],[("tags","[\"foo\",\"bar\"]")])
+,Div ("uid6",["cell","markdown"],[("tags","[\"foo\",\"bar\"]")])
[Header 2 ("image",[],[]) [Str "Image"]
,Para [Str "This",Space,Str "image",Space,Image ("",[],[]) [Str "the",Space,Str "moon"] ("lalune.jpg",""),Space,Str "will",Space,Str "be",Space,Str "included",Space,Str "as",Space,Str "a",Space,Str "cell",SoftBreak,Str "attachment."]]]
diff --git a/test/ipynb/simple.ipynb b/test/ipynb/simple.ipynb
index 26901db57..c2dbe0640 100644
--- a/test/ipynb/simple.ipynb
+++ b/test/ipynb/simple.ipynb
@@ -9,7 +9,8 @@
"\n",
"**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Nunc luctus\n",
"bibendum felis dictum sodales."
- ]
+ ],
+ "id": "uid1"
},
{
"cell_type": "code",
@@ -18,7 +19,8 @@
"outputs": [],
"source": [
"print(\"hello\")"
- ]
+ ],
+ "id": "uid2"
},
{
"cell_type": "markdown",
@@ -26,7 +28,8 @@
"source": [
"Pyout\n",
"-----"
- ]
+ ],
+ "id": "uid3"
},
{
"cell_type": "code",
@@ -56,7 +59,8 @@
"</script>\n",
"<b>HTML</b>\n",
"\"\"\")"
- ]
+ ],
+ "id": "uid4"
},
{
"cell_type": "markdown",
@@ -77,7 +81,8 @@
"lalune.jpg": {
"image/jpeg": "/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcU\nFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgo\nKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAD6APoDAREA\nAhEBAxEB/8QAHAAAAAcBAQAAAAAAAAAAAAAAAQIDBAUGBwAI/8QAPhAAAgEDAwIEBAQFAgUFAAMA\nAQIDAAQRBRIhBjETIkFRB2FxgRQykaEjQlKxwRXwFjNictEIJEPh8SZTgv/EABcBAQEBAQAAAAAA\nAAAAAAAAAAABAgT/xAAbEQEBAQEAAwEAAAAAAAAAAAAAARECEiExQf/aAAwDAQACEQMRAD8A2t0Y\noQpwT2qVzMV+N3UHgrDY2eoM0y58VEbgfp9K1yMRmnuJ5h40jyYHGSeKrWE8u2QAApOMdqGCsmT8\nh70TAJwMAZx249aKBy4c9vTNUC0zDCgmmmG7Ockjkj1PrUTAjcy5XP0ouCgHae4IomOJHhgIc55P\nHY0Uk5IXLMcUBQ27n96JYO2MYLebHtRBA7BcMx29sdxQJqwZRtIP+BQKpjHHc+xzigNGoAO/k+nP\nAoAYlee5oBiGeWySO9AJCgY5PHagFCADzj2GaA2N2TkjA/U0HMwbPPeiyBLDfkkj04FCl1cBMgn6\nURwYFGySR6D2oAeQDAxnHGKAhU4IbGc+tFwnwDj9aK7f8v2oNu+IHxNvJdXmt9EmKWSqArA/mPvx\nUxMZNe3Ml1dvNcMzSSEsxPOferJhht/OWyAPc0UfdgDcuM8n50AMCykZFARsngcY/egTcbjnJz9O\n9AB2kZGSQOcUCX8x83bntQCMruJ4B7D1oCyOGzxtJ9M80CAdg5UjFE0aFJrghLeNpHY4IRdx/QUN\nWCw6D6q1EZttEvirHAZ4ig/U4qw1b9H+CHVN3Mq6hJaWMJ5ZjJ4hA/7R3P3q3ET+pf8Ap/lWNm03\nXkkkA8qTW+3PHupP9qxopV78G+s7VSV0+OcAn/kzqSfscVvIKzqPTWu6XKE1LSL+Bhz5oDg/cd6l\nEZzGwLrtPqrA8frUCJfcw9gfegUjZsEAffNADyHt78UAjCjzDJxRcO5Pw3gwCGOVJQp8ZncMGOeN\noxwMY96GCbQffFFcUXKjDDt2NEo+N3yyM5z3okKuqJgIzONoJyuMGi4QfGcqSfXBoYHJx659qKIR\nnnsfUGgJn/poJYoTIGLY+eDzQFlQK2G/KCTmgbspfO0qce/agPGcR7nHf9vnQFfBPlOc88Gg7uuc\nc/M0Bd208YJJweKAYrea4kKQICRGW5IUYUZJ570DYqcknt3FE0VuVyDzj1oamOlulda6puvC0a0e\nZVIWSbtGn1Y1NNbX0x8ENH0qL8X1NdtqDoNxiQbIh8u+WpqL70Tc6fcxypouiRadbW8hhLFFXcB7\nEdz+tNFvEZxkmmgShbA9PlUA+Hgg/wBqDgmBkd6ArJuJBGR7VdEdqWgaVqMfh6hp9pcLj/5Ig2Ka\nKJrvwW6S1EFoLaWwmPIe2fAz81ORTRm3UfwI1mzBbRL+K/ReyS/w3x/b+1Wexmev9O6xoE2zWdOu\nbUDszr5T9G7H9auCJj2n3PPrUXTlGBB2kYx96GlQMjJJHuRRXBgDgk8DtRKH8w4OfYA0SUlIMsFX\nJ4oujHH8ufnRRGOSNoJNAeFC77F2jPucfvQFEqgY3nj/AKaCUY58wwq54AoCzOmVMke9QeRnGR7Z\noEIF7pnaTk49KDpSSwQntQJsGKjgggZ9uDQc4OOe1Am2UCkHOR7dqA8t/cSW8MEkrGGEsUTPCk4z\nj9KJT3pzQtS6m1aPT9Jh8SVxlmJwqL/UfYURuuhfArR7f8NLrF1cXciKDJCrbI2b7c4+9NGtaRpt\nrpdqltYW0VtAn5Y41wBUodvGjqUdQyn0YZqAIreOBFSFFRF7BQAKA1xcRwKplcJuOBn1NAR7y2ik\nWMzoZnGVQHJNAuQcD3oBKkD2FBy8jnvQFxnjjmg4rxwKBMqCBtPNA3vbCC+tngvYo54HGGSRQQR9\nDV0Y91n8DNOvFkuOmZmsrk5PgSNuiY98D1X+1XRhWu6DqWgX72er2j2069t/ZvmD2IoGG7jbnj1F\nFlB224PB+VClN4DYJHyAojmPGCck8cetCAxgjPp6UaAGKtx6+9ATAXO7nFBw8HHLN+goJhBuj2Fe\nAcnmgNazW8U0vjweODGyqpYrsYjytx3x3oGa5LEEjH9XvQGlgmjjMmQq4HBPfPYgevagG5nhe3tk\nFuInQHxJQTmQntn0wKBKTlAeDx60DSY+U9zn+mgsnQvROr9Y3W2xi8KxV8SXUnCrjvj1Y/IUR6c6\nA6H03o6wMVgrSXMoBmuX/NIf8Djt/eiLfjJwO9ZBiOfmKDhktzQAzYBLZ8oyaDF+rOptVv8AUjNZ\nL4tjA/lT+kr3wvqTQX/pi3Y+DqFxKXurmFWAaPaVzg4I/b0oHlxqV7penRTXFu93dPLsESYB2k8n\n7CgnradLq1WaIOFI/K42sPkRQCg3Kcd6Dgp3d6AdrGg5VxnjmgKWB8uQGxnFAUgKuSefSghuqNC0\njXbAWGtxQyJKdsYc4YMf6T6GtDzR8S/hnqfSUz3NvuvNILYSZR5o+ezj/Pb6UGfLzyD/AJoFFySQ\nVBHpQDJ5kGByPahAbWxn5+po0OF3D+XPtQJsNwOe+aAuygmMkebgHnHFALHYpJwSeGz2oGpOJWAI\n49BQEZlYAHkg4oARVOMvtBIJJ7AUAX6xxSOsUgmjViFcKRuHviiVfvhT8NZuqpk1LVFeHRkPlHZp\nznsP+n50qPS+mWVppdnFa2cEcFtGu1I41ChR8qyHVxK8cLPDD4kgGVQHBNAa0maaBJGTYzDJXOcU\nCy5JOaA2OMfoaArkheM7vlQNYNOtoWLJCgLHJwo5NApPKLaNpGRQB6j2oGmnRvcyNd3O/DkeErLh\nkWgklIdCyZOCRzxzQEeRxhdpUnncBkD5UCxXjJ7+tAlctMsIMLohz5mcZAH09aBQYdQwyAeaAuA7\nMAQxHH0oG1481nbGVInuWU5Kr+bHrgepoKB1u+o6jqlvBH05NevEBPBK0pQR4I4BHZj+1Bb9IS7l\nsFtNWtYwDGFYB/EXHqpJ7/WtQYx8VfhGbdZtV6Uh8gy81mpyR6koPb5UGKY4YkeYd88fbFAI5AC9\n8c5oQBb+U9+9GnN5RgDgjOPWgAN3yMfWgAqc91/UUD2RSSRg9+49KCR6e0WfX9WS0icRwgb55WOF\nijH5nP0FBYNRi6dSR7HRNPmu0hOW1GaXaZMdwBwAP3oynE0XRYrFtV02wS4ECj8dp1wcsE7eJEf3\n9qlFZ616ZttPu7Kbp9Zbi0vYzNCcgjHqoHuKsEp8LPh7P1PqjXerxywaXaviRSu1pWH8g+XuflQe\nmIIY7S3SK3hVIo12pGoAAA7AClEL1N1RH0/oTalcwx+IACLaSQKx59Ppmshv0D1jH1ZbTubU27xk\nkAnKsuSMg/UUFluLlLaJXETyecKAg554zigXiubeRnSKeJ5FOGVXBIPsaBLULoWkIfw3kYsAqIOS\nTQJMbpm3oqlmwACeF9yfn+1A+Bx34oE5IY5P+YFbnPIzQKAckHuRQCAQOO1AL8r9KDhkZOT9M8UC\ncrxgAyYJzwD70CT3Itxm8kgi3fly+P7/AOKA9pskhEkZysnOfeg6RH8w3tgjAHtQRZ1uystSg0m5\neRJ2UbHceV8fP3oJkBSAVII9xQFdSRwKDDvjN8L/AMSJte6chxcgFrm1QcSf9aj39x61YMH8Q+Ck\nfhqpQncxBDH5H6VRwXJ/Ke1Am2QchuMYOaNFSAVznB9qAm8f10D2RmX8jDHP3oLbebtA6ej0m2Lr\nfX6LcX7IMskf8kf6HcffIoG8yTadZxSTxCK3kRZUwSFfkruIJ78GhiS6Y1OS3160uZJFWO5bwZtx\nzuQ8bcfPNMZXvo2wsLnQ9R0q/maJNNv5Yo3bjCuMAHPzqA2jdUan0lF0/ZXcElxp9zE+5WVd/DE7\n1IPPB7H2po1bSNXsdYthLp1ykyEcj+ZT817ioITrnoux6vs1gv5JYnjz4ckZ/Ln5etA+6N0BemdB\nttMina4WEFfFdQpIJJ7D60E5I4Vo9qnnsQO1A3k0yzeTxhCizZJ3qNpz9RQO449igMSxHGW5NAIw\nBtUAUAMORkfegMhG3jtQD8+fvQGXJz7UAHuRQA5YDI5FB0qCQA5yaCs2/SFit/Jd3AmvJ2bO64ct\nt5zwD2oLMilVAUDgcAelAJLbhgZz3oGN9HPIYmhtrWRw2czjt7Y+dA+h3mJS67W9gc0AvuLYANAD\npkZABHY85oPOnxy+Hx06Z+odGjC2jt/7qBRwjH+cY9D6/OrKMebcceHwfaqCYIyDgZ96GhHOFJI4\n/WjQpXnsaCz9J6fDqGvRC8OLO3Vri5PB/hqMkfc4H3oDT3UupapcXrKS9zISgDdhnAGPbsKC5aLL\nBHq9p01c6bbagPE23kpJYhmz5IySAAMj6nNGdRnT2lu3V9vaQQrJDHfCMFj5kAfufsMUFogu5H0j\nrLUYXK+Lq0aRse/lf/8AOKlFfudagvbnQpNQRmtILydCwPdCQcgMOMZFQanPoeiawBd9M6s9jeKP\nK1vKQp+RFA4septa6fuFtuqbRrmzx5b+BAdo927A+vsflQXfTr2z1O3W5025juIW/mjOR9KAZI91\n4khaRNo4XdwT9KAl3b2+oWpjMoZWbOVfnI9sUCrXUNssUU8w3sQoJH5jQLvwQQC3NAKvuUPtK54w\naDg23v6UA7weBnNAIOBigMr+hoOjdZQdhBx3waAVG0Z7UBWfAOQSflQChyNxBAxQRutarb6bHALi\n9trSW4kEcJnGd7ewFA/j8QEK/IA/MBjmgWDDBB7igj9dupLTTbiaHZ4oQ7A7bQW9ATVgwXSNV6on\nl8azW6t45pWdxHIxWA/zNtz7A8Glg2S1u7fX+nt0J/H2c4MMhmQoW9GBUjj60g8sfEHpebpDqi4s\nHLG2Y77eQ486E8fcdvtVFekGW4UfegKVAAKgnFGhuDzxQXbpDTZF6a13UnUqrCOzQ5wGZmXIJ+lE\n0ppkEK6nJcRWcTW9hA08iKcjcowpye/mxQ0+6VRbC/jvLm48L8LG9y8pIOXxkDnuSTipqHXQMng3\nes9S3fhn8DbvcZI5Mr/lH700dc3Dad8NtPs4nU6jeXD6nMCwBRF5XOfU8YHrTNJFF1X8RawW1jc4\nGxTKNrZB385yPkBTFw1stSu7Ni9tPLGSQfK5Aphi8J8UNUm6fn0u72yvJ5fGbuF/39aYYtGgadp9\n/axXnRetzaXqnhqZI3bEcj4547Ak/X6UxFisPiXe6NMdO65057eQAr+LhUlHHbOPX07UwWXpQ6Bq\nMo1LpgW0sioVI8Qgxk+684qC028M5890Y3kHKbUwF+lA4LDOzu2M4FAOG3DaoI9cntQdJxzQEyR2\n59f/AKoGl5fSQRFo7ZpB/MhYIR9zxQdayyXKb7gqox5Yo2yB9WHc0DPUIWnhWKxkuYFRs5gcKWbP\nY59KBkx6isVeSGW31JNwHhyOUkA+o8v9qCfjkMo/LJFKqBmRvSgc2swnRyFcYODuXGfpQMtRsLK8\nvYJL+wjuGiUtHK6hghz6Z7H6UEmCsig84I9RigiruC9t0DaaVmIIHhTOQMeuGwT9qCJ1ywv9T0U2\n9xFFiaVBJGHz5M5ODgYPY/arKJPTtLW1t44i7SKq48w8x+ZPrTRJoipGFQAAdgKgzX47dMJrXSrX\nkUe6807MykDkp/MP8/aro80FQyZ+tUJ7hvH0x270XQ7KGtXvIk0T4c9P2bIhkvpnvJVfjIxhf7qf\ntRDXpu0/1DpzXltUlkvmWMBI+2zdnn64oYa6yX0XTm0i4jQ3t6wmuV53xov5UPpyeeKyLbpFtZ6X\npmn6TqNq7/ic6pqQRR/DVf8Alq2fTOP0FXBnXU+ox32o3lzeW+JrxlMXHKR9wfbJ/tVWK5f3AnaA\njafCTwwcY4BOM/qKKSjA4Dg8j37UHZKkE5P0olSFlcLDdJPbTNBOigjxOVZu3+80Rbbnrq9l0t9I\n6isRd2rgKpPlZMdyre9An07oupoh1zo2+lea2fMlr+WZFx7ZwwqWDVug/ihDq7R6b1EPwmpMNokP\nlVj8xng1BqEUe1EAJOMDOc5oDSxq6YYeuaAJF4oCBUQ7mJ45zQHYB14wR86AVjBXyjge1AEcRTHl\nA9hQE8kbgEohJ5yQM0ETHNqMOr3IZQ9tIMQyEjKt7D3FBLqywRPJKTuxlj3zQI3Ut14e+yhWRj28\nQ7RjH60EfpF3rU/jLqFrHbS4/hqpJXH19aCRa8jgiVr1xGwXzYyf99qA9tc29/aRXFnKs1vINyOO\n2KByoxwe9AYocHGKBvdwLcWzxSLuR1KuD6gjBoPHXWujt071Nf6YSSkUnkJ4yp5H7f2rQgWAA3Y+\n1An4j/1t+tBrHxKuYS+gx24LRx6ZFtI/lz60FY0+/v8ASphNpd68EpXY5AGNvzFF1YOirZbzVrvX\n9dkNxZWH8eeaY5Lyj8qj7kcVlETqOqXd/HrPUNzcNE16Tbwxf1JkEgD2AA/etBte9R2Oq2cv+p6X\nHJfBFjgmjkMaRgAAEqO5o1FWfbgjsR8+9AlI5CgEggeoNAq0iug8uD7g80KKmCcZ7fPmjJzJfT/h\nWtjJvhOPK/OOe49u9A96X1W90/VrRtNkkSfxQF8I5yScdvX6UGidSLpfVFzcvbRiy6kgZBGysFW7\nB9T7HHNSjU+o9S1iz0e2uNLmX8RYxJ+KgYeVwVGTn5d6gjug/iU3UOt/6TewQpP59skL5B29x/8A\nYoNHPB78Ggb2l3bXO78PKsoyVyvIBHBFAoSkbfyhn4GfWgTnmWFN7ybAvc4Jz9hQRdx1dp0S3Dw+\nJJHbDdPIUZUjX3yRz9Bmrgzbqb4x9Oxho4bB751O5HPkXPsc80wQHT/xrJ1IHUbGKO0kdRiBiAgz\n+YjnsPpTKN/tLy3vLOK5t5klt5F3LKhyCPemAYLuK5XMDEj1OCP71ArGWLMPT0oIbU7h11u2t49O\nllWWNm/FIRsjI4AI/egfQ2ktpbww2XgxoDl9wJ49cUCHUGv2GixM13Mkcm0squwUH5/SrgxDW/jF\ncXOteHb3otrKEEiRISRM3zGc49v1qDT+gfiBpvV7y2unxTxywRhz4ozuHbOR2+9Bmf8A6kNIEWpa\nZqiooEqtBIR6kHI/atfRjDEt3AKjgVQjug9j+lQWh72e/htTOzyeCnhHPomeMYoJvQum7vVD47K9\njpsQBkvZ5NoAHcgUAa7rKamE0Lp9Xh0G1OZZTwZSO8jn9cCsivdS38F9cJDZIY7G2URxKe5x/MT7\nnNaEKrENwAFPPlosFwS2cd/cc0UlIm3JOeKDo2LH+UA0SjgDk98URzPiJ2449e/NAbS7v8PdpKkp\nikQ5WQLkqccGgmYNQmXWLeQLG9wVRQVPlcj+Yn3xQa98OviAjz3WjdXSpFdliEuJCNjDtsJ7enep\nRdel+kdL0rqOTVdIsoYklV1dixO3nunpg9jUCnU3WMeka5b2EUcl3JInmigQs6ZPlJAHY8+vpQP9\nO1m3nthNo0cTwM2JDwoVj6H5gd6CbhtUiVn8TcXO4ktkZ+We1BAf8Z6fZ2uqXWpyxQrbStGseQzM\nB2IA961B59+IHXmodXal+HsPFh04HbHCo25+bY/zQWv4f/CCxvII73qC8iuXYb1tYZeF9txHf6U3\nBatX+DvSl86x6cr2dwjbnEUmcj6Enj6U8hLdJdEX/SmowJp2tTT6Oc+La3HO0442+3NBf1LmRUjj\nQAfmc+nyHvWQockYyQcY3CgaabaPZxGNnaUFi3mPb6f+KA2q3RstNurnBxDE0mPfCk1YPMemaP1L\n8RtYN9fJPc2aMUaVmCKg54H0z6VRYendf6Z6T1W56a6j6fgfwJyguhGJmPzbIzjHtSjTn0zSunbi\n01fSkt9Os5GAmWNCDOGxtXb6HnNZEZ8etOF90DPKFy1rKk3zAzg/3rXI8u7zvOTg4zVoTLDJ81QW\nDTb2SwuvFgcrkbXwM5H0PFGqsjpd6+kcT61Nc2ieb8OikFc/9PA+WfSjKA1nWBzpFlZ/hLWM4KH8\nzsPVj6mghN4IyQRk5NGo5BkFmyAfSgVjChdpGO/FAXYpOHLBe/FAQqoBJbA9sUBGxgtgEj/eaCf6\nDGjt1TZf8RNGumKS7mQZQkDIB+WaMrf8Ub/ovV7V20JIYL62K4khhCLOCcEcAdu9BmCuEQvxvyFU\ng42+v+/rQaj0zax/EXRY9Nns0t9TtM+BqCKAjEclXA98jn+1Si7Cz6u6O0tLjTrxLu2tQJJrDwcK\nE/m2M2SfeoLrpupDV9Mh1OytUS2vIN8m4BZQf6T7+vPpj50GfdK9L6rJqk1y1y0elRDKRqdjHHoy\nDhjx39e9BZr7fagW0j3kul3iETRqHkeF8ZBUjkZIxjtk5rQ86dW6r+O1OcW0UtvaRsY4oWfLKBxz\n7k/5NA46P6X1rqS6WPS7V9v88rAqi/f3oN46X6C1DSotkus+BIwKl8hn2+3PapROXPT2t20bPY6k\nJ5UGYmbIfIHGW5z68VBI6DrzzWSrrAjtrwFUbDja5OBlfuaCbluJLeNwIpLiVF3bVXAP0Pv8qBxL\nO8cYcW7vnuqkAigNFKs8CyxlwG/lcYI+1A31ayF/pt1auSFmiaM/LIxVgwfoO413o3qqfSLyUSwo\ndogAyZVGcbPTPr71aNDvendJ6wtbu7Fi1lezK0bS4VZMjtnFZE0bC5u9Jh0qRAr2yw4uWx59vBI4\n4PegN1tpbap0lqOk2sipLPB4aFsnHbBNOR5A1exFhqFxbeKkngyMhdOxIPcVuhiZFz/zBUEwcKvY\nnP6fWi0+6chjn6h062uATFLcRrIMnzAsO9EehNR+GvTV3GUh0+O2YsGaWHIf9amjIfib0no3S0Vt\nFY3M000zMzLJtLKvvkenyx96oz0rwNjA8cj2osFLbVAbOc9jRQiXOAwxnj3oBlAxwDj37UDY+vHO\nQeTQBIdqjcPMfnQwJclWyBgCjJBFeefw4VaVycBUGST2wAKD0L8H9C1rSIILjWLSCytY1lZASVnl\nL4PI/wD8+vvUo1uwbxI5GkjdVc7isvOBjtj2qBWKFZiQ8CJCB5FHYj5jHFArDbQ20ey3RY1HOAOP\nsKCH1u61CPSLt9MtlXUHUrbCbJBbPdtvYetXR5T1y2udD6lni1ErJdJLvlK4wWOCePvVgsV/8Sr6\n7UW1vA0NiowIonMe4+7FeT9ARQRmodWa9EYpPBhs1Tygw26rk9xknkn70EjonxZ17TXjAeKTkZ3L\n+YZ7N8vpSjX+lOpNM6umgkMG3EgBV1DYbG4kewz2NZGkC43CP8MPFBONysMAD50DaHVH8S6N1a+B\naxMUjd280pA5wPb296DrXWLK9WNoJdtwybxDKPDcAnHIoJBifTBzzmgaz2UFzPFNNbwvLCcxuygl\nT7igdRRKg8qAZ5JAAzQEnuYoHiSWQIZW2ID/ADH2H6UERr12BY6hueIQJaO7SK/nHfnHtx3pyPGW\noN4jynuCfU963RF+DL/UtQWTkjaWY/8ATnHFGql+j1VerdJY8r+KiJz/ANwoy9C/EjqSbpbRY723\nRJC8ojIcZ4IJ/wAVkecer9en1+9FzeLCCq4URjgDP7mtLhteadBY2kMczyHUpcO0YxtiUjgH/q9c\nelAiLy1kjCX1ruyMLNGdrj0+h+lE0+t+kNQltJ7yKS3jgiTxUFw/hySp7qp70NV6YEBgWUNjBoaK\neAODnHrRoVgDnBP0ozpxZ2f4y5trVeGuJFiBPpk4zQep9C0LTembS30fQbWP8ZsDyTugZgf6ix9f\nYZpbgmbXSmXULaa6kMzpltzcjJ//AGpaLCY1CDsF74PrUCgHY0HbSx7Z96BGUfxB2xjtQZ11t0Tb\n6jNfyw2wM18gV5AcBdpzyPnV0Yp1F0o/TEczXjXaTOQYpIk3QlT3B9Rj0zVl0VKbVppImheUSwbs\ngFfXHc0De0tri/ujFYQSSyfmKopPHqaDV/g9p+padr/gkSRTzKu0kZRlPLYPbOPf2pg9GWzRCMJA\nFxH5do4wayKX1z/G0CdzqLWRkiaTxQBLudclQvovbv3oMU/4Z67uwnUAt3u1Zw42yhmx3/Ln8v0o\nN86L1d00i3i1UiGQIocNnEbnkqT2xgiguEbI4DIysp7EHNAZnxQQ/Usksej3EsCl5EUthR5sY52/\nMjigr6Qrp3R15LqEcIlmgdpFGAsY2navPJApyPJtwd8rnGBuJz6Gt0MzGSTyf0qCwSKA5ZsAjnn2\notTXQYj/AOMNIDqCrXUZwf8AuGDRG6fF6Gyfo6+ub0CR4EPgIScLIeAcfc1keatN0661a+S3sYTP\nKzAbV9B7/StLrQ/iXp9pYLp8elWsUM11AzXMqt53I7g7j244oiB6W6Tn6j2TeAy2FspTeB+Z+/8A\nmgtnWlvpdl1Dp1pq07Ja20GFQpuDHHAwPf39KDHriVTKSPOCeBnHHtQGsrG5v5pfwcTOIlMjgEeV\nfck0XRIreS7uUigRpJXOEVe5PtRE/wBJ9HaxqvUcdhNFJp0lviaSWVcMgzxgdySeBipo9T6O8Npp\nUJ1K4iW5KgSvIyqxb5jPH0paJm1NvKivE6Mp7MpyP1FQLRTwy58F0cjuAckfagOTtO3+Y8igMWCI\nWbOPlzQNhNBOWEbq5Q+YKc4+tAD7JEZgQfXj0oI/VtIttXsZLW5hRopByCP/ADVlGRa78Erae63a\nXK1tG3LAncM/Kmh10l8IZdBv4rxtTE0yggJsyoz6/P0po0zSNKEMdo9xGnjxuzkqMAEgjj7Gmial\njWQMgyCRyQcGoITqHT7q/a30+G2jFmwLSzl8GPBGFA9c5NBPRwJDbpHCipEi4CjtigqfWltqCaG8\nWhNbxyzOBIs8W8FcY4+dWQQ/wtuZdIGqadrknhy2u2QyOSEZOeRngY+XvTBZZevOmhC8janbqiZ5\n3Zzj2FMFcs+sh1ZqsFrp8UkGkrlpbh+DNzhVX5Z5NQTfXyWUXSV2t+wW3EZ5I4HHt61eYPI0mA5C\n9snFaoLsPv8AvUEk5JcA8cZG480WnOlXX4PVLO4yQ0cyP244Yf8AiiPUfUump1B0/c2O8xfi4v8A\nmL3UcGpgw/SujNX0Trj8PpckimOMvHO/kEg9Rjs3PpV0aFq/Qqa1ZJ/qcrverEqNOwGM+uMfemiV\ntrKbQdMNjp9rvtkhPht6mU5yT8u1BkvXg1qXUtOvddgRY1R3j2YHiMvZSD27CgzSCyuNQ1KK0giL\n3Mz4VAOc/wDignoNNOnaHeiW8hgkku/Al2+Ziqgn09M0ETp0qpqSmGKOdFcEeLwMfPHag3JLuCRt\nPmQWsDhNphtVAcn1w3BPFSwDdWGpX1/OYdOtbbSrlQ80szHdn0GR24/c1AbWemdatLbTJdGvJIJy\npDQwMV3exwOPatSz9Ei/R+txy2mr3evyHV4miWIDhGwwyGA7nGRS2YNZAUBWYDdjGayEvxMYB3nY\nu4KCfU+woG93c2enWs1xcPFDCp8zEgDPzq4GGgz22saS1zZSZhkdsFePXt86YHWmySeLNDMYikZ4\nYNlvvUD+VARxQJqgwRQHUAAe2O1AWOFRM8mDlgB37fagb6reXFt4ItLZJnZsuWfaI0Hdjwcn2FAz\n0nWX1i4u4xY3VpFbv4eZ1x4vGdy/KgkriN2aMRlQoOW3DOR/5qwYr1P1tp2pdS3WnanKkGh24kRl\n2eaYgcb/AFxnnAqiv9Jno0dRLJPbtdQtkNPIALaMnODsPPpSjbdK0DTbWQXui+Gsco3BU5hPP5gP\nT7VkU74t6PZHpq/1N5ZZbwrtRnmOwDPOFJwPsK1xR5ybudw788VaC5X2WoJRULSBpAe5PA/aiinA\nZnHck4A70THq/Qr23/4Y0u4lmCpLBGA7epxjH60Du+WGOBvFlFuWOFcYyCfbPrUojri6k06xX8PF\nNfBUJ3ltzM3scVBjfVvVXVNit5dapNDZGQGK3shjeAe7YHIwAOT3zVggNTiu+orrR4p7m+upJFR7\nh3TPhggDaoBwRjnPH5hV0af0xotnoD3l5dWdrY2YjGLhwPEHoef996CC6m0HpuPpk3Wny2s9sJPH\nJ3AeI2D39T37UGU9QTDULuGPSLPwIyoVIYk2lj6/X70G2/DPp0hVudRuBLcwxhRGkeEjB9M+p96D\nSLprVHiieaAE+YxHkke4H1qUOIBawL4uAuc8nvj71AwjRtQ1eO78QNp9odyLju/qT8uf70Gb6r8S\npLzryy0vp+4NxYSSCEswI2u2Rn3OOD9qC4dVamen9NlaC7tUaIFvCmnHiy4HJXJxnOeDVwed+rOv\nLnqSyWO4jZSru/kc7ck+30GKosXw2+KmqaDJDY3jR3OmqNoRhtZAP6SP7Ggtmt63qbTJ1XLazJps\nlwBFblypEOAA7L2OWANS+xrnR2vW3UmjJeWp8wJSRf6WHeoJdSPMCRmgMq8DmgBpNsgUIxBGSccD\n70DczmS8MDWoe28MN4+f588rj980CktuJZYpFdlKZ4B4OfegQ1hpIrVjbsRMBhBj8x9qsHnX/hm3\n6y1O/u9V1ddPmS6aD8OkQdyxOSe4OMmqLUvwQsYY4Xjv7m4YEEhwFyMY7fXB5pRbvhp0jqfSMV7b\n6jqZvLGQAwxAEBDk54PuD6VkVb49a5DBpiaNaeF/FIaQDumOwpzMGDEZQZ5+VboR8In1I+9QWDY6\ngFn7jjHpQhtJEFbAGBnijT0P8H7qPVOh47a42yNaymPBOcDupoykep+m73V7g/8Av2itQowvJIx6\nj5/OpRjfUWrax051RPY6LqFy8YACkebO4Z7HjNWCY0ToW2utJbqPreW5na4O4R78cehY9+fQVKLX\n05p1ro97awC4kX8VFmJLeEKdoyfOxJPbHbHYVAz0rqKPWNauri9t1ktJgILYgEiNFJ/Op9STmrBB\ndeaFCo0y3jt444DI3jLE204Y5DD+9UPPhv0NaRtPq99mSLOy22nOfdh75oNC0vT7m1uJGvGiii3A\nW8UDbQAeDu9zUohLlhouqap1VciF4I1FtbxSthtobBIPuTn7VBJ2vUth1TYk2ULi9iALwyKQYz6Z\n9CM0Ft060/DWEcDHe2Mucdye9BFW3SekWt3LPb2cUTsd2UGCG9x7VYMzufhzdX/WmoXj+BPpx3I7\nXZMmXYckc8EVRKaP8I+nXikLQuxOQSTnBzj6UEjonw90XSrq3S3s7dplJcl1EhGDx396lFx1TQ4N\nVjaC7UNCU2lAO/8AvNWDCLp9X+E/WgWImXSp2LRq7eSRT3B9iP8AFSjd9P1+21TRodVsMS2rLmTb\nyUGOePXFQSltcLcW0c1vh4mXcjDswoDLdRm4FvISsgXeTghDzjAPbPyzmgVFxCzuiOC0WN3sM+5o\nDqySJmNg3rx7UFb60tNUubGJdFdEvhIdryflUFSM49TVgyTQenJemOorf/U4H1Fpp1edAh/hOQTu\nQ9375JA4q0bnbPBcxxT20wkjKkqYzlT9ayGWu38um2MbLEJ7iRtoUds+/wAgBzQeW/iHqi6j1Pdz\neL44HkL9txHtWhVUOVyvHNB2F9zQT8hUAhAdp5FCG0mSAzE4HGDRppvwL1bwOpJbEsFiuYyVX3de\nR98Zoy2ZtRgmjkSRZocEp51K7se3vUow/rfpFE124mVpfD4mk2MWdCc4A+VWCH1281/UmFnpklzP\nYRFBEG8uGC4yQfcn9alGgaJo95rRsbi53WaxwrHOm7BjYcHnvz/moJaw07pXSI5IW1K0CQnDhpAW\nB9R796CudY62msTRW+gadI8KnDXMkLLv9MA8HGOKC3dAXF1dRfh75f41moi4G0AdwcfTj7UFhv7R\njqMBV5AJFZHkR8FRjIx6CgpXVNjJ1JqNn07p26CztSJLlpIydyj2J+fGaC+afplrazqLa3SKNIgg\nx3IHYUEsBk4wQc4oK11L1z070/M9rql6wuVA3QopLcjNBDwfFboqeSO2W7kQNxuaEhQfnQLt8Tui\nreVoV1UeXnckTFT9DigHRuv+mbu9ZV1W3Nyc4IRlVl9O47/KgtU+s6baw+JcX1umRkAuM/p3oK/1\nt0rYdX6cqXKESqN8Ug/Mp9P1qwZ702mo9GdUTWJsmOn3EY8CAORGXJAwScjJ5q0bJDNLb6YklxbK\nsgA3wwndg9sDtWQN3aw3ZKTwLLEQOGORn6ehoG1vYAw3FikRt7JSuH3Hc/GSc5P0oHn4aO2uGuYy\niose044wBQIm6F1dwfh5ARs8R8L2BHGfnQHv9PS4PjxrGLtFKxysm4qD3oCxboIIo7e1jhQHzAYU\nJ8wP8VYM56j1ktaal1BMrS2sAaK1OQDD6eUepY9yfQVR5zv7hrmaSaRtzyHJY0DcE4BPIPb5UBwO\nO4oJYzFvzEYHAH9XvQhNZN7AEgDOSDRo/wBA1SXRdVtNQgb/AJUgfBHcZ/8AGaGPVlhPbarZ2t5C\nEeORBKje2RUrI1zYxTBhMinIwcjvUEcugWkO4AMisMEA8N69u3yoERrOhWNxNYy6hapcxAeJHM+D\n8u9ASLStLlm/EWdpZyxy+Z3RQ3I5B44oJKTT4blFWSNBEOeBg5+goFYbOK1TKhIxnIbGMH50Cpcy\no6AMrIcM2OD68Ggb6Lbbllu5Cd88hYBu6rztWglSNkfm4P70Gaat8Rba96w0vp3R2mhufxyi4kO3\nYyDOV9+f8VYMw+P0cP8Ax4JVuEKzW8bEr5tuMj0+lUZ7Y2X4288GK+towRlZXYqv9uKCQi6YmbT2\nu11GzaJWKnYxbBB49KCFnhubdiwL+U8OhP60ElpXUFxY6nDdXQF0qYbZKxwT9vWg3npb42aHcmC1\n1C3uLSQjEkpIdQfr3xUondP6x6e6tv7e101hczRzrNtaFiFC/wAxPYHtUF+lj8bYCTgMG59cUC4O\nBQQOo2eoXepFTeL/AKYQN1sEwWx6Fu+DQLX2kw3Ok3Vjas9qJ48Exd1PHb9KCE6R0G86Ut7mK71K\nK4gklM7TyKRIBjtjtjj96AOreudJsrMJbXksk8jBCbVdzRjONxBHP/3QQ9x1jcWGkERWWqXdpMPC\nt7x4wfFOOWPbA+fAqwZr8TJ9Qbp2ymvEjsrSTEVvawyHz45Lv6E4wPqaoyl8g91OKDlYEc8mgKW5\nPH7UE80f8PPHl7gDFAZkUjawUIQG8w5ouknAUbl9Dg59KK1X4Z9XXFvo8mlRXax3KHfBG8Rk3qe6\njHOc54+dMZO7jr/qK8vWtba4tYu38TwvDOMc8N60wPLbrW10PS7pnvrnUtbAKobgBUUk9jg8f/lM\nC2rydMdRSaRqWoLEbx4UefwxkL2BVvvn9Klgv3Tp0lPxFno6wJ4IVmEOMEHsf2xUD2e4ks7n+NGD\naCMu8q8lCMcEfPNA6tW/EwrMybEYZUHnI9Cf/FAzu7G4LXTWs38SRNqhs4Bz3z9KCO6x07UNT6al\ntNMvEs7xkC7nPlI9R2/egwbrDT+r+kupLCeK9nu3KBYGRy+QvdWFWCU6avtA6h1iKDqLRhpmpvkx\nz2p8JGb3z7k557VRX77TdHteuPBut401CAouyXGcdvmASaC069030brYaay/CwPFwWspRErfUN7U\nGZX2hWSiY6ZrMc0CvhUlBUk/UcGgiLq2mtG8F54yDwfDfIoGkrRsSZXwOB2zmgsvw06XHVfUcFvI\n22xQ753Ze4H8v3OBUo9a6XodjpltHbabDHZIhVsQqBuA9DxznFQTQUe5oDYGMnn7UEbpV3JqDyz+\nBJFbBtsXiDBf/qx6CgDXL42cSRwGM3UzBQrHGFzy32oG2i2kKTSI80lzMow0rqQoyew+3tQO59Kt\nJJRI9rEzgg7igz3z/egZ6paJdGGwW4eBXy7pGeXUdwT6A5qwebPjJrcOr9TvbWZQ2Onr+Gi2nIJH\ncj7+vyqigOuRk+vtxQAqEk4BU0ABj7j96CzzKxYD0GeM0CQG3OMAjkfOgbSZwzE4PJyfWi6caTdz\naffW95akrPFIrLg/tRHpGzs9C6t0W31FrO3Y43MrcbH9c/eloZ6v0JpWoKlrHHBbScSFEHYc5Pz7\n1NDXUoJrK1g0dvw9qsspW3nXaN6KMrHnH5ieSfan0U3Rr1uidaRbiwk8BUSS6naQkjc3ZcHaRnn7\n0wbja6lZX+nw3NvMksM+FXnPJ9DUCeoXj2hSG2t2km7op4U/f/FAvHaNePb3N0jRzRA7VD8Akc9u\n/FAvcxnawZQ3HYtjJoKfDFAdeub6Vo1dSULIBtTbgYOfU8jNWUVvrm5ih0m1urixhlsI5HJliOwR\n5/LkkHHJPamjHdQ0HWdemlutN0+YWBYtC0rHDhjwVz3zWgx1n4e9U6QE8XT5Zd//APR5se9XBXbj\nS9S0zAvbO5tyWKAOhG4/KpQ3ZHXO5JFK98qRUGhfCbph77Uvx91pv463wVjR0LR7s483796WjW7r\nTrXpHWrSW2YK7lmXTbaIFpCRjjHOOSeeBipaNLtXuIre3R43lnkGXYADZnnmoH6Dkbzn6UDGWe9a\n/hKG3jsW8riQMJS3svp86B6zgMQmDtGT8qDNb6XUpOoPx72tzOkjFYowOduDwDjj70Gg6Wsq2KNe\nAJKRuKk52fIn5DvVkENrvW+iaSAsl0txI2Asdud5Yk4A4pgzv4l9ST6JZSXbyyprWpw+FFa5G21g\nz5icfzH3pgwCSQlh688+tUEwjjngZ7UHAHuWAHpn+1AXj5frQWXOGBZcKSe3c/rQIyAtnI27eBj/\nADQIMAuH8vHBB9DQwVpPLjOckEZ/ahi9/Czqj/S9VhtLm6aG1uZFUsT5VOfX5Gpg9GiNJArxsrxs\nv1BHypYGF7pljeG3kvLZSlqzNGGxhSRjP6GoG1yLUWiWc2nSPA4KJGItyYHYHHarop3wu0jWYNUv\nzriNBp8ErraRMANxJ/N7nA7ZqDUHgSQLvAbacjI7H3oOuIFuYzGS68jJRyp4+lA0m0yDwGjiTw3b\nzBwTuDe+TQVbV+mLmW1NtbSok9weZiC2zPLEZ+/FBM6Xo40/TYdL8Jr21G4vJcuCck55HbFWUKQ/\nh4tR/DTz2o8TK21qmMgKOf8AfpmrokljG1i5BHI57D5VNorut9Lab1LA638W6H8sboNrqQckq3pn\ntV0RWsfD6K7SGC3vTFahQJY2iVmkI9d+Mimie0Hp2DQ7AQacio3JZgqjcT3zxk1KHGldPWtnqMup\nS5uNTmGGnk5KjGNqf0r8qgmkhVGcquGblm96BDUZZYLGVrdN8+MIvux7UGKTdXdbaRrFvbaxbWN4\nd58BmwCjHPORycLx2q4LNe9S9TdN6I13qkWmzSXdwBCGlO4hiMKAB2A9ag0WySQwpLLtMjDcQBhV\nz6CgoHxF17XbnUYunulgsUsu4TTvjIUAEhR+x4qwZwtkOi7651PXJobm4tohHbQhdgecjnaPZeOf\neqMy1vWLvWNQlvb+ZpJpWyT2A9gB6Cgjy5AO4A5oAGRgBR39aA7Z8MkFtxPY0AbV9UGfpQWhj5Tk\nBQGxuBoEGG1iQCyHvj1oELgSkK6oRnIBIxzRdJ28Q3+fHiAds96LoH3AF1wCfyijNbF8JviI1rbQ\n6Pq/iSopxFOx5Uf0n3qUbWQk8II2SRyDPuCDUHMpSIiJQSBwDwKAgTxApnEbyIQ+APyn0+9A5B3A\ngfmoEWgcb3VlMpGFYjt+negSs7zxH/C3RWO9UElM8SAHG5fl/agNdXcEbJAZ1WadvDQDJO7Gf7c0\nED1dqWv2enzw6Rb24nZfJd3EwREHqxyMZHzOKBbT7H8PZWTK5uZ9o3Xm1SzEry5PsT7UFF+JnUez\nSZ9LttRs2km2m5KSFWXDZI491AyBzVwK6J8T7CRtPjee0tbaGAtdNISdoXgLEo5JJxyfSmC6aF1f\no2vELZXDJOxwkMybHYe4HtUFiJWJd8rKqjuTQcZV8SNI0dy43BlGVA+ZoBniE0RU7tp77Tg5zQUv\n4hNrU2tdNWOhylPEnaS5UHGYlAzn5cn74oHGt6l0z07k6nJC123HhKPFlbPptGTj9q0Kx0XMvU+t\ny6vqQtpWlZo4LOdGDWsak8Aflycgk+v2qC8a1q8OnaXLPOz2kCIWkZ+CqjgYx6n0xTBkmp9Sabp0\nKdRyI5vJkaGw08MVKIDw8jA557896QY1q2o3eqXr3N7O8skjnlnzgn5e1UMCGV/MOM0BJFOVwfX0\noFtgZTjkg8UBtpOeO1B3hg85FBZXVMM+VJAA2+h96BO4IMJ/p7qvuKBKacmOKB5CYYx5UzgDPfHz\noGwD5OApJHAHrQEAk8NWdNpx+XdkA0AIGhkGWOQcgg8UGw/DP4kmwhi07WCTZqAiSbstGc4+pFKN\nvs5o7q2Sa3kWaJxkOp4NZDOHUh/qL2k8LW78eG7kbZv+0+/yoEZp7fUpX/BXpgvYZTCSRtO7vtwe\n/vQdY6jeyatPp91FEPw8aSNMoYbi2cADt6Z70DS60KW7luJdV1JniJzBtURG2b0KN7+/vQKSWUWn\nLLqN3cSLP4ex5Y8jxiPykr23+nzzigpXUPVOu6Vqmmf8UWttb9OXDqkjRnfI3H849uRkDOKC0axL\nFr+nLB0rrUMM0bqCIGGGX1AH09qsGc9UfBiTV9Vhu9Pu5oPGLNeG6bczN7jHvVEr058Gre3sLeDV\nrmOdo3LmSFNjEH+XdntQXO51XQOl5YrCKGWa8SMYS3tzMyLjjJHb9alDqz1S5ktJ7nVdLmSVDiOO\nNfEMiE4Xy+h9xUDm11CaTxEOn3VmpHFxKFCr9s5GPmKAus6jb9M6RJf3c88yxpjcxL7uM5OO3HrQ\nVTSupoOuYdZMTSpptriNFtXKXDA/Pjhs9h2xQOJ7Xpnpa2S91WK2swqjbGw3ysfcnuxrQsGmapYv\npwvra1FtDL52Mi+Gx49sZoMb+LXV0t+jWl3OYLGTO2zjx4h2nyszHsG4/Sgxt5ZJmEsjl3PB3GgS\nlyXBxkDnNADseB2PsaA8SoXQyFgmQCV70B5R/EIjYmPJxnvigEKcYDfrQF2/X9aCwqC7l2zwfT/F\nAJJ5747E5oGTqZArKOfccftQHZWwmOD23Z4NAEkTEBmwR7g5AoG7KSSE5HyFAMTyQsMHa/cEcEc5\noL58P+v7rppdryPNAXx+GfsQe7Z9D2/Wg3zSdX0fqzT08F433eYwscOpHt9PcVkQPW632mX9vfWd\nrbXiRgrIdu2eHIwGD57+nIoKdc/ELVdC0u5afp27SUtta5vJMMzk+UDjzYHtQWDpj4gxXmif/wAi\ntXZkGZzFGW8MehZO+PmM0Fibr/poWQmF6xXA2xmFg59sKRk0C2nQP1KFvdb0vwIUJNtDKcsVP8zD\n0Jx2oJDTNA0vR5p7qzs44pJOXkUc/SgNfa/pNvbF5L2JgTsCo2WJzjGKA1jcNcxOF/m/I0zbt4+g\nxgenNA5s7CCxWWYQxpNLgyMiY3nt2oHajcuexAoEL1C1uyFkVHO1ixHb17/KgwT4rdXWep6oul2O\npywaTYqVLxDyySDjaM9x6Z+tWDPdB1TW7Wa9sumpGlursqMQRlpXwd3BA4571RcdN0i41G7h/wBS\nmNxqdkwn1O6u5/4cAXlYgcnngE/pQNvih8S211obHRyYbWInfJG/Ex9MD2+tBmNzcTXTtJcSSSSH\nH5jngDAH0oEdxbg5A9wKAzPwO+fegSLfLJoFoR5fUfegXOcHGAT8qAM+XaBzQCCwGDuyPlQWJpV3\n7Q5TIweM7u/f9qA9vNYpFML2KaR8YiaJgAh55PvQRvnYoqA+MThcDnPai4PKWQlH3K6tggjnPaiE\nmz4ZznBPfFAVWG0AZDH1z2HzoE7lhv8AJIHI/mGRQI8AEeuOMGgndN6pu7V4RJLKY4WDLhypXj0o\nNL6d+MMS4ttetDdQgDNwAPEwPRh2NZGkabrvTXVZiexvba5aI+ILWZQG3Y4IDdvtQScvTdjK8cht\nFjkQ+VlYgqPXGKA17daV07apJrV9CsZbELTgbu3YY78UEHf9evJ4K9P6JqGoiR1XxjCUjAJ5OT3N\nBM9YdSWPTenwy3t7bWbSuBunUthfUhRyT+1BA2vXnS/jGdeo9LnIHljeLwSCe5zgmgejrOz1S3kG\nhazoaXYGAJ5Sw3e38uaCsJfX02rPD1XfXtvcCXdBJGjLbOO+EK88Y7nIoLB1H1Bb6WkN1ddSQ29i\no/5MZEjzt7DGTjj2FXNGUfEH4wRaxCtnp2kwGGM7llvBvIOO4XOAe/fNMwZbqusalfLBHfzSvFH+\nSIgKo+igYqiwWfWV30rpp03p6exJnUPJexQnxuR+Ulu2PkKCrT6jcSiTxZnbxCWcFidxPJJ96BBD\nlQ35fbFAbahBHJIGO+KAIwg5YnB455oDkKcbW7UAOowSMjOORQcCVXPp+9AqDkHcDmgMNpHPcUBT\nuzQWCJXcFvKR2Y0CMiqjnz4UcH/6oG8gKluwxyAfSjQ6ylEJBJfv37/OiYQMjbjkZXOSP/FEELAE\nkNn1waBCXdjORnPoc80CZeTb5wQe2BQAm4y7jlhjvQcWO3cW4GB7ZpgGC5a3uUeNyGQ5GCR+45pg\nt+l/EzqLTgxj1O5Zc4CSOXCj70wOE+Jd/Pq0V7qVvb3bISAWUBhnuc+/2pgvkHx0soLaNIdKkEiq\nR5yDg47cYpgresfELSNc1n8VrFtAw2ZBiiywwcgeb14x2xTBYNA13ozUo/GOqWVizDc1nf6crIh/\n7wOf1rOURvVupdE6ncpFeakiSWsZdbjSLfw1Zs+VVyMHA75xWsFDHU0idTJdf65rT28YKpPvHjKp\n9Bk49qYK/rGpXF/qU9zPdyzyyMSJJAAx9ifnVlwNZ7vxYEh8GAEHO8DDH5H5U0IPK8jHxSzFQAMn\nOKgJkFwPT6UBlAII5z3zQCjnA5OKBXeuAT9KABMA208DtxQHRhzgUC3KjJx9z2oAP6/L3NAHC8Hg\n/XNAcNtGe4oEy5yeaCdLk7yx2qQCAO1AmXZSSexHbPNAhJuLJkgjvzRonuAJy2cd8UCbyOi453Dj\n7GiYTZyVPPl74oYLJIyq68EH3Gf3oYTDEjLbiP1FEDHOUOdgOfXIBFAm77j5Mnng/WgLI5UE8Eg9\niO9AnuJbuQx5wOBQFRxuIbOc54PrQK28ws76F722EyI4d4HJUOPb35yKBm8oeQsi4BPbPb71RyYI\nHmPGRg00GRsbsHIPY0Bg52AEEseBUCQJyOPXtQDtcdvvjtQCQ/GBwKAuXU4PrQBvZE5IGeO1Affj\nBJ57UBvEO045HagFWAAzktQKIzBeMg0C5kz5mOG/WgMrDJJ7jmgEnIyOccYoA3cEMRj05oC7/wDe\nBQTduzEoNxwcZGaAJOWfPNAlISVOT60aIQfkj+amgJ3bnnigKeFGPQUCf/x0Smw4V8exogX/AOY3\n+/SgKxKxeU459KAgJOckntQJkkcgkGgAAFFz/XQEmJaY7jnk96BM9yPQelAf/wCX7UBv/jagGP8A\nKB6ZoDf00HMfO/0oAH5TQA/5moECSMDPFAvGASMjPP8AigVX+b60BW7/AHoHEJJD55oDd4snv70C\nsSjCcDmgVAAbgYoGYJ3nk9qBUAYHAoP/2Q==\n"
}
- }
+ },
+ "id": "uid6"
}
],
"nbformat": 4,
diff --git a/test/ipynb/simple.out.native b/test/ipynb/simple.out.native
index 4c060b82f..a17c36a41 100644
--- a/test/ipynb/simple.out.native
+++ b/test/ipynb/simple.out.native
@@ -1,15 +1,103 @@
-Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaString "4"),("nbformat_minor",MetaString "5")]))]})
-[Div ("",["cell","markdown"],[])
- [Header 1 ("lorem-ipsum",[],[]) [Str "Lorem",Space,Str "ipsum"]
- ,Para [Strong [Str "Lorem",Space,Str "ipsum"],Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipiscing",Space,Str "elit.",Space,Str "Nunc",Space,Str "luctus",SoftBreak,Str "bibendum",Space,Str "felis",Space,Str "dictum",Space,Str "sodales."]]
-,Div ("",["cell","code"],[])
- [CodeBlock ("",["python"],[]) "print(\"hello\")"]
-,Div ("",["cell","markdown"],[])
- [Header 2 ("pyout",[],[]) [Str "Pyout"]]
-,Div ("",["cell","code"],[("execution_count","2")])
- [CodeBlock ("",["python"],[]) "from IPython.display import HTML\nHTML(\"\"\"\n<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\n\"\"\")"
- ,Div ("",["output","execute_result"],[("execution_count","2")])
- [RawBlock (Format "html") "<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\nhello"]]
-,Div ("",["cell","markdown"],[("tags","[\"foo\",\"bar\"]")])
- [Header 2 ("image",[],[]) [Str "Image"]
- ,Para [Str "This",Space,Str "image",Space,Image ("",[],[]) [Str "the",Space,Str "moon"] ("lalune.jpg",""),Space,Str "will",Space,Str "be",Space,Str "included",Space,Str "as",Space,Str "a",Space,Str "cell",SoftBreak,Str "attachment."]]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "jupyter"
+ , MetaMap
+ (fromList
+ [ ( "nbformat" , MetaString "4" )
+ , ( "nbformat_minor" , MetaString "5" )
+ ])
+ )
+ ]
+ }
+ [ Div
+ ( "uid1" , [ "cell" , "markdown" ] , [] )
+ [ Header
+ 1
+ ( "lorem-ipsum" , [] , [] )
+ [ Str "Lorem" , Space , Str "ipsum" ]
+ , Para
+ [ Strong [ Str "Lorem" , Space , Str "ipsum" ]
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipiscing"
+ , Space
+ , Str "elit."
+ , Space
+ , Str "Nunc"
+ , Space
+ , Str "luctus"
+ , SoftBreak
+ , Str "bibendum"
+ , Space
+ , Str "felis"
+ , Space
+ , Str "dictum"
+ , Space
+ , Str "sodales."
+ ]
+ ]
+ , Div
+ ( "uid2" , [ "cell" , "code" ] , [] )
+ [ CodeBlock ( "" , [ "python" ] , [] ) "print(\"hello\")" ]
+ , Div
+ ( "uid3" , [ "cell" , "markdown" ] , [] )
+ [ Header 2 ( "pyout" , [] , [] ) [ Str "Pyout" ] ]
+ , Div
+ ( "uid4"
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "2" ) ]
+ )
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "from IPython.display import HTML\nHTML(\"\"\"\n<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\n\"\"\")"
+ , Div
+ ( ""
+ , [ "output" , "execute_result" ]
+ , [ ( "execution_count" , "2" ) ]
+ )
+ [ RawBlock
+ (Format "html")
+ "<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\nhello"
+ ]
+ ]
+ , Div
+ ( "uid6"
+ , [ "cell" , "markdown" ]
+ , [ ( "tags" , "[\"foo\",\"bar\"]" ) ]
+ )
+ [ Header 2 ( "image" , [] , [] ) [ Str "Image" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "image"
+ , Space
+ , Image
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "moon" ]
+ ( "lalune.jpg" , "" )
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "included"
+ , Space
+ , Str "as"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cell"
+ , SoftBreak
+ , Str "attachment."
+ ]
+ ]
+ ]
diff --git a/test/jats-reader.native b/test/jats-reader.native
index 0715ea8cc..02439ce31 100644
--- a/test/jats-reader.native
+++ b/test/jats-reader.native
@@ -1,671 +1,2810 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",Space,Str "Gruber's",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",SoftBreak,Link ("",[],[]) [Str "embedded",SoftBreak,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here's",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."]
-,Para [Str "Here's",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "item",Space,Str "one"]]
- ,[Para [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",Space,Str ">",Space,Str "1."]
-,Para [Str "Box-style:"]
-,BlockQuote
- [Para [Str "Example:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"]
-,BlockQuote
- [OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "do",Space,Str "laundry"]]
- ,[Para [Str "take",Space,Str "out",Space,Str "the",Space,Str "trash"]]]]
-,Para [Str "Here's",Space,Str "a",Space,Str "nested",Space,Str "one:"]
-,BlockQuote
- [Para [Str "Joe",Space,Str "said:"]
- ,BlockQuote
- [Para [Str "Don't",Space,Str "quote",Space,Str "me."]]]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",SoftBreak,Str "dog's",Space,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Para [Str "List",Space,Str "styles:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- []
-,OrderedList (1,LowerRoman,DefaultDelim)
- []
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]]]]]]]
-,Para [Str "Here's",Space,Str "another:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Autonumber."]]
- ,[Para [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Nested."]]]]]
-,Header 2 ("definition",[],[]) [Str "Definition"]
-,DefinitionList
- [([Str "Violin"],
- [[Para [Str "Stringed",Space,Str "musical",Space,Str "instrument."]
- ,Para [Str "Torture",Space,Str "device."]]])
- ,([Str "Cello",LineBreak,Str "Violoncello"],
- [[Para [Str "Low-voiced",Space,Str "stringed",Space,Str "instrument."]]])]
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",SoftBreak,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",SoftBreak,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "Empty",Space,Strong [],Space,Str "and",Space,Emph [],Str "."]
-,Para [Str "An",SoftBreak,Emph [Link ("",[],[]) [Str "emphasized",SoftBreak,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",SoftBreak,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",SoftBreak,Code ("",[],[]) "<html>",Str "."]
-,Para [Str "This",Space,Str "is",Space,SmallCaps [Str "small",Space,Str "caps"],Str "."]
-,Para [Str "These",Space,Str "are",Space,Str "all",Space,Str "underlined:",Space,Str "foo",Space,Str "and",Space,Str "bar."]
-,Para [Str "These",Space,Str "are",Space,Str "all",Space,Str "strikethrough:",Space,Strikeout [Str "foo"],Str ",",SoftBreak,Strikeout [Str "bar"],Str ",",Space,Str "and",Space,Strikeout [Str "baz"],Str "."]
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Str "\"Hello,\"",Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Str "\"'Shelob'",Space,Str "is",Space,Str "my",Space,Str "name.\""]
-,Para [Str "'A',",Space,Str "'B',",Space,Str "and",Space,Str "'C'",Space,Str "are",Space,Str "letters."]
-,Para [Str "'Oak,'",Space,Str "'elm,'",Space,Str "and",Space,Str "'beech'",Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",Space,Str "So",Space,Str "is",Space,Str "'pine.'"]
-,Para [Str "'He",Space,Str "said,",Space,Str "\"I",Space,Str "want",Space,Str "to",Space,Str "go.\"'",Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",Space,Str "70's?"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Str "'",Code ("",[],[]) "code",Str "'",Space,Str "and",Space,Str "a",SoftBreak,Str "\"",Link ("",[],[]) [Str "quoted",SoftBreak,Str "link"] ("http://example.com/?foo=1&bar=2",""),Str "\"."]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one---two",Space,Str "---",Space,Str "three--four",Space,Str "--",Space,Str "five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5-7,",Space,Str "255-66,",Space,Str "1987-1999."]
-,Para [Str "Ellipses...and.",Space,Str ".",Space,Str ".and",Space,Str ".",Space,Str ".",Space,Str ".",Space,Str "."]
-,Header 1 ("latex",[],[]) [Str "LaTeX"]
-,BulletList
- [[Para [Str "\\cite[22-23]{smith.1899}"]]
- ,[Para [Str "\\doublespacing"]]
- ,[Para [Str "$2+2=4$"]]
- ,[Para [Str "$x",Space,Str "\\in",Space,Str "y$"]]
- ,[Para [Str "$\\alpha",Space,Str "\\wedge",Space,Str "\\omega$"]]
- ,[Para [Str "$223$"]]
- ,[Para [Str "$p$-Tree"]]
- ,[Para [Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to",Space,Str "0}\\frac{f(x+h)-f(x)}{h}$"]]
- ,[Para [Str "Here's",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Str "$\\alpha",Space,Str "+",Space,Str "\\omega",Space,Str "\\times",SoftBreak,Str "x^2$."]]]
-,Para [Str "These",Space,Str "shouldn't",Space,Str "be",Space,Str "math:"]
-,BulletList
- [[Para [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",SoftBreak,Code ("",[],[]) "$e = mc^2$",Str "."]]
- ,[Para [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",Space,Str "(It",SoftBreak,Str "worked",Space,Str "if",Space,Str "\"lot\"",Space,Str "is",Space,Str "emphasized.)"]]
- ,[Para [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",SoftBreak,Str "emphasized"],Space,Str "23$."]]]
-,Para [Str "Here's",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
-,Para [Str "\\begin{tabular}{|l|l|}\\hline",Space,Str "Animal",Space,Str "&",Space,Str "Number",Space,Str "\\\\",Space,Str "\\hline",Space,Str "Dog",Space,Str "&",SoftBreak,Str "2",Space,Str "\\\\",Space,Str "Cat",Space,Str "&",Space,Str "1",Space,Str "\\\\",Space,Str "\\hline",Space,Str "\\end{tabular}"]
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Para [Str "section:",Space,Str "\167"]]
- ,[Para [Str "set",Space,Str "membership:",Space,Str "elem"]]
- ,[Para [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",SoftBreak,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",SoftBreak,Str "and",Space,Str "title"] ("/url/","title"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",SoftBreak,Str "and",Space,Str "title"] ("/url/","title preceded by two spaces"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",SoftBreak,Str "and",Space,Str "title"] ("/url/","title preceded by a tab"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",SoftBreak,Str "and",Space,Str "title"] ("/url/","title with \"quotes\" in it")]
-,Para [Link ("",[],[]) [Str "URL",SoftBreak,Str "and",Space,Str "title"] ("/url/","title with single quotes")]
-,Para [Str "Email",Space,Str "link",Space,Str "(nobody",Space,Str "[at]",Space,Str "nowhere.net)"]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",SoftBreak,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",SoftBreak,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",SoftBreak,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",SoftBreak,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",SoftBreak,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",SoftBreak,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",SoftBreak,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",SoftBreak,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",SoftBreak,Link ("",[],[]) [Str "bar"] ("/url/","Title with \"quotes\" inside"),Str "."]
-,Para [Str "Foo",SoftBreak,Link ("",[],[]) [Str "biz"] ("/url/","Title with \"quote\" inside"),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here's",Space,Str "a",SoftBreak,Link ("",[],[]) [Str "link",SoftBreak,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here's",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",SoftBreak,Link ("",[],[]) [Str "AT&T"] ("http://att.com/","AT&T"),Str "."]
-,Para [Str "Here's",Space,Str "an",SoftBreak,Link ("",[],[]) [Str "inline",SoftBreak,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here's",Space,Str "an",SoftBreak,Link ("",[],[]) [Str "inline",SoftBreak,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",SoftBreak,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Para [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Str "nobody",Space,Str "[at]",Space,Str "nowhere.net"]
-,BlockQuote
- [Para [Str "Blockquoted:",SoftBreak,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",SoftBreak,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [] ("lalune.jpg","Voyage dans la Lune")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",SoftBreak,Image ("",[],[]) [] ("movie.jpg",""),SoftBreak,Str "icon."]
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,Str "reference",Link ("",[],[]) [Str "(1)"] ("#note_1",""),Str ",",SoftBreak,Str "and",SoftBreak,Str "another",Link ("",[],[]) [Str "(longnote)"] ("#note_longnote",""),Str ".",SoftBreak,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",SoftBreak,Str "contains",Space,Str "a",Space,Str "space^(my",Space,Str "note)."]
-,Para [Link ("",[],[]) [Str "(1)"] ("#ref_1",""),Space,Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",SoftBreak,Str "go",Space,Str "anywhere",Space,Str "in",Space,Str "the",Space,Str "document,",Space,Str "not",Space,Str "just",Space,Str "at",Space,Str "the",Space,Str "end."]
-,Para [Link ("",[],[]) [Str "(longnote)"] ("#ref_longnote",""),Space,Str "Here's",SoftBreak,Str "the",Space,Str "other",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",Space,Str "blocks."]
-,Para [Str "Caret",Space,Str "characters",Space,Str "are",Space,Str "used",Space,Str "to",Space,Str "indicate",Space,Str "that",Space,Str "the",Space,Str "blocks",Space,Str "all",Space,Str "belong",Space,Str "to",SoftBreak,Str "a",Space,Str "single",Space,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "block",Space,Str "quotes)."]
-,CodeBlock ("",[],[]) " { <code> }"
-,Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "use",Space,Str "a",Space,Str "caret",Space,Str "at",Space,Str "the",Space,Str "beginning",Space,Str "of",Space,Str "every",Space,Str "line,",Space,Str "as",SoftBreak,Str "with",Space,Str "blockquotes,",Space,Str "but",Space,Str "all",Space,Str "that",Space,Str "you",Space,Str "need",Space,Str "is",Space,Str "a",Space,Str "caret",Space,Str "at",Space,Str "the",Space,Str "beginning",SoftBreak,Str "of",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "the",Space,Str "block",Space,Str "and",Space,Str "any",Space,Str "preceding",Space,Str "blank",Space,Str "lines."]
-,Para [Str "text",Space,Emph [Str "Leading",Space,Str "space"]]
-,Para [Emph [Str "Trailing",Space,Str "space"],Space,Str "text"]
-,Para [Str "text",Space,Emph [Str "Leading",Space,Str "spaces"]]
-,Para [Emph [Str "Trailing",Space,Str "spaces"],Space,Str "text"]
-,Header 1 ("tables",[],[]) [Str "Tables"]
-,Header 2 ("tables-with-headers",[],[]) [Str "Tables",Space,Str "with",Space,Str "Headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "X"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Y"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Z"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("tables-without-headers",[],[]) [Str "Tables",Space,Str "without",Space,Str "Headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "6"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("empty-tables",[],[]) [Str "Empty",Space,Str "Tables"]
-,Para [Str "This",Space,Str "section",Space,Str "should",Space,Str "be",Space,Str "empty."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber's"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , SoftBreak , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , Space
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , Space
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , Space
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ ]
+ , BlockQuote
+ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "do" , Space , Str "laundry" ] ]
+ , [ Para
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "one:"
+ ]
+ , BlockQuote
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
+ [ Para
+ [ Str "Don't" , Space , Str "quote" , Space , Str "me." ]
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , SoftBreak
+ , Str "dog's"
+ , Space
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "List" , Space , Str "styles:" ]
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Autonumber." ] ]
+ , [ Para [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
+ , DefinitionList
+ [ ( [ Str "Violin" ]
+ , [ [ Para
+ [ Str "Stringed"
+ , Space
+ , Str "musical"
+ , Space
+ , Str "instrument."
+ ]
+ , Para [ Str "Torture" , Space , Str "device." ]
+ ]
+ ]
+ )
+ , ( [ Str "Cello" , LineBreak , Str "Violoncello" ]
+ , [ [ Para
+ [ Str "Low-voiced"
+ , Space
+ , Str "stringed"
+ , Space
+ , Str "instrument."
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , SoftBreak , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , SoftBreak
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Empty"
+ , Space
+ , Strong []
+ , Space
+ , Str "and"
+ , Space
+ , Emph []
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , SoftBreak
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , SoftBreak , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , SmallCaps [ Str "small" , Space , Str "caps" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "underlined:"
+ , Space
+ , Str "foo"
+ , Space
+ , Str "and"
+ , Space
+ , Str "bar."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "strikethrough:"
+ , Space
+ , Strikeout [ Str "foo" ]
+ , Str ","
+ , SoftBreak
+ , Strikeout [ Str "bar" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Strikeout [ Str "baz" ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Str "\"Hello,\""
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Str "\"'Shelob'"
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name.\""
+ ]
+ , Para
+ [ Str "'A',"
+ , Space
+ , Str "'B',"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'C'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Str "'Oak,'"
+ , Space
+ , Str "'elm,'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'beech'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "'pine.'"
+ ]
+ , Para
+ [ Str "'He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "\"I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go.\"'"
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "70's?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Str "'"
+ , Code ( "" , [] , [] ) "code"
+ , Str "'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "\""
+ , Link
+ ( "" , [] , [] )
+ [ Str "quoted" , SoftBreak , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "\"."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one---two"
+ , Space
+ , Str "---"
+ , Space
+ , Str "three--four"
+ , Space
+ , Str "--"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5-7,"
+ , Space
+ , Str "255-66,"
+ , Space
+ , Str "1987-1999."
+ ]
+ , Para
+ [ Str "Ellipses...and."
+ , Space
+ , Str "."
+ , Space
+ , Str ".and"
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ ]
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Para [ Str "\\cite[22-23]{smith.1899}" ] ]
+ , [ Para [ Str "\\doublespacing" ] ]
+ , [ Para [ Str "$2+2=4$" ] ]
+ , [ Para
+ [ Str "$x" , Space , Str "\\in" , Space , Str "y$" ]
+ ]
+ , [ Para
+ [ Str "$\\alpha"
+ , Space
+ , Str "\\wedge"
+ , Space
+ , Str "\\omega$"
+ ]
+ ]
+ , [ Para [ Str "$223$" ] ]
+ , [ Para [ Str "$p$-Tree" ] ]
+ , [ Para
+ [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
+ , Space
+ , Str "0}\\frac{f(x+h)-f(x)}{h}$"
+ ]
+ ]
+ , [ Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Str "$\\alpha"
+ , Space
+ , Str "+"
+ , Space
+ , Str "\\omega"
+ , Space
+ , Str "\\times"
+ , SoftBreak
+ , Str "x^2$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , SoftBreak
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "$22,000"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Emph [ Str "lot" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "money."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "$34,000."
+ , Space
+ , Str "(It"
+ , SoftBreak
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Str "\"lot\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Para
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , SoftBreak
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Para
+ [ Str "\\begin{tabular}{|l|l|}\\hline"
+ , Space
+ , Str "Animal"
+ , Space
+ , Str "&"
+ , Space
+ , Str "Number"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "&"
+ , SoftBreak
+ , Str "2"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "Cat"
+ , Space
+ , Str "&"
+ , Space
+ , Str "1"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "\\end{tabular}"
+ ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "elem"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Str "Email"
+ , Space
+ , Str "link"
+ , Space
+ , Str "(nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net)"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , SoftBreak , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , SoftBreak
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , SoftBreak
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "AT&T" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , SoftBreak , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , SoftBreak
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Str "nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , SoftBreak
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: <http://example.com/>"
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [] ( "lalune.jpg" , "Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" )
+ , SoftBreak
+ , Str "icon."
+ ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference"
+ , Link ( "" , [] , [] ) [ Str "(1)" ] ( "#note_1" , "" )
+ , Str ","
+ , SoftBreak
+ , Str "and"
+ , SoftBreak
+ , Str "another"
+ , Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#note_longnote" , "" )
+ , Str "."
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space^(my"
+ , Space
+ , Str "note)."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "(1)" ] ( "#ref_1" , "" )
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , SoftBreak
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "just"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#ref_longnote" , "" )
+ , Space
+ , Str "Here's"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Caret"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "indicate"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "all"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "as"
+ , SoftBreak
+ , Str "with"
+ , Space
+ , Str "blockquotes,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "all"
+ , Space
+ , Str "that"
+ , Space
+ , Str "you"
+ , Space
+ , Str "need"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , SoftBreak
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "block"
+ , Space
+ , Str "and"
+ , Space
+ , Str "any"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "space" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "space" ]
+ , Space
+ , Str "text"
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "spaces" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "spaces" ]
+ , Space
+ , Str "text"
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Header
+ 2
+ ( "tables-with-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "tables-without-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "without"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "empty-tables" , [] , [] )
+ [ Str "Empty" , Space , Str "Tables" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "empty."
+ ]
+ ]
diff --git a/test/jira-reader.native b/test/jira-reader.native
index 12fc88adc..5cb00a929 100644
--- a/test/jira-reader.native
+++ b/test/jira-reader.native
@@ -1,185 +1,947 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("",[],[]) [Span ("headers",[],[]) [],Str "Headers"]
-,Header 2 ("",[],[]) [Span ("level-2-with-an-embedded-link",[],[]) [],Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("https://test.example/url","")]
-,Header 3 ("",[],[]) [Span ("level-3-with-emphasis",[],[]) [],Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("",[],[]) [Str "Level",Space,Str "5"]
-,Header 6 ("",[],[]) [Str "Level",Space,Str "6"]
-,Para [Str "h0.",Space,Str "this",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "header."]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",["java"],[]) "sub status {\n print \"working\";\n}\n"
- ,Para [Str "An",Space,Str "enumeration:"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "item",Space,Str "one"]]
- ,[Para [Str "item",Space,Str "two"]]]]
-,Para [Str "A",Space,Str "following",Space,Str "paragraph."]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",["java"],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
-,Para [Str "And:"]
-,CodeBlock ("",["java"],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{\n"
-,HorizontalRule
-,Header 1 ("",[],[]) [Span ("lists",[],[]) [],Str "Lists"]
-,Header 2 ("",[],[]) [Span ("unordered",[],[]) [],Str "Unordered"]
-,Para [Str "Asterisks:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Minuses:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("",[],[]) [Str "Ordered"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "Linebreak",Space,Str "in",Space,Str "paragraph:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Item",Space,Str "1,",Space,Str "line",Space,Str "one.",LineBreak,Str "Item",Space,Str "1.",Space,Str "line",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",Space,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Header 2 ("",[],[]) [Str "Nested"]
-,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Para [Str "Nested",Space,Str "enumerations:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Essential"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Important"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Relevant"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Insignificant"]]]]]]]]]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Linebreaks",Space,Str "and",Space,Str "Markup",Space,Str "in",Space,Str "Lists"]
-,BulletList
- [[Para [Strong [Str "apple"],LineBreak,Str "red",Space,Str "fruit"]]
- ,[Para [Strong [Str "orange"],LineBreak,Str "orange",Space,Str "fruit"]]
- ,[Para [Strong [Str "banana"],LineBreak,Str "yellow",Space,Str "fruit"]]]
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
-,BulletList
- [[Para [Strong [Emph [Str "apple"]],LineBreak,Str "red",Space,Str "fruit",LineBreak,Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]
- ,[Para [Strong [Emph [Str "orange"]],LineBreak,Str "orange",Space,Str "fruit"]
- ,CodeBlock ("",["java"],[]) "{ orange code block }\n"
- ,BlockQuote
- [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Colored",Space,Str "Text",Space,Str "Blocks"]
-,Div ("",[],[("color","red")])
- [Para [LineBreak,Str "This",Space,Str "is",Space,Str "red."]]
-,Header 2 ("",[],[]) [Str "Eiffel",Space,Str "65"]
-,Div ("",[],[("color","blue")])
- [Para [LineBreak,Str "da",Space,Str "ba",Space,Str "dee"]]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("https://my.example/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello\160there"],Str "."]
-,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "C",Subscript [Str "6"],Str "H",Subscript [Str "12"],Str "O",Subscript [Str "6"],Str ",",Space,Str "C",Subscript [Str "\160n\160"],Str "H",Subscript [Emph [Str "2n"]],Str "O",Subscript [Str "n"],Str "."]
-,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",Space,Str "because",Space,Str "of",Space,Str "markers",Space,Str "used",Space,Str "within",Space,Str "words:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a~b",Space,Str "c~d."]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Dashes,",Space,Str "and",Space,Str "emoticons"]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one",Space,Str "\8211",Space,Str "two",Space,Str "\8212",Space,Str "three."]
-,Para [Str "Sure",Space,Str "\10004",LineBreak,Str "Nope",Space,Str "\10060"]
-,Para [Str "Nice",Space,Str "\128515"]
-,Para [Str "Capital",Space,Str "d:D"]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Math"]
-,BulletList
- [[Para [Str "2\8197+\8197\&2\8196=\8196\&4"]]
- ,[Para [Emph [Str "x"],Str "\8196\8712\8196",Emph [Str "y"]]]
- ,[Para [Emph [Str "\945"],Str "\8197\8743\8197",Emph [Str "\969"]]]
- ,[Para [Emph [Str "p"],Str "-Tree"]]
- ,[Para [Str "Here\8217s",Space,Str "one",Space,Str "more:",Space,Emph [Str "\945"],Str "\8197+\8197",Emph [Str "\969"],Str "\8197\215\8197",Emph [Str "x"],Superscript [Str "2"],Str "."]]]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Para [Str "section:",Space,Str "\167"]]
- ,[Para [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Para [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Links"]
-,Header 2 ("",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("https://example.org/url",""),Str "."]
-,Para [Link ("",[],[]) [Str "File",Space,Str "URL"] ("file://some/file/name/",""),Str "."]
-,Para [Link ("",[],[]) [Str "IRC",Space,Str "link"] ("irc://example.org/pandoc",""),Str "."]
-,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.invalid","")]
-,Para [Str "[Not",Space,Str "a",Space,Str "link|not",Space,Str "a",Space,Str "URL]."]
-,Header 2 ("",[],[]) [Str "Reference"]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("https://example.net/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "https://pandoc.org"] ("https://pandoc.org",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Header 2 ("",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("http://att.com/",""),Str "."]
-,Header 2 ("",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Para [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Link ("",[],[]) [Str "mailto:nobody@nowhere.invalid"] ("mailto:nobody@nowhere.invalid","")]
-,BlockQuote
- [Para [Str "Blockquoted:",Space,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,CodeBlock ("",["java"],[]) "Autolink should not occur here: <http://example.com/>\n"
-,HorizontalRule
-,Header 1 ("",[],[]) [Str "Images"]
-,Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [] ("lalune.jpg","")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [] ("movie.jpg",""),Space,Str "icon."]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Span ( "headers" , [] , [] ) [] , Str "Headers" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "level-2-with-an-embedded-link" , [] , [] ) []
+ , Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "https://test.example/url" , "" )
+ ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "level-3-with-emphasis" , [] , [] ) []
+ , Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 6 ( "" , [] , [] ) [ Str "Level" , Space , Str "6" ]
+ , Para
+ [ Str "h0."
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header."
+ ]
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ "sub status {\n print \"working\";\n}\n"
+ , Para [ Str "An" , Space , Str "enumeration:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{\n"
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Span ( "lists" , [] , [] ) [] , Str "Lists" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "unordered" , [] , [] ) [] , Str "Unordered" ]
+ , Para [ Str "Asterisks:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Linebreak"
+ , Space
+ , Str "in"
+ , Space
+ , Str "paragraph:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "line"
+ , Space
+ , Str "one."
+ , LineBreak
+ , Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "line"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , Space
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "Nested" , Space , Str "enumerations:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Essential" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Important" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Relevant" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Insignificant" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Linebreaks"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Lists"
+ ]
+ , BulletList
+ [ [ Para
+ [ Strong [ Str "apple" ]
+ , LineBreak
+ , Str "red"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Str "orange" ]
+ , LineBreak
+ , Str "orange"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Str "banana" ]
+ , LineBreak
+ , Str "yellow"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Strong [ Emph [ Str "apple" ] ]
+ , LineBreak
+ , Str "red"
+ , Space
+ , Str "fruit"
+ , LineBreak
+ , Str "contains"
+ , Space
+ , Str "seeds,"
+ , Space
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Emph [ Str "orange" ] ]
+ , LineBreak
+ , Str "orange"
+ , Space
+ , Str "fruit"
+ ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] ) "{ orange code block }\n"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Colored"
+ , Space
+ , Str "Text"
+ , Space
+ , Str "Blocks"
+ ]
+ , Div
+ ( "" , [] , [ ( "color" , "red" ) ] )
+ [ Para
+ [ LineBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "red."
+ ]
+ ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Eiffel" , Space , Str "65" ]
+ , Div
+ ( "" , [] , [ ( "color" , "blue" ) ] )
+ [ Para
+ [ LineBreak
+ , Str "da"
+ , Space
+ , Str "ba"
+ , Space
+ , Str "dee"
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "https://my.example/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "C"
+ , Subscript [ Str "6" ]
+ , Str "H"
+ , Subscript [ Str "12" ]
+ , Str "O"
+ , Subscript [ Str "6" ]
+ , Str ","
+ , Space
+ , Str "C"
+ , Subscript [ Str "\160n\160" ]
+ , Str "H"
+ , Subscript [ Emph [ Str "2n" ] ]
+ , Str "O"
+ , Subscript [ Str "n" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "used"
+ , Space
+ , Str "within"
+ , Space
+ , Str "words:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Dashes,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emoticons"
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one"
+ , Space
+ , Str "\8211"
+ , Space
+ , Str "two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three."
+ ]
+ , Para
+ [ Str "Sure"
+ , Space
+ , Str "\10004"
+ , LineBreak
+ , Str "Nope"
+ , Space
+ , Str "\10060"
+ ]
+ , Para [ Str "Nice" , Space , Str "\128515" ]
+ , Para [ Str "Capital" , Space , Str "d:D" ]
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Math" ]
+ , BulletList
+ [ [ Para [ Str "2\8197+\8197\&2\8196=\8196\&4" ] ]
+ , [ Para
+ [ Emph [ Str "x" ]
+ , Str "\8196\8712\8196"
+ , Emph [ Str "y" ]
+ ]
+ ]
+ , [ Para
+ [ Emph [ Str "\945" ]
+ , Str "\8197\8743\8197"
+ , Emph [ Str "\969" ]
+ ]
+ ]
+ , [ Para [ Emph [ Str "p" ] , Str "-Tree" ] ]
+ , [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "more:"
+ , Space
+ , Emph [ Str "\945" ]
+ , Str "\8197+\8197"
+ , Emph [ Str "\969" ]
+ , Str "\8197\215\8197"
+ , Emph [ Str "x" ]
+ , Superscript [ Str "2" ]
+ , Str "."
+ ]
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "URL" ]
+ ( "https://example.org/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "File" , Space , Str "URL" ]
+ ( "file://some/file/name/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "IRC" , Space , Str "link" ]
+ ( "irc://example.org/pandoc" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.invalid" , "" )
+ ]
+ , Para
+ [ Str "[Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link|not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "URL]."
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "https://example.net/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "https://pandoc.org" ]
+ ( "https://pandoc.org" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:nobody@nowhere.invalid" ]
+ ( "mailto:nobody@nowhere.invalid" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ "Autolink should not occur here: <http://example.com/>\n"
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para [ Image ( "" , [] , [] ) [] ( "lalune.jpg" , "" ) ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ ]
diff --git a/test/latex-reader.native b/test/latex-reader.native
index c6bb24182..32ee86899 100644
--- a/test/latex-reader.native
+++ b/test/latex-reader.native
@@ -1,416 +1,2291 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[RawBlock (Format "latex") "\\maketitle"
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",SoftBreak,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Para [Str "Level",Space,Str "4"]
-,Para [Str "Level",Space,Str "5"]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",SoftBreak,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",SoftBreak,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,Decimal,Period)
- [[Para [Str "item",Space,Str "one"]]
- ,[Para [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",Space,Str ">",Space,Str "1."]
-,Para [Str "Box-style:"]
-,BlockQuote
- [Para [Str "Example:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"]
-,BlockQuote
- [OrderedList (1,Decimal,Period)
- [[Para [Str "do",Space,Str "laundry"]]
- ,[Para [Str "take",Space,Str "out",Space,Str "the",Space,Str "trash"]]]]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "nested",Space,Str "one:"]
-,BlockQuote
- [Para [Str "Joe",Space,Str "said:"]
- ,BlockQuote
- [Para [Str "Don\8217t",Space,Str "quote",Space,Str "me."]]]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,Para [Str "this",Space,Str "has",Space,Emph [Str "two",LineBreak,Str "lines"]]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,TwoParens)
- [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,Period)
- [[Para [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Para [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,TwoParens)
- [[Para [Str "a",Space,Str "subsublist"]]
- ,[Para [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,Period)
- [[Para [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,Period)
- [[Para [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,TwoParens)
- [[Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,OneParen)
- [[Para [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Autonumber."]]
- ,[Para [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Nested."]]]]]
-,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
-,Para [Str "M.A.",Space,Str "2007"]
-,Para [Str "B.",Space,Str "Williams"]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
-,Para [Str "Tight",Space,Str "using",Space,Str "spaces:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Tight",Space,Str "using",Space,Str "tabs:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
-,DefinitionList
- [([Emph [Str "apple"]],
- [[Para [Str "red",Space,Str "fruit"]
- ,Para [Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
- ,([Emph [Str "orange"]],
- [[Para [Str "orange",Space,Str "fruit"]
- ,CodeBlock ("",[],[]) "{ orange code block }"
- ,BlockQuote
- [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
-,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
-,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
-,Para [Str "foo",SoftBreak,Str "And",Space,Str "nested",Space,Str "without",Space,Str "indentation:"]
-,Para [Str "foo",SoftBreak,Str "bar",SoftBreak,Str "Interpreted",Space,Str "markdown",Space,Str "in",Space,Str "a",Space,Str "table:"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],SoftBreak,Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"],SoftBreak,Str "Here\8217s",Space,Str "a",Space,Str "simple",Space,Str "block:"]
-,Para [Str "foo",SoftBreak,Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "code",Space,Str "block,",Space,Str "though:"]
-,CodeBlock ("",[],[]) "<div>\n foo\n</div>"
-,Para [Str "As",Space,Str "should",Space,Str "this:"]
-,CodeBlock ("",[],[]) "<div>foo</div>"
-,Para [Str "Now,",Space,Str "nested:"]
-,Para [Str "foo",SoftBreak,Str "This",Space,Str "should",Space,Str "just",Space,Str "be",Space,Str "an",Space,Str "HTML",Space,Str "comment:"]
-,Para [Str "Multiline:"]
-,Para [Str "Code",Space,Str "block:"]
-,CodeBlock ("",[],[]) "<!-- Comment -->"
-,Para [Str "Just",Space,Str "plain",Space,Str "comment,",Space,Str "with",Space,Str "trailing",Space,Str "spaces",Space,Str "on",Space,Str "the",Space,Str "line:"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "<hr />"
-,Para [Str "Hr\8217s:"]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",SoftBreak,Code ("",[],[]) "<html>",Str "."]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",SoftBreak,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello",Space,Str "there"],Str "."]
-,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",SoftBreak,Str "H",Subscript [Str "many",Space,Str "of",Space,Str "them"],Str "O."]
-,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",Space,Str "because",Space,Str "of",Space,Str "the",SoftBreak,Str "unescaped",Space,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a",Math InlineMath "\\sim",Str "b",SoftBreak,Str "c",Math InlineMath "\\sim",Str "d."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Str "\8198",Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",Space,Str "name."]]
-,Para [Quoted SingleQuote [Str "A"],Str ",",Space,Quoted SingleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted SingleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
-,Para [Quoted SingleQuote [Str "Oak,"],Space,Quoted SingleQuote [Str "elm,"],Space,Str "and",Space,Quoted SingleQuote [Str "beech"],Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",Space,Str "So",Space,Str "is",Space,Quoted SingleQuote [Str "pine."]]
-,Para [Quoted SingleQuote [Str "He",Space,Str "said,",Space,Quoted DoubleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."],Str "\8198"],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",Space,Str "70\8217s?"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Quoted SingleQuote [Code ("",[],[]) "code"],Space,Str "and",Space,Str "a",SoftBreak,Quoted DoubleQuote [Link ("",[],[]) [Str "quoted",Space,Str "link"] ("http://example.com/?foo=1&bar=2","")],Str "."]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two\8212three\8212four\8212five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
-,Para [Str "Ellipses\8230and\8230and\8230."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("latex",[],[]) [Str "LaTeX"]
-,BulletList
- [[Para [Cite [Citation {citationId = "smith.1899", citationPrefix = [], citationSuffix = [Str "22-23"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite[22-23]{smith.1899}"]]]
- ,[RawBlock (Format "latex") "\\doublespacing"]
- ,[Para [Math InlineMath "2+2=4"]]
- ,[Para [Math InlineMath "x \\in y"]]
- ,[Para [Math InlineMath "\\alpha \\wedge \\omega"]]
- ,[Para [Math InlineMath "223"]]
- ,[Para [Math InlineMath "p",Str "-Tree"]]
- ,[Para [Math InlineMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"]]
- ,[Para [Str "Here\8217s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",SoftBreak,Math InlineMath "\\alpha + \\omega \\times x^2",Str "."]]]
-,Para [Str "These",Space,Str "shouldn\8217t",Space,Str "be",Space,Str "math:"]
-,BulletList
- [[Para [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code ("",[],[]) "$e = mc^2$",Str "."]]
- ,[Para [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",Space,Str "(It",Space,Str "worked",Space,Str "if",SoftBreak,Quoted DoubleQuote [Str "lot"],Space,Str "is",Space,Str "emphasized.)"]]
- ,[Para [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",Space,Str "emphasized"],Space,Str "23$."]]]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Animal"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Number"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Dog"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cat"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "A",Space,Str "table",Space,Str "with",Space,Str "one",Space,Str "column:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Animal"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Vegetable"]]]])]
- (TableFoot ("",[],[])
- [])
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Para [Str "section:",Space,Str "\167"]]
- ,[Para [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Para [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "\8216"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
-,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
-,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/",""),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here\8217s",Space,Str "a",SoftBreak,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",SoftBreak,Link ("",[],[]) [Str "AT&T"] ("http://att.com/",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",SoftBreak,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Para [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",SoftBreak,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
-,BlockQuote
- [Para [Str "Blockquoted:",Space,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",Space,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "image"] ("lalune.jpg","")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "image"] ("movie.jpg",""),Space,Str "icon."]
-,Div ("",["center"],[])
- [HorizontalRule]
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",SoftBreak,Str "reference,",Note [Para [Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "after",Space,Str "the",Space,Str "footnote",SoftBreak,Str "reference.",Space,Str "It",Space,Str "need",Space,Str "not",Space,Str "be",Space,Str "placed",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]],SoftBreak,Str "and",SoftBreak,Str "another.",Note [Para [Str "Here\8217s",Space,Str "the",Space,Str "long",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",Space,Str "blocks."],Para [Str "Subsequent",Space,Str "blocks",Space,Str "are",Space,Str "indented",Space,Str "to",Space,Str "show",Space,Str "that",Space,Str "they",Space,Str "belong",Space,Str "to",Space,Str "the",SoftBreak,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "list",Space,Str "items)."],CodeBlock ("",[],[]) " { <code> }",Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "indent",Space,Str "every",Space,Str "line,",Space,Str "but",Space,Str "you",Space,Str "can",Space,Str "also",Space,Str "be",Space,Str "lazy",SoftBreak,Str "and",Space,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],SoftBreak,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",Space,Str "contains",SoftBreak,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",SoftBreak,Str "note.",Note [Para [Str "This",Space,Str "is",Space,Emph [Str "easier"],Space,Str "to",Space,Str "type.",Space,Str "Inline",Space,Str "notes",Space,Str "may",Space,Str "contain",SoftBreak,Link ("",[],[]) [Str "links"] ("http://google.com",""),Space,Str "and",Space,Code ("",[],[]) "]",Space,Str "verbatim",Space,Str "characters,",SoftBreak,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
-,BlockQuote
- [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
-,Para [Str "This",Space,Str "paragraph",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "note,",Space,Str "as",Space,Str "it",Space,Str "is",Space,Str "not",SoftBreak,Str "indented."]
-,Header 1 ("escaped-characters",[],[]) [Str "Escaped",Space,Str "characters"]
-,Para [Str "$",Space,Str "%",Space,Str "&",Space,Str "#",Space,Str "_",Space,Str "{",Space,Str "}"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "July" , Space , Str "17," , Space , Str "2006" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
+ }
+ [ RawBlock (Format "latex") "\\maketitle"
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , SoftBreak
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Para [ Str "Level" , Space , Str "4" ]
+ , Para [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , Space
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "list"
+ , Space
+ , Str "item."
+ , Space
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , SoftBreak
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , Space
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ ]
+ , BlockQuote
+ [ OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "do" , Space , Str "laundry" ] ]
+ , [ Para
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "one:"
+ ]
+ , BlockQuote
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
+ [ Para
+ [ Str "Don\8217t"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "me."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Para
+ [ Str "this"
+ , Space
+ , Str "has"
+ , Space
+ , Emph [ Str "two" , LineBreak , Str "lines" ]
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , SoftBreak
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Para
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Para [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Para
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Autonumber." ] ]
+ , [ Para [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A." , Space , Str "2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
+ , Para
+ [ Str "Tight"
+ , Space
+ , Str "using"
+ , Space
+ , Str "spaces:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , DefinitionList
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , Space
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "html-blocks" , [] , [] )
+ [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , Para
+ [ Str "foo"
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
+ ]
+ , Para
+ [ Str "foo"
+ , SoftBreak
+ , Str "bar"
+ , SoftBreak
+ , Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , SoftBreak
+ , Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "block:"
+ ]
+ , Para
+ [ Str "foo"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
+ ]
+ , CodeBlock ( "" , [] , [] ) "<div>\n foo\n</div>"
+ , Para
+ [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "<div>foo</div>"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , Para
+ [ Str "foo"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
+ ]
+ , Para [ Str "Multiline:" ]
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) "<!-- Comment -->"
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "plain"
+ , Space
+ , Str "comment,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line:"
+ ]
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "<hr />"
+ , Para [ Str "Hr\8217s:" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , SoftBreak
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello" , Space , Str "there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , SoftBreak
+ , Str "H"
+ , Subscript
+ [ Str "many" , Space , Str "of" , Space , Str "them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "unescaped"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a"
+ , Math InlineMath "\\sim"
+ , Str "b"
+ , SoftBreak
+ , Str "c"
+ , Math InlineMath "\\sim"
+ , Str "d."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Quoted DoubleQuote [ Str "Hello," ]
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "\8198"
+ , Quoted SingleQuote [ Str "Shelob" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name."
+ ]
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "A" ]
+ , Str ","
+ , Space
+ , Quoted SingleQuote [ Str "B" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "C" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "Oak," ]
+ , Space
+ , Quoted SingleQuote [ Str "elm," ]
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "beech" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Quoted SingleQuote [ Str "pine." ]
+ ]
+ , Para
+ [ Quoted
+ SingleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go."
+ ]
+ , Str "\8198"
+ ]
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "70\8217s?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Quoted SingleQuote [ Code ( "" , [] , [] ) "code" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Quoted
+ DoubleQuote
+ [ Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two\8212three\8212four\8212five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "smith.1899"
+ , citationPrefix = []
+ , citationSuffix = [ Str "22-23" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ RawInline (Format "latex") "\\cite[22-23]{smith.1899}"
+ ]
+ ]
+ ]
+ , [ RawBlock (Format "latex") "\\doublespacing" ]
+ , [ Para [ Math InlineMath "2+2=4" ] ]
+ , [ Para [ Math InlineMath "x \\in y" ] ]
+ , [ Para [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Para [ Math InlineMath "223" ] ]
+ , [ Para [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Para
+ [ Math
+ InlineMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , SoftBreak
+ , Math InlineMath "\\alpha + \\omega \\times x^2"
+ , Str "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "$22,000"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Emph [ Str "lot" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "money."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "$34,000."
+ , Space
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , SoftBreak
+ , Quoted DoubleQuote [ Str "lot" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Para
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Animal" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Number" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Dog" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cat" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "A"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "one"
+ , Space
+ , Str "column:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Animal" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Vegetable" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "\8216" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "biz" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: <http://example.com/>"
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune"
+ ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "image" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , SoftBreak
+ , Str "reference,"
+ , Note
+ [ Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote"
+ , SoftBreak
+ , Str "reference."
+ , Space
+ , Str "It"
+ , Space
+ , Str "need"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "placed"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , SoftBreak
+ , Str "and"
+ , SoftBreak
+ , Str "another."
+ , Note
+ [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "long"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Subsequent"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "to"
+ , Space
+ , Str "show"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "be"
+ , Space
+ , Str "lazy"
+ , SoftBreak
+ , Str "and"
+ , Space
+ , Str "just"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "contains"
+ , SoftBreak
+ , Str "a"
+ , Space
+ , Str "space.[^my"
+ , Space
+ , Str "note]"
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "inline"
+ , SoftBreak
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "easier" ]
+ , Space
+ , Str "to"
+ , Space
+ , Str "type."
+ , Space
+ , Str "Inline"
+ , Space
+ , Str "notes"
+ , Space
+ , Str "may"
+ , Space
+ , Str "contain"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "links" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "]"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "characters,"
+ , SoftBreak
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "[bracketed"
+ , Space
+ , Str "text]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "note,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , SoftBreak
+ , Str "indented."
+ ]
+ , Header
+ 1
+ ( "escaped-characters" , [] , [] )
+ [ Str "Escaped" , Space , Str "characters" ]
+ , Para
+ [ Str "$"
+ , Space
+ , Str "%"
+ , Space
+ , Str "&"
+ , Space
+ , Str "#"
+ , Space
+ , Str "_"
+ , Space
+ , Str "{"
+ , Space
+ , Str "}"
+ ]
+ ]
diff --git a/test/lhs-test-markdown.native b/test/lhs-test-markdown.native
index 7a423b1ab..42a32697b 100644
--- a/test/lhs-test-markdown.native
+++ b/test/lhs-test-markdown.native
@@ -1,8 +1,124 @@
-[Header 1 ("lhs-test",[],[]) [Str "lhs",Space,Str "test"]
-,Para [Code ("",[],[]) "unsplit",Space,Str "is",Space,Str "an",Space,Str "arrow",Space,Str "that",Space,Str "takes",Space,Str "a",Space,Str "pair",Space,Str "of",Space,Str "values",Space,Str "and",Space,Str "combines",Space,Str "them",Space,Str "to",SoftBreak,Str "return",Space,Str "a",Space,Str "single",Space,Str "value:"]
-,CodeBlock ("",["haskell","literate"],[]) "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
-,Para [Code ("",[],[]) "(***)",Space,Str "combines",Space,Str "two",Space,Str "arrows",Space,Str "into",Space,Str "a",Space,Str "new",Space,Str "arrow",Space,Str "by",Space,Str "running",Space,Str "the",Space,Str "two",Space,Str "arrows",Space,Str "on",Space,Str "a",SoftBreak,Str "pair",Space,Str "of",Space,Str "values",Space,Str "(one",Space,Str "arrow",Space,Str "on",Space,Str "the",Space,Str "first",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair",Space,Str "and",Space,Str "one",Space,Str "arrow",Space,Str "on",Space,Str "the",SoftBreak,Str "second",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair)."]
-,CodeBlock ("",[],[]) "f *** g = first f >>> second g"
-,Para [Str "Block",Space,Str "quote:"]
-,BlockQuote
- [Para [Str "foo",Space,Str "bar"]]]
+[ Header
+ 1
+ ( "lhs-test" , [] , [] )
+ [ Str "lhs" , Space , Str "test" ]
+, Para
+ [ Code ( "" , [] , [] ) "unsplit"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "that"
+ , Space
+ , Str "takes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "and"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "them"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "return"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "value:"
+ ]
+, CodeBlock
+ ( "" , [ "haskell" , "literate" ] , [] )
+ "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
+, Para
+ [ Code ( "" , [] , [] ) "(***)"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "new"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "by"
+ , Space
+ , Str "running"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "(one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "and"
+ , Space
+ , Str "one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "second"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair)."
+ ]
+, CodeBlock
+ ( "" , [] , [] ) "f *** g = first f >>> second g"
+, Para [ Str "Block" , Space , Str "quote:" ]
+, BlockQuote [ Para [ Str "foo" , Space , Str "bar" ] ]
+]
diff --git a/test/lhs-test.native b/test/lhs-test.native
index 7a423b1ab..42a32697b 100644
--- a/test/lhs-test.native
+++ b/test/lhs-test.native
@@ -1,8 +1,124 @@
-[Header 1 ("lhs-test",[],[]) [Str "lhs",Space,Str "test"]
-,Para [Code ("",[],[]) "unsplit",Space,Str "is",Space,Str "an",Space,Str "arrow",Space,Str "that",Space,Str "takes",Space,Str "a",Space,Str "pair",Space,Str "of",Space,Str "values",Space,Str "and",Space,Str "combines",Space,Str "them",Space,Str "to",SoftBreak,Str "return",Space,Str "a",Space,Str "single",Space,Str "value:"]
-,CodeBlock ("",["haskell","literate"],[]) "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
-,Para [Code ("",[],[]) "(***)",Space,Str "combines",Space,Str "two",Space,Str "arrows",Space,Str "into",Space,Str "a",Space,Str "new",Space,Str "arrow",Space,Str "by",Space,Str "running",Space,Str "the",Space,Str "two",Space,Str "arrows",Space,Str "on",Space,Str "a",SoftBreak,Str "pair",Space,Str "of",Space,Str "values",Space,Str "(one",Space,Str "arrow",Space,Str "on",Space,Str "the",Space,Str "first",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair",Space,Str "and",Space,Str "one",Space,Str "arrow",Space,Str "on",Space,Str "the",SoftBreak,Str "second",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair)."]
-,CodeBlock ("",[],[]) "f *** g = first f >>> second g"
-,Para [Str "Block",Space,Str "quote:"]
-,BlockQuote
- [Para [Str "foo",Space,Str "bar"]]]
+[ Header
+ 1
+ ( "lhs-test" , [] , [] )
+ [ Str "lhs" , Space , Str "test" ]
+, Para
+ [ Code ( "" , [] , [] ) "unsplit"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "that"
+ , Space
+ , Str "takes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "and"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "them"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "return"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "value:"
+ ]
+, CodeBlock
+ ( "" , [ "haskell" , "literate" ] , [] )
+ "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
+, Para
+ [ Code ( "" , [] , [] ) "(***)"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "new"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "by"
+ , Space
+ , Str "running"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "(one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "and"
+ , Space
+ , Str "one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "second"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair)."
+ ]
+, CodeBlock
+ ( "" , [] , [] ) "f *** g = first f >>> second g"
+, Para [ Str "Block" , Space , Str "quote:" ]
+, BlockQuote [ Para [ Str "foo" , Space , Str "bar" ] ]
+]
diff --git a/test/lua/implicit-doc-filter.lua b/test/lua/implicit-doc-filter.lua
index 253462d1c..f053dc1b2 100644
--- a/test/lua/implicit-doc-filter.lua
+++ b/test/lua/implicit-doc-filter.lua
@@ -1,4 +1,4 @@
-function Doc (doc)
+function Pandoc (doc)
local meta = {}
local hello = { pandoc.Str "Hello,", pandoc.Space(), pandoc.Str "World!" }
local blocks = { pandoc.Para(hello) }
diff --git a/test/lua/module/pandoc-types.lua b/test/lua/module/pandoc-types.lua
index d4e063a5c..d9c9f82ac 100644
--- a/test/lua/module/pandoc-types.lua
+++ b/test/lua/module/pandoc-types.lua
@@ -55,31 +55,6 @@ return {
end),
},
- group 'list-like behavior' {
- test('can access version component numbers', function ()
- local version = Version '2.7.3'
- assert.is_nil(version[0])
- assert.are_equal(version[1], 2)
- assert.are_equal(version[2], 7)
- assert.are_equal(version[3], 3)
- end),
- test('can be iterated over', function ()
- local version_list = {2, 7, 3}
- local final_index = 0
- for i, v in pairs(Version(version_list)) do
- assert.are_equal(v, version_list[i])
- final_index = i
- end
- assert.are_equal(final_index, 3)
- end),
- test('length is the number of components', function ()
- assert.are_equal(#(Version '0'), 1)
- assert.are_equal(#(Version '1.6'), 2)
- assert.are_equal(#(Version '8.7.5'), 3)
- assert.are_equal(#(Version '2.9.1.5'), 4)
- end)
- },
-
group 'conversion to string' {
test('converting from and to string is a noop', function ()
local version_string = '1.19.4'
diff --git a/test/lua/module/pandoc-utils.lua b/test/lua/module/pandoc-utils.lua
index 9bd903f2d..4cf2c84a7 100644
--- a/test/lua/module/pandoc-utils.lua
+++ b/test/lua/module/pandoc-utils.lua
@@ -39,6 +39,46 @@ return {
end)
},
+ group 'equals' {
+ test('compares Pandoc elements', function ()
+ assert.is_truthy(
+ utils.equals(pandoc.Pandoc{'foo'}, pandoc.Pandoc{'foo'})
+ )
+ end),
+ test('compares Block elements', function ()
+ assert.is_truthy(
+ utils.equals(pandoc.Plain{'foo'}, pandoc.Plain{'foo'})
+ )
+ assert.is_falsy(
+ utils.equals(pandoc.Para{'foo'}, pandoc.Plain{'foo'})
+ )
+ end),
+ test('compares Inline elements', function ()
+ assert.is_truthy(
+ utils.equals(pandoc.Emph{'foo'}, pandoc.Emph{'foo'})
+ )
+ assert.is_falsy(
+ utils.equals(pandoc.Emph{'foo'}, pandoc.Strong{'foo'})
+ )
+ end),
+ test('compares Inline with Block elements', function ()
+ assert.is_falsy(
+ utils.equals(pandoc.Emph{'foo'}, pandoc.Plain{'foo'})
+ )
+ assert.is_falsy(
+ utils.equals(pandoc.Para{'foo'}, pandoc.Strong{'foo'})
+ )
+ end),
+ test('compares Pandoc with Block elements', function ()
+ assert.is_falsy(
+ utils.equals(pandoc.Pandoc{'foo'}, pandoc.Plain{'foo'})
+ )
+ assert.is_falsy(
+ utils.equals(pandoc.Para{'foo'}, pandoc.Pandoc{'foo'})
+ )
+ end),
+ },
+
group 'make_sections' {
test('sanity check', function ()
local blks = {
@@ -62,6 +102,31 @@ return {
end),
},
+ group 'references' {
+ test('gets references from doc', function ()
+ local ref = {
+ ['author'] = {
+ {given = 'Max', family = 'Mustermann'}
+ },
+ ['container-title'] = pandoc.Inlines('JOSS'),
+ ['id'] = 'test',
+ ['issued'] = {['date-parts'] = {{2021}}},
+ ['title'] = pandoc.Inlines{
+ pandoc.Quoted('DoubleQuote', 'Interesting'),
+ pandoc.Space(),
+ 'work'
+ },
+ ['type'] = 'article-journal',
+ }
+ local nocite = pandoc.Cite(
+ '@test',
+ {pandoc.Citation('test', 'NormalCitation')}
+ )
+ local doc = pandoc.Pandoc({}, {nocite = nocite, references = {ref}})
+ assert.are_same({ref}, pandoc.utils.references(doc))
+ end)
+ },
+
group 'sha1' {
test('hashing', function ()
local ref_hash = '0a0a9f2a6772942557ab5355d76af442f8f65e01'
@@ -70,7 +135,7 @@ return {
},
group 'stringify' {
- test('inlines', function ()
+ test('Inline', function ()
local inline = pandoc.Emph{
pandoc.Str 'Cogito',
pandoc.Space(),
@@ -79,7 +144,49 @@ return {
pandoc.Str 'sum.',
}
assert.are_equal('Cogito ergo sum.', utils.stringify(inline))
- end)
+ end),
+ test('Block', function ()
+ local block = pandoc.Para{
+ pandoc.Str 'Make',
+ pandoc.Space(),
+ pandoc.Str 'it',
+ pandoc.Space(),
+ pandoc.Str 'so.',
+ }
+ assert.are_equal('Make it so.', utils.stringify(block))
+ end),
+ test('boolean', function ()
+ assert.are_equal('true', utils.stringify(true))
+ assert.are_equal('false', utils.stringify(false))
+ end),
+ test('number', function ()
+ assert.are_equal('5', utils.stringify(5))
+ assert.are_equal('23.23', utils.stringify(23.23))
+ end),
+ test('Attr', function ()
+ local attr = pandoc.Attr('foo', {'bar'}, {a = 'b'})
+ assert.are_equal('', utils.stringify(attr))
+ end),
+ test('List', function ()
+ local list = pandoc.List{pandoc.Str 'a', pandoc.Blocks('b')}
+ assert.are_equal('ab', utils.stringify(list))
+ end),
+ test('Blocks', function ()
+ local blocks = pandoc.Blocks{pandoc.Para 'a', pandoc.Header(1, 'b')}
+ assert.are_equal('ab', utils.stringify(blocks))
+ end),
+ test('Inlines', function ()
+ local inlines = pandoc.Inlines{pandoc.Str 'a', pandoc.Subscript('b')}
+ assert.are_equal('ab', utils.stringify(inlines))
+ end),
+ test('Meta', function ()
+ local meta = pandoc.Meta{
+ a = pandoc.Inlines 'funny and ',
+ b = 'good movie',
+ c = pandoc.List{pandoc.Inlines{pandoc.Str '!'}}
+ }
+ assert.are_equal('funny and good movie!', utils.stringify(meta))
+ end),
},
group 'to_roman_numeral' {
@@ -91,6 +198,46 @@ return {
end)
},
+ group 'type' {
+ test('nil', function ()
+ assert.are_equal(utils.type(nil), 'nil')
+ end),
+ test('boolean', function ()
+ assert.are_equal(utils.type(true), 'boolean')
+ assert.are_equal(utils.type(false), 'boolean')
+ end),
+ test('number', function ()
+ assert.are_equal(utils.type(5), 'number')
+ assert.are_equal(utils.type(-3.02), 'number')
+ end),
+ test('string', function ()
+ assert.are_equal(utils.type(''), 'string')
+ assert.are_equal(utils.type('asdf'), 'string')
+ end),
+ test('plain table', function ()
+ assert.are_equal(utils.type({}), 'table')
+ end),
+ test('List', function ()
+ assert.are_equal(utils.type(pandoc.List{}), 'List')
+ end),
+ test('Inline', function ()
+ assert.are_equal(utils.type(pandoc.Str 'a'), 'Inline')
+ assert.are_equal(utils.type(pandoc.Emph 'emphasized'), 'Inline')
+ end),
+ test('Inlines', function ()
+ assert.are_equal(utils.type(pandoc.Inlines{pandoc.Str 'a'}), 'Inlines')
+ assert.are_equal(utils.type(pandoc.Inlines{pandoc.Emph 'b'}), 'Inlines')
+ end),
+ test('Blocks', function ()
+ assert.are_equal(utils.type(pandoc.Para 'a'), 'Block')
+ assert.are_equal(utils.type(pandoc.CodeBlock 'true'), 'Block')
+ end),
+ test('Inlines', function ()
+ assert.are_equal(utils.type(pandoc.Blocks{'a'}), 'Blocks')
+ assert.are_equal(utils.type(pandoc.Blocks{pandoc.CodeBlock 'b'}), 'Blocks')
+ end),
+ },
+
group 'to_simple_table' {
test('convertes Table', function ()
function simple_cell (blocks)
@@ -106,14 +253,14 @@ return {
{long = {pandoc.Plain {
pandoc.Str "the", pandoc.Space(), pandoc.Str "caption"}}},
{{pandoc.AlignDefault, nil}},
- {pandoc.Attr(), {{pandoc.Attr(), {simple_cell{pandoc.Plain "head1"}}}}},
+ pandoc.TableHead{pandoc.Row{simple_cell{pandoc.Plain "head1"}}},
{{
attr = pandoc.Attr(),
- body = {{pandoc.Attr(), {simple_cell{pandoc.Plain "cell1"}}}},
+ body = {pandoc.Row{simple_cell{pandoc.Plain "cell1"}}},
head = {},
row_head_columns = 0
}},
- {pandoc.Attr(), {}},
+ pandoc.TableFoot(),
pandoc.Attr()
)
local stbl = utils.to_simple_table(tbl)
@@ -155,5 +302,32 @@ return {
-- reversible
assert.are_same(simple_table, utils.to_simple_table(tbl))
end),
+ test('empty caption', function ()
+ local simple_table = pandoc.SimpleTable(
+ {},
+ {pandoc.AlignDefault},
+ {0},
+ {{pandoc.Plain 'a'}},
+ {{{pandoc.Plain 'b'}}}
+ )
+ local tbl = utils.from_simple_table(simple_table)
+ assert.are_equal(
+ pandoc.Blocks{},
+ tbl.caption.long
+ )
+ assert.is_nil(tbl.caption.short)
+ end),
+ test('empty body', function ()
+ local simple_table = pandoc.SimpleTable(
+ pandoc.Inlines('a nice caption'),
+ {pandoc.AlignDefault},
+ {0},
+ {{pandoc.Plain 'a'}},
+ {}
+ )
+ local tbl = utils.from_simple_table(simple_table)
+ tbl.bodies:map(print)
+ assert.are_same(pandoc.List(), tbl.bodies)
+ end),
}
}
diff --git a/test/lua/module/pandoc.lua b/test/lua/module/pandoc.lua
index fa1748c18..892ffee03 100644
--- a/test/lua/module/pandoc.lua
+++ b/test/lua/module/pandoc.lua
@@ -8,126 +8,182 @@ function os_is_windows ()
return package.config:sub(1,1) == '\\'
end
+-- Constructor behavior is tested in the hslua-pandoc-types module, so
+-- we just make sure the functions are present.
return {
- group 'Attr' {
- group 'Constructor' {
- test('returns null-Attr if no arguments are given', function ()
- local attr = pandoc.Attr()
- assert.are_equal(attr.identifier, '')
- assert.are_same(attr.classes, {})
- assert.are_same(attr.attributes, {})
- end),
- test(
- 'accepts string-indexed table or list of pairs as attributes',
- function ()
- local attributes_list = pandoc.List:new {{'one', '1'}, {'two', '2'}}
- local attr_from_list = pandoc.Attr('', {}, attributes_list:clone())
-
- assert.are_same(
- pandoc.List:new(attr_from_list.attributes),
- attributes_list
- )
-
- local attributes_table = {one = '1', two = '2'}
- local attr_from_table = pandoc.Attr('', {}, attributes_table)
-
- local assoc_list_from_table =
- pandoc.List:new(attr_from_table.attributes)
- -- won't work in general, but does in this special case
- table.sort(assoc_list_from_table, function(x, y) return x[1]<y[1] end)
- assert.are_same(
- assoc_list_from_table,
- attributes_list
- )
- end
- )
+ group 'Constructors' {
+ group 'Misc' {
+ test('pandoc.Attr is a function', function ()
+ assert.are_equal(type(pandoc.Attr), 'function')
+ end),
+ test('pandoc.AttributeList is a function', function ()
+ assert.are_equal(type(pandoc.AttributeList), 'function')
+ end),
+ test('pandoc.Blocks is a function', function ()
+ assert.are_equal(type(pandoc.Blocks), 'function')
+ end),
+ test('pandoc.Citation is a function', function ()
+ assert.are_equal(type(pandoc.Citation), 'function')
+ end),
+ test('pandoc.Inlines is a function', function ()
+ assert.are_equal(type(pandoc.Inlines), 'function')
+ end),
+ test('pandoc.SimpleTable is a function', function ()
+ assert.are_equal(type(pandoc.SimpleTable), 'function')
+ end),
+ test('pandoc.Meta is a function', function ()
+ assert.are_equal(type(pandoc.Meta), 'function')
+ end),
+ test('pandoc.Pandoc is a function', function ()
+ assert.are_equal(type(pandoc.Pandoc), 'function')
+ end),
},
- group 'AttributeList' {
- test('allows access via fields', function ()
- local attributes = pandoc.Attr('', {}, {{'a', '1'}, {'b', '2'}}).attributes
- assert.are_equal(attributes.a, '1')
- assert.are_equal(attributes.b, '2')
- end),
- test('allows access to pairs via numerical indexing', function ()
- local attributes = pandoc.Attr('', {}, {{'a', '1'}, {'b', '2'}}).attributes
- assert.are_same(attributes[1], {'a', '1'})
- assert.are_same(attributes[2], {'b', '2'})
- end),
- test('adds entries by field name', function ()
- local attributes = pandoc.Attr('',{}, {{'c', '1'}, {'d', '2'}}).attributes
- attributes.e = '3'
- assert.are_same(
- -- checking the full AttributeList would "duplicate" entries
- setmetatable(attributes, nil),
- {{'c', '1'}, {'d', '2'}, {'e', '3'}}
- )
+ group "Inline elements" {
+ test('pandoc.AttributeList is a function', function ()
+ assert.are_equal(type(pandoc.Cite), 'function')
+ end),
+ test('pandoc.AttributeList is a function', function ()
+ assert.are_equal(type(pandoc.Code), 'function')
+ end),
+ test('pandoc.Emph is a function', function ()
+ assert.are_equal(type(pandoc.Emph), 'function')
+ end),
+ test('pandoc.Image is a function', function ()
+ assert.are_equal(type(pandoc.Image), 'function')
+ end),
+ test('pandoc.Link is a function', function ()
+ assert.are_equal(type(pandoc.Link), 'function')
+ end),
+ test('pandoc.Math is a function', function ()
+ assert.are_equal(type(pandoc.Math), 'function')
+ end),
+ test('pandoc.Note is a function', function ()
+ assert.are_equal(type(pandoc.Note), 'function')
+ end),
+ test('pandoc.Quoted is a function', function ()
+ assert.are_equal(type(pandoc.Quoted), 'function')
+ end),
+ test('pandoc.SmallCaps is a function', function ()
+ assert.are_equal(type(pandoc.SmallCaps), 'function')
+ end),
+ test('pandoc.SoftBreak is a function', function ()
+ assert.are_equal(type(pandoc.SoftBreak), 'function')
+ end),
+ test('pandoc.Span is a function', function ()
+ assert.are_equal(type(pandoc.Span), 'function')
+ end),
+ test('pandoc.Str is a function', function ()
+ assert.are_equal(type(pandoc.Str), 'function')
+ end),
+ test('pandoc.Strikeout is a function', function ()
+ assert.are_equal(type(pandoc.Strikeout), 'function')
+ end),
+ test('pandoc.Strong is a function', function ()
+ assert.are_equal(type(pandoc.Strong), 'function')
+ end),
+ test('pandoc.Subscript is a function', function ()
+ assert.are_equal(type(pandoc.Subscript), 'function')
+ end),
+ test('pandoc.Superscript is a function', function ()
+ assert.are_equal(type(pandoc.Superscript), 'function')
+ end),
+ test('pandoc.Underline is a function', function ()
+ assert.are_equal(type(pandoc.Underline), 'function')
end),
- test('deletes entries by field name', function ()
- local attributes = pandoc.Attr('',{}, {a = '1', b = '2'}).attributes
- attributes.a = nil
- assert.is_nil(attributes.a)
- local assoc_list = setmetatable(attributes, nil)
- assert.are_same(assoc_list, {{'b', '2'}})
- end),
- test('remains unchanged if deleted key did not exist', function ()
- local assoc_list = pandoc.List:new {{'alpha', 'x'}, {'beta', 'y'}}
- local attributes = pandoc.Attr('', {}, assoc_list:clone()).attributes
- attributes.a = nil
- assert.are_same(pandoc.List:new(attributes), assoc_list)
- end),
- test('gives key-value pairs when iterated-over', function ()
- local attributes = {width = '11', height = '22', name = 'test'}
- local attr = pandoc.Attr('', {}, attributes)
- local count = 0
- for k, v in pairs(attr.attributes) do
- assert.are_equal(attributes[k], v)
- count = count + 1
- end
- assert.are_equal(count, 3)
- end)
},
- group 'HTML-like attribute tables' {
- test('in element constructor', function ()
- local html_attributes = {
- id = 'the-id',
- class = 'class1 class2',
- width = '11',
- height = '12'
- }
- local attr = pandoc.Span('test', html_attributes).attr
- assert.are_equal(attr.identifier, 'the-id')
- assert.are_equal(attr.classes[1], 'class1')
- assert.are_equal(attr.classes[2], 'class2')
- assert.are_equal(attr.attributes.width, '11')
- assert.are_equal(attr.attributes.height, '12')
- end),
- test('element attr setter', function ()
- local html_attributes = {
- id = 'the-id',
- class = 'class1 class2',
- width = "11",
- height = "12"
- }
- local span = pandoc.Span 'test'
- span.attr = html_attributes
- assert.are_equal(span.attr.identifier, 'the-id')
- assert.are_equal(span.attr.classes[1], 'class1')
- assert.are_equal(span.attr.classes[2], 'class2')
- assert.are_equal(span.attr.attributes.width, '11')
- assert.are_equal(span.attr.attributes.height, '12')
- end),
- test('element attrbutes setter', function ()
- local attributes = {
- width = "11",
- height = "12"
- }
- local span = pandoc.Span 'test'
- span.attributes = attributes
- assert.are_equal(span.attr.attributes.width, '11')
- assert.are_equal(span.attr.attributes.height, '12')
- end)
+ group "Block elements" {
+ test('pandoc.BlockQuote is a function', function ()
+ assert.are_equal(type(pandoc.BlockQuote), 'function')
+ end),
+ test('pandoc.BulletList is a function', function ()
+ assert.are_equal(type(pandoc.BulletList), 'function')
+ end),
+ test('pandoc.CodeBlock is a function', function ()
+ assert.are_equal(type(pandoc.CodeBlock), 'function')
+ end),
+ test('pandoc.DefinitionList is a function', function ()
+ assert.are_equal(type(pandoc.DefinitionList), 'function')
+ end),
+ test('pandoc.Div is a function', function ()
+ assert.are_equal(type(pandoc.Div), 'function')
+ end),
+ test('pandoc.Header is a function', function ()
+ assert.are_equal(type(pandoc.Header), 'function')
+ end),
+ test('pandoc.LineBlock is a function', function ()
+ assert.are_equal(type(pandoc.LineBlock), 'function')
+ end),
+ test('pandoc.Null is a function', function ()
+ assert.are_equal(type(pandoc.Null), 'function')
+ end),
+ test('pandoc.OrderedList is a function', function ()
+ assert.are_equal(type(pandoc.OrderedList), 'function')
+ end),
+ test('pandoc.Para is a function', function ()
+ assert.are_equal(type(pandoc.Para), 'function')
+ end),
+ test('pandoc.Plain is a function', function ()
+ assert.are_equal(type(pandoc.Plain), 'function')
+ end),
+ test('pandoc.RawBlock is a function', function ()
+ assert.are_equal(type(pandoc.Plain), 'function')
+ end),
+ test('pandoc.Table is a function', function ()
+ assert.are_equal(type(pandoc.Table), 'function')
+ end),
}
},
+ group 'MetaValue elements' {
+ test('MetaList elements behave like lists', function ()
+ local metalist = pandoc.MetaList{}
+ assert.are_equal(type(metalist.insert), 'function')
+ assert.are_equal(type(metalist.remove), 'function')
+ end),
+ test('`tag` is an alias for `t``', function ()
+ assert.are_equal((pandoc.MetaList{}).tag, (pandoc.MetaList{}).t)
+ assert.are_equal((pandoc.MetaMap{}).tag, (pandoc.MetaMap{}).t)
+ assert.are_equal((pandoc.MetaInlines{}).tag, (pandoc.MetaInlines{}).t)
+ assert.are_equal((pandoc.MetaBlocks{}).tag, (pandoc.MetaBlocks{}).t)
+ end),
+ },
+ group 'Meta' {
+ test('inline list is treated as MetaInlines', function ()
+ local meta = pandoc.Pandoc({}, {test = {pandoc.Emph 'check'}}).meta
+ assert.are_same(meta.test, {pandoc.Emph{pandoc.Str 'check'}})
+ end),
+ test('inline element is treated as MetaInlines singleton', function ()
+ local meta = pandoc.Pandoc({}, {test = pandoc.Emph 'check'}).meta
+ assert.are_same(meta.test, {pandoc.Emph{pandoc.Str 'check'}})
+ end),
+ test('block list is treated as MetaBlocks', function ()
+ local meta = pandoc.Pandoc({}, {test = {pandoc.Plain 'check'}}).meta
+ assert.are_same(meta.test, {pandoc.Plain{pandoc.Str 'check'}})
+ end),
+ test('block element is treated as MetaBlocks singleton', function ()
+ local meta = pandoc.Pandoc({}, {test = pandoc.Plain 'check'}).meta
+ assert.are_same(meta.test, {pandoc.Plain{pandoc.Str 'check'}})
+ end),
+ },
+ group 'Other types' {
+ group 'ReaderOptions' {
+ test('returns a userdata value', function ()
+ local opts = pandoc.ReaderOptions {}
+ assert.are_equal(type(opts), 'userdata')
+ end),
+ test('can construct from table', function ()
+ local opts = pandoc.ReaderOptions {columns = 66}
+ assert.are_equal(opts.columns, 66)
+ end),
+ test('can construct from other ReaderOptions value', function ()
+ local orig = pandoc.ReaderOptions{columns = 65}
+ local copy = pandoc.ReaderOptions(orig)
+ for k, v in pairs(orig) do
+ assert.are_same(copy[k], v)
+ end
+ assert.are_equal(copy.columns, 65)
+ end),
+ },
+ },
group 'clone' {
test('clones Attr', function ()
@@ -163,6 +219,8 @@ return {
local cloned = cite:clone()
cite.id = 'newton'
assert.are_same(cloned.id, 'leibniz')
+ assert.are_same(cite.id, 'newton')
+ assert.are_same(cite.mode, cloned.mode)
end),
},
@@ -205,6 +263,22 @@ return {
})
assert.are_same(expected, pandoc.read(valid_markdown))
end),
+ test('unsupported extension', function ()
+ assert.error_matches(
+ function () pandoc.read('foo', 'gfm+empty_paragraphs') end,
+ 'Extension empty_paragraphs not supported for gfm'
+ )
+ end),
+ test('read with other indented code classes', function()
+ local indented_code = ' return true'
+ local expected = pandoc.Pandoc({
+ pandoc.CodeBlock('return true', {class='foo'})
+ })
+ assert.are_same(
+ expected,
+ pandoc.read(indented_code, 'markdown', {indented_code_classes={'foo'}})
+ )
+ end),
test('failing read', function ()
assert.error_matches(
function () pandoc.read('foo', 'nosuchreader') end,
@@ -249,5 +323,26 @@ return {
)
assert.are_equal('1234', table.concat(acc))
end)
+ },
+
+ group 'Marshal' {
+ group 'Inlines' {
+ test('Strings are broken into words', function ()
+ assert.are_equal(
+ pandoc.Emph 'Nice, init?',
+ pandoc.Emph{pandoc.Str 'Nice,', pandoc.Space(), pandoc.Str 'init?'}
+ )
+ end)
+ },
+ group 'Blocks' {
+ test('Strings are broken into words and wrapped in Plain', function ()
+ assert.are_equal(
+ pandoc.Div{
+ pandoc.Plain{pandoc.Str 'Nice,', pandoc.Space(), pandoc.Str 'init?'}
+ },
+ pandoc.Div{'Nice, init?'}
+ )
+ end)
+ }
}
}
diff --git a/test/man-reader.native b/test/man-reader.native
index 2ab088ff1..1fe99ae35 100644
--- a/test/man-reader.native
+++ b/test/man-reader.native
@@ -1,300 +1,951 @@
-Pandoc (Meta {unMeta = fromList [("date",MetaInlines [Str "Oct",Space,Str "17,",Space,Str "2018"]),("section",MetaInlines []),("title",MetaInlines [Str "Pandoc",Space,Str "Man",Space,Str "tests"])]})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc."]
-,Para [Str "*",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*"]
-,Header 1 ("",[],[]) [Str "Headers"]
-,Header 1 ("",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "*",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*"]
-,Header 1 ("",[],[]) [Str "Paragraphs"]
-,Para [Str "Here's",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "Another",Space,Str "paragraph",Space,Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break"]
-,Para [Str "here."]
-,Para [Str "*",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*"]
-,Header 1 ("",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
-,BlockQuote
- [CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"]
-,Para [Str "A",Space,Str "list:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "item",Space,Str "one"]]
- ,[Para [Str "item",Space,Str "two"]]]
-,Header 1 ("",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) "\tthis code line is indented by one tab"
-,Para [Str "*",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*"]
-,Header 1 ("",[],[]) [Str "Lists"]
-,Header 2 ("",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Header 2 ("",[],[]) [Str "Ordered"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Header 2 ("",[],[]) [Str "Nested"]
-,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]
- ,BulletList
- [[Para [Str "Tab"]]]]]]]
-,Para [Str "Here's",Space,Str "another:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Para [Str "Fee"]]
- ,[Para [Str "Fie"]]
- ,[Para [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("",[],[]) [Str "different",Space,Str "styles:"]
-,OrderedList (1,UpperAlpha,Period)
- [[Para [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,Period)
- [[Para [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,TwoParens)
- [[Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,OneParen)
- [[Para [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Header 2 ("",[],[]) [Str "Ordered"]
-,Para [Str "Definition",Space,Str "lists"]
-,DefinitionList
- [([Strong [Str "term1"]],
- [[Para [Str "definition",Space,Str "1"]
- ,Para [Str "continued"]]])
- ,([Strong [Str "term2"]],
- [[Para [Str "definition",Space,Str "2",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*",Space,Str "*"]]])]
-,Header 1 ("",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,Header 1 ("",[],[]) [Str "Links"]
-,Para [Link ("",[],[]) [Str "some",Space,Str "randomsite"] ("http://example.com",""),Str "."]
-,Para [Link ("",[],[]) [Str "my",Space,Str "email",Space,Str "address"] ("mailto:me@example.com",""),Str "."]
-,Header 1 ("",[],[]) [Str "Macros"]
-,Para [Strong [Str "Me",Space,Str "Myself"],Space,Str "and",Space,Str "I.",Space,Emph [Str "The",Space,Str "author",Space,Str "is",Space,Str "John",Space,Str "Jones."],Space,Str "It's",Space,Str "The",Space,Strong [Str "Author"],Str "."]
-,Header 1 ("",[],[]) [Str "Tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",Space,Emph [Str "more"]]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",Space,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",Space,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidth 0.5)
- ,(AlignLeft,ColWidth 0.5)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "one"]
- ,Para [Str "two"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [CodeBlock ("",[],[]) "some\n code"]]])]
- (TableFoot ("",[],[])
- [])]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date"
+ , MetaInlines
+ [ Str "Oct" , Space , Str "17," , Space , Str "2018" ]
+ )
+ , ( "section" , MetaInlines [] )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Man"
+ , Space
+ , Str "tests"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , Space
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , Space
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ ]
+ , Para [ Str "here." ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Block" , Space , Str "Quotes" ]
+ , Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , BlockQuote
+ [ CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ ]
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "\tthis code line is indented by one tab"
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "Same" , Space , Str "thing:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "different" , Space , Str "styles:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Para
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Definition" , Space , Str "lists" ]
+ , DefinitionList
+ [ ( [ Strong [ Str "term1" ] ]
+ , [ [ Para [ Str "definition" , Space , Str "1" ]
+ , Para [ Str "continued" ]
+ ]
+ ]
+ )
+ , ( [ Strong [ Str "term2" ] ]
+ , [ [ Para
+ [ Str "definition"
+ , Space
+ , Str "2"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "" , [] , [] ) [ Str "Links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "some" , Space , Str "randomsite" ]
+ ( "http://example.com" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "my" , Space , Str "email" , Space , Str "address" ]
+ ( "mailto:me@example.com" , "" )
+ , Str "."
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Macros" ]
+ , Para
+ [ Strong [ Str "Me" , Space , Str "Myself" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "I."
+ , Space
+ , Emph
+ [ Str "The"
+ , Space
+ , Str "author"
+ , Space
+ , Str "is"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Jones."
+ ]
+ , Space
+ , Str "It's"
+ , Space
+ , Str "The"
+ , Space
+ , Strong [ Str "Author" ]
+ , Str "."
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Emph [ Str "more" ] ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.5 )
+ , ( AlignLeft , ColWidth 0.5 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "one" ] , Para [ Str "two" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ CodeBlock ( "" , [] , [] ) "some\n code" ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
diff --git a/test/markdown-citations.native b/test/markdown-citations.native
index 1d4b1a8b2..f37fd82fb 100644
--- a/test/markdown-citations.native
+++ b/test/markdown-citations.native
@@ -1,17 +1,522 @@
-[Header 1 ("pandoc-with-citeproc-hs",[],[]) [Str "Pandoc",Space,Str "with",Space,Str "citeproc-hs"]
-,BulletList
- [[Para [Cite [Citation {citationId = "nonexistent", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 1, citationHash = 0}] [Str "[@nonexistent]"]]]
- ,[Para [Cite [Citation {citationId = "nonexistent", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "@nonexistent"]]]
- ,[Para [Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 3, citationHash = 0}] [Str "@item1"],Space,Str "says",Space,Str "blah."]]
- ,[Para [Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [Str "p.\160\&30"], citationMode = AuthorInText, citationNoteNum = 4, citationHash = 0}] [Str "@item1",Space,Str "[p.",Space,Str "30]"],Space,Str "says",Space,Str "blah."]]
- ,[Para [Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [Str "p.\160\&30,",Space,Str "with",Space,Str "suffix"], citationMode = AuthorInText, citationNoteNum = 5, citationHash = 0}] [Str "@item1",Space,Str "[p.",Space,Str "30,",Space,Str "with",Space,Str "suffix]"],Space,Str "says",Space,Str "blah."]]
- ,[Para [Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 6, citationHash = 0},Citation {citationId = "item2", citationPrefix = [], citationSuffix = [Space,Str "p.\160\&30"], citationMode = SuppressAuthor, citationNoteNum = 6, citationHash = 0},Citation {citationId = "\1087\1091\1085\1082\1090\&3", citationPrefix = [Str "see",Space,Str "also"], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 6, citationHash = 0}] [Str "@item1",Space,Str "[-@item2",Space,Str "p.",Space,Str "30;",Space,Str "see",Space,Str "also",Space,Str "@\1087\1091\1085\1082\1090\&3]"],Space,Str "says",Space,Str "blah."]]
- ,[Para [Str "In",Space,Str "a",Space,Str "note.",Note [Para [Cite [Citation {citationId = "\1087\1091\1085\1082\1090\&3", citationPrefix = [], citationSuffix = [Str "p.\160\&12"], citationMode = AuthorInText, citationNoteNum = 7, citationHash = 0}] [Str "@\1087\1091\1085\1082\1090\&3",Space,Str "[p.",Space,Str "12]"],Space,Str "and",Space,Str "a",Space,Str "citation",Space,Str "without",Space,Str "locators",Space,Cite [Citation {citationId = "\1087\1091\1085\1082\1090\&3", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 7, citationHash = 0}] [Str "[@\1087\1091\1085\1082\1090\&3]"],Str "."]]]]
- ,[Para [Str "A",Space,Str "citation",Space,Str "group",Space,Cite [Citation {citationId = "item1", citationPrefix = [Str "see"], citationSuffix = [Space,Str "chap.\160\&3"], citationMode = NormalCitation, citationNoteNum = 8, citationHash = 0},Citation {citationId = "\1087\1091\1085\1082\1090\&3", citationPrefix = [Str "also"], citationSuffix = [Space,Str "p.\160\&34-35"], citationMode = NormalCitation, citationNoteNum = 8, citationHash = 0}] [Str "[see",Space,Str "@item1",Space,Str "chap.",Space,Str "3;",Space,Str "also",Space,Str "@\1087\1091\1085\1082\1090\&3",Space,Str "p.",Space,Str "34-35]"],Str "."]]
- ,[Para [Str "Another",Space,Str "one",Space,Cite [Citation {citationId = "item1", citationPrefix = [Str "see"], citationSuffix = [Space,Str "p.\160\&34-35"], citationMode = NormalCitation, citationNoteNum = 9, citationHash = 0}] [Str "[see",Space,Str "@item1",Space,Str "p.",Space,Str "34-35]"],Str "."]]
- ,[Para [Str "And",Space,Str "another",Space,Str "one",Space,Str "in",Space,Str "a",Space,Str "note.",Note [Para [Str "Some",Space,Str "citations",Space,Cite [Citation {citationId = "item1", citationPrefix = [Str "see"], citationSuffix = [Space,Str "chap.\160\&3"], citationMode = NormalCitation, citationNoteNum = 10, citationHash = 0},Citation {citationId = "\1087\1091\1085\1082\1090\&3", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 10, citationHash = 0},Citation {citationId = "item2", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 10, citationHash = 0}] [Str "[see",Space,Str "@item1",Space,Str "chap.",Space,Str "3;",Space,Str "@\1087\1091\1085\1082\1090\&3;",Space,Str "@item2]"],Str "."]]]]
- ,[Para [Str "Citation",Space,Str "with",Space,Str "a",Space,Str "suffix",Space,Str "and",Space,Str "locator",Space,Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [Space,Str "pp.\160\&33,",Space,Str "35-37,",Space,Str "and",Space,Str "nowhere",Space,Str "else"], citationMode = NormalCitation, citationNoteNum = 11, citationHash = 0}] [Str "[@item1",Space,Str "pp.",Space,Str "33,",Space,Str "35-37,",Space,Str "and",Space,Str "nowhere",Space,Str "else]"],Str "."]]
- ,[Para [Str "Citation",Space,Str "with",Space,Str "suffix",Space,Str "only",Space,Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [Space,Str "and",Space,Str "nowhere",Space,Str "else"], citationMode = NormalCitation, citationNoteNum = 12, citationHash = 0}] [Str "[@item1",Space,Str "and",Space,Str "nowhere",Space,Str "else]"],Str "."]]
- ,[Para [Str "Now",Space,Str "some",Space,Str "modifiers.",Note [Para [Str "Like",Space,Str "a",Space,Str "citation",Space,Str "without",Space,Str "author:",Space,Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [], citationMode = SuppressAuthor, citationNoteNum = 13, citationHash = 0}] [Str "[-@item1]"],Str ",",Space,Str "and",Space,Str "now",Space,Str "Doe",Space,Str "with",Space,Str "a",Space,Str "locator",Space,Cite [Citation {citationId = "item2", citationPrefix = [], citationSuffix = [Space,Str "p.\160\&44"], citationMode = SuppressAuthor, citationNoteNum = 13, citationHash = 0}] [Str "[-@item2",Space,Str "p.",Space,Str "44]"],Str "."]]]]
- ,[Para [Str "With",Space,Str "some",Space,Str "markup",Space,Cite [Citation {citationId = "item1", citationPrefix = [Emph [Str "see"]], citationSuffix = [Space,Str "p.\160",Strong [Str "32"]], citationMode = NormalCitation, citationNoteNum = 14, citationHash = 0}] [Str "[*see*",Space,Str "@item1",Space,Str "p.",Space,Str "**32**]"],Str "."]]]
-,Header 1 ("references",[],[]) [Str "References"]]
+[ Header
+ 1
+ ( "pandoc-with-citeproc-hs" , [] , [] )
+ [ Str "Pandoc"
+ , Space
+ , Str "with"
+ , Space
+ , Str "citeproc-hs"
+ ]
+, BulletList
+ [ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "nonexistent"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@nonexistent]" ]
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "nonexistent"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "@nonexistent" ]
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 3
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1" ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = [ Str "p.\160\&30" ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 4
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1" , Space , Str "[p." , Space , Str "30]" ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "p.\160\&30,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix"
+ ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 5
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1"
+ , Space
+ , Str "[p."
+ , Space
+ , Str "30,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix]"
+ ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix = [ Space , Str "p.\160\&30" ]
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = [ Str "see" , Space , Str "also" ]
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1"
+ , Space
+ , Str "[-@item2"
+ , Space
+ , Str "p."
+ , Space
+ , Str "30;"
+ , Space
+ , Str "see"
+ , Space
+ , Str "also"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3]"
+ ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Str "In"
+ , Space
+ , Str "a"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = [ Str "p.\160\&12" ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 7
+ , citationHash = 0
+ }
+ ]
+ [ Str "@\1087\1091\1085\1082\1090\&3"
+ , Space
+ , Str "[p."
+ , Space
+ , Str "12]"
+ ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "without"
+ , Space
+ , Str "locators"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 7
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@\1087\1091\1085\1082\1090\&3]" ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "group"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix = [ Space , Str "chap.\160\&3" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 8
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = [ Str "also" ]
+ , citationSuffix = [ Space , Str "p.\160\&34-35" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 8
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "chap."
+ , Space
+ , Str "3;"
+ , Space
+ , Str "also"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3"
+ , Space
+ , Str "p."
+ , Space
+ , Str "34-35]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "Another"
+ , Space
+ , Str "one"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix = [ Space , Str "p.\160\&34-35" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 9
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "p."
+ , Space
+ , Str "34-35]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "And"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "Some"
+ , Space
+ , Str "citations"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix =
+ [ Space , Str "chap.\160\&3" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "chap."
+ , Space
+ , Str "3;"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3;"
+ , Space
+ , Str "@item2]"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "Citation"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "suffix"
+ , Space
+ , Str "and"
+ , Space
+ , Str "locator"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space
+ , Str "pp.\160\&33,"
+ , Space
+ , Str "35-37,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 11
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@item1"
+ , Space
+ , Str "pp."
+ , Space
+ , Str "33,"
+ , Space
+ , Str "35-37,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "Citation"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix"
+ , Space
+ , Str "only"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 12
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@item1"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "Now"
+ , Space
+ , Str "some"
+ , Space
+ , Str "modifiers."
+ , Note
+ [ Para
+ [ Str "Like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "without"
+ , Space
+ , Str "author:"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 13
+ , citationHash = 0
+ }
+ ]
+ [ Str "[-@item1]" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "now"
+ , Space
+ , Str "Doe"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "locator"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space , Str "p.\160\&44" ]
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 13
+ , citationHash = 0
+ }
+ ]
+ [ Str "[-@item2"
+ , Space
+ , Str "p."
+ , Space
+ , Str "44]"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "With"
+ , Space
+ , Str "some"
+ , Space
+ , Str "markup"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Emph [ Str "see" ] ]
+ , citationSuffix =
+ [ Space , Str "p.\160" , Strong [ Str "32" ] ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 14
+ , citationHash = 0
+ }
+ ]
+ [ Str "[*see*"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "p."
+ , Space
+ , Str "**32**]"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+, Header 1 ( "references" , [] , [] ) [ Str "References" ]
+]
diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native
index b4a16f7cf..7c15f627a 100644
--- a/test/markdown-reader-more.native
+++ b/test/markdown-reader-more.native
@@ -1,311 +1,1344 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "Author",Space,Str "One"],MetaInlines [Str "Author",Space,Str "Two"],MetaInlines [Str "Author",Space,Str "Three"],MetaInlines [Str "Author",Space,Str "Four"]]),("title",MetaInlines [Str "Title",SoftBreak,Str "spanning",Space,Str "multiple",Space,Str "lines"])]})
-[Header 1 ("additional-markdown-reader-tests",[],[]) [Str "Additional",Space,Str "markdown",Space,Str "reader",Space,Str "tests"]
-,Header 2 ("blank-line-before-url-in-link-reference",[],[]) [Str "Blank",Space,Str "line",Space,Str "before",Space,Str "URL",Space,Str "in",Space,Str "link",Space,Str "reference"]
-,Para [Link ("",[],[]) [Str "foo"] ("/url",""),Space,Str "and",Space,Link ("",[],[]) [Str "bar"] ("/url","title")]
-,Header 2 ("raw-context-environments",[],[]) [Str "Raw",Space,Str "ConTeXt",Space,Str "environments"]
-,RawBlock (Format "tex") "\\placeformula \\startformula"
-,Para [Str "L_{1}",Space,Str "=",Space,Str "L_{2}",SoftBreak,RawInline (Format "tex") "\\stopformula"]
-,RawBlock (Format "tex") "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"
-,Header 2 ("raw-latex-environments",[],[]) [Str "Raw",Space,Str "LaTeX",Space,Str "environments"]
-,RawBlock (Format "tex") "\\begin{center}\n\\begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt]\n\\Tree [.{S} [.NP John\\index{i} ] [.VP [.V likes ] [.NP himself\\index{i,*j} ]]]\n\\end{tikzpicture}\n\\end{center}"
-,Header 2 ("urls-with-spaces-and-punctuation",[],[]) [Str "URLs",Space,Str "with",Space,Str "spaces",Space,Str "and",Space,Str "punctuation"]
-,Para [Link ("",[],[]) [Str "foo"] ("/bar%20and%20baz",""),SoftBreak,Link ("",[],[]) [Str "foo"] ("/bar%20and%20baz",""),SoftBreak,Link ("",[],[]) [Str "foo"] ("/bar%20and%20baz",""),SoftBreak,Link ("",[],[]) [Str "foo"] ("bar%20baz","title")]
-,Para [Link ("",[],[]) [Str "baz"] ("/foo%20foo",""),Space,Link ("",[],[]) [Str "bam"] ("/foo%20fee",""),Space,Link ("",[],[]) [Str "bork"] ("/foo/zee%20zob","title")]
-,Para [Link ("",[],[]) [Str "Ward\8217s",Space,Str "method."] ("http://en.wikipedia.org/wiki/Ward's_method","")]
-,Header 2 ("horizontal-rules-with-spaces-at-end",[],[]) [Str "Horizontal",Space,Str "rules",Space,Str "with",Space,Str "spaces",Space,Str "at",Space,Str "end"]
-,HorizontalRule
-,HorizontalRule
-,Header 2 ("raw-html-before-header",[],[]) [Str "Raw",Space,Str "HTML",Space,Str "before",Space,Str "header"]
-,Para [RawInline (Format "html") "<a>",RawInline (Format "html") "</a>"]
-,Header 3 ("my-header",[],[]) [Str "my",Space,Str "header"]
-,Header 2 ("in-math",[],[]) [Str "$",Space,Str "in",Space,Str "math"]
-,Para [Math InlineMath "\\$2 + \\$3"]
-,Para [Math InlineMath "x = \\text{the $n$th root of $y$}"]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "math:"]
-,Para [Str "$PATH",Space,Str "90",Space,Str "$PATH"]
-,Header 2 ("commented-out-list-item",[],[]) [Str "Commented-out",Space,Str "list",Space,Str "item"]
-,BulletList
- [[Plain [Str "one",SoftBreak,RawInline (Format "html") "<!--\n- two\n-->"]]
- ,[Plain [Str "three"]]]
-,Header 2 ("indented-code-at-beginning-of-list",[],[]) [Str "Indented",Space,Str "code",Space,Str "at",Space,Str "beginning",Space,Str "of",Space,Str "list"]
-,BulletList
- [[CodeBlock ("",[],[]) "code\ncode"
- ,OrderedList (1,Decimal,Period)
- [[CodeBlock ("",[],[]) "code\ncode"]
- ,[CodeBlock ("",[],[]) "code\ncode"]]
- ,BulletList
- [[CodeBlock ("",[],[]) "code\ncode"]
- ,[Plain [Str "no",Space,Str "code"]]]]]
-,Header 2 ("backslash-newline",[],[]) [Str "Backslash",Space,Str "newline"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Header 2 ("code-spans",[],[]) [Str "Code",Space,Str "spans"]
-,Para [Code ("",[],[]) "hi\\"]
-,Para [Code ("",[],[]) "hi there"]
-,Para [Code ("",[],[]) "hi````there"]
-,Para [Str "`hi"]
-,Para [Str "there`"]
-,Header 2 ("multilingual-urls",[],[]) [Str "Multilingual",Space,Str "URLs"]
-,Para [Link ("",["uri"],[]) [Str "http://\27979.com?\27979=\27979"] ("http://\27979.com?\27979=\27979","")]
-,Para [Link ("",[],[]) [Str "foo"] ("/bar/\27979?x=\27979","title")]
-,Para [Link ("",["email"],[]) [Str "\27979@foo.\27979.baz"] ("mailto:\27979@foo.\27979.baz","")]
-,Header 2 ("numbered-examples",[],[]) [Str "Numbered",Space,Str "examples"]
-,OrderedList (1,Example,TwoParens)
- [[Plain [Str "First",Space,Str "example."]]
- ,[Plain [Str "Second",Space,Str "example."]]]
-,Para [Str "Explanation",Space,Str "of",Space,Str "examples",Space,Str "(2)",Space,Str "and",Space,Str "(3)."]
-,OrderedList (3,Example,TwoParens)
- [[Plain [Str "Third",Space,Str "example."]]]
-,Header 2 ("macros",[],[]) [Str "Macros"]
-,RawBlock (Format "tex") "\\newcommand{\\tuple}[1]{\\langle #1 \\rangle}"
-,Para [Math InlineMath "\\langle x,y \\rangle"]
-,Header 2 ("case-insensitive-references",[],[]) [Str "Case-insensitive",Space,Str "references"]
-,Para [Link ("",[],[]) [Str "Fum"] ("/fum","")]
-,Para [Link ("",[],[]) [Str "FUM"] ("/fum","")]
-,Para [Link ("",[],[]) [Str "bat"] ("/bat","")]
-,Header 2 ("curly-smart-quotes",[],[]) [Str "Curly",Space,Str "smart",Space,Str "quotes"]
-,Para [Quoted DoubleQuote [Str "Hi"]]
-,Para [Quoted SingleQuote [Str "Hi"]]
-,Header 2 ("consecutive-lists",[],[]) [Str "Consecutive",Space,Str "lists"]
-,BulletList
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]]]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]]]
-,OrderedList (1,LowerAlpha,Period)
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]]]
-,Header 2 ("implicit-header-references",[],[]) [Str "Implicit",Space,Str "header",Space,Str "references"]
-,Header 3 ("my-header-1",[],[]) [Str "My",Space,Str "header"]
-,Header 3 ("my-other-header",[],[]) [Str "My",Space,Str "other",Space,Str "header"]
-,Para [Str "A",Space,Str "link",Space,Str "to",Space,Link ("",[],[]) [Str "My",Space,Str "header"] ("#my-header-1",""),Str "."]
-,Para [Str "Another",Space,Str "link",Space,Str "to",Space,Link ("",[],[]) [Str "it"] ("#my-header-1",""),Str "."]
-,Para [Str "Should",Space,Str "be",Space,Link ("",[],[]) [Str "case",Space,Str "insensitive"] ("#my-header-1",""),Str "."]
-,Para [Str "Link",Space,Str "to",Space,Link ("",[],[]) [Str "Explicit",Space,Str "header",Space,Str "attributes"] ("#foobar",""),Str "."]
-,Para [Str "But",Space,Str "this",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "link",Space,Str "to",Space,Link ("",[],[]) [Str "My",Space,Str "other",Space,Str "header"] ("/foo",""),Str ",",Space,Str "since",Space,Str "the",Space,Str "reference",Space,Str "is",Space,Str "defined."]
-,Header 2 ("foobar",["baz"],[("key","val")]) [Str "Explicit",Space,Str "header",Space,Str "attributes"]
-,BlockQuote
- [Header 2 ("foobar",["baz"],[("key","val")]) [Str "Header",Space,Str "attributes",Space,Str "inside",Space,Str "block",Space,Str "quote"]]
-,Header 2 ("line-blocks",[],[]) [Str "Line",Space,Str "blocks"]
-,LineBlock
- [[Str "But",Space,Str "can",Space,Str "a",Space,Str "bee",Space,Str "be",Space,Str "said",Space,Str "to",Space,Str "be"]
- ,[Str "\160\160\160\160or",Space,Str "not",Space,Str "to",Space,Str "be",Space,Str "an",Space,Str "entire",Space,Str "bee,"]
- ,[Str "\160\160\160\160\160\160\160\160when",Space,Str "half",Space,Str "the",Space,Str "bee",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "bee,"]
- ,[Str "\160\160\160\160\160\160\160\160\160\160\160\160due",Space,Str "to",Space,Str "some",Space,Str "ancient",Space,Str "injury?"]
- ,[]
- ,[Str "Continuation",Space,Str "line"]
- ,[Str "\160\160and",Space,Str "another"]]
-,Header 2 ("grid-tables",[],[]) [Str "Grid",Space,Str "Tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2638888888888889)
- ,(AlignDefault,ColWidth 0.16666666666666666)
- ,(AlignDefault,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Headless"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2638888888888889)
- ,(AlignDefault,ColWidth 0.16666666666666666)
- ,(AlignDefault,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "With",Space,Str "alignments"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidth 0.2638888888888889)
- ,(AlignLeft,ColWidth 0.16666666666666666)
- ,(AlignCenter,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Headless",Space,Str "with",Space,Str "alignments"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidth 0.2638888888888889)
- ,(AlignLeft,ColWidth 0.16666666666666666)
- ,(AlignCenter,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Spaces",Space,Str "at",Space,Str "ends",Space,Str "of",Space,Str "lines"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2638888888888889)
- ,(AlignDefault,ColWidth 0.16666666666666666)
- ,(AlignDefault,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "in",Space,Str "a",Space,Str "cell"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2638888888888889)
- ,(AlignDefault,ColWidth 0.16666666666666666)
- ,(AlignDefault,ColWidth 0.18055555555555555)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Header 1 ("col-1",[],[]) [Str "col",Space,Str "1"]
- ,Plain [Str "col",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Header 1 ("col-2",[],[]) [Str "col",Space,Str "2"]
- ,Plain [Str "col",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Header 1 ("col-3",[],[]) [Str "col",Space,Str "3"]
- ,Plain [Str "col",Space,Str "3"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "r1",Space,Str "a"]
- ,Para [Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [BulletList
- [[Plain [Str "b"]]
- ,[Plain [Str "b",Space,Str "2"]]
- ,[Plain [Str "b",Space,Str "2"]]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2",SoftBreak,Str "c",Space,Str "2"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Empty",Space,Str "cells"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 5.555555555555555e-2)
- ,(AlignDefault,ColWidth 5.555555555555555e-2)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("entities-in-links-and-titles",[],[]) [Str "Entities",Space,Str "in",Space,Str "links",Space,Str "and",Space,Str "titles"]
-,Para [Link ("",[],[]) [Str "link"] ("/\252rl","\246\246!")]
-,Para [Link ("",["uri"],[]) [Str "http://g\246\246gle.com"] ("http://g\246\246gle.com","")]
-,Para [Link ("",["email"],[]) [Str "me@ex\228mple.com"] ("mailto:me@ex\228mple.com","")]
-,Para [Link ("",[],[]) [Str "foobar"] ("/\252rl","\246\246!")]
-,Header 2 ("parentheses-in-urls",[],[]) [Str "Parentheses",Space,Str "in",Space,Str "URLs"]
-,Para [Link ("",[],[]) [Str "link"] ("/hi(there)","")]
-,Para [Link ("",[],[]) [Str "link"] ("/hithere)","")]
-,Para [Link ("",[],[]) [Str "linky"] ("hi_(there_(nested))","")]
-,Header 2 ("backslashes-in-link-references",[],[]) [Str "Backslashes",Space,Str "in",Space,Str "link",Space,Str "references"]
-,Para [Link ("",[],[]) [Str "*",RawInline (Format "tex") "\\a"] ("b","")]
-,Header 2 ("reference-link-fallbacks",[],[]) [Str "Reference",Space,Str "link",Space,Str "fallbacks"]
-,Para [Str "[",Emph [Str "not",Space,Str "a",Space,Str "link"],Str "]",Space,Str "[",Emph [Str "nope"],Str "]\8230"]
-,Header 2 ("reference-link-followed-by-a-citation",[],[]) [Str "Reference",Space,Str "link",Space,Str "followed",Space,Str "by",Space,Str "a",Space,Str "citation"]
-,Para [Str "MapReduce",Space,Str "is",Space,Str "a",Space,Str "paradigm",Space,Str "popularized",Space,Str "by",Space,Link ("",[],[]) [Str "Google"] ("http://google.com",""),Space,Cite [Citation {citationId = "mapreduce", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 2, citationHash = 0}] [Str "[@mapreduce]"],Space,Str "as",Space,Str "its",SoftBreak,Str "most",Space,Str "vocal",Space,Str "proponent."]
-,Header 2 ("empty-reference-links",[],[]) [Str "Empty",Space,Str "reference",Space,Str "links"]
-,Para [Str "bar"]
-,Para [Link ("",[],[]) [Str "foo2"] ("","")]
-,Header 2 ("wrapping-shouldnt-introduce-new-list-items",[],[]) [Str "Wrapping",Space,Str "shouldn\8217t",Space,Str "introduce",Space,Str "new",Space,Str "list",Space,Str "items"]
-,BulletList
- [[Plain [Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "blah",Space,Str "2015."]]]
-,Header 2 ("bracketed-spans",[],[]) [Str "Bracketed",Space,Str "spans"]
-,Para [Span ("id",["class"],[("key","val")]) [Emph [Str "foo"],Space,Str "bar",Space,Str "baz",Space,Link ("",[],[]) [Str "link"] ("url","")]]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "Author" , Space , Str "One" ]
+ , MetaInlines [ Str "Author" , Space , Str "Two" ]
+ , MetaInlines [ Str "Author" , Space , Str "Three" ]
+ , MetaInlines [ Str "Author" , Space , Str "Four" ]
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Title"
+ , SoftBreak
+ , Str "spanning"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines"
+ ]
+ )
+ ]
+ }
+ [ Header
+ 1
+ ( "additional-markdown-reader-tests" , [] , [] )
+ [ Str "Additional"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "reader"
+ , Space
+ , Str "tests"
+ ]
+ , Header
+ 2
+ ( "blank-line-before-url-in-link-reference" , [] , [] )
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "before"
+ , Space
+ , Str "URL"
+ , Space
+ , Str "in"
+ , Space
+ , Str "link"
+ , Space
+ , Str "reference"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "foo" ] ( "/url" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url" , "title" )
+ ]
+ , Header
+ 2
+ ( "raw-context-environments" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "ConTeXt"
+ , Space
+ , Str "environments"
+ ]
+ , RawBlock (Format "tex") "\\placeformula \\startformula"
+ , Para
+ [ Str "L_{1}"
+ , Space
+ , Str "="
+ , Space
+ , Str "L_{2}"
+ , SoftBreak
+ , RawInline (Format "tex") "\\stopformula"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"
+ , Header
+ 2
+ ( "raw-latex-environments" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "environments"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\begin{center}\n\\begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt]\n\\Tree [.{S} [.NP John\\index{i} ] [.VP [.V likes ] [.NP himself\\index{i,*j} ]]]\n\\end{tikzpicture}\n\\end{center}"
+ , Header
+ 2
+ ( "urls-with-spaces-and-punctuation" , [] , [] )
+ [ Str "URLs"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "punctuation"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "bar%20baz" , "title" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "baz" ] ( "/foo%20foo" , "" )
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bam" ] ( "/foo%20fee" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bork" ]
+ ( "/foo/zee%20zob" , "title" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Ward\8217s" , Space , Str "method." ]
+ ( "http://en.wikipedia.org/wiki/Ward's_method" , "" )
+ ]
+ , Header
+ 2
+ ( "horizontal-rules-with-spaces-at-end" , [] , [] )
+ [ Str "Horizontal"
+ , Space
+ , Str "rules"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "end"
+ ]
+ , HorizontalRule
+ , HorizontalRule
+ , Header
+ 2
+ ( "raw-html-before-header" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "before"
+ , Space
+ , Str "header"
+ ]
+ , Para
+ [ RawInline (Format "html") "<a>"
+ , RawInline (Format "html") "</a>"
+ ]
+ , Header
+ 3
+ ( "my-header" , [] , [] )
+ [ Str "my" , Space , Str "header" ]
+ , Header
+ 2
+ ( "in-math" , [] , [] )
+ [ Str "$" , Space , Str "in" , Space , Str "math" ]
+ , Para [ Math InlineMath "\\$2 + \\$3" ]
+ , Para
+ [ Math InlineMath "x = \\text{the $n$th root of $y$}" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , Para
+ [ Str "$PATH" , Space , Str "90" , Space , Str "$PATH" ]
+ , Header
+ 2
+ ( "commented-out-list-item" , [] , [] )
+ [ Str "Commented-out"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "one"
+ , SoftBreak
+ , RawInline (Format "html") "<!--\n- two\n-->"
+ ]
+ ]
+ , [ Plain [ Str "three" ] ]
+ ]
+ , Header
+ 2
+ ( "indented-code-at-beginning-of-list" , [] , [] )
+ [ Str "Indented"
+ , Space
+ , Str "code"
+ , Space
+ , Str "at"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "list"
+ ]
+ , BulletList
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode"
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ , [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ ]
+ , BulletList
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ , [ Plain [ Str "no" , Space , Str "code" ] ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "backslash-newline" , [] , [] )
+ [ Str "Backslash" , Space , Str "newline" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 2
+ ( "code-spans" , [] , [] )
+ [ Str "Code" , Space , Str "spans" ]
+ , Para [ Code ( "" , [] , [] ) "hi\\" ]
+ , Para [ Code ( "" , [] , [] ) "hi there" ]
+ , Para [ Code ( "" , [] , [] ) "hi````there" ]
+ , Para [ Str "`hi" ]
+ , Para [ Str "there`" ]
+ , Header
+ 2
+ ( "multilingual-urls" , [] , [] )
+ [ Str "Multilingual" , Space , Str "URLs" ]
+ , Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://\27979.com?\27979=\27979" ]
+ ( "http://\27979.com?\27979=\27979" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "foo" ]
+ ( "/bar/\27979?x=\27979" , "title" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "email" ] , [] )
+ [ Str "\27979@foo.\27979.baz" ]
+ ( "mailto:\27979@foo.\27979.baz" , "" )
+ ]
+ , Header
+ 2
+ ( "numbered-examples" , [] , [] )
+ [ Str "Numbered" , Space , Str "examples" ]
+ , OrderedList
+ ( 1 , Example , TwoParens )
+ [ [ Plain [ Str "First" , Space , Str "example." ] ]
+ , [ Plain [ Str "Second" , Space , Str "example." ] ]
+ ]
+ , Para
+ [ Str "Explanation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "examples"
+ , Space
+ , Str "(2)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "(3)."
+ ]
+ , OrderedList
+ ( 3 , Example , TwoParens )
+ [ [ Plain [ Str "Third" , Space , Str "example." ] ] ]
+ , Header 2 ( "macros" , [] , [] ) [ Str "Macros" ]
+ , RawBlock
+ (Format "tex")
+ "\\newcommand{\\tuple}[1]{\\langle #1 \\rangle}"
+ , Para [ Math InlineMath "\\langle x,y \\rangle" ]
+ , Header
+ 2
+ ( "case-insensitive-references" , [] , [] )
+ [ Str "Case-insensitive" , Space , Str "references" ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Fum" ] ( "/fum" , "" ) ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "FUM" ] ( "/fum" , "" ) ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "bat" ] ( "/bat" , "" ) ]
+ , Header
+ 2
+ ( "curly-smart-quotes" , [] , [] )
+ [ Str "Curly" , Space , Str "smart" , Space , Str "quotes" ]
+ , Para [ Quoted DoubleQuote [ Str "Hi" ] ]
+ , Para [ Quoted SingleQuote [ Str "Hi" ] ]
+ , Header
+ 2
+ ( "consecutive-lists" , [] , [] )
+ [ Str "Consecutive" , Space , Str "lists" ]
+ , BulletList
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , OrderedList
+ ( 1 , LowerAlpha , Period )
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , Header
+ 2
+ ( "implicit-header-references" , [] , [] )
+ [ Str "Implicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "references"
+ ]
+ , Header
+ 3
+ ( "my-header-1" , [] , [] )
+ [ Str "My" , Space , Str "header" ]
+ , Header
+ 3
+ ( "my-other-header" , [] , [] )
+ [ Str "My" , Space , Str "other" , Space , Str "header" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "My" , Space , Str "header" ]
+ ( "#my-header-1" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "it" ] ( "#my-header-1" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Should"
+ , Space
+ , Str "be"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "case" , Space , Str "insensitive" ]
+ ( "#my-header-1" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Link"
+ , Space
+ , Str "to"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Explicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "attributes"
+ ]
+ ( "#foobar" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "But"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "My" , Space , Str "other" , Space , Str "header" ]
+ ( "/foo" , "" )
+ , Str ","
+ , Space
+ , Str "since"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "is"
+ , Space
+ , Str "defined."
+ ]
+ , Header
+ 2
+ ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] )
+ [ Str "Explicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "attributes"
+ ]
+ , BlockQuote
+ [ Header
+ 2
+ ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] )
+ [ Str "Header"
+ , Space
+ , Str "attributes"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ , Header
+ 2
+ ( "line-blocks" , [] , [] )
+ [ Str "Line" , Space , Str "blocks" ]
+ , LineBlock
+ [ [ Str "But"
+ , Space
+ , Str "can"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "be"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ ]
+ , [ Str "\160\160\160\160or"
+ , Space
+ , Str "not"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "bee,"
+ ]
+ , [ Str "\160\160\160\160\160\160\160\160when"
+ , Space
+ , Str "half"
+ , Space
+ , Str "the"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee,"
+ ]
+ , [ Str
+ "\160\160\160\160\160\160\160\160\160\160\160\160due"
+ , Space
+ , Str "to"
+ , Space
+ , Str "some"
+ , Space
+ , Str "ancient"
+ , Space
+ , Str "injury?"
+ ]
+ , []
+ , [ Str "Continuation" , Space , Str "line" ]
+ , [ Str "\160\160and" , Space , Str "another" ]
+ ]
+ , Header
+ 2
+ ( "grid-tables" , [] , [] )
+ [ Str "Grid" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "With" , Space , Str "alignments" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.2638888888888889 )
+ , ( AlignLeft , ColWidth 0.16666666666666666 )
+ , ( AlignCenter , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Headless"
+ , Space
+ , Str "with"
+ , Space
+ , Str "alignments"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.2638888888888889 )
+ , ( AlignLeft , ColWidth 0.16666666666666666 )
+ , ( AlignCenter , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "of"
+ , Space
+ , Str "lines"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cell"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-1" , [] , [] )
+ [ Str "col" , Space , Str "1" ]
+ , Plain [ Str "col" , Space , Str "1" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-2" , [] , [] )
+ [ Str "col" , Space , Str "2" ]
+ , Plain [ Str "col" , Space , Str "2" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-3" , [] , [] )
+ [ Str "col" , Space , Str "3" ]
+ , Plain [ Str "col" , Space , Str "3" ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "r1" , Space , Str "a" ]
+ , Para [ Str "r1" , Space , Str "bis" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ BulletList
+ [ [ Plain [ Str "b" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Empty" , Space , Str "cells" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ , ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "entities-in-links-and-titles" , [] , [] )
+ [ Str "Entities"
+ , Space
+ , Str "in"
+ , Space
+ , Str "links"
+ , Space
+ , Str "and"
+ , Space
+ , Str "titles"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "link" ] ( "/\252rl" , "\246\246!" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://g\246\246gle.com" ]
+ ( "http://g\246\246gle.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "email" ] , [] )
+ [ Str "me@ex\228mple.com" ]
+ ( "mailto:me@ex\228mple.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "foobar" ]
+ ( "/\252rl" , "\246\246!" )
+ ]
+ , Header
+ 2
+ ( "parentheses-in-urls" , [] , [] )
+ [ Str "Parentheses"
+ , Space
+ , Str "in"
+ , Space
+ , Str "URLs"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hi(there)" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hithere)" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "linky" ]
+ ( "hi_(there_(nested))" , "" )
+ ]
+ , Header
+ 2
+ ( "backslashes-in-link-references" , [] , [] )
+ [ Str "Backslashes"
+ , Space
+ , Str "in"
+ , Space
+ , Str "link"
+ , Space
+ , Str "references"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "*" , RawInline (Format "tex") "\\a" ]
+ ( "b" , "" )
+ ]
+ , Header
+ 2
+ ( "reference-link-fallbacks" , [] , [] )
+ [ Str "Reference"
+ , Space
+ , Str "link"
+ , Space
+ , Str "fallbacks"
+ ]
+ , Para
+ [ Str "["
+ , Emph [ Str "not" , Space , Str "a" , Space , Str "link" ]
+ , Str "]"
+ , Space
+ , Str "["
+ , Emph [ Str "nope" ]
+ , Str "]\8230"
+ ]
+ , Header
+ 2
+ ( "reference-link-followed-by-a-citation" , [] , [] )
+ [ Str "Reference"
+ , Space
+ , Str "link"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ ]
+ , Para
+ [ Str "MapReduce"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paradigm"
+ , Space
+ , Str "popularized"
+ , Space
+ , Str "by"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Google" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "mapreduce"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@mapreduce]" ]
+ , Space
+ , Str "as"
+ , Space
+ , Str "its"
+ , SoftBreak
+ , Str "most"
+ , Space
+ , Str "vocal"
+ , Space
+ , Str "proponent."
+ ]
+ , Header
+ 2
+ ( "empty-reference-links" , [] , [] )
+ [ Str "Empty"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "links"
+ ]
+ , Para [ Str "bar" ]
+ , Para [ Link ( "" , [] , [] ) [ Str "foo2" ] ( "" , "" ) ]
+ , Header
+ 2
+ ( "wrapping-shouldnt-introduce-new-list-items" , [] , [] )
+ [ Str "Wrapping"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "introduce"
+ , Space
+ , Str "new"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "2015."
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "bracketed-spans" , [] , [] )
+ [ Str "Bracketed" , Space , Str "spans" ]
+ , Para
+ [ Span
+ ( "id" , [ "class" ] , [ ( "key" , "val" ) ] )
+ [ Emph [ Str "foo" ]
+ , Space
+ , Str "bar"
+ , Space
+ , Str "baz"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "link" ] ( "url" , "" )
+ ]
+ ]
+ ]
diff --git a/test/mediawiki-reader.native b/test/mediawiki-reader.native
index d7ac63215..184809ea6 100644
--- a/test/mediawiki-reader.native
+++ b/test/mediawiki-reader.native
@@ -1,418 +1,1431 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("header",[],[]) [Str "header"]
-,Header 2 ("header_level_two",[],[]) [Str "header",Space,Str "level",Space,Str "two"]
-,Header 3 ("header_level_3",[],[]) [Str "header",Space,Str "level",Space,Str "3"]
-,Header 4 ("header_level_four",[],[]) [Str "header",Space,Emph [Str "level"],Space,Str "four"]
-,Header 5 ("header_level_5",[],[]) [Str "header",Space,Str "level",Space,Str "5"]
-,Header 6 ("header_level_6",[],[]) [Str "header",Space,Str "level",Space,Str "6"]
-,Para [Str "=======",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "========"]
-,Para [Code ("",[],[]) "==\160not\160a\160header\160=="]
-,Header 2 ("emph_and_strong",[],[]) [Str "emph",Space,Str "and",Space,Str "strong"]
-,Para [Emph [Str "emph"],Space,Strong [Str "strong"]]
-,Para [Strong [Emph [Str "strong",Space,Str "and",Space,Str "emph"]]]
-,Para [Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
-,Para [Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
-,Para [Emph [Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
-,Header 2 ("horizontal_rule",[],[]) [Str "horizontal",Space,Str "rule"]
-,Para [Str "top"]
-,HorizontalRule
-,Para [Str "bottom"]
-,HorizontalRule
-,Header 2 ("nowiki",[],[]) [Str "nowiki"]
-,Para [Str "''not",Space,Str "emph''"]
-,Header 2 ("strikeout",[],[]) [Str "strikeout"]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "struck",Space,Str "out"]]]
-,Header 2 ("entities",[],[]) [Str "entities"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "G\246del"]
-,Para [Str "\777\2730"]
-,Header 2 ("comments",[],[]) [Str "comments"]
-,Para [Str "inline",Space,Str "comment"]
-,Para [Str "between",Space,Str "blocks"]
-,Header 2 ("linebreaks",[],[]) [Str "linebreaks"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Header 2 ("indents",[],[]) [Str ":",Space,Str "indents"]
-,Para [Str "hi"]
-,DefinitionList
- [([],
- [[Plain [Str "there"]]])]
-,Para [Str "bud"]
-,Para [Str "hi"]
-,DefinitionList
- [([],
- [[DefinitionList
- [([],
- [[Plain [Str "there"]]])]]])]
-,Para [Str "bud"]
-,Header 2 ("p_tags",[],[]) [Str "p",Space,Str "tags"]
-,Para [Str "hi",Space,Str "there"]
-,Para [Str "bud"]
-,Para [Str "another"]
-,Header 2 ("raw_html",[],[]) [Str "raw",Space,Str "html"]
-,Para [Str "hi",Space,RawInline (Format "html") "<span style=\"color:red\">",Emph [Str "there"],RawInline (Format "html") "</span>",Str "."]
-,Para [RawInline (Format "html") "<ins>",Str "inserted",RawInline (Format "html") "</ins>"]
-,RawBlock (Format "html") "<div class=\"special\">"
-,Para [Str "hi",Space,Emph [Str "there"]]
-,RawBlock (Format "html") "</div>"
-,Header 2 ("sup_sub_del",[],[]) [Str "sup,",Space,Str "sub,",Space,Str "del"]
-,Para [Str "H",Subscript [Str "2"],Str "O",Space,Str "base",Superscript [Emph [Str "exponent"]],SoftBreak,Strikeout [Str "hello"]]
-,Header 2 ("inline_code",[],[]) [Str "inline",Space,Str "code"]
-,Para [Code ("",[],[]) "*\8594*",Space,Code ("",[],[]) "typed",Space,Code ("",["haskell"],[]) ">>="]
-,Header 2 ("code_blocks",[],[]) [Str "code",Space,Str "blocks"]
-,CodeBlock ("",[],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
-,CodeBlock ("",["haskell"],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
-,CodeBlock ("",["ruby","numberLines"],[("startFrom","100")]) "widgets.each do |w|\n print w.price\nend"
-,Header 2 ("block_quotes",[],[]) [Str "block",Space,Str "quotes"]
-,Para [Str "Regular",Space,Str "paragraph"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote."]
- ,Para [Str "With",Space,Str "two",Space,Str "paragraphs."]]
-,Para [Str "Nother",Space,Str "paragraph."]
-,Header 2 ("external_links",[],[]) [Str "external",Space,Str "links"]
-,Para [Link ("",[],[]) [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
-,Para [Link ("",[],[]) [Str "http://pandoc.org"] ("http://pandoc.org","")]
-,Para [Link ("",[],[]) [Str "1"] ("http://google.com",""),Space,Link ("",[],[]) [Str "2"] ("http://yahoo.com","")]
-,Para [Link ("",[],[]) [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
-,Header 2 ("internal_links",[],[]) [Str "internal",Space,Str "links"]
-,Para [Link ("",[],[]) [Str "Help"] ("Help","wikilink")]
-,Para [Link ("",[],[]) [Str "the",Space,Str "help",Space,Str "page"] ("Help","wikilink")]
-,Para [Link ("",[],[]) [Str "Helpers"] ("Help","wikilink")]
-,Para [Link ("",[],[]) [Str "Help"] ("Help","wikilink"),Str "ers"]
-,Para [Link ("",[],[]) [Str "Contents"] ("Help:Contents","wikilink")]
-,Para [Link ("",[],[]) [Str "#My",Space,Str "anchor"] ("#My_anchor","wikilink")]
-,Para [Link ("",[],[]) [Str "and",Space,Str "text"] ("Page#with_anchor","wikilink")]
-,Header 2 ("images",[],[]) [Str "images"]
-,Para [Image ("",[],[]) [Str "caption"] ("example.jpg","fig:caption")]
-,Para [Image ("",[],[]) [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link ("",[],[]) [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","fig:the caption with external link")]
-,Para [Image ("",[],[("width","30"),("height","40")]) [Str "caption"] ("example.jpg","fig:caption")]
-,Para [Image ("",[],[("width","30")]) [Str "caption"] ("example.jpg","fig:caption")]
-,Para [Image ("",[],[("width","30")]) [Str "caption"] ("example.jpg","fig:caption")]
-,Para [Image ("",[],[]) [Str "example.jpg"] ("example.jpg","fig:example.jpg")]
-,Para [Image ("",[],[]) [Str "example_es.jpg"] ("example_es.jpg","fig:example_es.jpg")]
-,Header 2 ("lists",[],[]) [Str "lists"]
-,BulletList
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "an",Space,Str "asterisk",Space,Str "(*)."]
- ,BulletList
- [[Plain [Str "More",Space,Str "asterisks",Space,Str "gives",Space,Str "deeper"]
- ,BulletList
- [[Plain [Str "and",Space,Str "deeper",Space,Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]
- ,BulletList
- [[BulletList
- [[Plain [Str "But",Space,Str "jumping",Space,Str "levels",Space,Str "creates",Space,Str "empty",Space,Str "space."]]]]]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "ends",Space,Str "the",Space,Str "list."]
-,BulletList
- [[BulletList
- [[Plain [Str "two"]]]]
- ,[Plain [Str "one"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "a",Space,Str "number",Space,Str "sign",Space,Str "(#)."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "More",Space,Str "number",Space,Str "signs",Space,Str "gives",Space,Str "deeper"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "and",Space,Str "deeper"]]
- ,[Plain [Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "But",Space,Str "jumping",Space,Str "levels",Space,Str "creates",Space,Str "empty",Space,Str "space."]]]]]]
- ,[Plain [Str "Blank",Space,Str "lines"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "end",Space,Str "the",Space,Str "list",Space,Str "and",Space,Str "start",Space,Str "another."]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "also",SoftBreak,Str "ends",Space,Str "the",Space,Str "list."]
-,DefinitionList
- [([Str "item",Space,Str "1"],
- [[Plain [Str "definition",Space,Str "1"]]])
- ,([Str "item",Space,Str "2"],
- [[Plain [Str "definition",Space,Str "2-1"]]
- ,[Plain [Str "definition",Space,Str "2-2"]]])]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]
- ,BulletList
- [[Plain [Str "two",Space,Str "point",Space,Str "one"]]
- ,[Plain [Str "two",Space,Str "point",Space,Str "two"]]]]
- ,[Plain [Str "three"]
- ,DefinitionList
- [([Str "three",Space,Str "item",Space,Str "one"],
- [[Plain [Str "three",Space,Str "def",Space,Str "one"]]])]]
- ,[Plain [Str "four"]
- ,DefinitionList
- [([],
- [[Plain [Str "four",Space,Str "def",Space,Str "one"]]
- ,[Plain [Str "this",Space,Str "looks",Space,Str "like",Space,Str "a",Space,Str "continuation"]]
- ,[Plain [Str "and",Space,Str "is",Space,Str "often",Space,Str "used"]]
- ,[Plain [Str "instead",LineBreak,Str "of",Space,Str "<br/>"]]])]]
- ,[Plain [RawInline (Format "mediawiki") "{{{template\n|author=John\n|title=My Book\n}}}"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1",Space,Str "sub",Space,Str "1"]]]]
- ,[Plain [Str "five",Space,Str "sub",Space,Str "2"]]]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "list",Space,Str "item",Space,Emph [Str "emph"]]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "list",Space,Str "item",Space,Str "B1"]]
- ,[Plain [Str "list",Space,Str "item",Space,Str "B2"]]]
- ,Para [Str "continuing",Space,Str "list",Space,Str "item",Space,Str "A1"]]
- ,[Plain [Str "list",Space,Str "item",Space,Str "A2"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "abc"]]
- ,[Plain [Str "def"]]
- ,[Plain [Str "ghi"]]]
-,OrderedList (9,DefaultStyle,DefaultDelim)
- [[Plain [Str "Amsterdam"]]
- ,[Plain [Str "Rotterdam"]]
- ,[Plain [Str "The",Space,Str "Hague"]]]
-,Header 2 ("math",[],[]) [Str "math"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Math InlineMath "x=\\frac{y^\\pi}{z}",Str "."]
-,Para [Str "With",Space,Str "spaces:",Space,Math InlineMath "x=\\frac{y^\\pi}{z}",Str "."]
-,Header 2 ("preformatted_blocks",[],[]) [Str "preformatted",Space,Str "blocks"]
-,Para [Code ("",[],[]) "Start\160each\160line\160with\160a\160space.",LineBreak,Code ("",[],[]) "Text\160is\160",Strong [Code ("",[],[]) "preformatted"],Code ("",[],[]) "\160and",LineBreak,Emph [Code ("",[],[]) "markups"],Code ("",[],[]) "\160",Strong [Emph [Code ("",[],[]) "can"]],Code ("",[],[]) "\160be\160done."]
-,Para [Code ("",[],[]) "\160hell\160\160\160\160\160\160yeah"]
-,Para [Code ("",[],[]) "Start\160with\160a\160space\160in\160the\160first\160column,",LineBreak,Code ("",[],[]) "(before\160the\160<nowiki>).",LineBreak,Code ("",[],[]) "",LineBreak,Code ("",[],[]) "Then\160your\160block\160format\160will\160be",LineBreak,Code ("",[],[]) "\160\160\160\160maintained.",LineBreak,Code ("",[],[]) "",LineBreak,Code ("",[],[]) "This\160is\160good\160for\160copying\160in\160code\160blocks:",LineBreak,Code ("",[],[]) "",LineBreak,Code ("",[],[]) "def\160function():",LineBreak,Code ("",[],[]) "\160\160\160\160\"\"\"documentation\160string\"\"\"",LineBreak,Code ("",[],[]) "",LineBreak,Code ("",[],[]) "\160\160\160\160if\160True:",LineBreak,Code ("",[],[]) "\160\160\160\160\160\160\160\160print\160True",LineBreak,Code ("",[],[]) "\160\160\160\160else:",LineBreak,Code ("",[],[]) "\160\160\160\160\160\160\160\160print\160False"]
-,Para [Str "Not"]
-,RawBlock (Format "html") "<hr/>"
-,Para [Str "preformatted"]
-,Para [Str "Don't",Space,Str "need"]
-,Para [Code ("",[],[]) "a\160blank\160line"]
-,Para [Str "around",Space,Str "a",Space,Str "preformatted",Space,Str "block."]
-,Header 2 ("templates",[],[]) [Str "templates"]
-,RawBlock (Format "mediawiki") "{{Welcome}}"
-,RawBlock (Format "mediawiki") "{{Foo:Bar}}"
-,RawBlock (Format "mediawiki") "{{Thankyou|all your effort|Me}}"
-,Para [Str "Written",Space,RawInline (Format "mediawiki") "{{{date}}}",Space,Str "by",Space,RawInline (Format "mediawiki") "{{{name}}}",Str "."]
-,Header 2 ("tables",[],[]) [Str "tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Food",Space,Str "complements"]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Apple"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Food",Space,Str "complements"]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Apple"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Bread"]
- ,Para [Str "and",Space,Str "cheese"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Pie"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "apple"]]
- ,[Plain [Str "carrot"]]]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Pie"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Ice",Space,Str "cream"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "and",Space,Str "more"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidth 0.25)
- ,(AlignRight,ColWidth 0.125)
- ,(AlignCenter,ColWidth 0.125)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Center"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "15.00"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "centered"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "more"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "2.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "more"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "fruit"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "topping"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "Orange"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Paragraph",Space,Str "after",Space,Str "the",Space,Str "table."]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "fruit"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "topping"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("notes",[],[]) [Str "notes"]
-,Para [Str "My",Space,Str "note!",Note [Plain [Str "This."]]]
-,Para [Str "URL",Space,Str "note.",Note [Plain [Link ("",[],[]) [Str "http://docs.python.org/library/functions.html#range"] ("http://docs.python.org/library/functions.html#range","")]]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header 1 ( "header" , [] , [] ) [ Str "header" ]
+ , Header
+ 2
+ ( "header_level_two" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "two" ]
+ , Header
+ 3
+ ( "header_level_3" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header_level_four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Emph [ Str "level" ]
+ , Space
+ , Str "four"
+ ]
+ , Header
+ 5
+ ( "header_level_5" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "5" ]
+ , Header
+ 6
+ ( "header_level_6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
+ , Para
+ [ Str "======="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "========"
+ ]
+ , Para
+ [ Code ( "" , [] , [] ) "==\160not\160a\160header\160==" ]
+ , Header
+ 2
+ ( "emph_and_strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Header
+ 2
+ ( "horizontal_rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 2 ( "nowiki" , [] , [] ) [ Str "nowiki" ]
+ , Para [ Str "''not" , Space , Str "emph''" ]
+ , Header 2 ( "strikeout" , [] , [] ) [ Str "strikeout" ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "struck" , Space , Str "out" ]
+ ]
+ ]
+ , Header 2 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 2 ( "comments" , [] , [] ) [ Str "comments" ]
+ , Para [ Str "inline" , Space , Str "comment" ]
+ , Para [ Str "between" , Space , Str "blocks" ]
+ , Header 2 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 2
+ ( "indents" , [] , [] )
+ [ Str ":" , Space , Str "indents" ]
+ , Para [ Str "hi" ]
+ , DefinitionList [ ( [] , [ [ Plain [ Str "there" ] ] ] ) ]
+ , Para [ Str "bud" ]
+ , Para [ Str "hi" ]
+ , DefinitionList
+ [ ( []
+ , [ [ DefinitionList
+ [ ( [] , [ [ Plain [ Str "there" ] ] ] ) ]
+ ]
+ ]
+ )
+ ]
+ , Para [ Str "bud" ]
+ , Header
+ 2 ( "p_tags" , [] , [] ) [ Str "p" , Space , Str "tags" ]
+ , Para [ Str "hi" , Space , Str "there" ]
+ , Para [ Str "bud" ]
+ , Para [ Str "another" ]
+ , Header
+ 2
+ ( "raw_html" , [] , [] )
+ [ Str "raw" , Space , Str "html" ]
+ , Para
+ [ Str "hi"
+ , Space
+ , RawInline (Format "html") "<span style=\"color:red\">"
+ , Emph [ Str "there" ]
+ , RawInline (Format "html") "</span>"
+ , Str "."
+ ]
+ , Para
+ [ RawInline (Format "html") "<ins>"
+ , Str "inserted"
+ , RawInline (Format "html") "</ins>"
+ ]
+ , RawBlock (Format "html") "<div class=\"special\">"
+ , Para [ Str "hi" , Space , Emph [ Str "there" ] ]
+ , RawBlock (Format "html") "</div>"
+ , Header
+ 2
+ ( "sup_sub_del" , [] , [] )
+ [ Str "sup," , Space , Str "sub," , Space , Str "del" ]
+ , Para
+ [ Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O"
+ , Space
+ , Str "base"
+ , Superscript [ Emph [ Str "exponent" ] ]
+ , SoftBreak
+ , Strikeout [ Str "hello" ]
+ ]
+ , Header
+ 2
+ ( "inline_code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
+ , Para
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) ">>="
+ ]
+ , Header
+ 2
+ ( "code_blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( ""
+ , [ "ruby" , "numberLines" ]
+ , [ ( "startFrom" , "100" ) ]
+ )
+ "widgets.each do |w|\n print w.price\nend"
+ , Header
+ 2
+ ( "block_quotes" , [] , [] )
+ [ Str "block" , Space , Str "quotes" ]
+ , Para [ Str "Regular" , Space , Str "paragraph" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "paragraphs."
+ ]
+ ]
+ , Para [ Str "Nother" , Space , Str "paragraph." ]
+ , Header
+ 2
+ ( "external_links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "1" ] ( "http://google.com" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "2" ] ( "http://yahoo.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Header
+ 2
+ ( "internal_links" , [] , [] )
+ [ Str "internal" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "help" , Space , Str "page" ]
+ ( "Help" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "Helpers" ] ( "Help" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" )
+ , Str "ers"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Contents" ]
+ ( "Help:Contents" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "#My" , Space , Str "anchor" ]
+ ( "#My_anchor" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "and" , Space , Str "text" ]
+ ( "Page#with_anchor" , "wikilink" )
+ ]
+ , Header 2 ( "images" , [] , [] ) [ Str "images" ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "the"
+ , Space
+ , Emph [ Str "caption" ]
+ , Space
+ , Str "with"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "external" , Space , Str "link" ]
+ ( "http://google.com" , "" )
+ ]
+ ( "example.jpg" , "fig:the caption with external link" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) , ( "height" , "40" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "example.jpg" ]
+ ( "example.jpg" , "fig:example.jpg" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "example_es.jpg" ]
+ ( "example_es.jpg" , "fig:example_es.jpg" )
+ ]
+ , Header 2 ( "lists" , [] , [] ) [ Str "lists" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "asterisk"
+ , Space
+ , Str "(*)."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ , BulletList
+ [ [ BulletList
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "jumping"
+ , Space
+ , Str "levels"
+ , Space
+ , Str "creates"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "space."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , BulletList
+ [ [ BulletList [ [ Plain [ Str "two" ] ] ] ]
+ , [ Plain [ Str "one" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "number"
+ , Space
+ , Str "sign"
+ , Space
+ , Str "(#)."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "jumping"
+ , Space
+ , Str "levels"
+ , Space
+ , Str "creates"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "space."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , SoftBreak
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , DefinitionList
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain [ Str "definition" , Space , Str "2-1" ] ]
+ , [ Plain [ Str "definition" , Space , Str "2-2" ] ]
+ ]
+ )
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "three" ]
+ , DefinitionList
+ [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "three"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "four" ]
+ , DefinitionList
+ [ ( []
+ , [ [ Plain
+ [ Str "four"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "this"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ ]
+ , [ Plain
+ [ Str "and"
+ , Space
+ , Str "is"
+ , Space
+ , Str "often"
+ , Space
+ , Str "used"
+ ]
+ ]
+ , [ Plain
+ [ Str "instead"
+ , LineBreak
+ , Str "of"
+ , Space
+ , Str "<br/>"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain
+ [ RawInline
+ (Format "mediawiki")
+ "{{{template\n|author=John\n|title=My Book\n}}}"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "B1" ]
+ ]
+ , [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "B2" ]
+ ]
+ ]
+ , Para
+ [ Str "continuing"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "A1"
+ ]
+ ]
+ , [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "A2" ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "abc" ] ]
+ , [ Plain [ Str "def" ] ]
+ , [ Plain [ Str "ghi" ] ]
+ ]
+ , OrderedList
+ ( 9 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Amsterdam" ] ]
+ , [ Plain [ Str "Rotterdam" ] ]
+ , [ Plain [ Str "The" , Space , Str "Hague" ] ]
+ ]
+ , Header 2 ( "math" , [] , [] ) [ Str "math" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Math InlineMath "x=\\frac{y^\\pi}{z}"
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Math InlineMath "x=\\frac{y^\\pi}{z}"
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "preformatted_blocks" , [] , [] )
+ [ Str "preformatted" , Space , Str "blocks" ]
+ , Para
+ [ Code
+ ( "" , [] , [] )
+ "Start\160each\160line\160with\160a\160space."
+ , LineBreak
+ , Code ( "" , [] , [] ) "Text\160is\160"
+ , Strong [ Code ( "" , [] , [] ) "preformatted" ]
+ , Code ( "" , [] , [] ) "\160and"
+ , LineBreak
+ , Emph [ Code ( "" , [] , [] ) "markups" ]
+ , Code ( "" , [] , [] ) "\160"
+ , Strong [ Emph [ Code ( "" , [] , [] ) "can" ] ]
+ , Code ( "" , [] , [] ) "\160be\160done."
+ ]
+ , Para
+ [ Code
+ ( "" , [] , [] ) "\160hell\160\160\160\160\160\160yeah"
+ ]
+ , Para
+ [ Code
+ ( "" , [] , [] )
+ "Start\160with\160a\160space\160in\160the\160first\160column,"
+ , LineBreak
+ , Code ( "" , [] , [] ) "(before\160the\160<nowiki>)."
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "Then\160your\160block\160format\160will\160be"
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160maintained."
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "This\160is\160good\160for\160copying\160in\160code\160blocks:"
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "def\160function():"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\"\"\"documentation\160string\"\"\""
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160if\160True:"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\160\160\160\160print\160True"
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160else:"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\160\160\160\160print\160False"
+ ]
+ , Para [ Str "Not" ]
+ , RawBlock (Format "html") "<hr/>"
+ , Para [ Str "preformatted" ]
+ , Para [ Str "Don't" , Space , Str "need" ]
+ , Para [ Code ( "" , [] , [] ) "a\160blank\160line" ]
+ , Para
+ [ Str "around"
+ , Space
+ , Str "a"
+ , Space
+ , Str "preformatted"
+ , Space
+ , Str "block."
+ ]
+ , Header 2 ( "templates" , [] , [] ) [ Str "templates" ]
+ , RawBlock (Format "mediawiki") "{{Welcome}}"
+ , RawBlock (Format "mediawiki") "{{Foo:Bar}}"
+ , RawBlock
+ (Format "mediawiki") "{{Thankyou|all your effort|Me}}"
+ , Para
+ [ Str "Written"
+ , Space
+ , RawInline (Format "mediawiki") "{{{date}}}"
+ , Space
+ , Str "by"
+ , Space
+ , RawInline (Format "mediawiki") "{{{name}}}"
+ , Str "."
+ ]
+ , Header 2 ( "tables" , [] , [] ) [ Str "tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain [ Str "Food" , Space , Str "complements" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain [ Str "Food" , Space , Str "complements" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ]
+ , Para [ Str "and" , Space , Str "cheese" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "apple" ] ]
+ , [ Plain [ Str "carrot" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "and" , Space , Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidth 0.25 )
+ , ( AlignRight , ColWidth 0.125 )
+ , ( AlignCenter , ColWidth 0.125 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "15.00" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "centered" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "topping" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para
+ [ Str "ice"
+ , Space
+ , Str "cream"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Paragraph"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "table."
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "topping" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 2 ( "notes" , [] , [] ) [ Str "notes" ]
+ , Para
+ [ Str "My"
+ , Space
+ , Str "note!"
+ , Note [ Plain [ Str "This." ] ]
+ ]
+ , Para
+ [ Str "URL"
+ , Space
+ , Str "note."
+ , Note
+ [ Plain
+ [ Link
+ ( "" , [] , [] )
+ [ Str
+ "http://docs.python.org/library/functions.html#range"
+ ]
+ ( "http://docs.python.org/library/functions.html#range"
+ , ""
+ )
+ ]
+ ]
+ ]
+ ]
diff --git a/test/opml-reader.native b/test/opml-reader.native
index 0819116ab..29623d1fc 100644
--- a/test/opml-reader.native
+++ b/test/opml-reader.native
@@ -1,66 +1,123 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "Dave",Space,Str "Winer"]]),("date",MetaInlines [Str "Thu,",Space,Str "14",Space,Str "Jul",Space,Str "2005",Space,Str "23:41:05",Space,Str "GMT"]),("title",MetaInlines [Str "States"])]})
-[Header 1 ("",[],[]) [Str "United",Space,Str "States"]
-,Header 2 ("",[],[]) [Str "Far",Space,Str "West"]
-,Header 3 ("",[],[]) [Str "Alaska"]
-,Header 3 ("",[],[]) [Str "California"]
-,Header 3 ("",[],[]) [Str "Hawaii"]
-,Header 3 ("",[],[]) [Strong [Str "Nevada"]]
-,Para [Str "I",Space,Str "lived",Space,Str "here",Space,Emph [Str "once"],Str "."]
-,Para [Str "Loved",Space,Str "it."]
-,Header 4 ("",[],[]) [Link ("",[],[]) [Str "Reno"] ("http://www.reno.gov","")]
-,Header 4 ("",[],[]) [Str "Las",Space,Str "Vegas"]
-,Header 4 ("",[],[]) [Str "Ely"]
-,Header 4 ("",[],[]) [Str "Gerlach"]
-,Header 3 ("",[],[]) [Str "Oregon"]
-,Header 3 ("",[],[]) [Str "Washington"]
-,Header 2 ("",[],[]) [Str "Great",Space,Str "Plains"]
-,Header 3 ("",[],[]) [Str "Kansas"]
-,Header 3 ("",[],[]) [Str "Nebraska"]
-,Header 3 ("",[],[]) [Str "North",Space,Str "Dakota"]
-,Header 3 ("",[],[]) [Str "Oklahoma"]
-,Header 3 ("",[],[]) [Str "South",Space,Str "Dakota"]
-,Header 2 ("",[],[]) [Str "Mid-Atlantic"]
-,Header 3 ("",[],[]) [Str "Delaware"]
-,Header 3 ("",[],[]) [Str "Maryland"]
-,Header 3 ("",[],[]) [Str "New",Space,Str "Jersey"]
-,Header 3 ("",[],[]) [Str "New",Space,Str "York"]
-,Header 3 ("",[],[]) [Str "Pennsylvania"]
-,Header 2 ("",[],[]) [Str "Midwest"]
-,Header 3 ("",[],[]) [Str "Illinois"]
-,Header 3 ("",[],[]) [Str "Indiana"]
-,Header 3 ("",[],[]) [Str "Iowa"]
-,Header 3 ("",[],[]) [Str "Kentucky"]
-,Header 3 ("",[],[]) [Str "Michigan"]
-,Header 3 ("",[],[]) [Str "Minnesota"]
-,Header 3 ("",[],[]) [Str "Missouri"]
-,Header 3 ("",[],[]) [Str "Ohio"]
-,Header 3 ("",[],[]) [Str "West",Space,Str "Virginia"]
-,Header 3 ("",[],[]) [Str "Wisconsin"]
-,Header 2 ("",[],[]) [Str "Mountains"]
-,Header 3 ("",[],[]) [Str "Colorado"]
-,Header 3 ("",[],[]) [Str "Idaho"]
-,Header 3 ("",[],[]) [Str "Montana"]
-,Header 3 ("",[],[]) [Str "Utah"]
-,Header 3 ("",[],[]) [Str "Wyoming"]
-,Header 2 ("",[],[]) [Str "New",Space,Str "England"]
-,Header 3 ("",[],[]) [Str "Connecticut"]
-,Header 3 ("",[],[]) [Str "Maine"]
-,Header 3 ("",[],[]) [Str "Massachusetts"]
-,Header 3 ("",[],[]) [Str "New",Space,Str "Hampshire"]
-,Header 3 ("",[],[]) [Str "Rhode",Space,Str "Island"]
-,Header 3 ("",[],[]) [Str "Vermont"]
-,Header 2 ("",[],[]) [Str "South"]
-,Header 3 ("",[],[]) [Str "Alabama"]
-,Header 3 ("",[],[]) [Str "Arkansas"]
-,Header 3 ("",[],[]) [Str "Florida"]
-,Header 3 ("",[],[]) [Str "Georgia"]
-,Header 3 ("",[],[]) [Str "Louisiana"]
-,Header 3 ("",[],[]) [Str "Mississippi"]
-,Header 3 ("",[],[]) [Str "North",Space,Str "Carolina"]
-,Header 3 ("",[],[]) [Str "South",Space,Str "Carolina"]
-,Header 3 ("",[],[]) [Str "Tennessee"]
-,Header 3 ("",[],[]) [Str "Virginia"]
-,Header 2 ("",[],[]) [Str "Southwest"]
-,Header 3 ("",[],[]) [Str "Arizona"]
-,Header 3 ("",[],[]) [Str "New",Space,Str "Mexico"]
-,Header 3 ("",[],[]) [Str "Texas"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "Dave" , Space , Str "Winer" ] ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "Thu,"
+ , Space
+ , Str "14"
+ , Space
+ , Str "Jul"
+ , Space
+ , Str "2005"
+ , Space
+ , Str "23:41:05"
+ , Space
+ , Str "GMT"
+ ]
+ )
+ , ( "title" , MetaInlines [ Str "States" ] )
+ ]
+ }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "United" , Space , Str "States" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Far" , Space , Str "West" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Alaska" ]
+ , Header 3 ( "" , [] , [] ) [ Str "California" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Hawaii" ]
+ , Header 3 ( "" , [] , [] ) [ Strong [ Str "Nevada" ] ]
+ , Para
+ [ Str "I"
+ , Space
+ , Str "lived"
+ , Space
+ , Str "here"
+ , Space
+ , Emph [ Str "once" ]
+ , Str "."
+ ]
+ , Para [ Str "Loved" , Space , Str "it." ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Reno" ]
+ ( "http://www.reno.gov" , "" )
+ ]
+ , Header
+ 4 ( "" , [] , [] ) [ Str "Las" , Space , Str "Vegas" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Ely" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Gerlach" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Oregon" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Washington" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Great" , Space , Str "Plains" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Kansas" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Nebraska" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "North" , Space , Str "Dakota" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Oklahoma" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "South" , Space , Str "Dakota" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Mid-Atlantic" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Delaware" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Maryland" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Jersey" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "York" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Pennsylvania" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Midwest" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Illinois" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Indiana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Iowa" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Kentucky" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Michigan" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Minnesota" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Missouri" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Ohio" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "West" , Space , Str "Virginia" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Wisconsin" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Mountains" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Colorado" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Idaho" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Montana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Utah" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Wyoming" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "New" , Space , Str "England" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Connecticut" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Maine" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Massachusetts" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Hampshire" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "Rhode" , Space , Str "Island" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Vermont" ]
+ , Header 2 ( "" , [] , [] ) [ Str "South" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Alabama" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Arkansas" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Florida" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Georgia" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Louisiana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Mississippi" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "North" , Space , Str "Carolina" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "South" , Space , Str "Carolina" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Tennessee" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Virginia" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Southwest" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Arizona" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Mexico" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Texas" ]
+ ]
diff --git a/test/org-select-tags.native b/test/org-select-tags.native
index 5fbfd92d1..9f2d84a9f 100644
--- a/test/org-select-tags.native
+++ b/test/org-select-tags.native
@@ -1,7 +1,103 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("will-appear-because-it-is-the-ancestor-of-something-tagged-yes",[],[]) [Str "Will",Space,Str "appear",Space,Str "because",Space,Str "it",Space,Str "is",Space,Str "the",Space,Str "ancestor",Space,Str "of",Space,Str "something",Space,Str "tagged",Space,Str "\"yes\""]
-,Header 2 ("will-appear",[],[]) [Str "Will",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","yes")]) [SmallCaps [Str "yes"]]]
-,Header 3 ("will-appear-since-the-entire-subtree-of-something-selected-will-appear",[],[]) [Str "Will",Space,Str "appear",Space,Str "since",Space,Str "the",Space,Str "entire",Space,Str "subtree",Space,Str "of",Space,Str "something",Space,Str "selected",Space,Str "will",Space,Str "appear"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Para [Str "Will",Space,Str "appear"]]]
-,Header 2 ("will-appear-because-it-is-the-ancestor-of-something-listed-in-select-tags",[],[]) [Str "Will",Space,Str "appear",Space,Str "because",Space,Str "it",Space,Str "is",Space,Str "the",Space,Str "ancestor",Space,Str "of",Space,Str "something",Space,Str "listed",Space,Str "in",Space,Str "SELECT-TAGS"]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1
+ ( "will-appear-because-it-is-the-ancestor-of-something-tagged-yes"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ancestor"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "tagged"
+ , Space
+ , Str "\"yes\""
+ ]
+ , Header
+ 2
+ ( "will-appear" , [] , [] )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "yes" ) ] )
+ [ SmallCaps [ Str "yes" ] ]
+ ]
+ , Header
+ 3
+ ( "will-appear-since-the-entire-subtree-of-something-selected-will-appear"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "since"
+ , Space
+ , Str "the"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "subtree"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "selected"
+ , Space
+ , Str "will"
+ , Space
+ , Str "appear"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Will" , Space , Str "appear" ] ] ]
+ , Header
+ 2
+ ( "will-appear-because-it-is-the-ancestor-of-something-listed-in-select-tags"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ancestor"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "listed"
+ , Space
+ , Str "in"
+ , Space
+ , Str "SELECT-TAGS"
+ ]
+ ]
diff --git a/test/pipe-tables.native b/test/pipe-tables.native
index 249eec17e..886a7e343 100644
--- a/test/pipe-tables.native
+++ b/test/pipe-tables.native
@@ -1,326 +1,927 @@
-[Para [Str "Simplest",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Headerless",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "sides:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Fruit"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Quantity"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "17"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "pear"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "302"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "One-column:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "hi"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "lo"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Header-less",Space,Str "one-column:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "hi"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Indented",Space,Str "left",Space,Str "column:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Number",Space,Str "of",Space,Str "siblings"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Salary"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "33"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "44"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Long",Space,Str "pipe",Space,Str "table",Space,Str "with",Space,Str "relative",Space,Str "widths:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.15517241379310345)
- ,(AlignDefault,ColWidth 0.1724137931034483)
- ,(AlignDefault,ColWidth 0.6724137931034483)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "table",Space,Str "cell"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "really",Space,Str "long",Space,Str "table",Space,Str "cell",Space,Str "that",Space,Str "will",Space,Str "probably",Space,Str "need",Space,Str "wrapping"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "no",Space,Str "body:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Header"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "tricky",Space,Str "cell",Space,Str "contents",Space,Str "(see",Space,Str "#2765):"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "IP_gene8-_1st"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "IP_gene8+_1st"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "IP_gene8-_1st"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1.0000000"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0.4357325"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "IP_gene8+_1st"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0.4357325"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1.0000000"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "foo",Code ("",[],[]) "bar|baz"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "and|escaped"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3.0000000"]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Para
+ [ Str "Simplest"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Headerless"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table" , Space , Str "without" , Space , Str "sides:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Quantity" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "17" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "pear" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "302" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para [ Str "One-column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "hi" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "lo" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para [ Str "Header-less" , Space , Str "one-column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "hi" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Indented" , Space , Str "left" , Space , Str "column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Number" , Space , Str "of" , Space , Str "siblings" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Salary" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "33" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "44" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Long"
+ , Space
+ , Str "pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "relative"
+ , Space
+ , Str "widths:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15517241379310345 )
+ , ( AlignDefault , ColWidth 0.1724137931034483 )
+ , ( AlignDefault , ColWidth 0.6724137931034483 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table"
+ , Space
+ , Str "cell"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "really"
+ , Space
+ , Str "long"
+ , Space
+ , Str "table"
+ , Space
+ , Str "cell"
+ , Space
+ , Str "that"
+ , Space
+ , Str "will"
+ , Space
+ , Str "probably"
+ , Space
+ , Str "need"
+ , Space
+ , Str "wrapping"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "body:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Header" ] ]
+ ]
+ ])
+ [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tricky"
+ , Space
+ , Str "cell"
+ , Space
+ , Str "contents"
+ , Space
+ , Str "(see"
+ , Space
+ , Str "#2765):"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8-_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8+_1st" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8-_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.0000000" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0.4357325" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8+_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0.4357325" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.0000000" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "foo" , Code ( "" , [] , [] ) "bar|baz" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "and|escaped" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3.0000000" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
diff --git a/test/pptx/background-image/input.native b/test/pptx/background-image/input.native
new file mode 100644
index 000000000..22b089a95
--- /dev/null
+++ b/test/pptx/background-image/input.native
@@ -0,0 +1,17 @@
+[Header 1 ("section-header-with-background-image",[],[("background-image","movie.jpg")]) [Str "Section",Space,Str "Header",Space,Str "(with",Space,Str "background",Space,Str "image)"]
+,Header 2 ("slide-1",[],[("background-image","lalune.jpg")]) [Str "Slide",Space,Str "1"]
+,Para [Str "This",Space,Str "slide",Space,Str "has",Space,Str "a",Space,Str "moon",Space,Str "background."]
+,Header 2 ("slide-2",[],[("background-image","movie.jpg")]) [Str "Slide",Space,Str "2"]
+,Para [Str "This",Space,Str "slide",Space,Str "has",Space,Str "a",Space,Str "movie",Space,Str "background."]
+,Header 2 ("slide-3",[],[("background-image","movie.jpg")]) [Str "Slide",Space,Str "3"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "Background",Space,Str "images",Space,Str "work",Space,Str "in",Space,Str "two-column",Space,Str "layout."]]
+ ,Div ("",["column"],[])
+ [Para [Str "hello"]]]
+,Header 2 ("slide-4",[],[("background-image","movie.jpg")]) [Str "Slide",Space,Str "4"]
+,Para [Str "You",Space,Str "can",Space,Str "have",Space,Str "images",Space,Str "on",Space,Str "slides",Space,Str "that",Space,Str "have",Space,Str "background",Space,Str "images:"]
+,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("lalune.jpg","fig:")]
+,Header 2 ("section",[],[("background-image","lalune.jpg")]) []
+,Div ("",["notes"],[])
+ [Para [Str "Blank",Space,Str "slides",Space,Str "can",Space,Str "have",Space,Str "background",Space,Str "images."]]]
diff --git a/test/pptx/background-image/output.pptx b/test/pptx/background-image/output.pptx
new file mode 100644
index 000000000..1e678e0a4
--- /dev/null
+++ b/test/pptx/background-image/output.pptx
Binary files differ
diff --git a/test/pptx/background-image/templated.pptx b/test/pptx/background-image/templated.pptx
new file mode 100644
index 000000000..0f2879022
--- /dev/null
+++ b/test/pptx/background-image/templated.pptx
Binary files differ
diff --git a/test/pptx/blanks/just-speaker-notes/input.native b/test/pptx/blanks/just-speaker-notes/input.native
new file mode 100644
index 000000000..d2e2cfbe2
--- /dev/null
+++ b/test/pptx/blanks/just-speaker-notes/input.native
@@ -0,0 +1,7 @@
+[Header 1 ("first-slide",[],[]) [Str "First",Space,Str "slide"]
+,Para [Str "Nothing",Space,Str "to",Space,Str "see",Space,Str "here"]
+,Header 1 ("section",[],[]) []
+,Div ("",["notes"],[])
+ [Para [Str "Some",Space,Str "notes",Space,Str "here:",Space,Str "this",Space,Str "first",Space,Str "slide",Space,Str "should",Space,Str "use",Space,Str "the",Space,Str "Blank",Space,Str "template"]]
+,Header 1 ("third-slide",[],[]) [Str "Third",Space,Str "slide"]
+,Para [Str "The",Space,Str "second",Space,Str "slide",Space,Str "should",Space,Str "be",Space,Str "blank"]]
diff --git a/test/pptx/blanks/just-speaker-notes/output.pptx b/test/pptx/blanks/just-speaker-notes/output.pptx
new file mode 100644
index 000000000..9a36ccf1f
--- /dev/null
+++ b/test/pptx/blanks/just-speaker-notes/output.pptx
Binary files differ
diff --git a/test/pptx/blanks/just-speaker-notes/templated.pptx b/test/pptx/blanks/just-speaker-notes/templated.pptx
new file mode 100644
index 000000000..f9eca6f8c
--- /dev/null
+++ b/test/pptx/blanks/just-speaker-notes/templated.pptx
Binary files differ
diff --git a/test/pptx/blanks/nbsp-in-body/input.native b/test/pptx/blanks/nbsp-in-body/input.native
new file mode 100644
index 000000000..56c105fb0
--- /dev/null
+++ b/test/pptx/blanks/nbsp-in-body/input.native
@@ -0,0 +1,6 @@
+[Header 1 ("first-slide",[],[]) [Str "First",Space,Str "slide"]
+,Para [Str "Uninteresting,",Space,Str "normal"]
+,Header 1 ("section",[],[]) []
+,Para [Str "\160"]
+,Header 1 ("third-slide",[],[]) [Str "Third",Space,Str "slide"]
+,Para [Str "Was",Space,Str "the",Space,Str "previous",Space,Str "one",Space,Str "blank?"]]
diff --git a/test/pptx/code-custom.pptx b/test/pptx/blanks/nbsp-in-body/output.pptx
index 5e9c2c630..08c764feb 100644
--- a/test/pptx/code-custom.pptx
+++ b/test/pptx/blanks/nbsp-in-body/output.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks_slide_level_1_templated.pptx b/test/pptx/blanks/nbsp-in-body/templated.pptx
index e2815159a..758502dd0 100644
--- a/test/pptx/slide_breaks_slide_level_1_templated.pptx
+++ b/test/pptx/blanks/nbsp-in-body/templated.pptx
Binary files differ
diff --git a/test/pptx/blanks/nbsp-in-heading/input.native b/test/pptx/blanks/nbsp-in-heading/input.native
new file mode 100644
index 000000000..a5c7fc1ca
--- /dev/null
+++ b/test/pptx/blanks/nbsp-in-heading/input.native
@@ -0,0 +1,5 @@
+[Header 1 ("first-slide",[],[]) [Str "First",Space,Str "slide"]
+,Para [Str "Uninteresting,",Space,Str "normal"]
+,Header 1 ("section",[],[]) [Str "\160"]
+,Header 1 ("third-slide",[],[]) [Str "Third",Space,Str "slide"]
+,Para [Str "Was",Space,Str "the",Space,Str "previous",Space,Str "one",Space,Str "blank?"]]
diff --git a/test/pptx/code.pptx b/test/pptx/blanks/nbsp-in-heading/output.pptx
index aab0cc6f5..08c764feb 100644
--- a/test/pptx/code.pptx
+++ b/test/pptx/blanks/nbsp-in-heading/output.pptx
Binary files differ
diff --git a/test/pptx/blanks/nbsp-in-heading/templated.pptx b/test/pptx/blanks/nbsp-in-heading/templated.pptx
new file mode 100644
index 000000000..758502dd0
--- /dev/null
+++ b/test/pptx/blanks/nbsp-in-heading/templated.pptx
Binary files differ
diff --git a/test/pptx/code-custom/output.pptx b/test/pptx/code-custom/output.pptx
new file mode 100644
index 000000000..1e5085e9c
--- /dev/null
+++ b/test/pptx/code-custom/output.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks_templated.pptx b/test/pptx/code-custom/templated.pptx
index 71ba99701..116865c1f 100644
--- a/test/pptx/slide_breaks_templated.pptx
+++ b/test/pptx/code-custom/templated.pptx
Binary files differ
diff --git a/test/pptx/code.native b/test/pptx/code/input.native
index be7f512f7..be7f512f7 100644
--- a/test/pptx/code.native
+++ b/test/pptx/code/input.native
diff --git a/test/pptx/code/output.pptx b/test/pptx/code/output.pptx
new file mode 100644
index 000000000..a3f31dfdc
--- /dev/null
+++ b/test/pptx/code/output.pptx
Binary files differ
diff --git a/test/pptx/code_templated.pptx b/test/pptx/code/templated.pptx
index a03109217..0d7db048f 100644
--- a/test/pptx/code_templated.pptx
+++ b/test/pptx/code/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/both-columns/input.native b/test/pptx/comparison/both-columns/input.native
new file mode 100644
index 000000000..2557880d4
--- /dev/null
+++ b/test/pptx/comparison/both-columns/input.native
@@ -0,0 +1,23 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.125)
+ ,(AlignDefault,ColWidth 0.125)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "plus"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "a",Space,Str "table"]]]])]
+ (TableFoot ("",[],[])
+ [])
+ ,Para [Str "Then",Space,Str "some",Space,Str "more",Space,Str "text"]]
+ ,Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Para [Image ("",[],[]) [Str "Plus",Space,Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]]]
diff --git a/test/pptx/comparison/both-columns/output.pptx b/test/pptx/comparison/both-columns/output.pptx
new file mode 100644
index 000000000..efb67f2e7
--- /dev/null
+++ b/test/pptx/comparison/both-columns/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/both-columns/templated.pptx b/test/pptx/comparison/both-columns/templated.pptx
new file mode 100644
index 000000000..945bc6dc4
--- /dev/null
+++ b/test/pptx/comparison/both-columns/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-image/input.native b/test/pptx/comparison/extra-image/input.native
new file mode 100644
index 000000000..34aeb8f2b
--- /dev/null
+++ b/test/pptx/comparison/extra-image/input.native
@@ -0,0 +1,24 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.125)
+ ,(AlignDefault,ColWidth 0.125)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "plus"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "a",Space,Str "table"]]]])]
+ (TableFoot ("",[],[])
+ [])
+ ,Para [Str "Then",Space,Str "some",Space,Str "more",Space,Str "text"]]
+ ,Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Para [Image ("",[],[]) [Str "Plus",Space,Str "an",Space,Str "image"] ("lalune.jpg","fig:")]
+ ,Para [Image ("",[],[]) [Str "And",Space,Str "another",Space,Str "image"] ("lalune.jpg","fig:")]]]]
diff --git a/test/pptx/comparison/extra-image/output.pptx b/test/pptx/comparison/extra-image/output.pptx
new file mode 100644
index 000000000..e26e5b49c
--- /dev/null
+++ b/test/pptx/comparison/extra-image/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-image/templated.pptx b/test/pptx/comparison/extra-image/templated.pptx
new file mode 100644
index 000000000..2e48ffe87
--- /dev/null
+++ b/test/pptx/comparison/extra-image/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-text/input.native b/test/pptx/comparison/extra-text/input.native
new file mode 100644
index 000000000..2557880d4
--- /dev/null
+++ b/test/pptx/comparison/extra-text/input.native
@@ -0,0 +1,23 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.125)
+ ,(AlignDefault,ColWidth 0.125)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "plus"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "a",Space,Str "table"]]]])]
+ (TableFoot ("",[],[])
+ [])
+ ,Para [Str "Then",Space,Str "some",Space,Str "more",Space,Str "text"]]
+ ,Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Para [Image ("",[],[]) [Str "Plus",Space,Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]]]
diff --git a/test/pptx/comparison/extra-text/output.pptx b/test/pptx/comparison/extra-text/output.pptx
new file mode 100644
index 000000000..efb67f2e7
--- /dev/null
+++ b/test/pptx/comparison/extra-text/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-text/templated.pptx b/test/pptx/comparison/extra-text/templated.pptx
new file mode 100644
index 000000000..debb62d52
--- /dev/null
+++ b/test/pptx/comparison/extra-text/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/non-text-first/input.native b/test/pptx/comparison/non-text-first/input.native
new file mode 100644
index 000000000..a8caad151
--- /dev/null
+++ b/test/pptx/comparison/non-text-first/input.native
@@ -0,0 +1,21 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.125)
+ ,(AlignDefault,ColWidth 0.125)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "a"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "table"]]]])]
+ (TableFoot ("",[],[])
+ [])
+ ,Para [Str "Plus",Space,Str "a",Space,Str "paragraph",Space,Str "here"]]
+ ,Div ("",["column"],[])
+ [Para [Image ("",[],[]) [Str "Just",Space,Str "an",Space,Str "image",Space,Str "on",Space,Str "this",Space,Str "side"] ("lalune.jpg","fig:")]]]]
diff --git a/test/pptx/comparison/non-text-first/output.pptx b/test/pptx/comparison/non-text-first/output.pptx
new file mode 100644
index 000000000..f36c53ddb
--- /dev/null
+++ b/test/pptx/comparison/non-text-first/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/non-text-first/templated.pptx b/test/pptx/comparison/non-text-first/templated.pptx
new file mode 100644
index 000000000..a19b469b1
--- /dev/null
+++ b/test/pptx/comparison/non-text-first/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/one-column/input.native b/test/pptx/comparison/one-column/input.native
new file mode 100644
index 000000000..b99740a14
--- /dev/null
+++ b/test/pptx/comparison/one-column/input.native
@@ -0,0 +1,21 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "A",Space,Str "paragraph",Space,Str "here"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.125)
+ ,(AlignDefault,ColWidth 0.125)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "plus"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "a",Space,Str "table"]]]])]
+ (TableFoot ("",[],[])
+ [])]
+ ,Div ("",["column"],[])
+ [Para [Str "Only",Space,Str "a",Space,Str "paragraph",Space,Str "here"]]]]
diff --git a/test/pptx/comparison/one-column/output.pptx b/test/pptx/comparison/one-column/output.pptx
new file mode 100644
index 000000000..8d9031ac8
--- /dev/null
+++ b/test/pptx/comparison/one-column/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/one-column/templated.pptx b/test/pptx/comparison/one-column/templated.pptx
new file mode 100644
index 000000000..fa5c2dc87
--- /dev/null
+++ b/test/pptx/comparison/one-column/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/heading-text-image/input.native b/test/pptx/content-with-caption/heading-text-image/input.native
new file mode 100644
index 000000000..576bc1658
--- /dev/null
+++ b/test/pptx/content-with-caption/heading-text-image/input.native
@@ -0,0 +1,3 @@
+[Header 1 ("a-slide",[],[]) [Str "A",Space,Str "slide"]
+,Para [Str "Some",Space,Str "text",Space,Str "here"]
+,Para [Image ("",[],[]) [Str "Followed",Space,Str "by",Space,Str "a",Space,Str "picture"] ("lalune.jpg","fig:")]]
diff --git a/test/pptx/content-with-caption/heading-text-image/output.pptx b/test/pptx/content-with-caption/heading-text-image/output.pptx
new file mode 100644
index 000000000..6802b7361
--- /dev/null
+++ b/test/pptx/content-with-caption/heading-text-image/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/heading-text-image/templated.pptx b/test/pptx/content-with-caption/heading-text-image/templated.pptx
new file mode 100644
index 000000000..059d4f460
--- /dev/null
+++ b/test/pptx/content-with-caption/heading-text-image/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/image-text/input.native b/test/pptx/content-with-caption/image-text/input.native
new file mode 100644
index 000000000..2ffbf0888
--- /dev/null
+++ b/test/pptx/content-with-caption/image-text/input.native
@@ -0,0 +1,2 @@
+[Para [Image ("",[],[]) [Str "The",Space,Str "picture",Space,Str "first"] ("lalune.jpg","fig:")]
+,Para [Str "Then",Space,Str "some",Space,Str "text",Space,Str "here"]]
diff --git a/test/pptx/content-with-caption/image-text/output.pptx b/test/pptx/content-with-caption/image-text/output.pptx
new file mode 100644
index 000000000..0bd64e340
--- /dev/null
+++ b/test/pptx/content-with-caption/image-text/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/image-text/templated.pptx b/test/pptx/content-with-caption/image-text/templated.pptx
new file mode 100644
index 000000000..a9c6aa43d
--- /dev/null
+++ b/test/pptx/content-with-caption/image-text/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/text-image/input.native b/test/pptx/content-with-caption/text-image/input.native
new file mode 100644
index 000000000..762d18426
--- /dev/null
+++ b/test/pptx/content-with-caption/text-image/input.native
@@ -0,0 +1,2 @@
+[Para [Str "Some",Space,Str "text",Space,Str "here"]
+,Para [Image ("",[],[]) [Str "Followed",Space,Str "by",Space,Str "a",Space,Str "picture"] ("lalune.jpg","fig:")]]
diff --git a/test/pptx/content-with-caption/text-image/output.pptx b/test/pptx/content-with-caption/text-image/output.pptx
new file mode 100644
index 000000000..a0d8806c0
--- /dev/null
+++ b/test/pptx/content-with-caption/text-image/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/text-image/templated.pptx b/test/pptx/content-with-caption/text-image/templated.pptx
new file mode 100644
index 000000000..185314bf4
--- /dev/null
+++ b/test/pptx/content-with-caption/text-image/templated.pptx
Binary files differ
diff --git a/test/pptx/document-properties-short-desc.native b/test/pptx/document-properties-short-desc/input.native
index fe3193dc1..fe3193dc1 100644
--- a/test/pptx/document-properties-short-desc.native
+++ b/test/pptx/document-properties-short-desc/input.native
diff --git a/test/pptx/document-properties-short-desc.pptx b/test/pptx/document-properties-short-desc/output.pptx
index de5e68151..418d158ca 100644
--- a/test/pptx/document-properties-short-desc.pptx
+++ b/test/pptx/document-properties-short-desc/output.pptx
Binary files differ
diff --git a/test/pptx/document-properties-short-desc_templated.pptx b/test/pptx/document-properties-short-desc/templated.pptx
index d39dc0c91..4feccdac7 100644
--- a/test/pptx/document-properties-short-desc_templated.pptx
+++ b/test/pptx/document-properties-short-desc/templated.pptx
Binary files differ
diff --git a/test/pptx/document-properties.native b/test/pptx/document-properties/input.native
index 59ca53f4d..59ca53f4d 100644
--- a/test/pptx/document-properties.native
+++ b/test/pptx/document-properties/input.native
diff --git a/test/pptx/document-properties.pptx b/test/pptx/document-properties/output.pptx
index 6bcbd1b9c..55ca48b5d 100644
--- a/test/pptx/document-properties.pptx
+++ b/test/pptx/document-properties/output.pptx
Binary files differ
diff --git a/test/pptx/document-properties_templated.pptx b/test/pptx/document-properties/templated.pptx
index 841ae8c42..df6acb70c 100644
--- a/test/pptx/document-properties_templated.pptx
+++ b/test/pptx/document-properties/templated.pptx
Binary files differ
diff --git a/test/pptx/endnotes_toc.pptx b/test/pptx/endnotes-toc/output.pptx
index a028b346f..a6cc2db24 100644
--- a/test/pptx/endnotes_toc.pptx
+++ b/test/pptx/endnotes-toc/output.pptx
Binary files differ
diff --git a/test/pptx/endnotes_toc_templated.pptx b/test/pptx/endnotes-toc/templated.pptx
index 38a0c437d..63b066f0d 100644
--- a/test/pptx/endnotes_toc_templated.pptx
+++ b/test/pptx/endnotes-toc/templated.pptx
Binary files differ
diff --git a/test/pptx/endnotes.native b/test/pptx/endnotes/input.native
index f6caeb62f..f6caeb62f 100644
--- a/test/pptx/endnotes.native
+++ b/test/pptx/endnotes/input.native
diff --git a/test/pptx/endnotes.pptx b/test/pptx/endnotes/output.pptx
index 9d46036fe..ea29cbcf8 100644
--- a/test/pptx/endnotes.pptx
+++ b/test/pptx/endnotes/output.pptx
Binary files differ
diff --git a/test/pptx/endnotes_templated.pptx b/test/pptx/endnotes/templated.pptx
index 863cc29d4..a97a7eed8 100644
--- a/test/pptx/endnotes_templated.pptx
+++ b/test/pptx/endnotes/templated.pptx
Binary files differ
diff --git a/test/pptx/footer/basic/output.pptx b/test/pptx/footer/basic/output.pptx
new file mode 100644
index 000000000..2af46108c
--- /dev/null
+++ b/test/pptx/footer/basic/output.pptx
Binary files differ
diff --git a/test/pptx/footer/basic/reference.pptx b/test/pptx/footer/basic/reference.pptx
new file mode 100644
index 000000000..61f926fa6
--- /dev/null
+++ b/test/pptx/footer/basic/reference.pptx
Binary files differ
diff --git a/test/pptx/footer/fixed-date/output.pptx b/test/pptx/footer/fixed-date/output.pptx
new file mode 100644
index 000000000..678ecdb87
--- /dev/null
+++ b/test/pptx/footer/fixed-date/output.pptx
Binary files differ
diff --git a/test/pptx/footer/fixed-date/reference.pptx b/test/pptx/footer/fixed-date/reference.pptx
new file mode 100644
index 000000000..78bd3ce0d
--- /dev/null
+++ b/test/pptx/footer/fixed-date/reference.pptx
Binary files differ
diff --git a/test/pptx/footer/higher-slide-number/output.pptx b/test/pptx/footer/higher-slide-number/output.pptx
new file mode 100644
index 000000000..651491107
--- /dev/null
+++ b/test/pptx/footer/higher-slide-number/output.pptx
Binary files differ
diff --git a/test/pptx/footer/higher-slide-number/reference.pptx b/test/pptx/footer/higher-slide-number/reference.pptx
new file mode 100644
index 000000000..6ada45399
--- /dev/null
+++ b/test/pptx/footer/higher-slide-number/reference.pptx
Binary files differ
diff --git a/test/pptx/footer/input.native b/test/pptx/footer/input.native
new file mode 100644
index 000000000..2c0ae5c06
--- /dev/null
+++ b/test/pptx/footer/input.native
@@ -0,0 +1,66 @@
+Pandoc (Meta {unMeta = fromList [("author",MetaInlines [Str "Me"]),("date",MetaInlines [Str "14/09/1995"]),("title",MetaInlines [Str "Slides"])]})
+[Header 2 ("slide-1",[],[]) [Str "Slide",Space,Str "1"]
+,Para [Str "Hello",Space,Str "there"]
+,Header 1 ("layouts",[],[]) [Str "Layouts"]
+,Header 2 ("slide-3",[],[]) [Str "Slide",Space,Str "3"]
+,Para [Str "Does",Space,Str "it",Space,Str "work",Space,Str "on",Space,Str "other",Space,Str "layouts?"]
+,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)
+ ,(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])
+,Header 2 ("slide-4",[],[]) [Str "Slide",Space,Str "4"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "hello",Space,Str "hello"]]
+ ,Div ("",["column"],[])
+ [Para [Str "goood",Space,Str "bye"]]]
+,Header 2 ("slide-5",[],[]) [Str "Slide",Space,Str "5"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "Hello",Space,Str "there"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)
+ ,(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])]
+ ,Div ("",["column"],[])
+ [Para [Str "oh",Space,Str "wait"]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)
+ ,(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])]]
+,Header 2 ("section",[],[]) []
+,Div ("",["notes"],[])
+ [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "blank",Space,Str "slide:",Space,Str "does",Space,Str "it",Space,Str "have",Space,Str "a",Space,Str "footer?"]]]
diff --git a/test/pptx/footer/no-title-slide/output.pptx b/test/pptx/footer/no-title-slide/output.pptx
new file mode 100644
index 000000000..c470cbb94
--- /dev/null
+++ b/test/pptx/footer/no-title-slide/output.pptx
Binary files differ
diff --git a/test/pptx/footer/no-title-slide/reference.pptx b/test/pptx/footer/no-title-slide/reference.pptx
new file mode 100644
index 000000000..ecd524a9b
--- /dev/null
+++ b/test/pptx/footer/no-title-slide/reference.pptx
Binary files differ
diff --git a/test/pptx/images.native b/test/pptx/images/input.native
index 54827e5cc..54827e5cc 100644
--- a/test/pptx/images.native
+++ b/test/pptx/images/input.native
diff --git a/test/pptx/images.pptx b/test/pptx/images/output.pptx
index 670a825de..098547e87 100644
--- a/test/pptx/images.pptx
+++ b/test/pptx/images/output.pptx
Binary files differ
diff --git a/test/pptx/images_templated.pptx b/test/pptx/images/templated.pptx
index 48ebf66d6..cad0b2f04 100644
--- a/test/pptx/images_templated.pptx
+++ b/test/pptx/images/templated.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/with-flag/input.native b/test/pptx/incremental-lists/with-flag/input.native
new file mode 100644
index 000000000..b690794dc
--- /dev/null
+++ b/test/pptx/incremental-lists/with-flag/input.native
@@ -0,0 +1,139 @@
+[Header 1 ("slide-1-content",[],[]) [Str "Slide",Space,Str "1",Space,Str "(Content)"]
+,BulletList
+ [[Plain [Str "These"]]
+ ,[Plain [Str "bullets"]]
+ ,[Plain [Str "should"]]
+ ,[Plain [Str "be"]]
+ ,[Plain [Str "incremental"]]]
+,Header 1 ("slide-2-content",[],[]) [Str "Slide",Space,Str "2",Space,Str "(Content)"]
+,BulletList
+ [[Para [Str "as"]]
+ ,[Para [Str "should"]]
+ ,[Para [Str "these"]]]
+,Header 1 ("slide-3-content",[],[]) [Str "Slide",Space,Str "3",Space,Str "(Content)"]
+,Para [Str "Even",Space,Str "with",Space,Str "some",Space,Str "text",Space,Str "first,",Space,Str "these",Space,Str "should:"]
+,BulletList
+ [[Plain [Str "also"]]
+ ,[Plain [Str "be"]]
+ ,[Plain [Str "incremental"]]]
+,Header 1 ("slide-4-content",[],[]) [Str "Slide",Space,Str "4",Space,Str "(Content)"]
+,OrderedList (1,Decimal,Period)
+ [[Plain [Str "These"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]]
+,Para [Str "But",Space,Str "this",Space,Str "text",Space,Str "isn\8217t"]
+,BulletList
+ [[Plain [Str "But"]]
+ ,[Plain [Str "these"]]
+ ,[Plain [Str "are"]]]
+,Header 1 ("slide-5-two-content",[],[]) [Str "Slide",Space,Str "5",Space,Str "(Two",Space,Str "Content)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "Incremental",Space,Str "on",Space,Str "the",Space,Str "left:"]
+ ,BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "by"]]
+ ,[Plain [Str "one"]]]
+ ,Para [Str "With",Space,Str "something",Space,Str "below"]]
+ ,Div ("",["column"],[])
+ [Para [Str "Incremental",Space,Str "on",Space,Str "the",Space,Str "right:"]
+ ,BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "by"]]
+ ,[Plain [Str "one"]]]
+ ,Para [Str "With",Space,Str "something",Space,Str "else",Space,Str "below"]]]
+,Header 1 ("slide-6-two-content-right",[],[]) [Str "Slide",Space,Str "6",Space,Str "(Two",Space,Str "Content",Space,Str "Right)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Image ("",[],[]) [Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [BulletList
+ [[Plain [Str "An"]]
+ ,[Plain [Str "Incremental"]]
+ ,[Plain [Str "List"]]]]]
+,Header 1 ("slide-7-content-with-caption",[],[]) [Str "Slide",Space,Str "7",Space,Str "(Content",Space,Str "with",Space,Str "Caption)"]
+,Para [Str "First,",Space,Str "we",Space,Str "have",Space,Str "some",Space,Str "incremental",Space,Str "bullets:"]
+,BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]
+,Para [Str "Then,",Space,Str "a",Space,Str "picture:"]
+,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("./lalune.jpg","fig:")]
+,Header 1 ("slide-8-comparison",[],[]) [Str "Slide",Space,Str "8",Space,Str "(Comparison)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]
+ ,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("./lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [OrderedList (1,Decimal,Period)
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]]])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])]]
+,Header 1 ("slide-9-content",[],[]) [Str "Slide",Space,Str "9",Space,Str "(Content)"]
+,Div ("",["nonincremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "not"]]
+ ,[Plain [Str "incremental"]]]]
+,BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]]
+,Header 1 ("slide-10-content",[],[]) [Str "Slide",Space,Str "10",Space,Str "(Content)"]
+,Div ("",["incremental","nonincremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]
+ ,[Plain [Str "(the",Space,Str "incremental",Space,Str "class",Space,Str "wins)"]]]]
+,Header 1 ("slide-11-content",[],[]) [Str "Slide",Space,Str "11",Space,Str "(Content)"]
+,Para [Str "These",Space,Str "bullets",Space,Str "are",Space,Str "not",Space,Str "incremental:"]
+,BlockQuote
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]
+,Para [Str "These",Space,Str "are:"]
+,Div ("",["nonincremental"],[])
+ [BlockQuote
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]]
+,Para [Str "These",Space,Str "are",Space,Str "not:"]
+,BlockQuote
+ [Div ("",["nonincremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]]
+,Header 1 ("slide-12-content",[],[]) [Str "Slide",Space,Str "12",Space,Str "(Content)"]
+,Div ("",["nonincremental"],[])
+ [Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]]]]
+,Div ("",["incremental"],[])
+ [Div ("",["nonincremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "not"]]]]]]
diff --git a/test/pptx/incremental-lists/with-flag/output.pptx b/test/pptx/incremental-lists/with-flag/output.pptx
new file mode 100644
index 000000000..230d29253
--- /dev/null
+++ b/test/pptx/incremental-lists/with-flag/output.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/with-flag/templated.pptx b/test/pptx/incremental-lists/with-flag/templated.pptx
new file mode 100644
index 000000000..263d9c355
--- /dev/null
+++ b/test/pptx/incremental-lists/with-flag/templated.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/without-flag/input.native b/test/pptx/incremental-lists/without-flag/input.native
new file mode 100644
index 000000000..87a4aea7e
--- /dev/null
+++ b/test/pptx/incremental-lists/without-flag/input.native
@@ -0,0 +1,137 @@
+[Header 1 ("slide-1-content",[],[]) [Str "Slide",Space,Str "1",Space,Str "(Content)"]
+,Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "These"]]
+ ,[Plain [Str "bullets"]]
+ ,[Plain [Str "should"]]
+ ,[Plain [Str "be"]]
+ ,[Plain [Str "incremental"]]]]
+,Header 1 ("slide-2-content",[],[]) [Str "Slide",Space,Str "2",Space,Str "(Content)"]
+,BulletList
+ [[Plain [Str "These"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "not"]]]
+,Header 1 ("slide-3-content",[],[]) [Str "Slide",Space,Str "3",Space,Str "(Content)"]
+,Para [Str "Even",Space,Str "with",Space,Str "some",Space,Str "text",Space,Str "first,",Space,Str "these",Space,Str "should:"]
+,Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "also"]]
+ ,[Plain [Str "be"]]
+ ,[Plain [Str "incremental"]]]]
+,Header 1 ("slide-4-content",[],[]) [Str "Slide",Space,Str "4",Space,Str "(Content)"]
+,Div ("",["incremental"],[])
+ [OrderedList (1,Decimal,Period)
+ [[Plain [Str "These"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]]]
+,Para [Str "But",Space,Str "this",Space,Str "text",Space,Str "isn\8217t"]
+,Header 1 ("slide-5-two-content",[],[]) [Str "Slide",Space,Str "5",Space,Str "(Two",Space,Str "Content)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "Incremental",Space,Str "on",Space,Str "the",Space,Str "left:"]
+ ,Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "by"]]
+ ,[Plain [Str "one"]]]]
+ ,Para [Str "With",Space,Str "something",Space,Str "below"]]
+ ,Div ("",["column"],[])
+ [Para [Str "Incremental",Space,Str "on",Space,Str "the",Space,Str "right:"]
+ ,Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "by"]]
+ ,[Plain [Str "one"]]]]
+ ,BulletList
+ [[Plain [Str "already"]]
+ ,[Plain [Str "here"]]
+ ,[Plain [Str "though"]]]]]
+,Header 1 ("slide-6-two-content-right",[],[]) [Str "Slide",Space,Str "6",Space,Str "(Two",Space,Str "Content",Space,Str "Right)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Image ("",[],[]) [Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "An"]]
+ ,[Plain [Str "Incremental"]]
+ ,[Plain [Str "List"]]]]]]
+,Header 1 ("slide-7-content-with-caption",[],[]) [Str "Slide",Space,Str "7",Space,Str "(Content",Space,Str "with",Space,Str "Caption)"]
+,Para [Str "First,",Space,Str "we",Space,Str "have",Space,Str "some",Space,Str "incremental",Space,Str "bullets:"]
+,Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]
+,Para [Str "Then,",Space,Str "a",Space,Str "picture:"]
+,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("./lalune.jpg","fig:")]
+,Header 1 ("slide-8-comparison",[],[]) [Str "Slide",Space,Str "8",Space,Str "(Comparison)"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]
+ ,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("./lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [Div ("",["incremental"],[])
+ [OrderedList (1,Decimal,Period)
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]
+ ,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]]])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])]]
+,Header 1 ("slide-10-content",[],[]) [Str "Slide",Space,Str "10",Space,Str "(Content)"]
+,Div ("",["incremental","nonincremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]
+ ,[Plain [Str "(the",Space,Str "incremental",Space,Str "class",Space,Str "wins)"]]]]
+,Header 1 ("slide-11-content",[],[]) [Str "Slide",Space,Str "11",Space,Str "(Content)"]
+,Para [Str "These",Space,Str "bullets",Space,Str "are",Space,Str "incremental:"]
+,BlockQuote
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]
+,Para [Str "These",Space,Str "are",Space,Str "not:"]
+,Div ("",["incremental"],[])
+ [BlockQuote
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]]
+,Para [Str "These",Space,Str "are:"]
+,BlockQuote
+ [Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "one"]]
+ ,[Plain [Str "two"]]
+ ,[Plain [Str "three"]]]]]
+,Header 1 ("slide-12-content",[],[]) [Str "Slide",Space,Str "12",Space,Str "(Content)"]
+,Div ("",["nonincremental"],[])
+ [Div ("",["incremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "incremental"]]]]]
+,Div ("",["incremental"],[])
+ [Div ("",["nonincremental"],[])
+ [BulletList
+ [[Plain [Str "these"]]
+ ,[Plain [Str "are"]]
+ ,[Plain [Str "not"]]]]]]
diff --git a/test/pptx/incremental-lists/without-flag/output.pptx b/test/pptx/incremental-lists/without-flag/output.pptx
new file mode 100644
index 000000000..450cd16ea
--- /dev/null
+++ b/test/pptx/incremental-lists/without-flag/output.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/without-flag/templated.pptx b/test/pptx/incremental-lists/without-flag/templated.pptx
new file mode 100644
index 000000000..e7ab48aa0
--- /dev/null
+++ b/test/pptx/incremental-lists/without-flag/templated.pptx
Binary files differ
diff --git a/test/pptx/inline_formatting.native b/test/pptx/inline-formatting/input.native
index 164176af2..164176af2 100644
--- a/test/pptx/inline_formatting.native
+++ b/test/pptx/inline-formatting/input.native
diff --git a/test/pptx/inline_formatting.pptx b/test/pptx/inline-formatting/output.pptx
index 473b9498d..7744b7d2e 100644
--- a/test/pptx/inline_formatting.pptx
+++ b/test/pptx/inline-formatting/output.pptx
Binary files differ
diff --git a/test/pptx/inline_formatting_templated.pptx b/test/pptx/inline-formatting/templated.pptx
index dd778a102..6930b785c 100644
--- a/test/pptx/inline_formatting_templated.pptx
+++ b/test/pptx/inline-formatting/templated.pptx
Binary files differ
diff --git a/test/pptx/layouts/deleted.pptx b/test/pptx/layouts/deleted.pptx
new file mode 100644
index 000000000..f7116b2f4
--- /dev/null
+++ b/test/pptx/layouts/deleted.pptx
Binary files differ
diff --git a/test/pptx/layouts/input.native b/test/pptx/layouts/input.native
new file mode 100644
index 000000000..0cee2d14e
--- /dev/null
+++ b/test/pptx/layouts/input.native
@@ -0,0 +1,23 @@
+Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "Testing",Space,Str "Layouts"])]})
+[Header 2 ("slide-1",[],[]) [Str "Slide",Space,Str "1"]
+,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "title",Space,Str "and",Space,Str "content",Space,Str "slide"]
+,Header 2 ("slide-2",[],[]) [Str "Slide",Space,Str "2"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "This"]]
+ ,Div ("",["column"],[])
+ [Para [Str "\8230is",Space,Str "a",Space,Str "two-column",Space,Str "slide"]]]
+,Header 2 ("slide-3",[],[]) [Str "Slide",Space,Str "3"]
+,Para [Str "This",Space,Str "slide",Space,Str "is",Space,Str "a",Space,Str "Content",Space,Str "with",Space,Str "Caption",Space,Str "slide"]
+,Para [Image ("",[],[]) [Str "Content"] ("lalune.jpg","fig:")]
+,Header 2 ("slide-4",[],[]) [Str "Slide",Space,Str "4"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "This",Space,Str "slide",Space,Str "is",Space,Str "a",Space,Str "Comparison",Space,Str "slide:"]
+ ,Para [Image ("",[],[]) [Str "Content"] ("lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "other",Space,Str "text"]]]
+,Header 1 ("section-header",[],[]) [Str "Section",Space,Str "header"]
+,Header 2 ("section",[],[]) []
+,Div ("",["notes"],[])
+ [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "blank",Space,Str "slide"]]]
diff --git a/test/pptx/layouts/moved.pptx b/test/pptx/layouts/moved.pptx
new file mode 100644
index 000000000..e41465a86
--- /dev/null
+++ b/test/pptx/layouts/moved.pptx
Binary files differ
diff --git a/test/pptx/list-level/input.native b/test/pptx/list-level/input.native
new file mode 100644
index 000000000..e0b36b8e5
--- /dev/null
+++ b/test/pptx/list-level/input.native
@@ -0,0 +1,20 @@
+[Header 1 ("slide",[],[]) [Str "Slide"]
+,BulletList
+ [[Para [Str "Top-level"]
+ ,Para [Str "With",Space,Str "continuation",Space,Str "paragraph"]]
+ ,[Para [Str "Then:"]
+ ,BulletList
+ [[Plain [Str "nested"]]
+ ,[Plain [Str "list"]]
+ ,[Plain [Str "items"]]]]]
+,Header 1 ("slide-1",[],[]) [Str "Slide"]
+,Para [Str "Paragraph."]
+,OrderedList (1,Decimal,Period)
+ [[Para [Str "Top-level"]
+ ,Para [Str "Continuation"]
+ ,OrderedList (1,Decimal,Period)
+ [[Para [Str "Sub-list"]
+ ,Para [Str "With",Space,Str "Continuation"]]
+ ,[Para [Str "(still",Space,Str "sub-list)"]]]]
+ ,[Para [Str "(back",Space,Str "to",Space,Str "top-level)"]]]
+,Para [Str "Paragraph."]]
diff --git a/test/pptx/lists.pptx b/test/pptx/list-level/output.pptx
index ffc2eb9f7..02c609b40 100644
--- a/test/pptx/lists.pptx
+++ b/test/pptx/list-level/output.pptx
Binary files differ
diff --git a/test/pptx/tables_templated.pptx b/test/pptx/list-level/templated.pptx
index 0a8c3e8d9..a7b23ccf9 100644
--- a/test/pptx/tables_templated.pptx
+++ b/test/pptx/list-level/templated.pptx
Binary files differ
diff --git a/test/pptx/lists.native b/test/pptx/lists/input.native
index 61249c7fe..61249c7fe 100644
--- a/test/pptx/lists.native
+++ b/test/pptx/lists/input.native
diff --git a/test/pptx/tables.pptx b/test/pptx/lists/output.pptx
index e41219844..857a3e28c 100644
--- a/test/pptx/tables.pptx
+++ b/test/pptx/lists/output.pptx
Binary files differ
diff --git a/test/pptx/lists_templated.pptx b/test/pptx/lists/templated.pptx
index 2493e7890..5510a7123 100644
--- a/test/pptx/lists_templated.pptx
+++ b/test/pptx/lists/templated.pptx
Binary files differ
diff --git a/test/pptx/pauses/without-incremental/output.pptx b/test/pptx/pauses/without-incremental/output.pptx
new file mode 100644
index 000000000..9085db330
--- /dev/null
+++ b/test/pptx/pauses/without-incremental/output.pptx
Binary files differ
diff --git a/test/pptx/pauses/without-incremental/templated.pptx b/test/pptx/pauses/without-incremental/templated.pptx
new file mode 100644
index 000000000..6662e2451
--- /dev/null
+++ b/test/pptx/pauses/without-incremental/templated.pptx
Binary files differ
diff --git a/test/pptx/raw_ooxml.native b/test/pptx/raw-ooxml/input.native
index ae5bdd140..ae5bdd140 100644
--- a/test/pptx/raw_ooxml.native
+++ b/test/pptx/raw-ooxml/input.native
diff --git a/test/pptx/raw_ooxml.pptx b/test/pptx/raw-ooxml/output.pptx
index 29164af15..1813bbd28 100644
--- a/test/pptx/raw_ooxml.pptx
+++ b/test/pptx/raw-ooxml/output.pptx
Binary files differ
diff --git a/test/pptx/raw_ooxml_templated.pptx b/test/pptx/raw-ooxml/templated.pptx
index 0f20f9826..1dd23da2e 100644
--- a/test/pptx/raw_ooxml_templated.pptx
+++ b/test/pptx/raw-ooxml/templated.pptx
Binary files differ
diff --git a/test/pptx/reference-deleted-layouts.pptx b/test/pptx/reference-deleted-layouts.pptx
new file mode 100644
index 000000000..a9a74ecd5
--- /dev/null
+++ b/test/pptx/reference-deleted-layouts.pptx
Binary files differ
diff --git a/test/pptx/reference_depth.pptx b/test/pptx/reference-depth.pptx
index 97f444788..97f444788 100644
--- a/test/pptx/reference_depth.pptx
+++ b/test/pptx/reference-depth.pptx
Binary files differ
diff --git a/test/pptx/reference-moved-layouts.pptx b/test/pptx/reference-moved-layouts.pptx
new file mode 100644
index 000000000..72c4f3fd7
--- /dev/null
+++ b/test/pptx/reference-moved-layouts.pptx
Binary files differ
diff --git a/test/pptx/remove_empty_slides.native b/test/pptx/remove-empty-slides/input.native
index 51c042281..51c042281 100644
--- a/test/pptx/remove_empty_slides.native
+++ b/test/pptx/remove-empty-slides/input.native
diff --git a/test/pptx/remove-empty-slides/output.pptx b/test/pptx/remove-empty-slides/output.pptx
new file mode 100644
index 000000000..d0d5e824c
--- /dev/null
+++ b/test/pptx/remove-empty-slides/output.pptx
Binary files differ
diff --git a/test/pptx/remove-empty-slides/templated.pptx b/test/pptx/remove-empty-slides/templated.pptx
new file mode 100644
index 000000000..c730b2103
--- /dev/null
+++ b/test/pptx/remove-empty-slides/templated.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks_slide_level_1.pptx b/test/pptx/slide-breaks-slide-level-1/output.pptx
index 449339778..d443bc04e 100644
--- a/test/pptx/slide_breaks_slide_level_1.pptx
+++ b/test/pptx/slide-breaks-slide-level-1/output.pptx
Binary files differ
diff --git a/test/pptx/code-custom_templated.pptx b/test/pptx/slide-breaks-slide-level-1/templated.pptx
index 0e640f373..ca2e844cc 100644
--- a/test/pptx/code-custom_templated.pptx
+++ b/test/pptx/slide-breaks-slide-level-1/templated.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks_toc.pptx b/test/pptx/slide-breaks-toc/output.pptx
index 9dbfa41a0..e24b45e12 100644
--- a/test/pptx/slide_breaks_toc.pptx
+++ b/test/pptx/slide-breaks-toc/output.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks_toc_templated.pptx b/test/pptx/slide-breaks-toc/templated.pptx
index b83f3f596..0a2bdb857 100644
--- a/test/pptx/slide_breaks_toc_templated.pptx
+++ b/test/pptx/slide-breaks-toc/templated.pptx
Binary files differ
diff --git a/test/pptx/slide_breaks.native b/test/pptx/slide-breaks/input.native
index 084c61737..084c61737 100644
--- a/test/pptx/slide_breaks.native
+++ b/test/pptx/slide-breaks/input.native
diff --git a/test/pptx/slide_breaks.pptx b/test/pptx/slide-breaks/output.pptx
index e06d9079d..a5208ecf8 100644
--- a/test/pptx/slide_breaks.pptx
+++ b/test/pptx/slide-breaks/output.pptx
Binary files differ
diff --git a/test/pptx/slide-breaks/templated.pptx b/test/pptx/slide-breaks/templated.pptx
new file mode 100644
index 000000000..5bf186f4e
--- /dev/null
+++ b/test/pptx/slide-breaks/templated.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-h2-with-table/input.native b/test/pptx/slide-level-0/h1-h2-with-table/input.native
new file mode 100644
index 000000000..c6e65ecf5
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-h2-with-table/input.native
@@ -0,0 +1,14 @@
+[Header 1 ("hello",[],[]) [Str "Hello"]
+,Header 2 ("there",[],[]) [Str "There"]
+,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]]])]
+ (TableFoot ("",[],[])
+ [])]
diff --git a/test/pptx/slide-level-0/h1-h2-with-table/output.pptx b/test/pptx/slide-level-0/h1-h2-with-table/output.pptx
new file mode 100644
index 000000000..bd772d44e
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-h2-with-table/output.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-h2-with-table/templated.pptx b/test/pptx/slide-level-0/h1-h2-with-table/templated.pptx
new file mode 100644
index 000000000..b270d2d4f
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-h2-with-table/templated.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-with-image/input.native b/test/pptx/slide-level-0/h1-with-image/input.native
new file mode 100644
index 000000000..0f5033b54
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-with-image/input.native
@@ -0,0 +1,2 @@
+[Header 1 ("hello",[],[]) [Str "Hello"]
+,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("lalune.jpg","fig:")]]
diff --git a/test/pptx/remove_empty_slides.pptx b/test/pptx/slide-level-0/h1-with-image/output.pptx
index c6df8e18e..1102f549c 100644
--- a/test/pptx/remove_empty_slides.pptx
+++ b/test/pptx/slide-level-0/h1-with-image/output.pptx
Binary files differ
diff --git a/test/pptx/remove_empty_slides_templated.pptx b/test/pptx/slide-level-0/h1-with-image/templated.pptx
index 1df48c5ad..7a023480f 100644
--- a/test/pptx/remove_empty_slides_templated.pptx
+++ b/test/pptx/slide-level-0/h1-with-image/templated.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-with-table/input.native b/test/pptx/slide-level-0/h1-with-table/input.native
new file mode 100644
index 000000000..b961e900d
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-with-table/input.native
@@ -0,0 +1,13 @@
+[Header 1 ("hello",[],[]) [Str "Hello"]
+,Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 5.555555555555555e-2)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]]])]
+ (TableFoot ("",[],[])
+ [])]
diff --git a/test/pptx/slide-level-0/h1-with-table/output.pptx b/test/pptx/slide-level-0/h1-with-table/output.pptx
new file mode 100644
index 000000000..c0bc6b162
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-with-table/output.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-with-table/templated.pptx b/test/pptx/slide-level-0/h1-with-table/templated.pptx
new file mode 100644
index 000000000..eb2a78647
--- /dev/null
+++ b/test/pptx/slide-level-0/h1-with-table/templated.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h2-with-image/input.native b/test/pptx/slide-level-0/h2-with-image/input.native
new file mode 100644
index 000000000..5def0cb92
--- /dev/null
+++ b/test/pptx/slide-level-0/h2-with-image/input.native
@@ -0,0 +1,2 @@
+[Header 2 ("hello",[],[]) [Str "Hello"]
+,Para [Image ("",[],[]) [Str "An",Space,Str "image"] ("lalune.jpg","fig:")]]
diff --git a/test/pptx/slide-level-0/h2-with-image/output.pptx b/test/pptx/slide-level-0/h2-with-image/output.pptx
new file mode 100644
index 000000000..1102f549c
--- /dev/null
+++ b/test/pptx/slide-level-0/h2-with-image/output.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h2-with-image/templated.pptx b/test/pptx/slide-level-0/h2-with-image/templated.pptx
new file mode 100644
index 000000000..7a023480f
--- /dev/null
+++ b/test/pptx/slide-level-0/h2-with-image/templated.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_after_metadata.native b/test/pptx/speaker-notes-after-metadata/input.native
index 6fda4b1ab..6fda4b1ab 100644
--- a/test/pptx/speaker_notes_after_metadata.native
+++ b/test/pptx/speaker-notes-after-metadata/input.native
diff --git a/test/pptx/speaker_notes_after_metadata.pptx b/test/pptx/speaker-notes-after-metadata/output.pptx
index 6343bffe4..4e5635e0c 100644
--- a/test/pptx/speaker_notes_after_metadata.pptx
+++ b/test/pptx/speaker-notes-after-metadata/output.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_after_metadata_templated.pptx b/test/pptx/speaker-notes-after-metadata/templated.pptx
index 8d27c4c68..fd95c935e 100644
--- a/test/pptx/speaker_notes_after_metadata_templated.pptx
+++ b/test/pptx/speaker-notes-after-metadata/templated.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_afterheader.native b/test/pptx/speaker-notes-afterheader/input.native
index 0f7dd95d7..0f7dd95d7 100644
--- a/test/pptx/speaker_notes_afterheader.native
+++ b/test/pptx/speaker-notes-afterheader/input.native
diff --git a/test/pptx/speaker_notes_afterheader.pptx b/test/pptx/speaker-notes-afterheader/output.pptx
index d581681aa..f59b29f6a 100644
--- a/test/pptx/speaker_notes_afterheader.pptx
+++ b/test/pptx/speaker-notes-afterheader/output.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_afterheader_templated.pptx b/test/pptx/speaker-notes-afterheader/templated.pptx
index d8d8481df..b85f22961 100644
--- a/test/pptx/speaker_notes_afterheader_templated.pptx
+++ b/test/pptx/speaker-notes-afterheader/templated.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_afterseps.native b/test/pptx/speaker-notes-afterseps/input.native
index 4fd7b1ccb..4fd7b1ccb 100644
--- a/test/pptx/speaker_notes_afterseps.native
+++ b/test/pptx/speaker-notes-afterseps/input.native
diff --git a/test/pptx/speaker_notes_afterseps.pptx b/test/pptx/speaker-notes-afterseps/output.pptx
index 13f564bf0..aad79e3dc 100644
--- a/test/pptx/speaker_notes_afterseps.pptx
+++ b/test/pptx/speaker-notes-afterseps/output.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_afterseps_templated.pptx b/test/pptx/speaker-notes-afterseps/templated.pptx
index 9c22eaf38..3b272ab1b 100644
--- a/test/pptx/speaker_notes_afterseps_templated.pptx
+++ b/test/pptx/speaker-notes-afterseps/templated.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes.native b/test/pptx/speaker-notes/input.native
index 4eeca2107..4eeca2107 100644
--- a/test/pptx/speaker_notes.native
+++ b/test/pptx/speaker-notes/input.native
diff --git a/test/pptx/speaker_notes.pptx b/test/pptx/speaker-notes/output.pptx
index 0ab1302da..7b44c50c2 100644
--- a/test/pptx/speaker_notes.pptx
+++ b/test/pptx/speaker-notes/output.pptx
Binary files differ
diff --git a/test/pptx/speaker_notes_templated.pptx b/test/pptx/speaker-notes/templated.pptx
index 930377fbf..f35bf5d88 100644
--- a/test/pptx/speaker_notes_templated.pptx
+++ b/test/pptx/speaker-notes/templated.pptx
Binary files differ
diff --git a/test/pptx/start_numbering_at.native b/test/pptx/start-numbering-at/input.native
index ecffbb0ef..ecffbb0ef 100644
--- a/test/pptx/start_numbering_at.native
+++ b/test/pptx/start-numbering-at/input.native
diff --git a/test/pptx/start_numbering_at.pptx b/test/pptx/start-numbering-at/output.pptx
index 4320128b3..e08d300e5 100644
--- a/test/pptx/start_numbering_at.pptx
+++ b/test/pptx/start-numbering-at/output.pptx
Binary files differ
diff --git a/test/pptx/start_numbering_at_templated.pptx b/test/pptx/start-numbering-at/templated.pptx
index efc56ac7a..30a097eb8 100644
--- a/test/pptx/start_numbering_at_templated.pptx
+++ b/test/pptx/start-numbering-at/templated.pptx
Binary files differ
diff --git a/test/pptx/tables.native b/test/pptx/tables/input.native
index 27b843f2b..27b843f2b 100644
--- a/test/pptx/tables.native
+++ b/test/pptx/tables/input.native
diff --git a/test/pptx/tables/output.pptx b/test/pptx/tables/output.pptx
new file mode 100644
index 000000000..407062ca3
--- /dev/null
+++ b/test/pptx/tables/output.pptx
Binary files differ
diff --git a/test/pptx/tables/templated.pptx b/test/pptx/tables/templated.pptx
new file mode 100644
index 000000000..7259e15dd
--- /dev/null
+++ b/test/pptx/tables/templated.pptx
Binary files differ
diff --git a/test/pptx/two_column.native b/test/pptx/two-column/all-text/input.native
index 086f74889..086f74889 100644
--- a/test/pptx/two_column.native
+++ b/test/pptx/two-column/all-text/input.native
diff --git a/test/pptx/two_column.pptx b/test/pptx/two-column/all-text/output.pptx
index 270a7eeac..8a1dce949 100644
--- a/test/pptx/two_column.pptx
+++ b/test/pptx/two-column/all-text/output.pptx
Binary files differ
diff --git a/test/pptx/two_column_templated.pptx b/test/pptx/two-column/all-text/templated.pptx
index 6d9470372..01a3cdb0c 100644
--- a/test/pptx/two_column_templated.pptx
+++ b/test/pptx/two-column/all-text/templated.pptx
Binary files differ
diff --git a/test/pptx/two-column/text-and-image/input.native b/test/pptx/two-column/text-and-image/input.native
new file mode 100644
index 000000000..796c2c7f4
--- /dev/null
+++ b/test/pptx/two-column/text-and-image/input.native
@@ -0,0 +1,12 @@
+[Header 1 ("slide-1",[],[]) [Str "Slide",Space,Str "1"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Image ("",[],[]) [Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]
+ ,Div ("",["column"],[])
+ [Para [Str "This",Space,Str "should",Space,Str "use",Space,Str "Two",Space,Str "Content,",Space,Emph [Str "not"],Space,Str "Comparison!"]]]
+,Header 1 ("slide-2",[],[]) [Str "Slide",Space,Str "2"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[])
+ [Para [Str "This",Space,Str "should",Space,Str "also",Space,Str "use",Space,Str "Two",Space,Str "Content"]]
+ ,Div ("",["column"],[])
+ [Para [Image ("",[],[]) [Str "an",Space,Str "image"] ("lalune.jpg","fig:")]]]]
diff --git a/test/pptx/two-column/text-and-image/output.pptx b/test/pptx/two-column/text-and-image/output.pptx
new file mode 100644
index 000000000..e45bf3d58
--- /dev/null
+++ b/test/pptx/two-column/text-and-image/output.pptx
Binary files differ
diff --git a/test/pptx/two-column/text-and-image/templated.pptx b/test/pptx/two-column/text-and-image/templated.pptx
new file mode 100644
index 000000000..5cae9b43b
--- /dev/null
+++ b/test/pptx/two-column/text-and-image/templated.pptx
Binary files differ
diff --git a/test/rst-reader.native b/test/rst-reader.native
index 9f8d5ab3e..d3e7f6caa 100644
--- a/test/rst-reader.native
+++ b/test/rst-reader.native
@@ -1,443 +1,1725 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("revision",MetaBlocks [Para [Str "3"]]),("subtitle",MetaInlines [Str "Subtitle"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Header 1 ("level-one-header",[],[]) [Str "Level",Space,Str "one",Space,Str "header"]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",SoftBreak,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,Header 2 ("level-two-header",[],[]) [Str "Level",Space,Str "two",Space,Str "header"]
-,Header 3 ("level-three",[],[]) [Str "Level",Space,Str "three"]
-,Header 4 ("level-four-with-emphasis",[],[]) [Str "Level",Space,Str "four",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 5 ("level-five",[],[]) [Str "Level",Space,Str "five"]
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",SoftBreak,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",SoftBreak,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",SoftBreak,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",SoftBreak,Str "list",Space,Str "item."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",SoftBreak,Str "*",Space,Str "criminey."]
-,Para [Str "Horizontal",Space,Str "rule:"]
-,HorizontalRule
-,Para [Str "Another:"]
-,HorizontalRule
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "block",Space,Str "quote:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,Para [Str "Here\8217s",Space,Str "another,",Space,Str "differently",Space,Str "indented:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It\8217s",Space,Str "indented",Space,Str "with",Space,Str "a",Space,Str "tab."]
- ,Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "List",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "item",Space,Str "one"]]
- ,[Plain [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]
- ,BlockQuote
- [Para [Str "nested"]]]]
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
-,CodeBlock ("",[],[]) "this code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,Para [Str "And:"]
-,CodeBlock ("",["python"],[]) "def my_function(x):\n return x + 1"
-,Para [Str "If",Space,Str "we",Space,Str "use",Space,Str "the",Space,Str "highlight",Space,Str "directive,",Space,Str "we",Space,Str "can",Space,Str "specify",Space,Str "a",Space,Str "default",Space,Str "language",SoftBreak,Str "for",Space,Str "literate",Space,Str "blocks."]
-,CodeBlock ("",["haskell"],[]) "-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
-,CodeBlock ("",["haskell"],[]) "-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
-,CodeBlock ("",["javascript"],[]) "-- this code is in javascript\nlet f = (x, y) => x + y"
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Plus",Space,Str "1"]]
- ,[Plain [Str "Plus",Space,Str "2"]]
- ,[Plain [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Plain [Str "Plus",Space,Str "1"]]
- ,[Plain [Str "Plus",Space,Str "2"]]
- ,[Plain [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Minus",Space,Str "1"]]
- ,[Plain [Str "Minus",Space,Str "2"]]
- ,[Plain [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Plain [Str "Minus",Space,Str "1"]]
- ,[Plain [Str "Minus",Space,Str "2"]]
- ,[Plain [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "One"]]
- ,[Plain [Str "Two"]]
- ,[Plain [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "One"]]
- ,[Plain [Str "Two"]]
- ,[Plain [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Para [Str "Nested:"]
-,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BlockQuote
- [BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,TwoParens)
- [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,Period)
- [[Plain [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Plain [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,TwoParens)
- [[Plain [Str "a",Space,Str "subsublist"]]
- ,[Plain [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,Period)
- [[Plain [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,Period)
- [[Plain [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,TwoParens)
- [[Plain [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,OneParen)
- [[Plain [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Autonumber."]]
- ,[Plain [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Nested."]]]]]
-,Para [Str "Autonumbering",Space,Str "with",Space,Str "explicit",Space,Str "start:"]
-,OrderedList (4,LowerAlpha,TwoParens)
- [[Plain [Str "item",Space,Str "1"]]
- ,[Plain [Str "item",Space,Str "2"]]]
-,Header 2 ("definition",[],[]) [Str "Definition"]
-,DefinitionList
- [([Str "term",Space,Str "1"],
- [[Para [Str "Definition",Space,Str "1."]]])
- ,([Str "term",Space,Str "2"],
- [[Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "1."]
- ,Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "2."]]])
- ,([Str "term",Space,Str "with",Space,Emph [Str "emphasis"]],
- [[Para [Str "Definition",Space,Str "3."]]])]
-,Header 1 ("field-lists",[],[]) [Str "Field",Space,Str "Lists"]
-,BlockQuote
- [DefinitionList
- [([Str "address"],
- [[Para [Str "61",Space,Str "Main",Space,Str "St."]]])
- ,([Str "city"],
- [[Para [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",SoftBreak,Str "USA"]]])
- ,([Str "phone"],
- [[Para [Str "123-4567"]]])]]
-,DefinitionList
- [([Str "address"],
- [[Para [Str "61",Space,Str "Main",Space,Str "St."]]])
- ,([Str "city"],
- [[Para [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",SoftBreak,Str "USA"]]])
- ,([Str "phone"],
- [[Para [Str "123-4567"]]])]
-,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
-,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
-,RawBlock (Format "html") "<div>foo</div>"
-,Para [Str "Now,",Space,Str "nested:"]
-,RawBlock (Format "html") "<div>\n <div>\n <div>\n foo\n </div>\n </div>\n</div>"
-,Header 1 ("latex-block",[],[]) [Str "LaTeX",Space,Str "Block"]
-,RawBlock (Format "latex") "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ".",Space,Str "This",Space,Str "is",Space,Strong [Str "strong"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
-,Para [Str "This",Space,Str "is",Subscript [Str "subscripted"],Space,Str "and",Space,Str "this",Space,Str "is",Space,Superscript [Str "superscripted"],Str "."]
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Plain [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Plain [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Plain [Str "section:",Space,Str "\167"]]
- ,[Plain [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Plain [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,Header 1 ("links",[],[]) [Str "Links"]
-,Para [Str "Explicit:",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Str "Explicit",Space,Str "with",Space,Str "no",Space,Str "label:",Space,Link ("",[],[]) [Str "foo"] ("foo",""),Str "."]
-,Para [Str "Two",Space,Str "anonymous",Space,Str "links:",Space,Link ("",[],[]) [Str "the",Space,Str "first"] ("/url1/",""),Space,Str "and",Space,Link ("",[],[]) [Str "the",Space,Str "second"] ("/url2/","")]
-,Para [Str "Reference",Space,Str "links:",Space,Link ("",[],[]) [Str "link1"] ("/url1/",""),Space,Str "and",Space,Link ("",[],[]) [Str "link2"] ("/url2/",""),Space,Str "and",Space,Link ("",[],[]) [Str "link1"] ("/url1/",""),Space,Str "again."]
-,Para [Str "Another",Space,Link ("",[],[]) [Str "style",Space,Str "of",Space,Str "reference",Space,Str "link"] ("/url1/",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("/url/",""),Str "."]
-,Para [Str "Autolinks:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2",""),Space,Str "and",Space,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net",""),Str "."]
-,Para [Str "But",Space,Str "not",Space,Str "here:"]
-,CodeBlock ("",[],[]) "http://example.com/"
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "image"] ("lalune.jpg","")]
-,Para [Image ("",[],[("height","2343px")]) [Str "Voyage dans la Lune"] ("lalune.jpg","")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "movie"] ("movie.jpg",""),Space,Str "icon."]
-,Para [Str "And",Space,Str "an",Space,Link ("",[],[]) [Image ("",[],[]) [Str "A movie"] ("movie.jpg","")] ("/url",""),Str "."]
-,Header 1 ("comments",[],[]) [Str "Comments"]
-,Para [Str "First",Space,Str "paragraph"]
-,Para [Str "Another",Space,Str "paragraph"]
-,Para [Str "A",Space,Str "third",Space,Str "paragraph"]
-,Header 1 ("line-blocks",[],[]) [Str "Line",Space,Str "blocks"]
-,LineBlock
- [[Str "But",Space,Str "can",Space,Str "a",Space,Str "bee",Space,Str "be",Space,Str "said",Space,Str "to",Space,Str "be"]
- ,[Str "\160\160\160\160or",Space,Str "not",Space,Str "to",Space,Str "be",Space,Str "an",Space,Str "entire",Space,Str "bee,"]
- ,[Str "\160\160\160\160\160\160\160\160when",Space,Str "half",Space,Str "the",Space,Str "bee",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "bee,"]
- ,[Str "\160\160\160\160\160\160\160\160\160\160\160\160due",Space,Str "to",Space,Str "some",Space,Str "ancient",Space,Str "injury?"]
- ,[]
- ,[Str "Continuation",Space,Str "line"]
- ,[Str "\160\160and",Space,Str "another"]]
-,Header 1 ("simple-tables",[],[]) [Str "Simple",Space,Str "Tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Headless"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 1 ("grid-tables",[],[]) [Str "Grid",Space,Str "Tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2375)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.1625)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "col",Space,Str "3"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Headless"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2375)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.1625)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Spaces",Space,Str "at",Space,Str "ends",Space,Str "of",Space,Str "lines"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2375)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.1625)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "r2",Space,Str "d"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "in",Space,Str "a",Space,Str "cell"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.2375)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.1625)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Para [Str "r1",Space,Str "a"]
- ,Para [Str "r1",Space,Str "bis"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [BulletList
- [[Plain [Str "b"]]
- ,[Plain [Str "b",Space,Str "2"]]
- ,[Plain [Str "b",Space,Str "2"]]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c",SoftBreak,Str "c",Space,Str "2",SoftBreak,Str "c",Space,Str "2"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Note [Para [Str "Note",Space,Str "with",Space,Str "one",Space,Str "line."]]]
-,Para [Note [Para [Str "Note",Space,Str "with",SoftBreak,Str "continuation",Space,Str "line."]]]
-,Para [Note [Para [Str "Note",Space,Str "with"],Para [Str "continuation",Space,Str "block."]]]
-,Para [Note [Para [Str "Note",Space,Str "with",SoftBreak,Str "continuation",Space,Str "line"],Para [Str "and",Space,Str "a",Space,Str "second",Space,Str "para."]]]
-,Para [Str "Not",Space,Str "in",Space,Str "note."]
-,Header 1 ("math",[],[]) [Str "Math"]
-,Para [Str "Some",Space,Str "inline",Space,Str "math",Space,Math InlineMath "E=mc^2",Str ".",Space,Str "Now",Space,Str "some",SoftBreak,Str "display",Space,Str "math:"]
-,Para [Math DisplayMath "E=mc^2"]
-,Para [Math DisplayMath "E = mc^2"]
-,Para [Math DisplayMath "E = mc^2",Math DisplayMath "\\alpha = \\beta"]
-,Para [Math DisplayMath "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}",Math DisplayMath "F &= \\gamma \\alpha^2"]
-,Para [Str "All",Space,Str "done."]
-,Header 1 ("default-role",[],[]) [Str "Default-Role"]
-,Para [Str "Try",Space,Str "changing",Space,Str "the",Space,Str "default",Space,Str "role",Space,Str "to",Space,Str "a",Space,Str "few",Space,Str "different",Space,Str "things."]
-,Header 2 ("doesnt-break-title-parsing",[],[]) [Str "Doesn\8217t",Space,Str "Break",Space,Str "Title",Space,Str "Parsing"]
-,Para [Str "Inline",Space,Str "math:",Space,Math InlineMath "E=mc^2",Space,Str "or",Space,Math InlineMath "E=mc^2",Space,Str "or",Space,Math InlineMath "E=mc^2",Str ".",SoftBreak,Str "Other",Space,Str "roles:",Space,Superscript [Str "super"],Str ",",Space,Subscript [Str "sub"],Str "."]
-,Para [Math DisplayMath "\\alpha = beta",Math DisplayMath "E = mc^2"]
-,Para [Str "Some",Space,Superscript [Str "of"],Space,Str "these",Space,Superscript [Str "words"],Space,Str "are",Space,Str "in",Space,Superscript [Str "superscript"],Str "."]
-,Para [Str "Reset",Space,Str "default-role",Space,Str "to",Space,Str "the",Space,Str "default",Space,Str "default."]
-,Para [Str "And",Space,Str "now",Space,Span ("",["title-ref"],[]) [Str "some-invalid-string-3231231"],Space,Str "is",Space,Str "nonsense."]
-,Para [Str "And",Space,Str "now",Space,Str "with",Space,RawInline (Format "html") "<b>inline</b> <span id=\"test\">HTML</span>",Str "."]
-,Para [Str "And",Space,Str "some",Space,Str "inline",Space,Str "haskell",Space,Code ("",["haskell"],[]) "fmap id [1,2..10]",Str "."]
-,Para [Str "Indirect",Space,Str "python",Space,Str "role",Space,Code ("",["py","python","indirect"],[]) "[x*x for x in [1,2,3,4,5]]",Str "."]
-,Para [Str "Different",Space,Str "indirect",Space,Str "C",Space,Code ("",["c","different-indirect"],[]) "int x = 15;",Str "."]
-,Header 2 ("literal-symbols",[],[]) [Str "Literal",Space,Str "symbols"]
-,Para [Str "2*2",Space,Str "=",Space,Str "4*1"]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "July" , Space , Str "17," , Space , Str "2006" ]
+ )
+ , ( "revision" , MetaBlocks [ Para [ Str "3" ] ] )
+ , ( "subtitle" , MetaInlines [ Str "Subtitle" ] )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc" , Space , Str "Test" , Space , Str "Suite" ]
+ )
+ ]
+ }
+ [ Header
+ 1
+ ( "level-one-header" , [] , [] )
+ [ Str "Level" , Space , Str "one" , Space , Str "header" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , SoftBreak
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , Header
+ 2
+ ( "level-two-header" , [] , [] )
+ [ Str "Level" , Space , Str "two" , Space , Str "header" ]
+ , Header
+ 3 ( "level-three" , [] , [] ) [ Str "Level" , Space , Str "three" ]
+ , Header
+ 4
+ ( "level-four-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "four"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 5 ( "level-five" , [] , [] ) [ Str "Level" , Space , Str "five" ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , SoftBreak
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , SoftBreak
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para [ Str "Horizontal" , Space , Str "rule:" ]
+ , HorizontalRule
+ , Para [ Str "Another:" ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "another,"
+ , Space
+ , Str "differently"
+ , Space
+ , Str "indented:"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , SoftBreak
+ , Str "It\8217s"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "tab."
+ ]
+ , Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para
+ [ Str "List"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested" , Space , Str "block" , Space , Str "quotes:" ]
+ , BlockQuote
+ [ Para [ Str "nested" ] , BlockQuote [ Para [ Str "nested" ] ] ]
+ ]
+ , Header
+ 1 ( "code-blocks" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
+ , CodeBlock
+ ( "" , [] , [] ) "this code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [ "python" ] , [] ) "def my_function(x):\n return x + 1"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "we"
+ , Space
+ , Str "use"
+ , Space
+ , Str "the"
+ , Space
+ , Str "highlight"
+ , Space
+ , Str "directive,"
+ , Space
+ , Str "we"
+ , Space
+ , Str "can"
+ , Space
+ , Str "specify"
+ , Space
+ , Str "a"
+ , Space
+ , Str "default"
+ , Space
+ , Str "language"
+ , SoftBreak
+ , Str "for"
+ , Space
+ , Str "literate"
+ , Space
+ , Str "blocks."
+ ]
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
+ , CodeBlock
+ ( "" , [ "javascript" ] , [] )
+ "-- this code is in javascript\nlet f = (x, y) => x + y"
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , SoftBreak
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "Nested:" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ] , BulletList [ [ Plain [ Str "Tab" ] ] ] ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BlockQuote
+ [ BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , TwoParens )
+ [ [ Para [ Str "begins" , Space , Str "with" , Space , Str "2" ] ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with" , Space , Str "a" , Space , Str "continuation" ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim ) [ [ Plain [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Autonumbering"
+ , Space
+ , Str "with"
+ , Space
+ , Str "explicit"
+ , Space
+ , Str "start:"
+ ]
+ , OrderedList
+ ( 4 , LowerAlpha , TwoParens )
+ [ [ Plain [ Str "item" , Space , Str "1" ] ]
+ , [ Plain [ Str "item" , Space , Str "2" ] ]
+ ]
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
+ , DefinitionList
+ [ ( [ Str "term" , Space , Str "1" ]
+ , [ [ Para [ Str "Definition" , Space , Str "1." ] ] ]
+ )
+ , ( [ Str "term" , Space , Str "2" ]
+ , [ [ Para
+ [ Str "Definition"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "1."
+ ]
+ , Para
+ [ Str "Definition"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "2."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "term"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , [ [ Para [ Str "Definition" , Space , Str "3." ] ] ]
+ )
+ ]
+ , Header
+ 1 ( "field-lists" , [] , [] ) [ Str "Field" , Space , Str "Lists" ]
+ , BlockQuote
+ [ DefinitionList
+ [ ( [ Str "address" ]
+ , [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ]
+ ]
+ )
+ , ( [ Str "city" ]
+ , [ [ Para
+ [ Emph [ Str "Nowhere" ]
+ , Str ","
+ , Space
+ , Str "MA,"
+ , SoftBreak
+ , Str "USA"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "phone" ] , [ [ Para [ Str "123-4567" ] ] ] )
+ ]
+ ]
+ , DefinitionList
+ [ ( [ Str "address" ]
+ , [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ]
+ ]
+ )
+ , ( [ Str "city" ]
+ , [ [ Para
+ [ Emph [ Str "Nowhere" ]
+ , Str ","
+ , Space
+ , Str "MA,"
+ , SoftBreak
+ , Str "USA"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "phone" ] , [ [ Para [ Str "123-4567" ] ] ] )
+ ]
+ , Header
+ 1 ( "html-blocks" , [] , [] ) [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , RawBlock (Format "html") "<div>foo</div>"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , RawBlock
+ (Format "html")
+ "<div>\n <div>\n <div>\n foo\n </div>\n </div>\n</div>"
+ , Header
+ 1 ( "latex-block" , [] , [] ) [ Str "LaTeX" , Space , Str "Block" ]
+ , RawBlock
+ (Format "latex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str "."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Subscript [ Str "subscripted" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Superscript [ Str "superscripted" ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain [ Str "I" , Space , Str "hat:" , Space , Str "\206" ] ]
+ , [ Plain [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set" , Space , Str "membership:" , Space , Str "\8712" ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Para
+ [ Str "Explicit:"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Explicit"
+ , Space
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "label:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "foo" ] ( "foo" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Two"
+ , Space
+ , Str "anonymous"
+ , Space
+ , Str "links:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "first" ]
+ ( "/url1/" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "second" ]
+ ( "/url2/" , "" )
+ ]
+ , Para
+ [ Str "Reference"
+ , Space
+ , Str "links:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "link1" ] ( "/url1/" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "link2" ] ( "/url2/" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "link1" ] ( "/url1/" , "" )
+ , Space
+ , Str "again."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "style"
+ , Space
+ , Str "of"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "link"
+ ]
+ ( "/url1/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "AT&T" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Autolinks:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ , Str "."
+ ]
+ , Para [ Str "But" , Space , Str "not" , Space , Str "here:" ]
+ , CodeBlock ( "" , [] , [] ) "http://example.com/"
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune"
+ ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" ) ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "height" , "2343px" ) ] )
+ [ Str "Voyage dans la Lune" ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [ Str "A movie" ] ( "movie.jpg" , "" ) ]
+ ( "/url" , "" )
+ , Str "."
+ ]
+ , Header 1 ( "comments" , [] , [] ) [ Str "Comments" ]
+ , Para [ Str "First" , Space , Str "paragraph" ]
+ , Para [ Str "Another" , Space , Str "paragraph" ]
+ , Para [ Str "A" , Space , Str "third" , Space , Str "paragraph" ]
+ , Header
+ 1 ( "line-blocks" , [] , [] ) [ Str "Line" , Space , Str "blocks" ]
+ , LineBlock
+ [ [ Str "But"
+ , Space
+ , Str "can"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "be"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ ]
+ , [ Str "\160\160\160\160or"
+ , Space
+ , Str "not"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "bee,"
+ ]
+ , [ Str "\160\160\160\160\160\160\160\160when"
+ , Space
+ , Str "half"
+ , Space
+ , Str "the"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee,"
+ ]
+ , [ Str "\160\160\160\160\160\160\160\160\160\160\160\160due"
+ , Space
+ , Str "to"
+ , Space
+ , Str "some"
+ , Space
+ , Str "ancient"
+ , Space
+ , Str "injury?"
+ ]
+ , []
+ , [ Str "Continuation" , Space , Str "line" ]
+ , [ Str "\160\160and" , Space , Str "another" ]
+ ]
+ , Header
+ 1
+ ( "simple-tables" , [] , [] )
+ [ Str "Simple" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r1" , Space , Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r1" , Space , Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 1 ( "grid-tables" , [] , [] ) [ Str "Grid" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "of"
+ , Space
+ , Str "lines"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cell"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "r1" , Space , Str "a" ]
+ , Para [ Str "r1" , Space , Str "bis" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ BulletList
+ [ [ Plain [ Str "b" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Note
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "with"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , Para
+ [ Note
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "continuation"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , Para
+ [ Note
+ [ Para [ Str "Note" , Space , Str "with" ]
+ , Para [ Str "continuation" , Space , Str "block." ]
+ ]
+ ]
+ , Para
+ [ Note
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "continuation"
+ , Space
+ , Str "line"
+ ]
+ , Para
+ [ Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "para."
+ ]
+ ]
+ ]
+ , Para [ Str "Not" , Space , Str "in" , Space , Str "note." ]
+ , Header 1 ( "math" , [] , [] ) [ Str "Math" ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "math"
+ , Space
+ , Math InlineMath "E=mc^2"
+ , Str "."
+ , Space
+ , Str "Now"
+ , Space
+ , Str "some"
+ , SoftBreak
+ , Str "display"
+ , Space
+ , Str "math:"
+ ]
+ , Para [ Math DisplayMath "E=mc^2" ]
+ , Para [ Math DisplayMath "E = mc^2" ]
+ , Para
+ [ Math DisplayMath "E = mc^2"
+ , Math DisplayMath "\\alpha = \\beta"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}"
+ , Math DisplayMath "F &= \\gamma \\alpha^2"
+ ]
+ , Para [ Str "All" , Space , Str "done." ]
+ , Header 1 ( "default-role" , [] , [] ) [ Str "Default-Role" ]
+ , Para
+ [ Str "Try"
+ , Space
+ , Str "changing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "default"
+ , Space
+ , Str "role"
+ , Space
+ , Str "to"
+ , Space
+ , Str "a"
+ , Space
+ , Str "few"
+ , Space
+ , Str "different"
+ , Space
+ , Str "things."
+ ]
+ , Header
+ 2
+ ( "doesnt-break-title-parsing" , [] , [] )
+ [ Str "Doesn\8217t"
+ , Space
+ , Str "Break"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "Parsing"
+ ]
+ , Para
+ [ Str "Inline"
+ , Space
+ , Str "math:"
+ , Space
+ , Math InlineMath "E=mc^2"
+ , Space
+ , Str "or"
+ , Space
+ , Math InlineMath "E=mc^2"
+ , Space
+ , Str "or"
+ , Space
+ , Math InlineMath "E=mc^2"
+ , Str "."
+ , SoftBreak
+ , Str "Other"
+ , Space
+ , Str "roles:"
+ , Space
+ , Superscript [ Str "super" ]
+ , Str ","
+ , Space
+ , Subscript [ Str "sub" ]
+ , Str "."
+ ]
+ , Para
+ [ Math DisplayMath "\\alpha = beta" , Math DisplayMath "E = mc^2" ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Superscript [ Str "of" ]
+ , Space
+ , Str "these"
+ , Space
+ , Superscript [ Str "words" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "in"
+ , Space
+ , Superscript [ Str "superscript" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Reset"
+ , Space
+ , Str "default-role"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "default"
+ , Space
+ , Str "default."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "now"
+ , Space
+ , Span
+ ( "" , [ "title-ref" ] , [] ) [ Str "some-invalid-string-3231231" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "nonsense."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "now"
+ , Space
+ , Str "with"
+ , Space
+ , RawInline
+ (Format "html") "<b>inline</b> <span id=\"test\">HTML</span>"
+ , Str "."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "some"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "haskell"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) "fmap id [1,2..10]"
+ , Str "."
+ ]
+ , Para
+ [ Str "Indirect"
+ , Space
+ , Str "python"
+ , Space
+ , Str "role"
+ , Space
+ , Code
+ ( "" , [ "py" , "python" , "indirect" ] , [] )
+ "[x*x for x in [1,2,3,4,5]]"
+ , Str "."
+ ]
+ , Para
+ [ Str "Different"
+ , Space
+ , Str "indirect"
+ , Space
+ , Str "C"
+ , Space
+ , Code ( "" , [ "c" , "different-indirect" ] , [] ) "int x = 15;"
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "literal-symbols" , [] , [] )
+ [ Str "Literal" , Space , Str "symbols" ]
+ , Para [ Str "2*2" , Space , Str "=" , Space , Str "4*1" ]
+ ]
diff --git a/test/rtf/accent.native b/test/rtf/accent.native
new file mode 100644
index 000000000..115620aff
--- /dev/null
+++ b/test/rtf/accent.native
@@ -0,0 +1,18 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Str "le"
+ , Space
+ , Str "caf\233"
+ , Space
+ , Str "o\249"
+ , Space
+ , Str "on"
+ , Space
+ , Str "ne"
+ , Space
+ , Str "fume"
+ , Space
+ , Str "pas"
+ ]
+ ]
diff --git a/test/rtf/accent.rtf b/test/rtf/accent.rtf
new file mode 100644
index 000000000..8438d46eb
--- /dev/null
+++ b/test/rtf/accent.rtf
@@ -0,0 +1,3 @@
+{\rtf1\ansi
+{ le caf\'e9 o\'f9 on ne fume pas }
+}
diff --git a/test/rtf/bookmark.native b/test/rtf/bookmark.native
new file mode 100644
index 000000000..8f6df567c
--- /dev/null
+++ b/test/rtf/bookmark.native
@@ -0,0 +1,11 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Span ( "bookmark_1" , [] , [] ) [ Str "Bookmark_1" ] ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "click" , Space , Str "me" ]
+ ( "#bookmark_1" , "" )
+ ]
+ ]
diff --git a/test/rtf/bookmark.rtf b/test/rtf/bookmark.rtf
new file mode 100644
index 000000000..6e37ee71a
--- /dev/null
+++ b/test/rtf/bookmark.rtf
@@ -0,0 +1,8 @@
+{\rtf1\ansi
+\pard
+{\*\bkmkstart bookmark_1}Bookmark_1{\*\bkmkend bookmark_1}
+\par
+\pard
+{\field{\*\fldinst { HYPERLINK \\l "bookmark_1" }}{\fldrslt{click me}}}
+\par
+}
diff --git a/test/rtf/footnote.native b/test/rtf/footnote.native
new file mode 100644
index 000000000..70f8453a9
--- /dev/null
+++ b/test/rtf/footnote.native
@@ -0,0 +1,130 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Str "Mead's"
+ , Space
+ , Str "landmark"
+ , Space
+ , Str "study"
+ , Space
+ , Str "has"
+ , Space
+ , Str "been"
+ , Space
+ , Str "amply"
+ , Space
+ , Str "annotated."
+ , Note
+ [ Para
+ [ Str "See"
+ , Space
+ , Str "Sahlins,"
+ , Space
+ , Str "Bateson,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Geertz"
+ , Space
+ , Str "for"
+ , Space
+ , Str "a"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "bibliography."
+ ]
+ ]
+ , Space
+ , Str "It"
+ , Space
+ , Str "was"
+ , Space
+ , Str "her"
+ , Space
+ , Str "work"
+ , Space
+ , Str "in"
+ , Space
+ , Str "America"
+ , Space
+ , Str "during"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Second"
+ , Space
+ , Str "World"
+ , Space
+ , Str "War,"
+ , Space
+ , Str "however,"
+ , Space
+ , Str "that"
+ , Space
+ , Str "forms"
+ , Space
+ , Str "the"
+ , Space
+ , Str "basis"
+ , Space
+ , Str "for"
+ , Space
+ , Str "the"
+ , Space
+ , Str "paper."
+ , Space
+ , Str "As"
+ , Space
+ , Str "others"
+ , Space
+ , Str "have"
+ , Space
+ , Str "noted,"
+ , Note
+ [ Para
+ [ Str "A"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "bibliography"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "found"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "chapter."
+ ]
+ ]
+ , Space
+ , Str "this"
+ , Space
+ , Str "period"
+ , Space
+ , Str "was"
+ , Space
+ , Str "a"
+ , Space
+ , Str "turning"
+ , Space
+ , Str "point"
+ , Space
+ , Str "for"
+ , Space
+ , Str "Margaret"
+ , Space
+ , Str "Mead."
+ ]
+ ]
diff --git a/test/rtf/footnote.rtf b/test/rtf/footnote.rtf
new file mode 100644
index 000000000..afc119eff
--- /dev/null
+++ b/test/rtf/footnote.rtf
@@ -0,0 +1,11 @@
+{\rtf1\ansi
+\ftnbj\ftnrestart \sectd \linemod0\linex0\endnhere \pard\plain
+\ri1170 \fs20 {\pu6 Mead's landmark study has been amply annotated.\chftn
+{\footnote \pard\plain \s246 \fs20 {\up6\chftn }
+See Sahlins, Bateson, and Geertz for a complete bibliography.} It was
+her work in America during the Second World War, however, that forms
+the basis for the paper. As others have noted,\chftn
+{\footnote \pard\plain \s246 \fs20 {\up6\chftn}
+A complete bibliography will be found at the end of this chapter.}
+this period was a turning point for Margaret Mead.}
+\par}
diff --git a/test/rtf/formatting.native b/test/rtf/formatting.native
new file mode 100644
index 000000000..7035ccb91
--- /dev/null
+++ b/test/rtf/formatting.native
@@ -0,0 +1,45 @@
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "operator"
+ , MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ , Space
+ , Str "of"
+ , Space
+ , Str "FORMATTING."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "hidden:"
+ , Space
+ , Str "."
+ ]
+ , Para [ SmallCaps [ Str "Small" , Space , Str "Caps" ] ]
+ , Para [ Strong [ Str "bold" ] ]
+ , Para [ Emph [ Str "italics" ] ]
+ , Para
+ [ Strong
+ [ Str "bold"
+ , Space
+ , Emph [ Str "and" , Space , Str "italics" ]
+ ]
+ ]
+ , Para [ Underline [ Str "underlined" ] ]
+ , Para [ Strikeout [ Str "strikeout" ] ]
+ , Para [ Str "x" , Superscript [ Str "superscript" ] ]
+ , Para [ Str "x" , Subscript [ Str "subscript" ] ]
+ ]
diff --git a/test/rtf/formatting.rtf b/test/rtf/formatting.rtf
new file mode 100644
index 000000000..8e7b597eb
--- /dev/null
+++ b/test/rtf/formatting.rtf
@@ -0,0 +1,201 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi31507\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f4\fbidi \fnil\fcharset0\fprq2{\*\panose 00000000000000000000}Helvetica;}
+{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}
+{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
+{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1068\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f1069\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\f1071\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f1072\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f1073\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\f1074\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f1075\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f1076\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f1108\fbidi \fnil\fcharset238\fprq2 Helvetica CE;}
+{\f1109\fbidi \fnil\fcharset204\fprq2 Helvetica Cyr;}{\f1111\fbidi \fnil\fcharset161\fprq2 Helvetica Greek;}{\f1112\fbidi \fnil\fcharset162\fprq2 Helvetica Tur;}{\f1115\fbidi \fnil\fcharset186\fprq2 Helvetica Baltic;}
+{\f1116\fbidi \fnil\fcharset163\fprq2 Helvetica (Vietnamese);}{\f1408\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f1409\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f1411\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}
+{\f1412\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f1415\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f1416\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
+{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
+{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;}{\fhimajor\f31529\fbidi \fswiss\fcharset204\fprq2 Calibri Light Cyr;}
+{\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}{\fhimajor\f31533\fbidi \fswiss\fcharset177\fprq2 Calibri Light (Hebrew);}
+{\fhimajor\f31534\fbidi \fswiss\fcharset178\fprq2 Calibri Light (Arabic);}{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;}{\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}
+{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
+{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}
+{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
+{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
+\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red0\green0\blue0;\red0\green0\blue0;}{\*\defchp \fs24\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
+\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033
+\snext11 \ssemihidden \sunhideused Normal Table;}}{\*\rsidtbl \rsid2168431\rsid14113975}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\operator John MacFarlane}
+{\creatim\yr2021\mo8\dy4\hr17\min1}{\revtim\yr2021\mo8\dy4\hr17\min2}{\version2}{\edmins1}{\nofpages1}{\nofwords21}{\nofchars120}{\nofcharsws140}{\vern6543}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}
+\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
+\widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120\dghorigin1701
+\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\rsidroot2168431 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2
+\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6
+\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
+{\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe1033\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 This is a test of }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\caps\f4\insrsid14113975\charrsid2168431 \hich\af4\dbch\af31505\loch\f4 formatting}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975 .}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid2168431 \hich\af4\dbch\af31505\loch\f4 This is hidden: }{\rtlch\fcs1 \af4
+\ltrch\fcs0 \v\f4\insrsid2168431\charrsid2168431 \hich\af4\dbch\af31505\loch\f4 secret}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid2168431 .}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \scaps\f4\insrsid14113975\charrsid2168431 \hich\af4\dbch\af31505\loch\f4 Small Caps
+\par }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 bold}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 italics}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 bold }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 and italics}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\ul\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 underlined}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \strike\f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 strikeout
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 x}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\super\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 superscript}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par \hich\af4\dbch\af31505\loch\f4 x}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\sub\insrsid14113975 \hich\af4\dbch\af31505\loch\f4 subscript}{\rtlch\fcs1 \af4 \ltrch\fcs0 \f4\insrsid14113975
+\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
+9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
+5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
+b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
+0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
+a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
+c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
+0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
+a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
+6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
+4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
+4757e8d3f729e245eb2b260a0238fd010000ffff0300504b030414000600080000002100b6f4679893070000c9200000160000007468656d652f7468656d652f
+7468656d65312e786d6cec59cd8b1bc915bf07f23f347d97f5d5ad8fc1f2a24fcfda33b6b164873dd648a5eef2547789aad28cc56208de532e81c026e49085bd
+ed21842cecc22eb9e48f31d8249b3f22afaa5bdd5552c99e191c3061463074977eefd5afde7bf5de53d5ddcf5e26d4bbc05c1096f6fcfa9d9aefe174ce16248d
+7afeb3d9a4d2f13d2151ba4094a5b8e76fb0f03fbbf7eb5fdd454732c609f6403e1547a8e7c752ae8eaa5531876124eeb0154ee1bb25e30992f0caa3ea82a34b
+d09bd06aa3566b55134452df4b51026a1f2f97648ebd9952e9dfdb2a1f53784da5500373caa74a35b6243476715e5708b11143cabd0b447b3eccb3609733fc52
+fa1e4542c2173dbfa6fffceabdbb5574940b517940d6909be8bf5c2e17589c37f49c3c3a2b260d823068f50bfd1a40e53e6edc1eb7c6ad429f06a0f91c569a71
+b175b61bc320c71aa0ecd1a17bd41e35eb16ded0dfdce3dc0fd5c7c26b50a63fd8c34f2643b0a285d7a00c1feee1c3417730b2f56b50866fede1dbb5fe28685b
+fa3528a6243ddf43d7c25673b85d6d0159327aec8477c360d26ee4ca4b144443115d6a8a254be5a1584bd00bc6270050408a24493db959e1259a43140f112567
+9c7827248a21f056286502866b8ddaa4d684ffea13e827ed5174849121ad780113b137a4f87862cec94af6fc07a0d537206f7ffef9cdeb1fdfbcfee9cd575fbd
+79fdf77c6eadca923b466964cafdf2dd1ffef3cd6fbd7ffff0ed2f5fff319b7a172f4cfcbbbffdeedd3ffef93ef5b0e2d2146ffff4fdbb1fbf7ffbe7dfffebaf
+5f3bb4f7393a33e1339260e13dc297de5396c0021dfcf119bf9ec42c46c494e8a791402952b338f48f656ca11f6d10450edc00db767cce21d5b880f7d72f2cc2
+d398af2571687c182716f094313a60dc6985876a2ec3ccb3751ab927e76b13f714a10bd7dc43945a5e1eaf579063894be530c616cd2714a5124538c5d253dfb1
+738c1dabfb8210cbaea764ce99604be97d41bc01224e93ccc899154da5d03149c02f1b1741f0b7659bd3e7de8051d7aa47f8c246c2de40d4417e86a965c6fb68
+2d51e252394309350d7e8264ec2239ddf0b9891b0b099e8e3065de78818570c93ce6b05ec3e90f21cdb8dd7e4a37898de4929cbb749e20c64ce4889d0f6394ac
+5cd829496313fbb938871045de13265df05366ef10f50e7e40e941773f27d872f787b3c133c8b026a53240d4376beef0e57dccacf89d6ee8126157aae9f3c44a
+b17d4e9cd131584756689f604cd1255a60ec3dfbdcc160c05696cd4bd20f62c82ac7d815580f901dabea3dc5027a25d5dcece7c91322ac909de2881de073bad9
+493c1b9426881fd2fc08bc6eda7c0ca52e7105c0633a3f37818f08f480102f4ea33c16a0c308ee835a9fc4c82a60ea5db8e375c32dff5d658fc1be7c61d1b8c2
+be04197c6d1948eca6cc7b6d3343d49aa00c9819822ec3956e41c4727f29a28aab165b3be596f6a62ddd00dd91d5f42424fd6007b4d3fb84ffbbde073a8cb77f
+f9c6b10f3e4ebfe3566c25ab6b763a8792c9f14e7f7308b7dbd50c195f904fbfa919a175fa04431dd9cf58b73dcd6d4fe3ffdff73487f6f36d2773a8dfb8ed64
+7ce8306e3b99fc70e5e3743265f3027d8d3af0c80e7af4b14f72f0d46749289dca0dc527421ffc08f83db398c0a092d3279eb838055cc5f0a8ca1c4c60e1228e
+b48cc799fc0d91f134462b381daafb4a492472d591f0564cc0a1911e76ea5678ba4e4ed9223becacd7d5c16656590592e5782d2cc6e1a04a66e856bb3cc02bd4
+6bb6913e68dd1250b2d721614c6693683a48b4b783ca48fa58178ce620a157f65158741d2c3a4afdd6557b2c805ae115f8c1edc1cff49e1f06200242701e07cd
+f942f92973f5d6bbda991fd3d3878c69450034d8db08283ddd555c0f2e4fad2e0bb52b78da2261849b4d425b46377822869fc17974aad1abd0b8aeafbba54b2d
+7aca147a3e08ad9246bbf33e1637f535c8ede6069a9a9982a6de65cf6f35430899395af5fc251c1ac363b282d811ea3717a211dcbccc25cf36fc4d32cb8a0b39
+4222ce0cae934e960d122231f728497abe5a7ee1069aea1ca2b9d51b90103e59725d482b9f1a3970baed64bc5ce2b934dd6e8c284b67af90e1b35ce1fc568bdf
+1cac24d91adc3d8d1797de195df3a708422c6cd795011744c0dd413db3e682c0655891c8caf8db294c79da356fa3740c65e388ae62945714339967709dca0b3a
+faadb081f196af190c6a98242f8467912ab0a651ad6a5a548d8cc3c1aafb6121653923699635d3ca2aaa6abab39835c3b60cecd8f26645de60b53531e434b3c2
+67a97b37e576b7b96ea74f28aa0418bcb09fa3ea5ea12018d4cac92c6a8af17e1a56393b1fb56bc776811fa07695226164fdd656ed8edd8a1ae19c0e066f54f9
+416e376a6168b9ed2bb5a5f5adb979b1cdce5e40f2184197bba6526857c2c92e47d0104d754f92a50dd8222f65be35e0c95b73d2f3bfac85fd60d80887955a27
+1c57826650ab74c27eb3d20fc3667d1cd66ba341e31514161927f530bbb19fc00506dde4f7f67a7cefee3ed9ded1dc99b3a4caf4dd7c5513d777f7f5c6e1bb7b
+8f40d2f9b2d598749bdd41abd26df627956034e854bac3d6a0326a0ddba3c9681876ba9357be77a1c141bf390c5ae34ea5551f0e2b41aba6e877ba9576d068f4
+8376bf330efaaff23606569ea58fdc16605ecdebde7f010000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d65
+2f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d36
+3f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e
+3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d985
+0528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000000000
+0000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000000000
+000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019020000
+7468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d0014000600080000002100b6f4679893070000c92000001600000000000000
+000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027000000
+000000000000000000009d0a00007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000980b00000000}
+{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
+617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
+6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
+656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
+{\*\latentstyles\lsdstimax376\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature;\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;
+\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Table;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Contemporary;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Elegant;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Professional;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdpriority39 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Theme;\lsdsemihidden1 \lsdlocked0 Placeholder Text;
+\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;
+\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;
+\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;
+\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;
+\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;
+\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;
+\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
+\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;
+\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;
+\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
+\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;
+\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;
+\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
+\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;
+\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;
+\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
+\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
+\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
+\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
+\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
+\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
+\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
+\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
+\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
+\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Mention;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hashtag;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Unresolved Mention;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Link;}}{\*\datastore }} \ No newline at end of file
diff --git a/test/rtf/heading.native b/test/rtf/heading.native
new file mode 100644
index 000000000..5a076424b
--- /dev/null
+++ b/test/rtf/heading.native
@@ -0,0 +1,10 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Heading" , Space , Str "1" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Heading" , Space , Str "2" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "Heading" , Space , Str "3" ]
+ , Para [ Str "Paragraph" ]
+ ]
diff --git a/test/rtf/heading.rtf b/test/rtf/heading.rtf
new file mode 100644
index 000000000..5ed4fc229
--- /dev/null
+++ b/test/rtf/heading.rtf
@@ -0,0 +1,223 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31506\stshfloch31506\stshfhich31506\stshfbi31507\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}
+{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f38\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}
+{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
+{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f44\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f45\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\f47\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f48\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f49\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f50\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\f51\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f52\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f384\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f385\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}
+{\f387\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f388\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f391\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f392\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
+{\f414\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f415\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f417\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f418\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}
+{\f419\fbidi \fswiss\fcharset177\fprq2 Calibri (Hebrew);}{\f420\fbidi \fswiss\fcharset178\fprq2 Calibri (Arabic);}{\f421\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f422\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}
+{\f424\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;}{\f425\fbidi \fswiss\fcharset204\fprq2 Calibri Light Cyr;}{\f427\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}{\f428\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}
+{\f429\fbidi \fswiss\fcharset177\fprq2 Calibri Light (Hebrew);}{\f430\fbidi \fswiss\fcharset178\fprq2 Calibri Light (Arabic);}{\f431\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;}{\f432\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}
+{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
+{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;}{\fhimajor\f31529\fbidi \fswiss\fcharset204\fprq2 Calibri Light Cyr;}
+{\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}{\fhimajor\f31533\fbidi \fswiss\fcharset177\fprq2 Calibri Light (Hebrew);}
+{\fhimajor\f31534\fbidi \fswiss\fcharset178\fprq2 Calibri Light (Arabic);}{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;}{\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}
+{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
+{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}
+{\fhiminor\f31573\fbidi \fswiss\fcharset177\fprq2 Calibri (Hebrew);}{\fhiminor\f31574\fbidi \fswiss\fcharset178\fprq2 Calibri (Arabic);}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
+{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
+{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
+\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red0\green0\blue0;\red0\green0\blue0;\caccentone\ctint255\cshade191\red47\green84\blue150;
+\caccentone\ctint255\cshade127\red31\green55\blue99;}{\*\defchp \f31506\fs22 }{\*\defpap \ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa160\sl259\slmult1
+\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{
+\s1\ql \li0\ri0\sb240\sl259\slmult1\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel0\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31503\afs32\alang1025 \ltrch\fcs0
+\fs32\cf19\lang1033\langfe1033\loch\f31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 \slink15 \sqformat \spriority9 \styrsid2496039 heading 1;}{\s2\ql \li0\ri0\sb40\sl259\slmult1
+\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel1\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31503\afs26\alang1025 \ltrch\fcs0\b\fs26\cf19\lang1033\langfe1033\loch\f31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033
+\sbasedon0 \snext0 \slink16 \sunhideused \sqformat \spriority9 \styrsid2496039 heading 2;}{\s3\ql \li0\ri0\sb40\sl259\slmult1\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel2\adjustright\rin0\lin0\itap0 \rtlch\fcs1
+\af31503\afs24\alang1025 \ltrch\fcs0 \fs24\cf20\lang1033\langfe1033\loch\f31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 \slink17 \sunhideused \sqformat \spriority9 \styrsid2496039 heading 3;}{\*\cs10 \additive
+\ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused
+Normal Table;}{\*\cs15 \additive \rtlch\fcs1 \af31503\afs32 \ltrch\fcs0 \fs32\cf19\loch\f31502\hich\af31502\dbch\af31501 \sbasedon10 \slink1 \slocked \spriority9 \styrsid2496039 Heading 1 Char;}{\*\cs16 \additive \rtlch\fcs1 \af31503\afs26 \ltrch\fcs0
+\fs26\cf19\loch\f31502\hich\af31502\dbch\af31501 \sbasedon10 \slink2 \slocked \spriority9 \styrsid2496039 Heading 2 Char;}{\*\cs17 \additive \rtlch\fcs1 \af31503\afs24 \ltrch\fcs0 \fs24\cf20\loch\f31502\hich\af31502\dbch\af31501
+\sbasedon10 \slink3 \slocked \spriority9 \styrsid2496039 Heading 3 Char;}}{\*\rsidtbl \rsid1718450\rsid2496039\rsid2631807\rsid4616182\rsid10489260}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1
+\mwrapIndent1440\mintLim0\mnaryLim1}
+{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
+\widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont1\relyonvml0\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\noxlattoyen
+\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace180\dgvspace180\dghorigin1440\dgvorigin1440\dghshow1\dgvshow1
+\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct
+\asianbrkrule\rsidroot2496039\newtblstyruls\nogrowautofit\usenormstyforlist\noindnmbrts\felnbrelev\nocxsptable\indrlsweleven\noafcnsttbl\afelev\utinl\hwelev\spltpgpar\notcvasp\notbrkcnstfrctbl\notvatxbx\krnprsnet\cachedcolbal \nouicompat \fet0
+{\*\wgrffmtfilter 2450}\nofeaturethrottle1\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\endnhere\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang
+{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang
+{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}
+\pard\plain \ltrpar\s1\ql \li0\ri0\sb240\sl259\slmult1\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel0\adjustright\rin0\lin0\itap0\pararsid2496039 \rtlch\fcs1 \af31503\afs32\alang1025 \ltrch\fcs0
+\fs32\cf19\lang1033\langfe1033\loch\af31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af31503 \ltrch\fcs0 \insrsid2496039 \hich\af31502\dbch\af31501\loch\f31502 H\hich\af31502\dbch\af31501\loch\f31502 eading 1}{\rtlch\fcs1
+\af31503 \ltrch\fcs0 \insrsid2631807
+\par }\pard\plain \ltrpar\s2\ql \li0\ri0\sb40\sl259\slmult1\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel1\adjustright\rin0\lin0\itap0\pararsid2496039 \rtlch\fcs1 \af31503\afs26\alang1025 \ltrch\fcs0
+\fs26\cf19\lang1033\langfe1033\loch\af31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af31503 \ltrch\fcs0 \insrsid2496039 \hich\af31502\dbch\af31501\loch\f31502 H\hich\af31502\dbch\af31501\loch\f31502 eading }{\rtlch\fcs1
+\af31503 \ltrch\fcs0 \insrsid2496039 \hich\af31502\dbch\af31501\loch\f31502 2}{\rtlch\fcs1 \af31503 \ltrch\fcs0 \insrsid2496039
+\par }\pard\plain \ltrpar\s3\ql \li0\ri0\sb40\sl259\slmult1\keep\keepn\widctlpar\wrapdefault\aspalpha\aspnum\faauto\outlinelevel2\adjustright\rin0\lin0\itap0\pararsid2496039 \rtlch\fcs1 \af31503\afs24\alang1025 \ltrch\fcs0
+\fs24\cf20\lang1033\langfe1033\loch\af31502\hich\af31502\dbch\af31501\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af31503 \ltrch\fcs0 \insrsid2496039 \hich\af31502\dbch\af31501\loch\f31502 H\hich\af31502\dbch\af31501\loch\f31502 eading }{\rtlch\fcs1
+\af31503 \ltrch\fcs0 \insrsid2496039 \hich\af31502\dbch\af31501\loch\f31502 3}{\rtlch\fcs1 \af31503 \ltrch\fcs0 \insrsid2496039
+\par }\pard\plain \ltrpar\ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1
+\af31507 \ltrch\fcs0 \insrsid2496039 Paragraph
+\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
+9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
+5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
+b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
+0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
+a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
+c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
+0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
+a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
+6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
+4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
+4757e8d3f729e245eb2b260a0238fd010000ffff0300504b030414000600080000002100d3130843c40600008b1a0000160000007468656d652f7468656d652f
+7468656d65312e786d6cec595d8bdb46147d2ff43f08bd3bfe92fcb1c41b6cd9ceb6d94d42eca4e4716c8fadc98e344633de8d0981923c160aa569e943037deb
+43691b48a02fe9afd936a54d217fa17746b63c638fbb9b2585a5640d8b343af7ce997bafce1d4997afdc8fa87384134e58dc708b970aae83e3211b9178d2706f
+f7bbb99aeb7081e211a22cc60d778eb97b65f7c30f2ea31d11e2083b601ff31dd4704321a63bf93c1fc230e297d814c7706dcc920809384d26f951828ec16f44
+f3a542a1928f10895d274611b8bd311e932176fad2a5bbbb74dea1701a0b2e078634e949d7d8b050d8d1615122f89c0734718e106db830cf881df7f17de13a14
+7101171a6e41fdb9f9ddcb79b4b330a2628bad66d7557f0bbb85c1e8b0a4e64c26836c52cff3bd4a33f3af00546ce23ad54ea553c9fc29001a0e61a52917d367
+b514780bac064a0f2dbedbd576b968e035ffe50dce4d5ffe0cbc02a5febd0d7cb71b40140dbc02a5787f03efb7eaadb6e95f81527c65035f2d34db5ed5f0af40
+2125f1e106bae057cac172b51964cce89e155ef7bd6eb5b470be42413564d525a718b3586cabb508dd6349170012489120b123e6533c4643a8e20051324888b3
+4f262114de14c58cc370a154e816caf05ffe3c75a4328a7630d2ac252f60c23786241f870f1332150df763f0ea6a90372f7f7cf3f2b973f2e8c5c9a35f4e1e3f
+3e79f473eac8b0da43f144b77afdfd177f3ffdd4f9ebf977af9f7c65c7731dfffb4f9ffdf6eb977620ac741582575f3ffbe3c5b357df7cfee70f4f2cf0668206
+3abc4f22cc9debf8d8b9c52258980a81c91c0f92b7b3e88788e816cd78c2518ce42c16ff1d111ae8eb73449105d7c26604ef24203136e0d5d93d83702f4c6682
+583c5e0b230378c0186db1c41a856b722e2dccfd593cb14f9ecc74dc2d848e6c73072836f2db994d415b89cd65106283e64d8a62812638c6c291d7d821c696d5
+dd25c488eb0119268cb3b170ee12a7858835247d3230aa6965b44722c8cbdc4610f26dc4e6e08ed362d4b6ea363e32917057206a21dfc7d408e355341328b2b9
+eca388ea01df4722b491eccd93a18eeb7001999e60ca9cce08736eb3b991c07ab5a45f0379b1a7fd80ce231399087268f3b98f18d3916d761884289adab03d12
+873af6237e08258a9c9b4cd8e007ccbc43e439e401c55bd37d876023dda7abc16d50569dd2aa40e4955962c9e555cc8cfaedcde91861253520fc869e47243e55
+dcd764ddff6f651d84f4d5b74f2dabbaa882de4c88f58eda5b93f16db875f10e583222175fbbdb6816dfc470bb6c36b0f7d2fd5ebaddffbd746fbb9fdfbd60af
+341ae45b6e15d3adbadab8475bf7ed6342694fcc29dee76aebcea1338dba3028edd4332bce9ee3a6211cca3b192630709304291b2761e21322c25e88a6b0bf2f
+bad2c9842f5c4fb833651cb6fd6ad8ea5be2e92c3a60a3f471b558948fa6a978702456e3053f1b87470d91a22bd5d52358e65eb19da847e5250169fb3624b4c9
+4c12650b89ea725006493d9843d02c24d4cade098bba85454dba5fa66a830550cbb2025b2707365c0dd7f7c0048ce0890a513c92794a53bdccae4ae6bbccf4b6
+601a1500fb886505ac325d975cb72e4fae2e2db53364da20a1959b49424546f5301ea2115e54a71c3d0b8db7cd757d9552839e0c859a0f4a6b45a35afb3716e7
+cd35d8ad6b038d75a5a0b173dc702b651f4a6688a60d770c8ffd70184da176b8dcf2223a8177674391a437fc7994659a70d1463c4c03ae4427558388089c3894
+440d572e3f4b038d9586286ec51208c28525570759b968e420e96692f1788c87424fbb3622239d9e82c2a75a61bdaacccf0f96966c06e9ee85a363674067c92d
+0425e6578b328023c2e1ed4f318de688c0ebcc4cc856f5b7d69816b2abbf4f5435948e233a0dd1a2a3e8629ec295946774d4591603ed6cb16608a8169245231c
+4c6483d5836a74d3ac6ba41cb676ddd38d64e434d15cf54c435564d7b4ab9831c3b20dacc5f27c4d5e63b50c31689adee153e95e97dcfa52ebd6f60959978080
+67f1b374dd3334048dda6a32839a64bc29c352b317a366ef582ef0146a6769129aea57966ed7e296f508eb743078aece0f76eb550b43e3e5be52455a7df7d03f
+4db0c13d108f36bc049e51c1552ae1c343826043d4537b925436e016b92f16b7061c39b38434dc0705bfe905253fc8156a7e27e795bd42aee637cbb9a6ef978b
+1dbf5868b74a0fa1b188302afae937972ebc8aa2f3c5971735bef1f5255abe6dbb3464519ea9af2b79455c7d7d2996b67f7d710888ce834aa95b2fd75b955cbd
+dcece6bc76ab96ab079556ae5d09aaed6e3bf06bf5ee43d7395260af590ebc4aa796ab148320e7550a927ead9eab7aa552d3ab366b1daff970b18d8195a7f2b1
+88058457f1dafd070000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d652f7468656d652f5f72656c732f7468
+656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d363f2451eced0dae2c082e8761be9969
+bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e3198720e274a939cd08a54f980ae38
+a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9850528a2c6cce0239baa4c04ca5bbaba
+c4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c0200001300000000000000000000000000000000005b436f6e74656e745f
+54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000000000000000300100005f72656c732f2e72
+656c73504b01022d00140006000800000021006b799616830000008a0000001c00000000000000000000000000190200007468656d652f7468656d652f746865
+6d654d616e616765722e786d6c504b01022d0014000600080000002100d3130843c40600008b1a00001600000000000000000000000000d60200007468656d65
+2f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b0100002700000000000000000000000000ce0900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000c90a00000000}
+{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
+617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
+6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
+656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
+{\*\latentstyles\lsdstimax375\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature;\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;
+\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Table;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Contemporary;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Elegant;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Professional;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 2;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdpriority39 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Theme;\lsdsemihidden1 \lsdlocked0 Placeholder Text;
+\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;
+\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;
+\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;
+\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;
+\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;
+\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;
+\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
+\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;
+\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;
+\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
+\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;
+\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;
+\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
+\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;
+\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;
+\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
+\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
+\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
+\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
+\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
+\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
+\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
+\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
+\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
+\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Mention;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hashtag;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Unresolved Mention;}}{\*\datastore 010500000200000018000000
+4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000
+d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
+ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e5000000000000000000000000b002
+c4a57123d401feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000105000000000000}}
diff --git a/test/rtf/image.native b/test/rtf/image.native
new file mode 100644
index 000000000..1efe9d4aa
--- /dev/null
+++ b/test/rtf/image.native
@@ -0,0 +1,12 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Image
+ ( ""
+ , []
+ , [ ( "width" , "2.0in" ) , ( "height" , "2.0in" ) ]
+ )
+ [ Str "image" ]
+ ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg" , "" )
+ ]
+ ]
diff --git a/test/rtf/image.rtf b/test/rtf/image.rtf
new file mode 100644
index 000000000..4c6237478
--- /dev/null
+++ b/test/rtf/image.rtf
@@ -0,0 +1,6 @@
+{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier;}}
+{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
+\widowctrl\hyphauto
+
+{\pard \ql \f0 \sa180 \li0 \fi0 {\pict\jpegblip\picw250\pich250\picwgoal2880\pichgoal2880 \bin ffd8ffe000104a46494600010101007800780000ffdb00430006040506050406060506070706080a100a0a09090a140e0f0c1017141818171416161a1d251f1a1b231c1616202c20232627292a29191f2d302d283025282928ffdb0043010707070a080a130a0a13281a161a2828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828ffc000110800fa00fa03011100021101031101ffc4001c0000000701010000000000000000000000010203040506070008ffc4003e100002010303020404040502050500030001020300041105122106311322415107617181143291a1234252b1c115f016336272d1082443e1f1265382ffc40017010101010100000000000000000000000000010204ffc4001b11010101010003010000000000000000000001110212213141ffda000c03010002110311003f00dadd18a10a704f6a95ccc57e37750782b0d8d9ea0cd32e7c5446e07e9f4ad723119a7b89e61e348f260719278aad613cbb640002938c76a182b264fc87bd13009c0c019c76e3d68a072e1cf6f4cd502d330c28269a61bb39c923923d4fad44c08dccb95cfd28b8280769ee08a263891e1808739e4f1d8d149392172cc714050dbb9fde8960ed8c60b79b1ed44103b05c331dbdb1dc5026ac1946d20ff8140aa631c773ec738a0346a003bf93e9cf02801895e7b9a01886796c923bd0090a06393c76a0142003ce3d86680d8dd9392303f5341ccc1b3cf7a2c812c37e4923d381429757013209fa511c18146c9247a0f6a007900c0c671c6280854e086c673eb45c27c038fd68aedff2fda836ef881f136f25d5e6b7d1262964aa02b03f98fbf153131935edcc97576f35c33349212cc4f39f7ab26186dfce5b200f73451f7600dcb8cf27e7400c0b291914046c9e0718fde81371b8e7273f4ef4007691919240e714097f31f376e7b5008caee27807b0f5a02c8e1b3c6d27d33cd0201d839523144d1a149ae084b78da47638211771fd050d582c3a0faab5119b6d12f8ab1c06788a0fd4e2ac356fd1fe08754ddccaba849696309e598c9e2103fed1dcfdeadc44fea5ff00a7f956366d375e492403ca935bedcf1eea4ff6ac68a55efc1beb3b552574f8e7009ff933a927ec715bc82b3a8f4d6bba5ca1352d22fe061cf9a0383f71dea5119cc6c0baed3eaac0f1fad40897dcc3d81f7a052366c1007df3400f21edefc5008c28f30c9c5170ee4fc37830086395250a7c66770c18e78da31c0c63de8609b41f7c515c5172a30c3b76344a3e377cb2339cf7a242aea89808cce368272b8c1a2e107c672a49f5c1a181c9c7ae7da8a2119e7b1f5068099ffa68258a132062d8f9e0f34059502b61bf2824e681bb297ced2a71efda80f19c47b9c77fdbe74057c13e539cf3c1a0eeeb9c73f33405ddb4f18249c1e28062b79ae242902024465b9214614649e7bd0362a7249eddc513456e5720f38f5a1a98e96e95d6baa6ebc2d1ad1e65521649bb469f563534d6d7d31f04347d2a2fc5f535db6a0e83718906c887cbbe5a9a8bef44dce9f731ca9a2e89169d6d6f2184b1455dc07b11dcfeb4d16f119c649a681285b03d3e5500f87820ff006a0e098191de80ac9b8904647b55d11da9681a56a31f87a869f6970b8ffe4883629a289aefc16e92d441682da5b098f21ed9f033f353914d19b751fc08d66cc16d12fe2bf45ec92ff0df1fdbfb559ec667aff4eeb1a04db359d3ae6d40eccebe53f46ec7f5ab82263da7dcf3eb5174e5181076918c7de869503232491ee4515c1803824f03b51287f30e0e7d803449494832c157278a2e8c71fcb9f9d144639236824d01e142efb1768cfb9c7ef40512a818de78ff00a682518e7cc30ab9e00a02cce9953247bd41e467191ed9a04205ee99da4e4e3d283a524b0427b5026c18a8e082067db8341ce0e39ed409b6502907391edda80f2dfdc496f0c124ac6184b144cf0a4e338fd2894f7a7342d4ba9b568f4fd261f12571966270a8bfd47d8511bae85f02b47b7fc34bac5d5c5dc88a0c90ab6c8d9bedce3ef4d1ad691a6dae976a96d616d15b409f9638d70054a1dbc68ea51d4329f4619a8022b78e04548515117b05000a035c5c4702a995c26e3819f534047bcb68a458cce866719540724d02e41c0f7a012a40f6141cbc8e7bd01719e38e6838af1c0a04ca8206d3cd037bdb082fad9e0bd8a39e0718649141047d0d5d18f759fc0cd3af164b8e9999acae4e4f81236e898f7c0f55fed574615aee83a96817ef67abda3db4ebdb7f66f983d88a061bb8db9e3d45165076db83c1f950a53780d8247c80a2398f182724f1c7ad080c608cfa7a51a0062adc7afbd0130173bb9c5070f071cb37e82826106e8f615e01c9e680d6b35bc534be3c1e3831b2aa962bb188f2b71df1de819ae4b1048c7f57bd01a58268e332642ae0704f7cf6207af6a01b99e17b7b6416e227407c494139909ed9f4c0a04a4e501e0f1eb40d263e53dce7fa682c9d0bd13abf58dd6db18bc2b157c4975270ab8ef8f563f21447a73a03a1f4de8eb031582b497328066b97fcd21ff038edfde88b7e32703bd64188e7e6283864b73400cd804b67ca3268317eacea6d56ff005233592f8b6303f953fa4af7c2fa93417fe98b763e0ea171297bab98558068f695ce0e08fdbd281e5c6a57ba5e9d14d716ef7774f2ec112601da4f27ec2827ada74bab559a20e148fcae36b0f91140283729c77a0e0a7777a01dac68395719e39a029607cb901b19c501480ab9279f4a086ea8d0b48d76c0586b7143224a76c61ce1831fe93e86b43cd1f12fe19ea7d2533dcdbeebcd20b612651e68f9ece3fcf6fa5067cbcf20ff009a051724905411e94032799060723da8406d6c67e7ea68d0e1770fe5cfb5026c37039ef9a02eca098c91e6e01e71c500b1d8a49c12786cf6a06a4e256008e3d050119958007920e2801154e32fb4120927b014017eb1c523ac5209a356215c291b87be28957ef853f0d66eaa99352d515e1d190f947669ce7b0ffa7e74a8f4be996569a5d9c56b6704705b46bb5238d42851f2ac875712bc70b3c30f892019540704d01ad2669a0491936330c95ce7140b2e4939a03638c7e8680ae485e33bbe540d60d3ada162c90a02c7270a39340a4f28b68da4645007a8f6a069a746f73235ddcefc391e12b2e1916824948742c99382473c73404791c617695279dc0640f9502c578c9efeb4095cb4cb0830ba21cf999c6401f4f5a05061d430c8079a02e03b3004311c7d281b5e3cd676c65489ee594e4aafe6c7ae07a9a0a075bbea3a8ea96f047d3935ebc404f04ad29411e08e011d98fed416fd212ee5b05b4d5ad6300c615807f1171eaa49eff5ad418c7c55f8466dd66d57a521f20cbcd66a7247a9283dbe5418a63862479877cf1f6c5008e400bdf1ce684016fe53dfbd1a73794600e08ce3d6800377c8c7d6800a9cf75fd4503d91492460f7ee3d28247a7b459f5fd592d22711c206f9e563858a31f99cfd050583518ba75247b1d134f9aed21396d4669769931dc01c003f7a329c4d17458ac5b55d36c12e040a3f1da75c1cb04ede2447f7f6a94567ad7a66db4fbbb29ba7d65b8b4bd8ccd09c8231eaa07b8ab04a7c2cf87b3f53ea8d77abc72c1a5dabe2452bb5a561fc83e5ee7e541e988218ed2dd22b7855228d76a46a00000ec00a510bd4dd511f4fe84da95cc31f880022da4902b1e7d3e99ac86fd03d631f565b4ee6d4dbbc649009cab2e48c83f514165b8b94b6895c44f279c280839e78ce28178ae6de46748a789e453865570483ec6812d42e85a421fc37918b00a883924d024c6e99b7a2a966c0009e17dc9f9fed40f81c77e28139218e4ff9815b9cf23340a01c907b9140201038ed402fcafd28386464e4fd33c50272bc60032609cf00fbd024f722dc66f24822ddf972f8feff00e280f69b24844919cac9ce7de83a447f30ded823007b50459d6ecacb528349b979127651b1dc795f1f3f7a0990148054823dc5015d491c0a0c3be337c2ff00c489b5ee9c87172016b9b541c49ff5a8f7f71eb560c1fc43e0a47e1aa94277310431f91fa551c1727f29ed409b641c86e31839a3454805739c1f6a026f1fd740f64665fc8c31cfde82db79bb40e9e8f49b62eb7d7e8b717ec832c91ff247fa1dc7df2281bcc9369d671493c422b7911654c1215f92bb8827bf068624ba635392df5eb4b9924558ee5bc19b71cee43c6dc7cf34c657be8db0b0b9d0f51d2afe668934dbf9628ddb8c2b8c0073f3a80da37546a7d25174fd95dc125c69f7313ee5655dfc313bd483cf07b1f6a68d5b48d5ec758b612e9d7293211c8fe653f35ee2a084eb9e8bb1eafb3582fe496278f3e1c919fcb9f97ad03ee8dd017a6741b6d3229dae161057c5750a48249ec3eb4139238568f6a9e7b103b5037934cb3793c610a2cd9277a8da73f5140ee38f6280c4b11c65b934023006d50050030e4647de80c846de3b500fcf9fbd0197273ed4007b91400e580c8e45074a82400e72682b36fd2162b7f25ddc09af2766ceeb872db79cf00f6a0b3229550140e07007a50092db860673de818df473c862686dad6470d9cce3b7b63e740fa1de6252ebb5bd81cd00bee2d800d003a6464004763ce683ce9f1cbe1f1d3a67ea1d1a30b68edffba814708c7f9c63d0fafceaca31e6dc71e1f07daa82608c83819f7a1a11ce149238fd68d0a579ec682cfd27a7c3a86bd10bc38b3b756b8b93c1fe1a8c91f7381f7a034f752ea5aa5c5eb292f732128037619c018f6ec282e5a2cb047abda74d5ce9b6da80f136de4a496219b3e48c92000323ea73467519d3da5bb757dbda410ac90c77c23058f99007ee7ec31416882ee47d23acb5185caf8bab4691b1efe57fff0038a9457ee75a82f6e7429350466b482f2742c0f74241c80c38c64541a9cfa1e89ac0177d33ab3d8de28f2b5bca429f91140e2c7a9b5ae9fb85b6ea9b46b9b3c796fe040768f76ec0fafb1f9505df4ebdb3d4edd6e74db98ee216fe68ce47d280648f75e2485a44da385ddc13f4a025ddbdbea16a633286566ce55f9c8f6c502ad750db2c514f30dec428247e6340bbf04100b73402afb943ed2b9e30683836defe9403bc1e06734020e06280cafe8683a375941d841c77c1a0151b467b50159f00e4127e5402872371040c5046eb5aadbe9b1c02e2f6dad25b89047099c677b7b0140fe3f1010afc803f3018e68160c3041ee2823f5dba92d34db89a1d9e2843b03b6d05bd013560c1748d57aa2797c6b35bab78e6959dc47231580ff336dcfb03c1a58364b5bbb7d7fa7b7427f1f673830c8664285bd1815238fad20f2c7c41e979ba43aa2e2c1cb1b663bede438f3a13c7dc76fb5515e9065b851f7a02950002a09c51a1b83cf14176e90d3645e9ad7752752aac23b3439c066665c827e944d29a6410aea725c4567135bd840d3c88a723728c29c9efe6c50d3ee9545b0bf8ef2e6e3c2fc2c6f72f2920e5f19039ee4938a9a875d03278377acf52ddf867f036ef71923932bfe51fbd3475cdc369df0db4fb389d4ea37970fa9cc0b00511795ce7d4f181eb4cd2451755fc45ac16d637381b14ca36b641dfce723e4053170d6cb52bbb362f6d3cb19241f2b9029862f09f143549ba7e7d2eef6caf2797c66ee17fdfd69862d1a069da7dfdac579d17adcda5ea9e1a992376c4723e39e3b024fd7e94c458ac3e25dee8d31d3bae74e7b79002bf8b8549471db38f5f4ed4c165e943a06a328d4ba605b4b22a1523c420c64fbaf38a82d36f0ce7cf7463790729b53017e940e0b0ceceed8ce0500e1b70daa08f5c9ed41d271cd0132476e7d7ff00aa069797d2411168ed9a41fcc858211f73c5075acb25ca6fb82aa31e58a36c81f561dcd033d42169e158ac64b98151b3981c2966cf639f4a064c7a8ac55e4865b7d493701e1c8e52403ea3cbfda827e390ca3f2c914aa81991bd281cdacc2747215c60e0ee5c67e940cb51b0b2bcbd824bfb08ee1a252d1caea1821cfa67b1fa504982b2283ce08f518a08abb82f6dd0369a5662081e14ce40c7ae1b04fda82275cb0bfd4f4536f7114589a5412461f3e4ce4e0e060f63f6ab2893d3b4b5b5b78e22ed22aae3cc3cc7e64fad3449a22a461500007602a0cd7e3b74c26b5d2ad79147baf34eccca40e4a7f30ff3f6aba3cd0543267eb5427b86f1f4c76ef45d0eca1ad5ef224d13e1cf4fd9b22192fa67bc955f8c8c617fba9fb510d7a6ed3fd43a735e5b54964be658c048fb6cdd9e7eb8a186bac97d174e6d22e23437b7ac26b95e77c68bf950fa7279e2b22dba45b59e97a669fa4ea36aeff89cea9a90451fc355ff0096ad9f4ce3f41570675d4fa8c77da8de5cde5be26bc653171ca47dc1f6c9fed5562b97f70276808da7c24f0c1c63804e33fa8a2928c0e0383c8f7ed41d92a41393f4a2548595c2c37493db4cd04e8a08f139566edfef3445b6e7aeaf65d2df48ea2b11776ae02a93e564c772adef409f4ee8ba9a21d73a36fa579ad9f325afe599171ed9c30a960d5ba0fe2843abb47a6f510fc26a4c36890f9558fcc6783506a1147b510024e30339ce680d2c6ae9861eb9a009178a0205443b989e39cd01d8075e3047ce80563057ca381ed4011c4531e503d85013c91b804a21279c903341131cda8c3abdc8650f6d20c4321232adec3dc504bab2c113c9293bb1963df3408dd4b75e1efb2856463dbc43b4631fad047e9177ad4fe32ea16b1db4b8fe1aa92571f5f5a0916bc8e0895af5c46c17cd8c9ff7da80f6d736f7f6915c59cab35bc837238ed8a072a31c1ef4062870718a06f7702dc5b3c522ee4752ae0fa8230683c75d6ba3b74ef535fe984929149e4278ca9e47edfdab42058003763ed409f88ffd6dfad06b1f12ae612fa0c76e0b471e9916d23f973eb4158d3efeff004a984da5debc1295d8e4018dbf3145d583a2ad96f356bbd7f5d90dc59587f1e79a6392f28fcaa3ee47159444ea3aa5ddfc7acf50dcdc344d7a4dbc317f52641200f6000fdeb41b5ef51d8eab672ffa9e971c97c11638268e431a46000012a3b9a351567db823b11f3ef40948e428048207a8340ab48ae83cb83ee0f3428a982719edf3e68c9cc97d3fe15ad8c9be138f2bf38e7b8f6ef40f7a5f55bdd3f56b46d3649127f1405f08e7249c76f5fa50689d48ba5f545cdcbdb462cba9206411b2b055bb07d4fb1c73528d4fa8f52d62cf47b6b8d2e65fc458c49f8a818795c151939f977a823ba0fe253750eb7fe937b04293f9f6c90be41dbdc7ff006283473c1efc1a06f69776d73bbf0f2aca32572bc80470450284a46dfca19f819f5a04e799614def26c0bdce09cfd85045dc75769d12dc3c3e2491db0dd3c85195235f7c91cfd066ae0cdba9be31f4ec61a386c1ef9d4ee473e45cfb1cf34c101d3ff1ac9d481d46c628ed24751881880833f988e7b0fa5328dfed2f2def2ce2b9b79925b791772ca87208f7a60182ee2b95cc0c48f53823fbd40ac658b30f4f4a086d4ee1d75bb6b78f4e965596366fc5211b23238008fde81f43692da5bc30d97831a0397dc09e3d714087506bf61a2c4cd77324726d2caaec141f9fd2ae0c435bf8c57173ad7876f7a2daca10489121244cdf319ce3dbf5a834fe81f881a6f57bcb6ba7c53c72c11873e28cee1db391dbef4199ff00ea4348116a5a66a8a8a04aad04847a90723f6ad7d18c312ddc02a3815423ba0f63fa541687bd9efe1b533b3c9e0a78473e899e318a09bd0ba6eef543e3b2bd8e9b10064bd9e4da001dc81401aeeb29a984d0ba7d5e1d06d4e6594f06523bc8e7f5c0ac8af752dfc17d7090d9218ec6d9447129ee71fcc4fb9cd6842ab10dc0014f3e5a2c1704b671dfdc734525226dc939e283a362c7f940344a380393df144733e2276e38f5efcd01b4bbbfc3dda4a9298a44395902e4a9c70682660d4265d62de40b1bdc1545054f95c8fe627df141af7c3af8808f3dd68dd5d2a45765884b8908d8c3b6c27b7a77a945d7a5fa474bd2ba8e4d5748b28624955d5d8b13b79ee9e983d8d40a753758c7a46b96f6114725dc92279a2810b3a64f94900763cfafa503fd3b59b79ed84da34713c0cd890f0a158fa1f981de826e1b548959fc4dc5cee24b6467e59ed4101ff19e9f676baa5d6a72c50adb4ad1ac790ccc076200f7ad41e7df881d79a87576a5f87b0f161d381db1c2a36e7e6d8ff3416bf87ff082c6f208ef7a82f22b9761bd6d619785f6dc477fa53705ab57f83bd297ceb1e9caf67708db9c4526723e849e3e94f212dd25d117fd29a8c09a76b534fa39cf8b6b71ced38e36fb73417f52e64548e34007e673e9f21ef590a1c918c90718dc281a69b68f67118d9da5058b798f6fa7fe280daadd1b2d36eae70710c4d263df0a4d583cc7a668fd4bf11b5837d7c93dcd9a3146959822a0e781f4cfa55161e9dd7fa67a4f55b9e9aea3e9f81fc09ca0ba118998fcdb2338c7b528d39f4cd2ba76e2d357d292df4eb391809963420ce1b1b576fa1e7359119f1eb4e17dd033ca172d6b2a4df303383fdeb5c8f2eef3bce4e0e335684cb0c9f354160d36f64b0baf16072b91b5f03391f43c51aab23a5debe91c4fad4d73689e6fc3a290573ff4f03e59f4a3280d67581ce916567f84b58ce0a1fccec3d58fa9a084de08c90464e4d1a8e419059b201f4a05630a176918efc50176293872c17bf14042aa0125b03db14046c60b60123fde6827fa0c68edd5365ff11346ba6292ee64194240c807e59a32b7fc51bfe8bd5ed5db424860beb62b89218422ce09c11c01dbbd0660ae110bf1bf2154838dbebfefeb41a8f4cdac7f117458f4d9ecd2df53b4cf81a822808c47255c0f7c8e7fb54a2ec2cfabba3b4b4b8d3af12eedad40926b0f070a13f9b633649f7a82eba6ea4357d321d4ecad512daf20df26e016507fa4fbfaf3e98f9d067dd2bd2faac9aa4d72d72d1e9510ca46a7631c7a320e18f1dfd7bd059afb7da816d23de4ba5de211346a1e4785f190548e4648c63b64e6b43ce9d5baafe3b539c5b452dbda46c638a167cb281c73ee4ff9340e3a3fa5f5aea4ba58f4bb57dbfcf2b02a8bf7f7a0de3a5fa0b50d2a2d92eb3e048c0a97c867dbedcf6a944e5cf4f6b76d1b3d8ea42795066266c87c81c65b9cfaf15048e83af3cd64abac08edaf01546c38dae4e0657ee6826e5b892de3702292e2545ddb55700fd0fbfca81c4b3bc718716eef9eeaa402280d14ab3c0b2c65c06fe571823ed40df56b217fa6dd5ab9216689a33f2c8c558307e83b8d77a37aaa7d22f2512c28768800c9954671b3d33ebef568d0ef7a7749eb0b5bbbb162d657b32b46d2e1564c8ed9c5644d1b0b9bbd261d2a440af6cb0e2e5b1e7dbc1238e0f7a0375b696daa7496a3a4dac8a92cf078685b271db04d391e40d5ec4586a1716de2a49e0c8c85d3b120f715ba1899173ff305413070abd89cfe9f5a2d3ee9c8639fa874eb6b804c52dc46b20c9f302c3bd11e84d47e1af4d5dc6521d3e3b662c19a58721ff5a9a321f89bd27a374b456d158dccd34d333332c9b4b2afbe47a7cb1f7aa33d2bc0d8c0f1c8f6a2c14b6d501b39cf63450897380c319e3de8065031c038f7ed40d8faf1ce41e4d004876a8dc3cc7e743025c956c818028c904579e7f0e15695c9c0541924f6c00283d0bf07f42d6b48820b8d62d20b2b58d656404959e52f83c8ff00fcfafbd4a35bb06f12391a48dd55cee2b2f3818ed8f6a8158a159890f02242079147623e631c502b0db436d1ecb7458d4738038fb0a087d6eeb508f48bb7d32d95750752b6c26c905b3ddb6f61eb574794f5cb6b9d0fa9678b512b25d24bbe52b8c1638278fbd582c57ff12afaed45b5bc0d0d8a8c08a2731ee3eec5793f40450466a1d59af446293c186cd53ca0c36eab93dc649e49fbd048e89f1675ed35e301e293919dcbf9867b37cbe94a35fe94ea4d33aba6824306dc48015750d86c6e247b0cf63591a40b8dc23fc30f14138dcac3000f9d03687547f12e8dd5af816b13148dddbcd29039c0f6f6f7a0eb5d62caf5636825db70c9bc4328f0dc0271c8a090627d3073ce681acf6505ccf14d35bc2f2c2731bb28254fb8a075144a83ca806792400334049ee6281e2496408656d880ff0031f61fa50446bd76058ea1b9e21025a3bb48afe71df9c7b71de9c8f196a0de23ca7b827d4f7add117e0cbfd4b5059392369663ff004e71c51aa97e8f555eadd258f2bf8a889cff00dc28cbd0bf123a926e96d163bdb74490bca2321c678209ff001591e71eafd7a7d7ef45cde2c20aae144638033fb9ad2e1b5e69d058da431ccf21d4a5c3b4631b62523807feaf5c7a50222f2d648c25f5aeec8c2cd19dae3d3e87e944d3eb7e90d425b49ef2292de38224f1505c3f8724a9eeaa7bd0d57a60406059436306868a7803839c7ad1a158039c13f4a33a716767f8cb9b6b55e1ae2458813e9938cd07a9f42d0b4de99b4b7d1f41b58ff19b03c93ba06607fa8b1f5f619a5b8266d74a65d42da6ba90cce996dcdc8c9fff006a5a2c2635083b05ef83eb5028076341db4b1ed9f7a04651fc41db18ed419d75b744dbea335fcb0db0335f2057901c05da73c8f9d5d18a75174a3f4c47335e35da4ce418a489374254f707d463d33565d1529b569a489a17944b06ec8057d71dcd037b4b6b8bfba31584124b27e62a8a4f1ea68357f83da7ea5a76bfe0912453ccabb49194653cb60f6ce3dfda983d196cd108c2401711f9768e306b2297d73fc6d02773a8b591922693c5004bb9d72542fa2f6efde8314ff867aeeec27500b77bb5670e36ca19b1dff2e7f2fd2837ce8bd5dd348b78b552219022870d9c46e792a4f6c608a0b846c8e03232b29ec41cd0199f1410fd4b24b1e8f712c0a5e4452d851e6c639dbf3238a0afa42ba77475e4ba8470896681da45180b18da76af3c9029c8f26dc1df2b9c606e273e86b743331924f27f4a82c12280e59b008e79f6a2d4d74188ff00e30d203a82ad7519c1ff00b860d11ba7c5e86c9fa3afae6f4091e043e021270b21e01c7dcd6479ab4dd3aeb56be4b7b184cf2b301b57d07bfd2b4bad0fe25e9f6960ba7c7a55ac50cd750335ccaade7723b83b8f6e38a2207a5ba4e7ea3d93780cb616ca53781f99fbff009a0b675a5be9765d43a75a6ad3b25adb4185429b831c70303dfdfd2831eb8954ca48f3827819c71ed406b2b1b9bf9a5fc1c4ce2253238047957dc9345d122b792eee522811a495ce1157b93ed444ff0049f476b1aaf51c761345269d25be269259570c833c6077249e062a68f53e8ef0da69509d4ae225b92a04af232ab16f98cf1f4a5a266d4dbca8af13a329ecca723f51502d14f0cb9f05d1c8ee01c91f6a0393b4edfe63c8a031608859b38f97340d84d04e5846eae50f9829ce3eb400fb24466041f5e3d2823f56d22db57b192d6e61468a41c823ff0035651916bbf04ada7badda5cad6d1b72c09dc33f2a6875d25f0865d06fe2bc6d4c4d3282026cca8cfafcfd29a34cd234a10c768f711a78f1bb392a3001208e3ec69a26a58d640c832091c90706a084ea1d3eeafdadf4f86da3166c0b4b397c18f046140f5ce4d04f4702436e91c28a9122e028ed8a0a9f5a5b6a09a1bc5a135bc72cce048b3c5bc15c638f9d59043fc2db997481aa69dae49e1cb6bb643239211939e467818f97bd305965ebce9a10bc8da9dbaa2679dd9ce3d8530572cfac87566ab05ae9f1490692b9696e1f833738555f96793504df5f25945d2576b7ec16dc46792381c7b7ad5e60f234980e42f6c9c56a82ec3eff00bd4124e49700f1c646e3cd169ce9575f83d52cee324347323f6e3861ff008a23d47d4ba6a75074fdcd8ef317e2e2ff0098bdd4706a60c3f4ae8cd5f44eb8fc3e97248a638cbc73bf90483d463b373e9574685abf42a6b5649fea72bbdeac4a8d3b018cfae31f7a6895b6b29b41d30d8e9f6bbed9213e1b7a994e724fcbb5064bd7835a9752d3af75d8116354778f660788cbd9483dbb0a0cd20b2b8d43528ad2088bdcccf854039cff00e2827a0d34e9da1de896f2182492efc0976f998aa827d3d334113a74aa9a9298628e74570478bc0c7cf1da83724bb8246d3e6416b0384da61b5501c9f5c3704f152c037561a95f5fce61d3ad6db4ab950f34b331dd9f4191db8fdcd406d67a675ab4b6d325d1af248272a43430315ddec7038f6ad4b3f448bf47eb71cb69abddebf21d5e26896203846c30c8603b9c6452d9835901405660376319ac84bf13180779d8bb82827d4fb0a06f777367a75acd7170f1430a9f331200cfceae061a0cf6dac692d7365266191db0578f5edf3a6075a6c9278b3433188a467860d96fbd40fe540471409aa0c1140750001ed8ed4058e15133c983960077edf6a06faade5c5b7822d2d926766cb967da2341dd8f0727d85033d27597d62e2ee3163756915bbf8799d71e2f19dcbf2a092b88dd9a311950a0e5b70ce47fe6ac18af53f5b69da9752dd69da9ca906876e24465d9e69881c6ff005c679c0aa2bfd267a347512c93dbb5d42d90d3c800b68c9ce0ec3cfa528db74ad034db5905ee8be1ac728dc153984f3f980f4fb56453be2de8f647a6aff53796596f0aed46798ec033ce149c0fb0ad71479c9bb9dc3bf3c55a0b95f65a825150b481a407b93c0fda8a29c06671dc93803bd131eafd0af6dffe18d2ee25982a4b04603b7a9c631fad03bbe586381bc5945b96385718c827db3eb5288eb8ba934eb15fc3c535f05427796dcccdec7150637d5bd55d5362b7975aa4d0d919018adec8637807bb60723000e4f7cd58203538aefa8aeb478a7b9beba924547b8774cf8608036a80704639cf1f9855d1a7f4c68b67a03de5e5d59dad8d988c62e1c0f107a1e7fdf7a082ea6d07a6e3e99375a7cb6b3db093c727701e2360f7f53dfb50653d4130d42ee18f48b3f0232a15218936963ebf5fbd06dbf0cfa74855b9d46e04b730c6144691e12307d33ea7de8348ba6b5478a279a004f98c479247b81f5a9438805ac0be2e02e73c9ef8fbd40c2346d43578eefc40da7da1dc8b8eefea4fcb9fef419beabf12a4bcebcb2d2fa7ee0dc58492084b30236bb6467dce383f6a0b87556a67a7f4d95a0bbb5468816f0a69c78b2e072572719ce78357079dfab3af2e7a92c963b88d94abbbf91cedc93edf418aa2c5f0dbe2a6a9a0c90d8de34773a6a8da1186d6403fa48fec682d9adeb7a9b4c9d572dacc9a6c9700456e5ca910e000ecbd8e580352fb1ae7476bd6dd49a325e5a9f3025245fe961dea097523cc0919a032af039a006936c81423104649c703ef40dcce64bc3035a87b6f0c378f9fe7cf2b8fdf340a4b6e25962915d94a67807839f7a043586922b5636ec44c061063f31f6ab079d7fe19b7eb2d4efeef55d5d74f992e9a0fc3a441dcb13927b838c9aa2d4bf042c618e178efee6e18104870172318edf5c1e6945bbe1a748ea7d2315edbea3a99bcb190030c401010e4e783ee0fa56455be3d6b90c1a6268d69e17f1486900ee98ec29ccc183119419e7e55ba11f089f523ef5058363a8059fb8e31e9421b491056c01819e28d3d0ff07eea3d53a1e3b6b8db235aca63c139c0eea68ca47a9fa6ef757b83ff00bf68ad428c2f248c7a8f9fcea518df516adac74e7544f63a2ea172f1800291e6cee19ec78cd5826344e85b6bad25ba8fade5b99dae0ee11efc71e858f7e7d054a2d7d39a75ae8f7b6b00b8917f1516624b78429da327cec493db1db1d8540cf4aea28f58d6aeae2f6dd64b498082d880488d149fcea7d4939ab04175e6850a8d32de3b78e380c8de32c4db4e18e430fef543cf86fd0d691b4fabdf6648b3b2db69ce7dd87be68342d2f4fb9b5b891af1a28a2dc05bc5036d001e0eef7352884b961a2ea9aa7555c885e08d45b5bc52b61b686c120fb939fb541276bd4b61d53624d942e2f6200bc32290633e99f4233416dd3ad3f0d611c0c77b632e71dc9ef41156dd27a45addcb3dbd9c513b1dd941821bdc7b558333b9f873757fd69a85e3f813e9c7723b5d93265d872473c11544a68ff08fa75e290b42ec4e4124e70738fa5048e89f0f745d2aeadd2decedda6525c975121183c77f7a945c754d0e0d563682ed43425369403bff00bcd58308ba7d5fe13f5a05889974a9d8b46aede4914f707d88ff001528ddf4fd7edb54d1a1d56c312dab2e64dbc9418e78f5c541296d70b716d1cd6f8789977230ecc280cb7519b816f212b205de4e0843ce300f6cfcb39a0545c42cee88e0b458ddec33ee680eac92266360debc7b5056fad2d354b9b189745744be121daf27e550548ce3d4d58324d07a725e98ea2b7ff5381f5169a7579d021fe13904ee43ddfbe49038ab46e76cf05cc714f6d309232a4a98ce54fd6b2196bb7f2e9b631b2c427b891b6851db3eff002007341e5bf887aa2ea3d4f77378be381e42fdb711ed5a1554395caf1cd07617dcd04fc85402101da791421b49920331381c60d1a69bf02f56f03a925b12c162b98c955f775e47df19a32d99b518268e4491668704a79d4aeec7b7bd4a30feb7e9144d76e265697c3e2693631674273803e556087d76f35fd49859e9925ccf611141106f2e182e3241f727f5a94681a268f79ad1b1b8b9dd66b1c2b1ce9bb06361c1e7bf3fe6a096b0d3ba57488e485b52b40909c386901607d47bf7a0ae758eb69ac4d15be81a748f0a9c35cc90b2eff4c03c1c638a0b77405c5d5d45f87be5fe359a88b81b401dc1c7d38fb50586fed18ea3015790091591e447c1518c8c7a0a0a5754d8c9d49a8d9f4ee9dba0b3b5224b9692327728f627e7c6682f9a7e996b6b3a8b6b748a348820c7720761412c064e3041ce282b5d4bd73d3bd3f33daea97ac2e540dd0a292dc8cd043c1f15ba2a7923b65bb910371b9a12141f9d02edf13ba2ade56857551e5e77244c54fd0e280746ebfe99bbbd655d56dcdc9ce08465565f4ee3bfca82d53eb3a6dac3e25c5f5ba646402e33fa77a0aff5b74ad8757e9ca972844aa37c520fcca7d3f5ab067bd369a8f467544d626c98e9f7118f0200e4465c903049c8c9e6ad1b24334b6fa6249716cab20037c309dd83db03b5640dddac3764a4f02cb1103863919fa7a1a06d6f600c37162911b7b252b87dc773f1927393f4a079f868edae1ae6328a8b1ed38e30050226e85d5dc1f879011b3c47c2f604719f9d01eff4f4b83e3c6b18bb452b1cac9b8a83de80b16e8208a3b7b58e1407cc061427cc0ff1560ce7a8f592d69a97504cad2dac01a2b53900c3e9e51ea58f727d0551e73bfb86b99a49a46dcf21c96340dc13804f20f6f9501c0e3b8a0963316fcc4607007f57bd084d64dec01200ce483468ff0040d525d1755b4d4206ff0095207c11dc67ff0019a18f56584f6daad9dade4211e39104a8ded9152b235cd8c530613229c8c1c8ef50472e81690ee00322b0c100f0debdbb7ca8111ace856371358cba85aa5cc407891ccf83f2ef4048b4ad2e59bf116769672c72f99dd1437239078e2824a4d3e1b94559234110e781839fa0a0561b38ad532a12319c86c6307e740a9732a3a00cac870cd8e0faf0681be8b6db965bb909df3c85806eeabced5a09523647e6e0fef419a6adf116daf7ac34be9dd1da686e7f1ca2e243b76320ce57df9ff1560cc3e3f470ff00c78255b842b35bc6c4af9b6e323d3e95467b6365f8dbcf062beb68c119595d8aaff6e282422e9899b4f6bb5d46cda2562a76316c1078f4a0859e1b9b762c0bf94f0e84feb4125a57505c58ea70dd5d0174a986d92b1c13f6f5a0de7a5be366877260b5d42dee2d2423124a487507ebdf15289dd3fac7a7bab6feded74d61733473acdb5a162142ff00313d81ed505fa58fc6d809380c1b9f5c502e0e05040ea367a85dea454de2ff00a610375b04c16c7a16ef8340b5f6930dce9375636acf6a278f04c5dd4f1dbf4a084e91d06f3a52dee62bbd4a2b882494ced3c8a448063b63b638fde803ab7ae749b2b3096d792c93c8c109b55dcd18ce3710473ffdd043dc758dc5869044565aa5dda4c3c2b7bc78c1f14e3963db03e7c0ab066bf1327d41ba76ca6bc48ecad24c456f6b0c87cf8e4bbfa138c0fa9aa3297c83dd4e28395811cf2680a5b93c7ed413cd1ff0f3c797b8031406645236b0508406f30e68ba49c051b97d0e0e7d28ad57e19f575c5be8f269515dac772877c11bc464dea7ba8c739ce78f9d3193bb8ebfea2bcbd6b5b6b8b58bb7f13c2f0ce31cf0deb4c0f2dbad6d743d2ee99efae752d6c02a86e0054524f6383c7ff94c0b6af274c75149a46a5a82c46f1e1479fc3190bd8156fbe7f4a960bf74e9d253f1167a3ac09e0856610e3041ec7f6c540f67b892cee7f8d18368232ef2af2508c7047cf340ead5bf130accc9b1186541e723d09ffc5033bbb1b82d74d6b37f1244daa1b38073df3f4a08eeb1d3b50d4fa6a5b4d32f12cef1902ee73e523d476fde8306eb0d3fabfa4ba92c278af67bb7281606472f90bdd58558253a6afb40ea1d62283a8b461a66a6f931cf6a7c2466f7cfb939e7b5515fbed3747b5eb8f06eb78d35080a2ec9719c76f98049a0b4ebdd37d1bad869acbf0b03c5c16b29444adf50ded41995f68564a263a66b31cd02be152505493f51c1a088bab69ad1bc179e320f07c37c8a0692b46c4995f0381db39a0b2fc34e971d57d4705bc8db6c50ef9dd97b81fcbf7381528f5ae97a1d8e996d1db69b0c7648855b10a81b80f43c739c54134147b9a036063279fb5046e957726a0f2cfe04915b06db1788305ffeac7a0a00d72f8d9c491c06337533050ac7185cf2df6a06da2da4293488f34973328c34aea428c9ec3eded40ee7d2ad249448f6b133820ee2833df3fde819ea96897461b05b87815f2ee919e5d47704fa039ab079b3e326b70eafd4ef6d6650d8e9ebf868b69c8247723efebf2aa280eb9193ebedc5002a124e015340018fb8fde82cf32b1603d0678cd02406dce3008e47ce81b499c331383c9c9f5a2e9c69377369f7d6f796a4acf148acb83fb511e91b3b3d0bab745b7d45acedd8e3732b71b1fd73f7a5a19eafd09a56a0a96b1c705b49c48510761ce4fcfbd4d0d752826b2b583476fc3daacb295b79d768de8a32b1e71f989e49f6a7d14dd1af5ba275a45b8b093c054492ea769092373765c1da4679fbd306e36ba9595fe9f0dcdbcc92c33e1579cf27d0d409ea178f68521b6b76926ee8a7853f7ff140bc768d78f6f73748d1cd103b543f0091cf6efc502f7319dac194371d8b6326829f0c501d7ae6fa568d5d4942c806d4db81839f53c8cd59456fae6e628749b5bab8b1865b08e4726588ec11e7f2e49071c93da9a31dd4341d675e9a5bad374f9858162d0b4ac70e18f0573df35a0c759f87bd53a404f174f965dfff00f479b1ef570576e34bd4b4cc0bdb3b9b7258a00e846e3f2a94376475cee4914af7ca9150685f09ba61efb52fc7dd69bf8eb7c158d1d0b47bb38f37efde968d6eeb4eb5e91d6ad25b660aee59974db6881690918e31ce39279e062a5a34bb57b88adedd1e379679065d80036679e6a07e8391bce7e940c659ef5afe1286de3b16f2b8903094b7b2fa7ce81eb380c4260ed193f2a0cd6fa5d4a4ea0fc7bdadcce923158a3039db83c038e3ef41a0e96b2ad8a35e009291b8a939d9f227e43bd590436bbd6fa269202c974b7123602c76e779624e00e29833bf897d493e896525dbcb2a6b5a9c3e1456b91b6d60cf989c7f31f7a60c02490961ebcf3eb541308e39e067b507007b96007a67fb50178f97eb4165ce18165c2927b773fad023202d9c8dbb7818ff003408300b87f2f1c107d0d0c15a4f2e339c90467f6a18bdfc2cea8ff4bd561b4b9ba686d6e64552c4f954e7d7e46a60f4688d240af1b2bc6cbf5047ca960617ba658de1b792f2d94a5ab33461b18524633fa1a81b5c8b5168967369d23c0e0a24622dc981d81c76aba29df0bb48d660d52fceb88d069f04aeb69130037127f37b9c0ed9a8350781240bbc06da72323b1f7a0eb8816e633192ebc8c9472a78fa50349b4c83c068e24f0ddbcc1c13b837be4d055b57e98b996d4db5b4a893dc1e6620b6ccf2c467efc504ce97a38d3f4d874bf09af6d46e2f25cb82724e791db15650a43f878b51fc34f3da8f132b6d6a98c80a39ff007e99aba249631b58b9047239ec3e55368aeeb7d2da6f52c0eb7f16e87f2c6e836ba90724ab7a67b55d115ac7c3e8aed2182def4c56a14096368959a423d77e3229a27b41e9d8343b01069c8a8dc9660aa3713df3c64d4a1c695d3d6b67a8cba94b9b8d4e61869e4e4a8c636a7f4afcaa09a485519caae19b966f7a0435196582c656b74df3e308beec7b50629375775b691ac5bdb6b16d6378779f019b00a31cf391c9c2f1daae0b35ef52f5374de88d77aa45a6cd25ddc0108694ee2188c28007603d6a0d16c92430a4b2ed3230dc401855cfa0a0a07c45d7b5db9d462e9ee960b14b2ee134ef8c850012147ec78ab0670b643a2efae753d72686e6e2da211db42176079c8e768f65e39f7aa332d6f58bbd635096f6fe6692695b24f603d801e82823cb900ee00e68006460051dfd680ed9f0c905b713d8d006d5f5419fa505a18f94e40501b1b81a04186d62402c87be3d6810b81290aea8467201231cd1749dbc437f9f1e201db3de8ba07dc0175c027f28a335b17c26f888d6b6d0e8fabf892a29c453b1e547f49f7a946d6424f08236491c833ee0835073294888894120700f0280813c40a6711bc8843e00fca7d3ef40e41dc081f9a811681c6f7565329185623b7e9de812b3bcf11ff0b74563bd50494cf120071b97e5fda80d7577046c9019d5669dbc340324eec67fb734103d5da96bf67a7cf0e916f6e2765f25ddc4c11107ab1c8c647cce2816d3ec7f0f6564cae6e67da375e6d52cc4af2e4fb13ed4145f899d47b3499f4bb6d46cda49b69b92921565c3648e3dd40c81cd5c0ae89f13ec246d3e379ed2d6da180b5d34849da1780b128e49271c9f4a60ba685d5fa36bc42d95c324ec7090cc9b1d87b81ed50588958977cacaaa3b9341c655f12348d1dcb8dc1946540f99a019e2134454eeda7bed3839cd052fe2136b536b5d3563a1ca53c49da4b9507198940ce7e5c9fbe281c6b7a974cf4ee4ea7242d76dc784a3c595b3e9b464e3f6ad0ac745ccbd4fadcbabea42da56959a382ce7460d6b1a93c01f97272093ebf6a82f1ad6af0e9da5cb3cecf6902216919f82aa3818c7a9f4c530649a9f5269ba7429d472239bc991a1b0d3c3152880f0f23039e7bf3de90635ab6a377aa5ebdcdecef2c9239e59f3827e5ed54302195fcc38cd01245395c1f5f4a05b606538e483c501b6939e3b5077860f3914165754c33e549000dbe87de813b820c27fa7baafb8a04a69c98e281e42618c795338033df1f3a06c03e4e029247007ad010093c35674da71f977640340081a190658e41c820f141b0fc33f8926c218b4ed609366a02249bb2d19ce3ea4528dbece68eead926b7916689c643a9e0d643387521fea2f693c2d6efc786ee46d9bfed3eff2a04669edf5295ff057a60bd865309246d3bbbedc1efef41d63a8dec9ab4fa7dd4510fc3c69234ca186e2d9c003b7a67bd034bad0a5bb96e25d575267889cc1b54446d9bd0a37bfbfbd02925945a72cba8dddc48b3f87b1e58f23c623f292bdb7fa7cf38a0a5750f54ebba56a9a67fc516b6d6fd3970ea9234677c8dc7f38f6e4640ce282d1ac4b16bfa72c1d2bad430cd1ba822061865f5007d3daac19cf547c189357d561bbd3eee683c62cd786e9b73337b8c7bd512bd39f06adedec2de0d5ae639da372e6485363107f97767b505cee755d03a5e58ac228659af123184b7b733322e38c91dbf5a943ab3d52e64b49ee755d2e64950e238e35f10c884e17cbe87dc540e6d7509a4f110e9f7566a471712850abf6ce463e6280bacea36fd33a4497f773cf32c698dcc4beee33938edc7ad05534aea683ae61d64c4d2a69b6b88d16d5ca5c303f3e386cf61db140e27b5e99e96b64bdd562b6b30aa36c6c37cac7dc9eec6b42c1a66a962fa70beb6b516d0cbe76322f86c78f6c66831bf8b5d5d2dfa35a5dce60b1933b6ce3c788769f2b331ec1b8fd2831b79649984b239773c1dc68129725c1c640e73400ec781d8fb1a03c4a85d0c8582640257bd01e51fc42236263c9c67be280429c6037eb405dbf5fd682c2a0bb976cf07d3fc5009279ef8ec4e68193a9902b28e7dc71fb501d95b098e0f6dd9e0d0049131019b047b8390281bb292484e47c8500c4f242c3076bf704704739a0be7c3febfbae9a5daf23cd017c7e19fb107bb67d0f6fd6837cd2757d1fab34f4f05e37dde630b1c3a91edf4f7159103d6eb7da65fdbdf59dadb5e2460ac876ed9e1c8c060f9efe9c8a0a75cfc42d5742d2ee5a7e9dbb494b6d6b9bc930cce4f940e3cd81ed4160e98f88315e689fff0022b57664199cc5196f0c7a164ef8f98cd0589baffa68590985eb15c0db1985839f6c2919340b69d03f5285bdd6f4bf021424db4329cb153fccc3d09c76a090d3340d2f479a7bab3b38e2924e5e451cfd280d7dafe936f6c5e4bd89813b02a36589ce318a0358dc35cc4e17f9bf234cdbb78fa0c607a7340e6cec20b1596610c6934b8323226379edda81da8dcb9ec40a042f50b5bb21645473b58b11dbd7bfca8304f8add5d67a9ea8ba5d8ea72c1a4d8a952f10f2c920e368cf71e99fad5833dd0754d6ed66bdb2e9a91a5babb2a310465a57c1ddc1038e7bd5171d3748b8d46ee1ff005298dc6a764c27d4eeaee7fe1c01795881c9e7804fe940dbe287c4b6d75a1b1d1c986d62277c91bf131f4c0f6fad0663737135d3b497124924871f98e7803007d2811dc5b83903dc0a0333f03be7de8122df2c9a05a11e5f51f7a05ce7071804fca8033e5da0734020b0183bb23e5416269577ed0e5323078ceeefdff6a03dbcd62914c2f629a47c622689800879e4fbd046f9d8a2a03e31385c0e73da8b83ca590947dcaead8208e73da8849b3e19ce704f7c5015586d006431f5cf61f3a04ee586ff002481c8fe6191408f0011eb8e30682774dea9bbb5784492ca6385832e1ca95e3d2834be9df8c312e2db5eb4375080337000f1303d18763591a469baef4d755989ec6f6dae5a23e20b599406dd8e080ddbed41272f4dd8caf1c86d163910f9595882a3d718a035edd695d3b6a926b57d0ac65b10b4e06eedd863bf141077fd7af2782bd3fa26a1a8891d57c630948c0279393dcd04cf5875258f4de9f0cb7b7b6d66d2b81ba752d85f5214724fed41036bd79d2fe319d7a8f4b9c81e58de2f04827b9ce09a07a3acecf54b790685ace8697606009e52c377b7f2e682b097d7d36acf0f55df5edbdc0977412468cb6ce3be10af3c63b9c8a0b0751f505be9690dd5d752436f62a3fe4c6448f3b7b0c64e38f615734651f107e3045ac42b67a7693018633b965bc1bc838ee173807bf7cd33065baaeb1a95f2c11dfcd2bc51fe48880aa3e8a062a8b059f595df4ae9a74de9e9ec499d43c97b1427c6e47e525bb63e4282ad3ea3712893c599dbc4259c1627713c927de81043950df97db1406da8411c92063be280230839627078e79a0390a71b5bb5003a8c1232338e4507025573e9fbd02a0e41dc0e680c3691cf714053bb34160895dc16f291d98d02322aa39f3e14707ffaa06f202a5bb0c7201f4a343aca51090497efdfbfce89840c8db8e46573923ff14410b00490d9f5c1a0425dd8ce4673e873cd0265e4dbe7041ed814009b8cbb8e5863bd07163b7716e0607b6698060b96b7b9478dc8643918247ee39a60b7e97f133a8b4e0c63d4ee597380923970a3ef4c0e13e25dfcfab457ba95bdbddb212016501867b9cfbfda982f907c74b282da34874a9048aa479c83838edc62982b7ac7c42d235cd67f15ac5b40c366418a2cb0c1c81e6f5e31db14c160d035de8cd4a3f18ea96562cc37359dfe9cac887fef039fd6b39446f56ea5d13a9dca4579a922496b1975b8d22dfc3566cf9557230703be715ac1431d4d2275325d7fae6b4f6f182a93ef1e32a9f41938f6a60afeb1a95c5fea53dccf772cf2c8c489240031f627e7565c0d67bbf160487c1801073bc0c31f91f953420f2bc8c7c52cc540032738a809905c0f4fa501940208e73df34028e703938a0577ae013f4a001300db4f03b71407461ce0502dca8c9c7dcf6a003fafcbdcd0070bc1e0fd734070db467b8a04cb9c9e68274b93bcb1daa40200ed4099765249ec476cf340849b8b264823bf34689ee009cb671df1409bc8e8b8e770e3ec68984d9c953cf97be2860b248caaebc107dc67f7a184c31232db88fd451031ce50e76039f5c8045026efb8f93279e0fd680b239504f0483d88ef409ee25bb90c79c0e050151c6e21b39ce783eb40adbcc2cefa17bdb61322387781c950e3dbdf9c8a066f28790b22e013db3dbef54726081e63c6460d34191b1bb0720f634060e7600412c781502409c8e3d7b500ed71dbef8ed40243f181c0a02e5d4e0fad006f644e4819e3b501f7e3049e7b501bc43b4e391da80558003392d40a23305e320d02e64cf998e1bf5a032b0c927b8e68049c8c8e71c6280377043118f4e680bbff00de0504ddbb3128371c1c64668024e59f3cd02521254e4fad1a2107e48fe6a6809ddb9e78a029e1463d05027ffc744a6c3857c7b1a205ff00e637fbf4a02b12b1794e39f4a02024e7249ed409924720906800005173fd7404989698ee39e4f7a04cf723d07a501fff0097ed406ffe36a018ff00281e99a037f4d0731f3bfd28007e53400ff99a810248c0cf140bc60123233cff008a0557f9beb4056eff007a07109243e79a03778b27bfbd02b128c27039a054001b818a06609de793da815006070283ffd9}\par}
+}
diff --git a/test/rtf/link.native b/test/rtf/link.native
new file mode 100644
index 000000000..63a0d19ff
--- /dev/null
+++ b/test/rtf/link.native
@@ -0,0 +1,9 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "pandoc" ]
+ ( "http://pandoc.org" , "" )
+ ]
+ ]
diff --git a/test/rtf/link.rtf b/test/rtf/link.rtf
new file mode 100644
index 000000000..7d872abed
--- /dev/null
+++ b/test/rtf/link.rtf
@@ -0,0 +1,7 @@
+{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier;}}
+{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
+\widowctrl\hyphauto
+
+{\pard \ql \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "http://pandoc.org"}}{\fldrslt{pandoc}}}
+\par}
+}
diff --git a/test/rtf/list_complex.native b/test/rtf/list_complex.native
new file mode 100644
index 000000000..9dfd17755
--- /dev/null
+++ b/test/rtf/list_complex.native
@@ -0,0 +1,64 @@
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaInlines [ Str "Cynthia" , Space , Str "Johnson" ]
+ )
+ , ( "operator"
+ , MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Text"
+ , Space
+ , Str "before"
+ , Space
+ , Str "list"
+ ]
+ )
+ ]
+ }
+ [ OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ]
+ , OrderedList
+ ( 1 , LowerAlpha , Period )
+ [ [ Para [ Str "Three" ] ]
+ , [ Para [ Str "Four" ]
+ , OrderedList
+ ( 1 , LowerRoman , Period )
+ [ [ Para [ Str "Five" ] ]
+ , [ Para [ Str "Six" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Seven" ] ]
+ , [ Para [ Str "Eight" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Nine" ] ]
+ , [ Para [ Str "Ten" ]
+ , BulletList
+ [ [ Para [ Str "Eleven" ] ]
+ , [ Para [ Str "Twelve" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Out" , Space , Str "of" , Space , Str "list!" ]
+ , Para [ Str "Start" , Space , Str "with" ]
+ , OrderedList
+ ( 7 , Decimal , Period )
+ [ [ Para [ Str "Seven" , Space , Str "Start" ] ]
+ , [ Para [ Str "Eight" , Space , Str "Continue" ] ]
+ ]
+ ]
diff --git a/test/rtf/list_complex.rtf b/test/rtf/list_complex.rtf
new file mode 100644
index 000000000..3b21efc74
--- /dev/null
+++ b/test/rtf/list_complex.rtf
@@ -0,0 +1,299 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff45\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}
+{\f3\fbidi \fdecor\fcharset2\fprq2{\*\panose 00000000000000000000}Symbol;}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f45\fbidi \fnil\fcharset0\fprq2{\*\panose 00000000000000000000}Times;}
+{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
+{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f52\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\f53\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f55\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f56\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f57\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\f58\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f59\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f60\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f72\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}
+{\f73\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}{\f75\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f76\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f77\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}
+{\f78\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}{\f79\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f80\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f392\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}
+{\f393\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f395\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f396\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f399\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}
+{\f400\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}{\f502\fbidi \fnil\fcharset238\fprq2 Times CE;}{\f503\fbidi \fnil\fcharset204\fprq2 Times Cyr;}{\f505\fbidi \fnil\fcharset161\fprq2 Times Greek;}
+{\f506\fbidi \fnil\fcharset162\fprq2 Times Tur;}{\f509\fbidi \fnil\fcharset186\fprq2 Times Baltic;}{\f510\fbidi \fnil\fcharset163\fprq2 Times (Vietnamese);}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;}{\fhimajor\f31529\fbidi \fswiss\fcharset204\fprq2 Calibri Light Cyr;}{\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}
+{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}{\fhimajor\f31533\fbidi \fswiss\fcharset177\fprq2 Calibri Light (Hebrew);}{\fhimajor\f31534\fbidi \fswiss\fcharset178\fprq2 Calibri Light (Arabic);}
+{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;}{\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
+{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
+{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
+{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
+{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
+{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}
+{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}
+{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
+{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
+{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
+\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red0\green0\blue0;\red0\green0\blue0;}{\*\defchp \fs24\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe1033\loch\f45\hich\af45\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive Default Paragraph Font;}{\*
+\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033
+\snext11 \ssemihidden \sunhideused Normal Table;}}{\*\listtable{\list\listtemplateid2032649{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'01\u-3913 _;}{\levelnumbers;}
+\fs28\cf0\loch\af3\hich\af3\dbch\af0\fbias0\hres0\chhres0 \fi-360\li360\jclisttab\tx360\lin360 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'04\'00.\'01.;}{\levelnumbers\'01\'03;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-432\li792\jclisttab\tx792\lin792 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'06\'00.\'01.\'02.;}{\levelnumbers\'01\'03\'05;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-504\li1224\jclisttab\tx1440\lin1224 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'08\'00.\'01.\'02.\'03.;}{\levelnumbers
+\'01\'03\'05\'07;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-648\li1728\jclisttab\tx2160\lin1728 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'0a\'00.\'01.\'02.\'03.\'04.;}{\levelnumbers\'01\'03\'05\'07\'09;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-792\li2232\jclisttab\tx2520\lin2232 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0
+{\leveltext\'0c\'00.\'01.\'02.\'03.\'04.\'05.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-936\li2736\jclisttab\tx3240\lin2736 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'0e\'00.\'01.\'02.\'03.\'04.\'05.\'06.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-1080\li3240\jclisttab\tx3600\lin3240 }{\listlevel\levelnfc0\levelnfcn0\leveljc0
+\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'10\'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d\'0f;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-1224\li3744\jclisttab\tx4320\lin3744 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'12\'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.\'08.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d\'0f\'11;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-1440\li4320\jclisttab\tx4680\lin4320 }{\listname ;}\listid161162663}{\list\listtemplateid-1055851588{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'01.;}{\levelnumbers\'01;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc3\levelnfcn3\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }
+{\listlevel\levelnfc1\levelnfcn1\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace540\levelindent0{\leveltext\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li3420\lin3420 }{\listlevel\levelnfc23\levelnfcn23
+\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'01o;}{\levelnumbers;}\f2\fbias0\hres0\chhres0 \fi-360\li4500\lin4500 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0
+\levelindent0{\leveltext\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'08.;}{\levelnumbers\'01;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid180975272}{\list\listtemplateid-1055851588\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc3\levelnfcn3\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext
+\leveltemplateid67698709\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc1\levelnfcn1\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace540\levelindent0{\leveltext
+\leveltemplateid67698707\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li3420\lin3420 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext
+\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0\hres0\chhres0 \fi-360\li4500\lin4500 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698703
+\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713
+\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715
+\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid581336416}{\list\listtemplateid-1516889114\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
+\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid592708402}{\list\listtemplateid353931476{\listlevel\levelnfc0\levelnfcn0
+\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0
+\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0
+{\leveltext\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc3\levelnfcn3\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'02\'03.;}{\levelnumbers
+\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc1\levelnfcn1\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace540\levelindent0{\leveltext\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-180\li3420\lin3420 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0
+\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid621182402}{\list\listtemplateid-37037068{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'03.;}{\levelnumbers\'01;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0
+\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid982349901}{\list\listtemplateid-2094603378{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'03.;}{\levelnumbers\'01;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0
+\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1
+\levelspace0\levelindent0{\leveltext\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid1082678316}{\list\listtemplateid166376406\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0
+\leveljcn0\levelfollow0\levelstartat7\levelspace0\levelindent0{\leveltext\leveltemplateid-1898031884\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
+\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid1306352145}
+{\list\listtemplateid2032649{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li360\jclisttab\tx360\lin360 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'04\'00.\'01.;}{\levelnumbers\'01\'03;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-432\li792\jclisttab\tx792\lin792 }{\listlevel
+\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'06\'00.\'01.\'02.;}{\levelnumbers\'01\'03\'05;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-504\li1224\jclisttab\tx1440\lin1224 }{\listlevel
+\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'08\'00.\'01.\'02.\'03.;}{\levelnumbers\'01\'03\'05\'07;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-648\li1728\jclisttab\tx2160\lin1728 }
+{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'0a\'00.\'01.\'02.\'03.\'04.;}{\levelnumbers\'01\'03\'05\'07\'09;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-792\li2232
+\jclisttab\tx2520\lin2232 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'0c\'00.\'01.\'02.\'03.\'04.\'05.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-936\li2736\jclisttab\tx3240\lin2736 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'0e\'00.\'01.\'02.\'03.\'04.\'05.\'06.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-1080\li3240\jclisttab\tx3600\lin3240 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'10\'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d\'0f;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-1224\li3744\jclisttab\tx4320\lin3744 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0
+\levelstartat1\levelspace0\levelindent0{\leveltext\'12\'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.\'08.;}{\levelnumbers\'01\'03\'05\'07\'09\'0b\'0d\'0f\'11;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-1440\li4320\jclisttab\tx4680\lin4320 }{\listname
+;}\listid1517575639}{\list\listtemplateid-2069710980{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0
+\fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel
+\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc3\levelnfcn3\leveljc0\leveljcn0
+\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0
+\levelindent0{\leveltext\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
+\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'06.;}{\levelnumbers\'01;}
+\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0
+\hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }
+{\listname ;}\listid1762801537}}{\*\listoverridetable{\listoverride\listid1517575639\listoverridecount0\ls1}{\listoverride\listid161162663\listoverridecount0\ls2}{\listoverride\listid581336416\listoverridecount0\ls3}{\listoverride\listid1082678316
+\listoverridecount0\ls4}{\listoverride\listid1762801537\listoverridecount0\ls5}{\listoverride\listid621182402\listoverridecount0\ls6}{\listoverride\listid592708402\listoverridecount0\ls7}{\listoverride\listid180975272\listoverridecount0\ls8}
+{\listoverride\listid1306352145\listoverridecount0\levelstartat7\ls9}{\listoverride\listid982349901\listoverridecount0\ls10}}{\*\rsidtbl \rsid329053\rsid3617154\rsid3749795\rsid9258424}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0
+\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\title Text before list}{\author Cynthia Johnson}{\operator John MacFarlane}{\creatim\yr2003\mo10\dy13\hr19\min55}{\revtim\yr2021\mo8\dy9\hr10\min28}{\version4}{\edmins6}{\nofpages1}{\nofwords15}
+{\nofchars87}{\nofcharsws101}{\vern4617}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
+\widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\noxlattoyen
+\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dghspace180\dgvspace180\dghorigin1701\dgvorigin1984\dghshow0\dgvshow0
+\jexpand\viewkind1\viewscale154\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\rsidroot3749795 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect
+\linex0\endnhere\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4
+\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}
+{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424
+\hich\af45\dbch\af31505\loch\f45 1.\tab}\pard\plain \ltrpar\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\adjustright\rin0\lin720\itap0\pararsid9258424 \rtlch\fcs1 \af45\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe1033\loch\af45\hich\af45\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 One}{\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid329053
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 2.\tab}}{\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Two
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 a.\tab}}\pard \ltrpar
+\ql \fi-360\li1440\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\ilvl1\adjustright\rin0\lin1440\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Three
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 b.\tab}\hich\af45\dbch\af31505\loch\f45 Four
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 i.\tab}}\pard \ltrpar
+\ql \fi-180\li2160\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\ilvl2\adjustright\rin0\lin2160\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Five
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 ii.\tab}\hich\af45\dbch\af31505\loch\f45 Six
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 A.\tab}}\pard \ltrpar
+\ql \fi-360\li2880\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\ilvl3\adjustright\rin0\lin2880\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Seven
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 B.\tab}\hich\af45\dbch\af31505\loch\f45 Eight
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 I.\tab}}\pard \ltrpar
+\ql \fi-180\li3420\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\ilvl4\adjustright\rin0\lin3420\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Nine
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0 \ltrch\fcs0 \f45\insrsid9258424 \hich\af45\dbch\af31505\loch\f45 II.\tab}\hich\af45\dbch\af31505\loch\f45 Ten
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af45 \ltrch\fcs0 \f2\insrsid9258424 \hich\af2\dbch\af31505\loch\f2 o\tab}}\pard \ltrpar\ql \fi-360\li4500\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\ilvl5\adjustright\rin0\lin4500\itap0\pararsid9258424 {
+\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Eleven
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af45 \ltrch\fcs0 \f2\insrsid9258424 \hich\af2\dbch\af31505\loch\f2 o\tab}\hich\af45\dbch\af31505\loch\f45 Twelve
+\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424 \hich\af45\dbch\af31505\loch\f45 Out of list!
+\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid3617154 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid3617154 \hich\af45\dbch\af31505\loch\f45 Start with
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af45 \ltrch\fcs0 \f45\insrsid3617154 \hich\af45\dbch\af31505\loch\f45 7.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls9\adjustright\rin0\lin720\itap0\pararsid3617154 {
+\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid3617154 \hich\af45\dbch\af31505\loch\f45 Seven Start
+\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af45 \ltrch\fcs0 \f45\insrsid3617154 \hich\af45\dbch\af31505\loch\f45 8.\tab}\hich\af45\dbch\af31505\loch\f45 Eight Continue
+\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid3617154 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid3617154
+\par }\pard \ltrpar\ql \li4140\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin4140\itap0\pararsid9258424 {\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid9258424
+\par }{\rtlch\fcs1 \af45 \ltrch\fcs0 \insrsid3617154
+\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
+9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
+5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
+b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
+0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
+a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
+c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
+0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
+a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
+6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
+4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
+4757e8d3f729e245eb2b260a0238fd010000ffff0300504b030414000600080000002100b6f4679893070000c9200000160000007468656d652f7468656d652f
+7468656d65312e786d6cec59cd8b1bc915bf07f23f347d97f5d5ad8fc1f2a24fcfda33b6b164873dd648a5eef2547789aad28cc56208de532e81c026e49085bd
+ed21842cecc22eb9e48f31d8249b3f22afaa5bdd5552c99e191c3061463074977eefd5afde7bf5de53d5ddcf5e26d4bbc05c1096f6fcfa9d9aefe174ce16248d
+7afeb3d9a4d2f13d2151ba4094a5b8e76fb0f03fbbf7eb5fdd454732c609f6403e1547a8e7c752ae8eaa5531876124eeb0154ee1bb25e30992f0caa3ea82a34b
+d09bd06aa3566b55134452df4b51026a1f2f97648ebd9952e9dfdb2a1f53784da5500373caa74a35b6243476715e5708b11143cabd0b447b3eccb3609733fc52
+fa1e4542c2173dbfa6fffceabdbb5574940b517940d6909be8bf5c2e17589c37f49c3c3a2b260d823068f50bfd1a40e53e6edc1eb7c6ad429f06a0f91c569a71
+b175b61bc320c71aa0ecd1a17bd41e35eb16ded0dfdce3dc0fd5c7c26b50a63fd8c34f2643b0a285d7a00c1feee1c3417730b2f56b50866fede1dbb5fe28685b
+fa3528a6243ddf43d7c25673b85d6d0159327aec8477c360d26ee4ca4b144443115d6a8a254be5a1584bd00bc6270050408a24493db959e1259a43140f112567
+9c7827248a21f056286502866b8ddaa4d684ffea13e827ed5174849121ad780113b137a4f87862cec94af6fc07a0d537206f7ffef9cdeb1fdfbcfee9cd575fbd
+79fdf77c6eadca923b466964cafdf2dd1ffef3cd6fbd7ffff0ed2f5fff319b7a172f4cfcbbbffdeedd3ffef93ef5b0e2d2146ffff4fdbb1fbf7ffbe7dfffebaf
+5f3bb4f7393a33e1339260e13dc297de5396c0021dfcf119bf9ec42c46c494e8a791402952b338f48f656ca11f6d10450edc00db767cce21d5b880f7d72f2cc2
+d398af2571687c182716f094313a60dc6985876a2ec3ccb3751ab927e76b13f714a10bd7dc43945a5e1eaf579063894be530c616cd2714a5124538c5d253dfb1
+738c1dabfb8210cbaea764ce99604be97d41bc01224e93ccc899154da5d03149c02f1b1741f0b7659bd3e7de8051d7aa47f8c246c2de40d4417e86a965c6fb68
+2d51e252394309350d7e8264ec2239ddf0b9891b0b099e8e3065de78818570c93ce6b05ec3e90f21cdb8dd7e4a37898de4929cbb749e20c64ce4889d0f6394ac
+5cd829496313fbb938871045de13265df05366ef10f50e7e40e941773f27d872f787b3c133c8b026a53240d4376beef0e57dccacf89d6ee8126157aae9f3c44a
+b17d4e9cd131584756689f604cd1255a60ec3dfbdcc160c05696cd4bd20f62c82ac7d815580f901dabea3dc5027a25d5dcece7c91322ac909de2881de073bad9
+493c1b9426881fd2fc08bc6eda7c0ca52e7105c0633a3f37818f08f480102f4ea33c16a0c308ee835a9fc4c82a60ea5db8e375c32dff5d658fc1be7c61d1b8c2
+be04197c6d1948eca6cc7b6d3343d49aa00c9819822ec3956e41c4727f29a28aab165b3be596f6a62ddd00dd91d5f42424fd6007b4d3fb84ffbbde073a8cb77f
+f9c6b10f3e4ebfe3566c25ab6b763a8792c9f14e7f7308b7dbd50c195f904fbfa919a175fa04431dd9cf58b73dcd6d4fe3ffdff73487f6f36d2773a8dfb8ed64
+7ce8306e3b99fc70e5e3743265f3027d8d3af0c80e7af4b14f72f0d46749289dca0dc527421ffc08f83db398c0a092d3279eb838055cc5f0a8ca1c4c60e1228e
+b48cc799fc0d91f134462b381daafb4a492472d591f0564cc0a1911e76ea5678ba4e4ed9223becacd7d5c16656590592e5782d2cc6e1a04a66e856bb3cc02bd4
+6bb6913e68dd1250b2d721614c6693683a48b4b783ca48fa58178ce620a157f65158741d2c3a4afdd6557b2c805ae115f8c1edc1cff49e1f06200242701e07cd
+f942f92973f5d6bbda991fd3d3878c69450034d8db08283ddd555c0f2e4fad2e0bb52b78da2261849b4d425b46377822869fc17974aad1abd0b8aeafbba54b2d
+7aca147a3e08ad9246bbf33e1637f535c8ede6069a9a9982a6de65cf6f35430899395af5fc251c1ac363b282d811ea3717a211dcbccc25cf36fc4d32cb8a0b39
+4222ce0cae934e960d122231f728497abe5a7ee1069aea1ca2b9d51b90103e59725d482b9f1a3970baed64bc5ce2b934dd6e8c284b67af90e1b35ce1fc568bdf
+1cac24d91adc3d8d1797de195df3a708422c6cd795011744c0dd413db3e682c0655891c8caf8db294c79da356fa3740c65e388ae62945714339967709dca0b3a
+faadb081f196af190c6a98242f8467912ab0a651ad6a5a548d8cc3c1aafb6121653923699635d3ca2aaa6abab39835c3b60cecd8f26645de60b53531e434b3c2
+67a97b37e576b7b96ea74f28aa0418bcb09fa3ea5ea12018d4cac92c6a8af17e1a56393b1fb56bc776811fa07695226164fdd656ed8edd8a1ae19c0e066f54f9
+416e376a6168b9ed2bb5a5f5adb979b1cdce5e40f2184197bba6526857c2c92e47d0104d754f92a50dd8222f65be35e0c95b73d2f3bfac85fd60d80887955a27
+1c57826650ab74c27eb3d20fc3667d1cd66ba341e31514161927f530bbb19fc00506dde4f7f67a7cefee3ed9ded1dc99b3a4caf4dd7c5513d777f7f5c6e1bb7b
+8f40d2f9b2d598749bdd41abd26df627956034e854bac3d6a0326a0ddba3c9681876ba9357be77a1c141bf390c5ae34ea5551f0e2b41aba6e877ba9576d068f4
+8376bf330efaaff23606569ea58fdc16605ecdebde7f010000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d65
+2f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d36
+3f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e
+3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d985
+0528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000000000
+0000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000000000
+000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019020000
+7468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d0014000600080000002100b6f4679893070000c92000001600000000000000
+000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027000000
+000000000000000000009d0a00007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000980b00000000}
+{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
+617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
+6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
+656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
+{\*\latentstyles\lsdstimax376\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;
+\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature;\lsdsemihidden1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;
+\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdpriority39 \lsdlocked0 Table Grid;
+\lsdsemihidden1 \lsdlocked0 Placeholder Text;\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;
+\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;
+\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;
+\lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;
+\lsdsemihidden1 \lsdlocked0 Revision;\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdpriority62 \lsdlocked0 Light Grid Accent 5;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
+\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
+\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
+\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
+\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
+\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
+\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
+\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
+\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
+\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
+\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
+\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
+\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
+\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
+\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
+\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
+\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
+\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
+\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
+\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
+\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
+\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Mention;
+\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hashtag;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Unresolved Mention;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Link;}}{\*\datastore }}
diff --git a/test/rtf/list_simple.native b/test/rtf/list_simple.native
new file mode 100644
index 000000000..10d9dede2
--- /dev/null
+++ b/test/rtf/list_simple.native
@@ -0,0 +1,10 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ BulletList
+ [ [ Para [ Str "one" ] ]
+ , [ Para [ Str "two" ]
+ , BulletList [ [ Para [ Str "sub" ] ] ]
+ ]
+ ]
+ , BulletList [ [ Para [ Str "new" , Space , Str "list" ] ] ]
+ ]
diff --git a/test/rtf/list_simple.rtf b/test/rtf/list_simple.rtf
new file mode 100644
index 000000000..8ee557df7
--- /dev/null
+++ b/test/rtf/list_simple.rtf
@@ -0,0 +1,17 @@
+{\rtf1\ansi\ansicpg1252\cocoartf2513
+\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+{\*\expandedcolortbl;;}
+{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{hyphen\}}{\leveltext\leveltemplateid2\'01\uc0\u8259 ;}{\levelnumbers;}\fi-360\li1440\lin1440 }{\listname ;}\listid1}
+{\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2}}
+{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}}
+\margl1440\margr1440\vieww11520\viewh8400\viewkind0
+\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural\partightenfactor0
+\ls1\ilvl0
+\f0\fs24 \cf0 {\listtext \uc0\u8226 }one\
+{\listtext \uc0\u8226 }two\
+\pard\tx940\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li1440\fi-1440\pardirnatural\partightenfactor0
+\ls1\ilvl1\cf0 {\listtext \uc0\u8259 }sub\
+\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural\partightenfactor0
+\ls2\ilvl0\cf0 {\listtext \uc0\u8226 }new list\
+} \ No newline at end of file
diff --git a/test/rtf/table_error_codes.native b/test/rtf/table_error_codes.native
new file mode 100644
index 000000000..33c143933
--- /dev/null
+++ b/test/rtf/table_error_codes.native
@@ -0,0 +1,422 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Code" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Error" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocFailOnWarningError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocAppError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocTemplateError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocOptionError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "21" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnknownReaderError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "22" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnknownWriterError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "23" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnsupportedExtensionError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocCiteprocError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "31" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocEpubSubdirectoryError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "43" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocPDFError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "44" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocXMLError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "47" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocPDFProgramNotFoundError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "61" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocHttpError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "62" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocShouldNeverHappenError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "63" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocSomeError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "64" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocParseError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "65" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocParsecError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "66" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocMakePDFError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "67" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocSyntaxMapError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "83" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocFilterError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "91" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocMacroLoop" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "92" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUTF8DecodingError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "93" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocIpynbDecodingError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "94" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnsupportedCharsetError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "97" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocCouldNotFindDataFileError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "99" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocResourceNotFound" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
diff --git a/test/rtf/table_error_codes.rtf b/test/rtf/table_error_codes.rtf
new file mode 100644
index 000000000..79ed61e10
--- /dev/null
+++ b/test/rtf/table_error_codes.rtf
@@ -0,0 +1,300 @@
+{\rtf1\ansi
+{
+\trowd \trgaph120
+\clbrdrb\brdrs\cellx4320\clbrdrb\brdrs\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 Code\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 Error\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 3\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocFailOnWarningError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 4\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocAppError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 5\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocTemplateError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 6\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocOptionError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 21\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocUnknownReaderError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 22\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocUnknownWriterError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 23\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocUnsupportedExtensionError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 24\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocCiteprocError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 31\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocEpubSubdirectoryError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 43\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocPDFError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 44\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocXMLError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 47\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocPDFProgramNotFoundError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 61\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocHttpError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 62\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocShouldNeverHappenError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 63\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocSomeError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 64\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocParseError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 65\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocParsecError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 66\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocMakePDFError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 67\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocSyntaxMapError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 83\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocFilterError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 91\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocMacroLoop\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 92\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocUTF8DecodingError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 93\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocIpynbDecodingError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 94\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocUnsupportedCharsetError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 97\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocCouldNotFindDataFileError\par}
+\cell}
+}
+\intbl\row}
+{
+\trowd \trgaph120
+\cellx4320\cellx8640
+\trkeep\intbl
+{
+{{\pard\intbl \qr \f0 \sa0 \li0 \fi0 99\par}
+\cell}
+{{\pard\intbl \ql \f0 \sa0 \li0 \fi0 PandocResourceNotFound\par}
+\cell}
+}
+\intbl\row}
+{\pard \ql \f0 \sa180 \li0 \fi0 \par}
+}
diff --git a/test/rtf/table_simple.native b/test/rtf/table_simple.native
new file mode 100644
index 000000000..dce03cf25
--- /dev/null
+++ b/test/rtf/table_simple.native
@@ -0,0 +1,73 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "D" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "F" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "G" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "H" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
diff --git a/test/rtf/table_simple.rtf b/test/rtf/table_simple.rtf
new file mode 100644
index 000000000..5d4aca686
--- /dev/null
+++ b/test/rtf/table_simple.rtf
@@ -0,0 +1,19 @@
+{\rtf1\ansi
+\par
+\trowd
+\cellx10836
+\pard \intbl A \cell
+\pard \intbl B \cell
+\pard \intbl C \cell
+\pard \intbl D \cell
+\row
+\trowd
+\cellx10836
+\pard \intbl E \cell
+\pard \intbl F \cell
+\pard \intbl G \cell
+\pard \intbl H \cell
+\row
+\pard
+}
+
diff --git a/test/rtf/unicode.native b/test/rtf/unicode.native
new file mode 100644
index 000000000..ed21b4f47
--- /dev/null
+++ b/test/rtf/unicode.native
@@ -0,0 +1,3 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para [ Str "\8220hi\8221\8216hi\8217\61623\945\228" ] ]
diff --git a/test/rtf/unicode.rtf b/test/rtf/unicode.rtf
new file mode 100644
index 000000000..0cd9749e0
--- /dev/null
+++ b/test/rtf/unicode.rtf
@@ -0,0 +1,9 @@
+{\rtf1\ansi
+\pard
+\'93hi\'94
+\u8216\'93hi\u8217\'94
+\u-3913?
+\u945a
+{\uc2\u228\'E8a}
+\par
+}
diff --git a/test/s5-basic.html b/test/s5-basic.html
index 7440b575b..3a225da83 100644
--- a/test/s5-basic.html
+++ b/test/s5-basic.html
@@ -56,7 +56,8 @@
<div id="math" class="slide section level1">
<h1>Math</h1>
<ul>
-<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
+<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to
+0}\frac{f(x+h)-f(x)}{h}$</span></li>
</ul>
</div>
</div>
diff --git a/test/s5-fancy.html b/test/s5-fancy.html
index f5c41e561..00b25e80c 100644
--- a/test/s5-fancy.html
+++ b/test/s5-fancy.html
@@ -28,7 +28,9 @@
<link rel="stylesheet" href="s5/default/opera.css" type="text/css" media="projection" id="operaFix" />
<!-- S5 JS -->
<script src="s5/default/slides.js" type="text/javascript"></script>
- <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js" type="text/javascript"></script>
+ <script
+ src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"
+ type="text/javascript"></script>
</head>
<body>
<div class="layout">
@@ -56,7 +58,8 @@
<div id="math" class="slide section level1">
<h1>Math</h1>
<ul class="incremental">
-<li><span class="math inline">\(\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\)</span></li>
+<li><span class="math inline">\(\frac{d}{dx}f(x)=\lim_{h\to
+0}\frac{f(x+h)-f(x)}{h}\)</span></li>
</ul>
</div>
</div>
diff --git a/test/s5-fragment.html b/test/s5-fragment.html
index 81c578d25..1a8d4839d 100644
--- a/test/s5-fragment.html
+++ b/test/s5-fragment.html
@@ -5,5 +5,6 @@
</ul>
<h1 id="math">Math</h1>
<ul>
-<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
+<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to
+0}\frac{f(x+h)-f(x)}{h}$</span></li>
</ul>
diff --git a/test/s5-inserts.html b/test/s5-inserts.html
index 1df9dd018..04dfc134a 100644
--- a/test/s5-inserts.html
+++ b/test/s5-inserts.html
@@ -35,7 +35,8 @@ STUFF INSERTED
</ul>
<h1 id="math">Math</h1>
<ul>
-<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
+<li><span class="math inline">$\frac{d}{dx}f(x)=\lim_{h\to
+0}\frac{f(x+h)-f(x)}{h}$</span></li>
</ul>
STUFF INSERTED
</body>
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index 2536ff954..ba3fb211a 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -1,301 +1,973 @@
-[Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Here\8217s",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."]])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , Space
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
diff --git a/test/tables.haddock b/test/tables.haddock
index fcc26d27e..e6d5c8308 100644
--- a/test/tables.haddock
+++ b/test/tables.haddock
@@ -40,33 +40,33 @@ Demonstration of simple table syntax.
Multiline table with caption:
-+----------+---------+-----------+--------------------------+
-| Centered | Left | Right | Default aligned |
-| Header | Aligned | Aligned | |
-+==========+=========+===========+==========================+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++===========+==========+============+===========================+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
Here’s the caption. It may span multiple lines.
Multiline table without caption:
-+----------+---------+-----------+--------------------------+
-| Centered | Left | Right | Default aligned |
-| Header | Aligned | Aligned | |
-+==========+=========+===========+==========================+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++===========+==========+============+===========================+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
Table without column headers:
@@ -80,11 +80,11 @@ Table without column headers:
Multiline table without column headers:
-+----------+---------+-----------+--------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
diff --git a/test/tables.html5 b/test/tables.html5
index 533d2fd25..b3ee0ec79 100644
--- a/test/tables.html5
+++ b/test/tables.html5
@@ -121,7 +121,8 @@
<td style="text-align: center;">Second</td>
<td style="text-align: left;">row</td>
<td style="text-align: right;">5.0</td>
-<td style="text-align: left;">Here’s another one. Note the blank line between rows.</td>
+<td style="text-align: left;">Here’s another one. Note the blank line between
+rows.</td>
</tr>
</tbody>
</table>
@@ -152,7 +153,8 @@
<td style="text-align: center;">Second</td>
<td style="text-align: left;">row</td>
<td style="text-align: right;">5.0</td>
-<td style="text-align: left;">Here’s another one. Note the blank line between rows.</td>
+<td style="text-align: left;">Here’s another one. Note the blank line between
+rows.</td>
</tr>
</tbody>
</table>
diff --git a/test/tables.latex b/test/tables.latex
index 9d111fa7a..eba77c7b9 100644
--- a/test/tables.latex
+++ b/test/tables.latex
@@ -50,10 +50,10 @@ Right & Left & Center & Default \\
Multiline table with caption:
\begin{longtable}[]{@{}
- >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
- >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
+ >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1500}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1375}}
+ >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1625}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3500}}@{}}
\caption{Here's the caption. It may span multiple lines.}\tabularnewline
\toprule
\begin{minipage}[b]{\linewidth}\centering
@@ -87,10 +87,10 @@ Second & row & 5.0 & Here's another one. Note the blank line between rows. \\
Multiline table without caption:
\begin{longtable}[]{@{}
- >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
- >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
+ >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1500}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1375}}
+ >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1625}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3500}}@{}}
\toprule
\begin{minipage}[b]{\linewidth}\centering
Centered Header
@@ -122,10 +122,10 @@ Table without column headers:
Multiline table without column headers:
\begin{longtable}[]{@{}
- >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
- >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
+ >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1500}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1375}}
+ >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.1625}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3500}}@{}}
\toprule
\endhead
First & row & 12.0 & Example of a row that spans multiple lines. \\
diff --git a/test/tables.markdown b/test/tables.markdown
index 7f89bfc08..97ffd82d7 100644
--- a/test/tables.markdown
+++ b/test/tables.markdown
@@ -28,33 +28,33 @@ Simple table indented two spaces:
Multiline table with caption:
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Centered Left Right Default aligned
Header Aligned Aligned
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
- --------------------------------------------------------------
+ ---------------------------------------------------------------
: Here's the caption. It may span multiple lines.
Multiline table without caption:
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Centered Left Right Default aligned
Header Aligned Aligned
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Table without column headers:
@@ -66,11 +66,11 @@ Table without column headers:
Multiline table without column headers:
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
- ----------- ---------- ------------ --------------------------
+ ----------- ---------- ------------ ---------------------------
diff --git a/test/tables.markua b/test/tables.markua
new file mode 100644
index 000000000..b82264fd7
--- /dev/null
+++ b/test/tables.markua
@@ -0,0 +1,58 @@
+Simple table with caption:
+
+| Right | Left | Center | Default |
+|------:|:-----|:------:|---------|
+| 12 | 12 | 12 | 12 |
+| 123 | 123 | 123 | 123 |
+| 1 | 1 | 1 | 1 |
+
+Demonstration of simple table syntax.
+
+Simple table without caption:
+
+| Right | Left | Center | Default |
+|------:|:-----|:------:|---------|
+| 12 | 12 | 12 | 12 |
+| 123 | 123 | 123 | 123 |
+| 1 | 1 | 1 | 1 |
+
+Simple table indented two spaces:
+
+| Right | Left | Center | Default |
+|------:|:-----|:------:|---------|
+| 12 | 12 | 12 | 12 |
+| 123 | 123 | 123 | 123 |
+| 1 | 1 | 1 | 1 |
+
+Demonstration of simple table syntax.
+
+Multiline table with caption:
+
+| Centered Header | Left Aligned | Right Aligned | Default aligned |
+|:---------------:|:-------------|--------------:|:------------------------------------------------------|
+| First | row | 12.0 | Example of a row that spans multiple lines. |
+| Second | row | 5.0 | Here’s another one. Note the blank line between rows. |
+
+Here’s the caption. It may span multiple lines.
+
+Multiline table without caption:
+
+| Centered Header | Left Aligned | Right Aligned | Default aligned |
+|:---------------:|:-------------|--------------:|:------------------------------------------------------|
+| First | row | 12.0 | Example of a row that spans multiple lines. |
+| Second | row | 5.0 | Here’s another one. Note the blank line between rows. |
+
+Table without column headers:
+
+| | | | |
+|----:|:----|:---:|----:|
+| 12 | 12 | 12 | 12 |
+| 123 | 123 | 123 | 123 |
+| 1 | 1 | 1 | 1 |
+
+Multiline table without column headers:
+
+| | | | |
+|:------:|:----|-----:|-------------------------------------------------------|
+| First | row | 12.0 | Example of a row that spans multiple lines. |
+| Second | row | 5.0 | Here’s another one. Note the blank line between rows. |
diff --git a/test/tables.muse b/test/tables.muse
index 98e721cf0..6b3af561d 100644
--- a/test/tables.muse
+++ b/test/tables.muse
@@ -23,24 +23,24 @@ Simple table indented two spaces:
Multiline table with caption:
-+----------+---------+-----------+--------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
Multiline table without caption:
-+----------+---------+-----------+--------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
Table without column headers:
12 | 12 | 12 | 12
@@ -49,11 +49,11 @@ Table without column headers:
Multiline table without column headers:
-+----------+---------+-----------+--------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
diff --git a/test/tables.native b/test/tables.native
index dc74826e0..de46ce368 100644
--- a/test/tables.native
+++ b/test/tables.native
@@ -1,293 +1,964 @@
-[Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Here\8217s",Space,Str "the",Space,Str "caption.",SoftBreak,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."]])
- [(AlignCenter,ColWidth 0.15)
- ,(AlignLeft,ColWidth 0.1375)
- ,(AlignRight,ColWidth 0.1625)
- ,(AlignLeft,ColWidth 0.35)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",SoftBreak,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidth 0.15)
- ,(AlignLeft,ColWidth 0.1375)
- ,(AlignRight,ColWidth 0.1625)
- ,(AlignLeft,ColWidth 0.35)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",SoftBreak,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidth 0.15)
- ,(AlignLeft,ColWidth 0.1375)
- ,(AlignRight,ColWidth 0.1625)
- ,(AlignDefault,ColWidth 0.35)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",SoftBreak,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignLeft , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignLeft , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+]
diff --git a/test/tables.opendocument b/test/tables.opendocument
index cda121dd4..5216dc613 100644
--- a/test/tables.opendocument
+++ b/test/tables.opendocument
@@ -201,8 +201,8 @@ syntax.</text:p>
</table:table>
<text:p text:style-name="First_20_paragraph">Multiline table with
caption:</text:p>
-<text:p text:style-name="TableCaption">Here’s the caption. It may span
-multiple lines.</text:p>
+<text:p text:style-name="TableCaption">Here’s the caption. It may span multiple
+lines.</text:p>
<table:table table:name="Table4" table:style-name="Table4">
<table:table-column table:style-name="Table4.A" />
<table:table-column table:style-name="Table4.B" />
diff --git a/test/tables.plain b/test/tables.plain
index e46317a6f..f1d304cda 100644
--- a/test/tables.plain
+++ b/test/tables.plain
@@ -28,33 +28,33 @@ Simple table indented two spaces:
Multiline table with caption:
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Centered Left Right Default aligned
Header Aligned Aligned
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here’s another one. Note
the blank line between
rows.
- --------------------------------------------------------------
+ ---------------------------------------------------------------
: Here’s the caption. It may span multiple lines.
Multiline table without caption:
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Centered Left Right Default aligned
Header Aligned Aligned
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here’s another one. Note
the blank line between
rows.
- --------------------------------------------------------------
+ ---------------------------------------------------------------
Table without column headers:
@@ -66,11 +66,11 @@ Table without column headers:
Multiline table without column headers:
- ----------- ---------- ------------ --------------------------
- First row 12.0 Example of a row that
- spans multiple lines.
+ ----------- ---------- ------------ ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
Second row 5.0 Here’s another one. Note
the blank line between
rows.
- ----------- ---------- ------------ --------------------------
+ ----------- ---------- ------------ ---------------------------
diff --git a/test/tables.rst b/test/tables.rst
index 660df61d4..4b475c0b6 100644
--- a/test/tables.rst
+++ b/test/tables.rst
@@ -36,31 +36,31 @@ Multiline table with caption:
.. table:: Here’s the caption. It may span multiple lines.
- +----------+---------+-----------+--------------------------+
- | Centered | Left | Right | Default aligned |
- | Header | Aligned | Aligned | |
- +==========+=========+===========+==========================+
- | First | row | 12.0 | Example of a row that |
- | | | | spans multiple lines. |
- +----------+---------+-----------+--------------------------+
- | Second | row | 5.0 | Here’s another one. Note |
- | | | | the blank line between |
- | | | | rows. |
- +----------+---------+-----------+--------------------------+
+ +-----------+----------+------------+---------------------------+
+ | Centered | Left | Right | Default aligned |
+ | Header | Aligned | Aligned | |
+ +===========+==========+============+===========================+
+ | First | row | 12.0 | Example of a row that |
+ | | | | spans multiple lines. |
+ +-----------+----------+------------+---------------------------+
+ | Second | row | 5.0 | Here’s another one. Note |
+ | | | | the blank line between |
+ | | | | rows. |
+ +-----------+----------+------------+---------------------------+
Multiline table without caption:
-+----------+---------+-----------+--------------------------+
-| Centered | Left | Right | Default aligned |
-| Header | Aligned | Aligned | |
-+==========+=========+===========+==========================+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++===========+==========+============+===========================+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
Table without column headers:
@@ -72,11 +72,11 @@ Table without column headers:
Multiline table without column headers:
-+----------+---------+-----------+--------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+----------+---------+-----------+--------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+----------+---------+-----------+--------------------------+
++-----------+----------+------------+---------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++-----------+----------+------------+---------------------------+
+| Second | row | 5.0 | Here’s another one. Note |
+| | | | the blank line between |
+| | | | rows. |
++-----------+----------+------------+---------------------------+
diff --git a/test/tables/nordics.latex b/test/tables/nordics.latex
index 6f17a163e..4c10865dc 100644
--- a/test/tables/nordics.latex
+++ b/test/tables/nordics.latex
@@ -1,8 +1,8 @@
\begin{longtable}[]{@{}
- >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.30}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.30}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.20}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.20}}@{}}
+ >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3000}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.3000}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.2000}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.2000}}@{}}
\caption{States belonging to the \emph{Nordics.}}\tabularnewline
\toprule
\begin{minipage}[b]{\linewidth}\centering
diff --git a/test/tables/planets.latex b/test/tables/planets.latex
index b22c3adeb..1e703143d 100644
--- a/test/tables/planets.latex
+++ b/test/tables/planets.latex
@@ -18,13 +18,13 @@
& & Earth & 5.97 & 12,756 & 5514 & 9.8 & 24.0 & 149.6 & 15 & 1 & Our world \\
& & Mars & 0.642 & 6,792 & 3933 & 3.7 & 24.7 & 227.9 & -65 & 2 & The red
planet \\
-\multirow{4}{*}{Jovian planets} & \multirow{2}{*}{Gas giants} & Jupiter & 1898
-& 142,984 & 1326 & 23.1 & 9.9 & 778.6 & -110 & 67 & The largest planet \\
+\multirow{4}{*}{Jovian planets} & \multirow{2}{*}{Gas giants} & Jupiter & 1898 &
+142,984 & 1326 & 23.1 & 9.9 & 778.6 & -110 & 67 & The largest planet \\
& & Saturn & 568 & 120,536 & 687 & 9.0 & 10.7 & 1433.5 & -140 & 62 & \\
& \multirow{2}{*}{Ice giants} & Uranus & 86.8 & 51,118 & 1271 & 8.7 & 17.2 &
2872.5 & -195 & 27 & \\
& & Neptune & 102 & 49,528 & 1638 & 11.0 & 16.1 & 4495.1 & -200 & 14 & \\
-\multicolumn{2}{c}{Dwarf planets} & Pluto & 0.0146 & 2,370 & 2095 & 0.7 &
-153.3 & 5906.4 & -225 & 5 & Declassified as a planet in 2006. \\
+\multicolumn{2}{c}{Dwarf planets} & Pluto & 0.0146 & 2,370 & 2095 & 0.7 & 153.3
+& 5906.4 & -225 & 5 & Declassified as a planet in 2006. \\
\bottomrule
\end{longtable}
diff --git a/test/tables/students.latex b/test/tables/students.latex
index 3d4d287d9..b1ea45ac8 100644
--- a/test/tables/students.latex
+++ b/test/tables/students.latex
@@ -1,6 +1,6 @@
\begin{longtable}[]{@{}
- >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.50}}
- >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.50}}@{}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}@{}}
\caption{List of Students}\tabularnewline
\toprule
\begin{minipage}[b]{\linewidth}\centering
diff --git a/test/test-pandoc.hs b/test/test-pandoc.hs
index abb2f105f..fcb157fb7 100644
--- a/test/test-pandoc.hs
+++ b/test/test-pandoc.hs
@@ -27,6 +27,7 @@ import qualified Tests.Readers.Muse
import qualified Tests.Readers.Odt
import qualified Tests.Readers.Org
import qualified Tests.Readers.RST
+import qualified Tests.Readers.RTF
import qualified Tests.Readers.Txt2Tags
import qualified Tests.Readers.Man
import qualified Tests.Shared
@@ -49,6 +50,7 @@ import qualified Tests.Writers.Powerpoint
import qualified Tests.Writers.RST
import qualified Tests.Writers.AnnotatedTable
import qualified Tests.Writers.TEI
+import qualified Tests.Writers.Markua
import Text.Pandoc.Shared (inDirectory)
tests :: FilePath -> TestTree
@@ -71,6 +73,7 @@ tests pandocPath = testGroup "pandoc tests"
, testGroup "Docx" Tests.Writers.Docx.tests
, testGroup "RST" Tests.Writers.RST.tests
, testGroup "TEI" Tests.Writers.TEI.tests
+ , testGroup "markua" Tests.Writers.Markua.tests
, testGroup "Muse" Tests.Writers.Muse.tests
, testGroup "FB2" Tests.Writers.FB2.tests
, testGroup "PowerPoint" Tests.Writers.Powerpoint.tests
@@ -85,6 +88,7 @@ tests pandocPath = testGroup "pandoc tests"
, testGroup "Jira" Tests.Readers.Jira.tests
, testGroup "Org" Tests.Readers.Org.tests
, testGroup "RST" Tests.Readers.RST.tests
+ , testGroup "RTF" Tests.Readers.RTF.tests
, testGroup "Docx" Tests.Readers.Docx.tests
, testGroup "Odt" Tests.Readers.Odt.tests
, testGroup "Txt2Tags" Tests.Readers.Txt2Tags.tests
diff --git a/test/testsuite.native b/test/testsuite.native
index f9132c797..5f9be452f 100644
--- a/test/testsuite.native
+++ b/test/testsuite.native
@@ -1,409 +1,2234 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",SoftBreak,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,HorizontalRule
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,HorizontalRule
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",SoftBreak,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",SoftBreak,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",SoftBreak,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",SoftBreak,Str "list",Space,Str "item."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",SoftBreak,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,HorizontalRule
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "item",Space,Str "one"]]
- ,[Plain [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",SoftBreak,Str ">",Space,Str "1."]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,HorizontalRule
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,HorizontalRule
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Plus",Space,Str "1"]]
- ,[Plain [Str "Plus",Space,Str "2"]]
- ,[Plain [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Minus",Space,Str "1"]]
- ,[Plain [Str "Minus",Space,Str "2"]]
- ,[Plain [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "One"]]
- ,[Plain [Str "Two"]]
- ,[Plain [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Plain [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,TwoParens)
- [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,Period)
- [[Plain [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",SoftBreak,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Plain [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,TwoParens)
- [[Plain [Str "a",Space,Str "subsublist"]]
- ,[Plain [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,Period)
- [[Plain [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,Period)
- [[Plain [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,TwoParens)
- [[Plain [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,OneParen)
- [[Plain [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Autonumber."]]
- ,[Plain [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Nested."]]]]]
-,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
-,Para [Str "M.A.\160\&2007"]
-,Para [Str "B.",Space,Str "Williams"]
-,HorizontalRule
-,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
-,Para [Str "Tight",Space,Str "using",Space,Str "spaces:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Plain [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Tight",Space,Str "using",Space,Str "tabs:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Plain [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
-,DefinitionList
- [([Emph [Str "apple"]],
- [[Para [Str "red",Space,Str "fruit"]
- ,Para [Str "contains",Space,Str "seeds,",SoftBreak,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
- ,([Emph [Str "orange"]],
- [[Para [Str "orange",Space,Str "fruit"]
- ,CodeBlock ("",[],[]) "{ orange code block }"
- ,BlockQuote
- [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
-,Para [Str "Multiple",Space,Str "definitions,",Space,Str "tight:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]
- ,[Plain [Str "computer"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]
- ,[Plain [Str "bank"]]])]
-,Para [Str "Multiple",Space,Str "definitions,",Space,Str "loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]
- ,[Para [Str "bank"]]])]
-,Para [Str "Blank",Space,Str "line",Space,Str "after",Space,Str "term,",Space,Str "indented",Space,Str "marker,",Space,Str "alternate",Space,Str "markers:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "sublist"]]
- ,[Plain [Str "sublist"]]]]])]
-,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
-,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
-,Div ("",[],[])
- [Plain [Str "foo"]]
-,Para [Str "And",Space,Str "nested",Space,Str "without",Space,Str "indentation:"]
-,Div ("",[],[])
- [Div ("",[],[])
- [Div ("",[],[])
- [Para [Str "foo"]]]
- ,Div ("",[],[])
- [Plain [Str "bar"]]]
-,Para [Str "Interpreted",Space,Str "markdown",Space,Str "in",Space,Str "a",Space,Str "table:"]
-,RawBlock (Format "html") "<table>"
-,RawBlock (Format "html") "<tr>"
-,RawBlock (Format "html") "<td>"
-,Plain [Str "This",Space,Str "is",Space,Emph [Str "emphasized"]]
-,RawBlock (Format "html") "</td>"
-,RawBlock (Format "html") "<td>"
-,Plain [Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"]]
-,RawBlock (Format "html") "</td>"
-,RawBlock (Format "html") "</tr>"
-,RawBlock (Format "html") "</table>"
-,RawBlock (Format "html") "<script type=\"text/javascript\">document.write('This *should not* be interpreted as markdown');</script>"
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "simple",Space,Str "block:"]
-,Div ("",[],[])
- [Para [Str "foo"]]
-,Para [Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "code",Space,Str "block,",Space,Str "though:"]
-,CodeBlock ("",[],[]) "<div>\n foo\n</div>"
-,Para [Str "As",Space,Str "should",Space,Str "this:"]
-,CodeBlock ("",[],[]) "<div>foo</div>"
-,Para [Str "Now,",Space,Str "nested:"]
-,Div ("",[],[])
- [Div ("",[],[])
- [Div ("",[],[])
- [Plain [Str "foo"]]]]
-,Para [Str "This",Space,Str "should",Space,Str "just",Space,Str "be",Space,Str "an",Space,Str "HTML",Space,Str "comment:"]
-,RawBlock (Format "html") "<!-- Comment -->"
-,Para [Str "Multiline:"]
-,RawBlock (Format "html") "<!--\nBlah\nBlah\n-->"
-,RawBlock (Format "html") "<!--\n This is another comment.\n-->"
-,Para [Str "Code",Space,Str "block:"]
-,CodeBlock ("",[],[]) "<!-- Comment -->"
-,Para [Str "Just",Space,Str "plain",Space,Str "comment,",Space,Str "with",Space,Str "trailing",Space,Str "spaces",Space,Str "on",Space,Str "the",Space,Str "line:"]
-,RawBlock (Format "html") "<!-- foo -->"
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "<hr />"
-,Para [Str "Hr\8217s:"]
-,RawBlock (Format "html") "<hr>"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr>"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\">"
-,HorizontalRule
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello\160there"],Str "."]
-,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",Space,Str "H",Subscript [Str "many\160of\160them"],Str "O."]
-,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",SoftBreak,Str "because",Space,Str "of",Space,Str "the",Space,Str "unescaped",Space,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a~b",Space,Str "c~d."]
-,HorizontalRule
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",Space,Str "name."]]
-,Para [Quoted SingleQuote [Str "A"],Str ",",Space,Quoted SingleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted SingleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
-,Para [Quoted SingleQuote [Str "Oak,"],Space,Quoted SingleQuote [Str "elm,"],Space,Str "and",Space,Quoted SingleQuote [Str "beech"],Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",SoftBreak,Str "So",Space,Str "is",Space,Quoted SingleQuote [Str "pine."]]
-,Para [Quoted SingleQuote [Str "He",Space,Str "said,",Space,Quoted DoubleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."]],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",SoftBreak,Str "70\8217s?"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Quoted SingleQuote [Code ("",[],[]) "code"],Space,Str "and",Space,Str "a",Space,Quoted DoubleQuote [Link ("",[],[]) [Str "quoted",Space,Str "link"] ("http://example.com/?foo=1&bar=2","")],Str "."]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two",Space,Str "\8212",Space,Str "three\8212four",Space,Str "\8212",Space,Str "five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
-,Para [Str "Ellipses\8230and\8230and\8230."]
-,HorizontalRule
-,Header 1 ("latex",[],[]) [Str "LaTeX"]
-,BulletList
- [[Plain [RawInline (Format "tex") "\\cite[22-23]{smith.1899}"]]
- ,[Plain [Math InlineMath "2+2=4"]]
- ,[Plain [Math InlineMath "x \\in y"]]
- ,[Plain [Math InlineMath "\\alpha \\wedge \\omega"]]
- ,[Plain [Math InlineMath "223"]]
- ,[Plain [Math InlineMath "p",Str "-Tree"]]
- ,[Plain [Str "Here\8217s",Space,Str "some",Space,Str "display",Space,Str "math:",SoftBreak,Math DisplayMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"]]
- ,[Plain [Str "Here\8217s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Math InlineMath "\\alpha + \\omega \\times x^2",Str "."]]]
-,Para [Str "These",Space,Str "shouldn\8217t",Space,Str "be",Space,Str "math:"]
-,BulletList
- [[Plain [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code ("",[],[]) "$e = mc^2$",Str "."]]
- ,[Plain [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",SoftBreak,Str "(It",Space,Str "worked",Space,Str "if",Space,Quoted DoubleQuote [Str "lot"],Space,Str "is",Space,Str "emphasized.)"]]
- ,[Plain [Str "Shoes",Space,Str "($20)",Space,Str "and",Space,Str "socks",Space,Str "($5)."]]
- ,[Plain [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",Space,Str "emphasized"],Space,Str "23$."]]]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
-,RawBlock (Format "tex") "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
-,HorizontalRule
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Plain [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Plain [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Plain [Str "section:",Space,Str "\167"]]
- ,[Plain [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Plain [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,HorizontalRule
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by two spaces"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by a tab"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with \"quotes\" in it")]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with single quotes")]
-,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
-,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/","Title with \"quotes\" inside"),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/","Title with \"quote\" inside"),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("http://att.com/","AT&T"),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",["uri"],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Plain [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Plain [Link ("",["uri"],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Plain [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Link ("",["email"],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
-,BlockQuote
- [Para [Str "Blockquoted:",Space,Link ("",["uri"],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",Space,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,HorizontalRule
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "movie"] ("movie.jpg",""),Space,Str "icon."]
-,HorizontalRule
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Note [Para [Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "after",Space,Str "the",Space,Str "footnote",SoftBreak,Str "reference.",Space,Str "It",Space,Str "need",Space,Str "not",Space,Str "be",Space,Str "placed",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]],Space,Str "and",Space,Str "another.",Note [Para [Str "Here\8217s",Space,Str "the",Space,Str "long",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",SoftBreak,Str "blocks."],Para [Str "Subsequent",Space,Str "blocks",Space,Str "are",Space,Str "indented",Space,Str "to",Space,Str "show",Space,Str "that",Space,Str "they",Space,Str "belong",Space,Str "to",Space,Str "the",SoftBreak,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "list",Space,Str "items)."],CodeBlock ("",[],[]) " { <code> }",Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "indent",Space,Str "every",Space,Str "line,",Space,Str "but",Space,Str "you",Space,Str "can",Space,Str "also",Space,Str "be",SoftBreak,Str "lazy",Space,Str "and",Space,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],SoftBreak,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",SoftBreak,Str "contains",Space,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",Space,Str "note.",Note [Para [Str "This",SoftBreak,Str "is",Space,Emph [Str "easier"],Space,Str "to",Space,Str "type.",Space,Str "Inline",Space,Str "notes",Space,Str "may",Space,Str "contain",SoftBreak,Link ("",[],[]) [Str "links"] ("http://google.com",""),Space,Str "and",Space,Code ("",[],[]) "]",Space,Str "verbatim",Space,Str "characters,",SoftBreak,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
-,BlockQuote
- [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
-,Para [Str "This",Space,Str "paragraph",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "note,",Space,Str "as",Space,Str "it",Space,Str "is",Space,Str "not",Space,Str "indented."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "July" , Space , Str "17," , Space , Str "2006" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , SoftBreak
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , SoftBreak
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , SoftBreak
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , HorizontalRule
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , SoftBreak
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList [ [ Plain [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , SoftBreak
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A.\160\&2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
+ , Para
+ [ Str "Tight"
+ , Space
+ , Str "using"
+ , Space
+ , Str "spaces:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , DefinitionList
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , SoftBreak
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "tight:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "loose:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Para [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "after"
+ , Space
+ , Str "term,"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "marker,"
+ , Space
+ , Str "alternate"
+ , Space
+ , Str "markers:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "sublist" ] ]
+ , [ Plain [ Str "sublist" ] ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "html-blocks" , [] , [] )
+ [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "bar" ] ]
+ ]
+ , Para
+ [ Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock (Format "html") "<table>"
+ , RawBlock (Format "html") "<tr>"
+ , RawBlock (Format "html") "<td>"
+ , Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ ]
+ , RawBlock (Format "html") "</td>"
+ , RawBlock (Format "html") "<td>"
+ , Plain
+ [ Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ ]
+ , RawBlock (Format "html") "</td>"
+ , RawBlock (Format "html") "</tr>"
+ , RawBlock (Format "html") "</table>"
+ , RawBlock
+ (Format "html")
+ "<script type=\"text/javascript\">document.write('This *should not* be interpreted as markdown');</script>"
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "block:"
+ ]
+ , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
+ ]
+ , CodeBlock ( "" , [] , [] ) "<div>\n foo\n</div>"
+ , Para
+ [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "<div>foo</div>"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
+ ]
+ , RawBlock (Format "html") "<!-- Comment -->"
+ , Para [ Str "Multiline:" ]
+ , RawBlock (Format "html") "<!--\nBlah\nBlah\n-->"
+ , RawBlock
+ (Format "html") "<!--\n This is another comment.\n-->"
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) "<!-- Comment -->"
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "plain"
+ , Space
+ , Str "comment,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line:"
+ ]
+ , RawBlock (Format "html") "<!-- foo -->"
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "<hr />"
+ , Para [ Str "Hr\8217s:" ]
+ , RawBlock (Format "html") "<hr>"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr>"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\">"
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "many\160of\160them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , SoftBreak
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "unescaped"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Quoted DoubleQuote [ Str "Hello," ]
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Quoted SingleQuote [ Str "Shelob" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name."
+ ]
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "A" ]
+ , Str ","
+ , Space
+ , Quoted SingleQuote [ Str "B" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "C" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "Oak," ]
+ , Space
+ , Quoted SingleQuote [ Str "elm," ]
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "beech" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , SoftBreak
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Quoted SingleQuote [ Str "pine." ]
+ ]
+ , Para
+ [ Quoted
+ SingleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go."
+ ]
+ ]
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "70\8217s?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Quoted SingleQuote [ Code ( "" , [] , [] ) "code" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three\8212four"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain
+ [ RawInline (Format "tex") "\\cite[22-23]{smith.1899}" ]
+ ]
+ , [ Plain [ Math InlineMath "2+2=4" ] ]
+ , [ Plain [ Math InlineMath "x \\in y" ] ]
+ , [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Plain [ Math InlineMath "223" ] ]
+ , [ Plain [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "some"
+ , Space
+ , Str "display"
+ , Space
+ , Str "math:"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Math InlineMath "\\alpha + \\omega \\times x^2"
+ , Str "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ Str "$22,000"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Emph [ Str "lot" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "money."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "$34,000."
+ , SoftBreak
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Quoted DoubleQuote [ Str "lot" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Shoes"
+ , Space
+ , Str "($20)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "socks"
+ , Space
+ , Str "($5)."
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Plain
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "AT&T" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Plain
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [ "email" ] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: <http://example.com/>"
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune"
+ ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "fig:Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Note
+ [ Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote"
+ , SoftBreak
+ , Str "reference."
+ , Space
+ , Str "It"
+ , Space
+ , Str "need"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "placed"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "another."
+ , Note
+ [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "long"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , SoftBreak
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Subsequent"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "to"
+ , Space
+ , Str "show"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "be"
+ , SoftBreak
+ , Str "lazy"
+ , Space
+ , Str "and"
+ , Space
+ , Str "just"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space.[^my"
+ , Space
+ , Str "note]"
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "This"
+ , SoftBreak
+ , Str "is"
+ , Space
+ , Emph [ Str "easier" ]
+ , Space
+ , Str "to"
+ , Space
+ , Str "type."
+ , Space
+ , Str "Inline"
+ , Space
+ , Str "notes"
+ , Space
+ , Str "may"
+ , Space
+ , Str "contain"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "links" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "]"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "characters,"
+ , SoftBreak
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "[bracketed"
+ , Space
+ , Str "text]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "note,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "indented."
+ ]
+ ]
diff --git a/test/textile-reader.native b/test/textile-reader.native
index e691e41fc..a9c78ec8f 100644
--- a/test/textile-reader.native
+++ b/test/textile-reader.native
@@ -1,243 +1,1260 @@
-Pandoc (Meta {unMeta = fromList []})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc",Space,Str "Textile",Space,Str "Reader.",Space,Str "Part",Space,Str "of",Space,Str "it",Space,Str "comes",LineBreak,Str "from",Space,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,HorizontalRule
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("http://www.example.com","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Strong [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Header 6 ("level-6",[],[]) [Str "Level",Space,Str "6"]
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "Line",Space,Str "breaks",Space,Str "are",Space,Str "preserved",Space,Str "in",Space,Str "textile,",Space,Str "so",Space,Str "you",Space,Str "can",Space,Str "not",Space,Str "wrap",Space,Str "your",Space,Str "very",LineBreak,Str "long",Space,Str "paragraph",Space,Str "with",Space,Str "your",Space,Str "favourite",Space,Str "text",Space,Str "editor",Space,Str "and",Space,Str "have",Space,Str "it",Space,Str "rendered",LineBreak,Str "with",Space,Str "no",Space,Str "break."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet."]
-,BulletList
- [[Plain [Str "criminey."]]]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "paragraph",Space,Str "break",Space,Str "between",Space,Str "here"]
-,Para [Str "and",Space,Str "here."]
-,Para [Str "pandoc",Space,Str "converts",Space,Str "textile."]
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "famous",Space,Str "quote",Space,Str "from",Space,Str "somebody.",Space,Str "He",Space,Str "had",Space,Str "a",Space,Str "lot",Space,Str "of",Space,Str "things",Space,Str "to",LineBreak,Str "say,",Space,Str "so",Space,Str "the",Space,Str "text",Space,Str "is",Space,Str "really",Space,Str "really",Space,Str "long",Space,Str "and",Space,Str "spans",Space,Str "on",Space,Str "multiple",Space,Str "lines."]]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,CodeBlock ("",[],[]) "Code block with .bc\n continued\n @</\\"
-,CodeBlock ("",[],[]) "extended code block\n\n continued"
-,Para [Str "ended",Space,Str "by",Space,Str "paragraph"]
-,Para [Str "Inline",Space,Str "code:",Space,Code ("",[],[]) "<tt>",Str ",",Space,Code ("",[],[]) "@",Str "."]
-,Header 1 ("notextile",[],[]) [Str "Notextile"]
-,Para [Str "A",Space,Str "block",Space,Str "of",Space,Str "text",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "notextile",Space,Str ":"]
-,Para [Str "\nNo *bold* and\n* no bullet\n"]
-,Para [Str "and",Space,Str "inlines",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "double *equals (=)* markup."]
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "With",Space,Str "line",Space,Str "breaks:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1",LineBreak,Str "newline"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Plain [Str "ui",Space,Str "1"]
- ,BulletList
- [[Plain [Str "ui",Space,Str "1.1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "oi",Space,Str "1.1.1"]]
- ,[Plain [Str "oi",Space,Str "1.1.2"]]]]
- ,[Plain [Str "ui",Space,Str "1.2"]]]]
- ,[Plain [Str "ui",Space,Str "2"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "oi",Space,Str "2.1"]
- ,BulletList
- [[Plain [Str "ui",Space,Str "2.1.1"]]
- ,[Plain [Str "ui",Space,Str "2.1.2"]]]]]]]
-,Header 2 ("issue-1500",[],[]) [Str "Issue",Space,Str "#1500"]
-,BulletList
- [[Plain [Str "one"]]
- ,[Plain [Str "two",LineBreak,Str "->",Space,Str "and",Space,Str "more"]]]
-,Header 2 ("issue-1513",[],[]) [Str "Issue",Space,Str "#1513"]
-,Para [Str "List:"]
-,BulletList
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]]]
-,Header 2 ("definition-list",[],[]) [Str "Definition",Space,Str "List"]
-,DefinitionList
- [([Str "coffee"],
- [[Plain [Str "Hot",Space,Str "and",Space,Str "black"]]])
- ,([Str "tea"],
- [[Plain [Str "Also",Space,Str "hot,",Space,Str "but",Space,Str "a",Space,Str "little",Space,Str "less",Space,Str "black"]]])
- ,([Str "milk"],
- [[Para [Str "Nourishing",Space,Str "beverage",Space,Str "for",Space,Str "baby",Space,Str "cows."]
- ,Para [Str "Cold",Space,Str "drink",Space,Str "that",Space,Str "goes",Space,Str "great",Space,Str "with",Space,Str "cookies."]]])
- ,([Str "beer"],
- [[Plain [Str "fresh",Space,Str "and",Space,Str "bitter"]]])]
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str ".",LineBreak,Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str ".",LineBreak,Str "This",Space,Str "is",Space,Underline [Str "inserted"],Str ",",Space,Str "and",Space,Str "this",Space,Str "is",Space,Strikeout [Str "deleted"],Str ".",LineBreak,Str "Hyphenated-words-are-ok,",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str "strange_underscore_notation.",LineBreak,Str "A",Space,Link ("",[],[]) [Strong [Str "strong",Space,Str "link"]] ("http://www.foobar.com",""),Str "."]
-,Para [Emph [Strong [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]],LineBreak,Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word",Space,Str "and",Space,Emph [Strong [Str "that",Space,Str "one"]],Str ".",LineBreak,Strikeout [Str "This",Space,Str "is",Space,Str "strikeout",Space,Str "and",Space,Strong [Str "strong"]]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Space,Superscript [Strong [Str "hello"]],Space,Str "a",Superscript [Str "hello",Space,Str "there"],Str ".",LineBreak,Str "Subscripts:",Space,Subscript [Str "here"],Space,Str "H",Space,Subscript [Str "2"],Str "O,",Space,Str "H",Space,Subscript [Str "23"],Str "O,",Space,Str "H",Space,Subscript [Str "many",Space,Str "of",Space,Str "them"],Str "O."]
-,Para [Str "Dashes",Space,Str ":",Space,Str "How",Space,Str "cool",Space,Str "\8212",Space,Str "automatic",Space,Str "dashes."]
-,Para [Str "Ellipses",Space,Str ":",Space,Str "He",Space,Str "thought",Space,Str "and",Space,Str "thought",Space,Str "\8230",Space,Str "and",Space,Str "then",Space,Str "thought",Space,Str "some",Space,Str "more."]
-,Para [Str "Quotes",Space,Str "and",Space,Str "apostrophes",Space,Str ":",Space,Quoted DoubleQuote [Str "I\8217d",Space,Str "like",Space,Str "to",Space,Str "thank",Space,Str "you"],Space,Str "for",Space,Str "example."]
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "url"] ("http://www.url.com","")]
-,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
-,Para [Quoted DoubleQuote [Str "not",Space,Str "a",Space,Str "link"],Str ":",Space,Str "foo"]
-,Para [Str "Automatic",Space,Str "linking",Space,Str "to",Space,Link ("",[],[]) [Str "http://www.example.com"] ("http://www.example.com",""),Str "."]
-,Para [Link ("",[],[]) [Str "Example"] ("http://www.example.com/",""),Str ":",Space,Str "Example",Space,Str "of",Space,Str "a",Space,Str "link",Space,Str "followed",Space,Str "by",Space,Str "a",Space,Str "colon."]
-,Para [Str "A",Space,Str "link",Link ("",[],[]) [Str "with",Space,Str "brackets"] ("http://www.example.com",""),Str "and",Space,Str "no",Space,Str "spaces."]
-,Header 1 ("tables",[],[]) [Str "Tables"]
-,Para [Str "Textile",Space,Str "allows",Space,Str "tables",Space,Str "with",Space,Str "and",Space,Str "without",Space,Str "headers",Space,Str ":"]
-,Header 2 ("without-headers",[],[]) [Str "Without",Space,Str "headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "name"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "age"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "sex"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "joan"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "24"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "archie"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "29"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "m"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "bella"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "45"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "and",Space,Str "some",Space,Str "text",Space,Str "following",Space,Str "\8230"]
-,Header 2 ("with-headers",[],[]) [Str "With",Space,Str "headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "name"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "age"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "sex"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "joan"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "24"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "archie"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "29"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "m"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "bella"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "45"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "Textile",Space,Str "inline",Space,Str "image",Space,Str "syntax,",Space,Str "like",LineBreak,Str "here",Space,Image ("",[],[]) [Str "this is the alt text"] ("this_is_an_image.png","this is the alt text"),LineBreak,Str "and",Space,Str "here",Space,Image ("",[],[]) [Str ""] ("this_is_an_image.png",""),Str "."]
-,Header 1 ("attributes",[],[]) [Str "Attributes"]
-,Header 2 ("ident",["bar","foo"],[("style","color:red;"),("lang","en")]) [Str "HTML",Space,Str "and",Space,Str "CSS",Space,Str "attributes",Space,Str "are",Space,Str "parsed",Space,Str "in",Space,Str "headers."]
-,Header 2 ("centered",[],[("style","text-align:center;")]) [Str "Centered"]
-,Header 2 ("right",[],[("style","text-align:right;")]) [Str "Right"]
-,Header 2 ("justified",[],[("lang","en"),("style","color:blue;text-align:justify;")]) [Str "Justified"]
-,Para [Str "as",Space,Str "well",Space,Str "as",Space,Strong [Span ("",["foo"],[]) [Str "inline",Space,Str "attributes"]],Space,Str "of",Space,Span ("",[],[("style","color:red;")]) [Str "all",Space,Str "kind"]]
-,Para [Str "and",Space,Str "paragraph",Space,Str "attributes,",Space,Str "and",Space,Str "table",Space,Str "attributes."]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "name"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "age"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "sex"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "joan"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "24"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Emph [Str "(class#id)",Space,Str "emph"]]
-,Para [Emph [Str "(no",Space,Str "class#id)",Space,Str "emph"]]
-,Header 1 ("entities",[],[]) [Str "Entities"]
-,Para [Str "*",LineBreak,Str "&"]
-,Header 1 ("raw-html",[],[]) [Str "Raw",Space,Str "HTML"]
-,Para [Str "However,",Space,RawInline (Format "html") "<strong>",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,RawInline (Format "html") "</strong>",Space,Str "are",Space,Str "accepted,",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"]
-,RawBlock (Format "html") "<div class=\"foobar\">"
-,Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold"]
-,RawBlock (Format "html") "</div>"
-,Para [Str "Html",Space,Str "blocks",Space,Str "can"]
-,RawBlock (Format "html") "<div>"
-,Para [Str "interrupt",Space,Str "paragraphs"]
-,RawBlock (Format "html") "</div>"
-,Para [Str "as",Space,Str "well."]
-,Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"]
-,Header 1 ("acronyms-and-marks",[],[]) [Str "Acronyms",Space,Str "and",Space,Str "marks"]
-,Para [Str "PBS (Public Broadcasting System)"]
-,Para [Str "Hi\8482"]
-,Para [Str "Hi",Space,Str "\8482"]
-,Para [Str "\174",Space,Str "Hi\174"]
-,Para [Str "Hi\169\&2008",Space,Str "\169",Space,Str "2008"]
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "A",Space,Str "note.",Note [Para [Str "The",Space,Str "note",LineBreak,Str "is",Space,Str "here!"]],Space,Str "Another",Space,Str "note",Note [Para [Str "Other",Space,Str "note."]],Str "."]
-,Header 1 ("comment-blocks",[],[]) [Str "Comment",Space,Str "blocks"]
-,Para [Str "not",Space,Str "a",Space,Str "comment."]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc"
+ , Space
+ , Str "Textile"
+ , Space
+ , Str "Reader."
+ , Space
+ , Str "Part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "it"
+ , Space
+ , Str "comes"
+ , LineBreak
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "http://www.example.com" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Strong [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 6 ( "level-6" , [] , [] ) [ Str "Level" , Space , Str "6" ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "preserved"
+ , Space
+ , Str "in"
+ , Space
+ , Str "textile,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "not"
+ , Space
+ , Str "wrap"
+ , Space
+ , Str "your"
+ , Space
+ , Str "very"
+ , LineBreak
+ , Str "long"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "with"
+ , Space
+ , Str "your"
+ , Space
+ , Str "favourite"
+ , Space
+ , Str "text"
+ , Space
+ , Str "editor"
+ , Space
+ , Str "and"
+ , Space
+ , Str "have"
+ , Space
+ , Str "it"
+ , Space
+ , Str "rendered"
+ , LineBreak
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "break."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ ]
+ , BulletList [ [ Plain [ Str "criminey." ] ] ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "break"
+ , Space
+ , Str "between"
+ , Space
+ , Str "here"
+ ]
+ , Para [ Str "and" , Space , Str "here." ]
+ , Para
+ [ Str "pandoc"
+ , Space
+ , Str "converts"
+ , Space
+ , Str "textile."
+ ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "from"
+ , Space
+ , Str "somebody."
+ , Space
+ , Str "He"
+ , Space
+ , Str "had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "lot"
+ , Space
+ , Str "of"
+ , Space
+ , Str "things"
+ , Space
+ , Str "to"
+ , LineBreak
+ , Str "say,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "the"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "really"
+ , Space
+ , Str "really"
+ , Space
+ , Str "long"
+ , Space
+ , Str "and"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "on"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , CodeBlock
+ ( "" , [] , [] )
+ "Code block with .bc\n continued\n @</\\"
+ , CodeBlock
+ ( "" , [] , [] ) "extended code block\n\n continued"
+ , Para
+ [ Str "ended" , Space , Str "by" , Space , Str "paragraph" ]
+ , Para
+ [ Str "Inline"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) "<tt>"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "@"
+ , Str "."
+ ]
+ , Header 1 ( "notextile" , [] , [] ) [ Str "Notextile" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "block"
+ , Space
+ , Str "of"
+ , Space
+ , Str "text"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "protected"
+ , Space
+ , Str "with"
+ , Space
+ , Str "notextile"
+ , Space
+ , Str ":"
+ ]
+ , Para [ Str "\nNo *bold* and\n* no bullet\n" ]
+ , Para
+ [ Str "and"
+ , Space
+ , Str "inlines"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "protected"
+ , Space
+ , Str "with"
+ , Space
+ , Str "double *equals (=)* markup."
+ ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para
+ [ Str "With" , Space , Str "line" , Space , Str "breaks:" ]
+ , BulletList
+ [ [ Plain
+ [ Str "asterisk"
+ , Space
+ , Str "1"
+ , LineBreak
+ , Str "newline"
+ ]
+ ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "ui" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "ui" , Space , Str "1.1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "oi" , Space , Str "1.1.1" ] ]
+ , [ Plain [ Str "oi" , Space , Str "1.1.2" ] ]
+ ]
+ ]
+ , [ Plain [ Str "ui" , Space , Str "1.2" ] ]
+ ]
+ ]
+ , [ Plain [ Str "ui" , Space , Str "2" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "oi" , Space , Str "2.1" ]
+ , BulletList
+ [ [ Plain [ Str "ui" , Space , Str "2.1.1" ] ]
+ , [ Plain [ Str "ui" , Space , Str "2.1.2" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "issue-1500" , [] , [] )
+ [ Str "Issue" , Space , Str "#1500" ]
+ , BulletList
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain
+ [ Str "two"
+ , LineBreak
+ , Str "->"
+ , Space
+ , Str "and"
+ , Space
+ , Str "more"
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "issue-1513" , [] , [] )
+ [ Str "Issue" , Space , Str "#1513" ]
+ , Para [ Str "List:" ]
+ , BulletList
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , Header
+ 2
+ ( "definition-list" , [] , [] )
+ [ Str "Definition" , Space , Str "List" ]
+ , DefinitionList
+ [ ( [ Str "coffee" ]
+ , [ [ Plain
+ [ Str "Hot" , Space , Str "and" , Space , Str "black" ]
+ ]
+ ]
+ )
+ , ( [ Str "tea" ]
+ , [ [ Plain
+ [ Str "Also"
+ , Space
+ , Str "hot,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "a"
+ , Space
+ , Str "little"
+ , Space
+ , Str "less"
+ , Space
+ , Str "black"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "milk" ]
+ , [ [ Para
+ [ Str "Nourishing"
+ , Space
+ , Str "beverage"
+ , Space
+ , Str "for"
+ , Space
+ , Str "baby"
+ , Space
+ , Str "cows."
+ ]
+ , Para
+ [ Str "Cold"
+ , Space
+ , Str "drink"
+ , Space
+ , Str "that"
+ , Space
+ , Str "goes"
+ , Space
+ , Str "great"
+ , Space
+ , Str "with"
+ , Space
+ , Str "cookies."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "beer" ]
+ , [ [ Plain
+ [ Str "fresh"
+ , Space
+ , Str "and"
+ , Space
+ , Str "bitter"
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ , LineBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ , LineBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Underline [ Str "inserted" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Strikeout [ Str "deleted" ]
+ , Str "."
+ , LineBreak
+ , Str "Hyphenated-words-are-ok,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "strange_underscore_notation."
+ , LineBreak
+ , Str "A"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Strong [ Str "strong" , Space , Str "link" ] ]
+ ( "http://www.foobar.com" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Emph
+ [ Strong
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ , LineBreak
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word"
+ , Space
+ , Str "and"
+ , Space
+ , Emph [ Strong [ Str "that" , Space , Str "one" ] ]
+ , Str "."
+ , LineBreak
+ , Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strikeout"
+ , Space
+ , Str "and"
+ , Space
+ , Strong [ Str "strong" ]
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Space
+ , Superscript [ Strong [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello" , Space , Str "there" ]
+ , Str "."
+ , LineBreak
+ , Str "Subscripts:"
+ , Space
+ , Subscript [ Str "here" ]
+ , Space
+ , Str "H"
+ , Space
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Space
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Space
+ , Subscript
+ [ Str "many" , Space , Str "of" , Space , Str "them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str ":"
+ , Space
+ , Str "How"
+ , Space
+ , Str "cool"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "automatic"
+ , Space
+ , Str "dashes."
+ ]
+ , Para
+ [ Str "Ellipses"
+ , Space
+ , Str ":"
+ , Space
+ , Str "He"
+ , Space
+ , Str "thought"
+ , Space
+ , Str "and"
+ , Space
+ , Str "thought"
+ , Space
+ , Str "\8230"
+ , Space
+ , Str "and"
+ , Space
+ , Str "then"
+ , Space
+ , Str "thought"
+ , Space
+ , Str "some"
+ , Space
+ , Str "more."
+ ]
+ , Para
+ [ Str "Quotes"
+ , Space
+ , Str "and"
+ , Space
+ , Str "apostrophes"
+ , Space
+ , Str ":"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "I\8217d"
+ , Space
+ , Str "like"
+ , Space
+ , Str "to"
+ , Space
+ , Str "thank"
+ , Space
+ , Str "you"
+ ]
+ , Space
+ , Str "for"
+ , Space
+ , Str "example."
+ ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "url" ] ( "http://www.url.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Quoted
+ DoubleQuote
+ [ Str "not" , Space , Str "a" , Space , Str "link" ]
+ , Str ":"
+ , Space
+ , Str "foo"
+ ]
+ , Para
+ [ Str "Automatic"
+ , Space
+ , Str "linking"
+ , Space
+ , Str "to"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.example.com" ]
+ ( "http://www.example.com" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Example" ]
+ ( "http://www.example.com/" , "" )
+ , Str ":"
+ , Space
+ , Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "colon."
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Link
+ ( "" , [] , [] )
+ [ Str "with" , Space , Str "brackets" ]
+ ( "http://www.example.com" , "" )
+ , Str "and"
+ , Space
+ , Str "no"
+ , Space
+ , Str "spaces."
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Para
+ [ Str "Textile"
+ , Space
+ , Str "allows"
+ , Space
+ , Str "tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "and"
+ , Space
+ , Str "without"
+ , Space
+ , Str "headers"
+ , Space
+ , Str ":"
+ ]
+ , Header
+ 2
+ ( "without-headers" , [] , [] )
+ [ Str "Without" , Space , Str "headers" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "archie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "m" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "bella" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "45" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "and"
+ , Space
+ , Str "some"
+ , Space
+ , Str "text"
+ , Space
+ , Str "following"
+ , Space
+ , Str "\8230"
+ ]
+ , Header
+ 2
+ ( "with-headers" , [] , [] )
+ [ Str "With" , Space , Str "headers" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "archie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "m" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "bella" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "45" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "Textile"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "image"
+ , Space
+ , Str "syntax,"
+ , Space
+ , Str "like"
+ , LineBreak
+ , Str "here"
+ , Space
+ , Image
+ ( "" , [] , [] )
+ [ Str "this is the alt text" ]
+ ( "this_is_an_image.png" , "this is the alt text" )
+ , LineBreak
+ , Str "and"
+ , Space
+ , Str "here"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "" ] ( "this_is_an_image.png" , "" )
+ , Str "."
+ ]
+ , Header 1 ( "attributes" , [] , [] ) [ Str "Attributes" ]
+ , Header
+ 2
+ ( "ident"
+ , [ "bar" , "foo" ]
+ , [ ( "style" , "color:red;" ) , ( "lang" , "en" ) ]
+ )
+ [ Str "HTML"
+ , Space
+ , Str "and"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "attributes"
+ , Space
+ , Str "are"
+ , Space
+ , Str "parsed"
+ , Space
+ , Str "in"
+ , Space
+ , Str "headers."
+ ]
+ , Header
+ 2
+ ( "centered" , [] , [ ( "style" , "text-align:center;" ) ] )
+ [ Str "Centered" ]
+ , Header
+ 2
+ ( "right" , [] , [ ( "style" , "text-align:right;" ) ] )
+ [ Str "Right" ]
+ , Header
+ 2
+ ( "justified"
+ , []
+ , [ ( "lang" , "en" )
+ , ( "style" , "color:blue;text-align:justify;" )
+ ]
+ )
+ [ Str "Justified" ]
+ , Para
+ [ Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Strong
+ [ Span
+ ( "" , [ "foo" ] , [] )
+ [ Str "inline" , Space , Str "attributes" ]
+ ]
+ , Space
+ , Str "of"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "color:red;" ) ] )
+ [ Str "all" , Space , Str "kind" ]
+ ]
+ , Para
+ [ Str "and"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "attributes,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "table"
+ , Space
+ , Str "attributes."
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Emph [ Str "(class#id)" , Space , Str "emph" ] ]
+ , Para
+ [ Emph
+ [ Str "(no" , Space , Str "class#id)" , Space , Str "emph" ]
+ ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "Entities" ]
+ , Para [ Str "*" , LineBreak , Str "&" ]
+ , Header
+ 1
+ ( "raw-html" , [] , [] )
+ [ Str "Raw" , Space , Str "HTML" ]
+ , Para
+ [ Str "However,"
+ , Space
+ , RawInline (Format "html") "<strong>"
+ , Space
+ , Str "raw"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "inlines"
+ , Space
+ , RawInline (Format "html") "</strong>"
+ , Space
+ , Str "are"
+ , Space
+ , Str "accepted,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str ":"
+ ]
+ , RawBlock (Format "html") "<div class=\"foobar\">"
+ , Para
+ [ Str "any"
+ , Space
+ , Strong
+ [ Str "Raw" , Space , Str "HTML" , Space , Str "Block" ]
+ , Space
+ , Str "with"
+ , Space
+ , Str "bold"
+ ]
+ , RawBlock (Format "html") "</div>"
+ , Para
+ [ Str "Html" , Space , Str "blocks" , Space , Str "can" ]
+ , RawBlock (Format "html") "<div>"
+ , Para [ Str "interrupt" , Space , Str "paragraphs" ]
+ , RawBlock (Format "html") "</div>"
+ , Para [ Str "as" , Space , Str "well." ]
+ , Para
+ [ Str "Can"
+ , Space
+ , Str "you"
+ , Space
+ , Str "prove"
+ , Space
+ , Str "that"
+ , Space
+ , Str "2"
+ , Space
+ , Str "<"
+ , Space
+ , Str "3"
+ , Space
+ , Str "?"
+ ]
+ , Header
+ 1
+ ( "acronyms-and-marks" , [] , [] )
+ [ Str "Acronyms" , Space , Str "and" , Space , Str "marks" ]
+ , Para [ Str "PBS (Public Broadcasting System)" ]
+ , Para [ Str "Hi\8482" ]
+ , Para [ Str "Hi" , Space , Str "\8482" ]
+ , Para [ Str "\174" , Space , Str "Hi\174" ]
+ , Para
+ [ Str "Hi\169\&2008"
+ , Space
+ , Str "\169"
+ , Space
+ , Str "2008"
+ ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "note"
+ , LineBreak
+ , Str "is"
+ , Space
+ , Str "here!"
+ ]
+ ]
+ , Space
+ , Str "Another"
+ , Space
+ , Str "note"
+ , Note [ Para [ Str "Other" , Space , Str "note." ] ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "comment-blocks" , [] , [] )
+ [ Str "Comment" , Space , Str "blocks" ]
+ , Para
+ [ Str "not" , Space , Str "a" , Space , Str "comment." ]
+ ]
diff --git a/test/tikiwiki-reader.native b/test/tikiwiki-reader.native
index 0c34f60ce..3a3f1038f 100644
--- a/test/tikiwiki-reader.native
+++ b/test/tikiwiki-reader.native
@@ -1,212 +1,775 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("header",[],[]) [Str "header"]
-,Header 2 ("header-level-two",[],[]) [Str "header",Space,Str "level",Space,Str "two"]
-,Header 3 ("header-level-3",[],[]) [Str "header",Space,Str "level",Space,Str "3"]
-,Header 4 ("header-_level_-four",[],[]) [Str "header",Space,Str "_level_",Space,Str "four"]
-,Header 5 ("header-level-5",[],[]) [Str "header",Space,Str "level",Space,Str "5"]
-,Header 6 ("header-level-6",[],[]) [Str "header",Space,Str "level",Space,Str "6"]
-,Para [Str "!!!!!!!",Space,Str "not",Space,Str "a",Space,Str "header"]
-,Para [Str "--++",Space,Str "not",Space,Str "a",Space,Str "header"]
-,Header 1 ("emph-and-strong",[],[]) [Str "emph",Space,Str "and",Space,Str "strong"]
-,Para [Emph [Str "emph"],Space,Strong [Str "strong"]]
-,Para [Emph [Strong [Str "strong",Space,Str "and",Space,Str "emph",Space,Str "1"]]]
-,Para [Strong [Emph [Str "strong",Space,Str "and",Space,Str "emph",Space,Str "2"]]]
-,Para [Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
-,Para [Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
-,Para [Emph [Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
-,Header 1 ("horizontal-rule",[],[]) [Str "horizontal",Space,Str "rule"]
-,Para [Str "top"]
-,HorizontalRule
-,Para [Str "bottom"]
-,HorizontalRule
-,Header 1 ("nop",[],[]) [Str "nop"]
-,Para [Str "__not emph__"]
-,Header 1 ("entities",[],[]) [Str "entities"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "G\246del"]
-,Para [Str "\777\2730"]
-,Header 1 ("linebreaks",[],[]) [Str "linebreaks"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Header 1 ("inline-code",[],[]) [Str "inline",Space,Str "code"]
-,Para [Code ("",[],[]) "*\8594*",Space,Code ("",[],[]) "typed",Space,Code ("",[],[]) ">>="]
-,Header 1 ("code-blocks",[],[]) [Str "code",Space,Str "blocks"]
-,CodeBlock ("",[],[]) "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
-,CodeBlock ("",["haskell"],[("colors","haskell"),("ln","0")]) "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
-,Header 1 ("external-links",[],[]) [Str "external",Space,Str "links"]
-,Para [Link ("",[],[]) [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
-,Para [Link ("",[],[]) [Str "http://pandoc.org"] ("http://pandoc.org","")]
-,Para [Link ("",[],[]) [Str "http://google.com"] ("http://google.com",""),Space,Link ("",[],[]) [Str "http://yahoo.com"] ("http://yahoo.com","")]
-,Para [Link ("",[],[]) [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
-,Para [Str "http://google.com"]
-,Para [Str "info@example.org"]
-,Header 1 ("lists",[],[]) [Str "lists"]
-,BulletList
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "an",Space,Str "asterisk",Space,Str "(*)."]
- ,BulletList
- [[Plain [Str "More",Space,Str "asterisks",Space,Str "gives",Space,Str "deeper"]
- ,BulletList
- [[Plain [Str "and",Space,Str "deeper",Space,Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]]
- ,[Plain [Str "Continuations",Space,Str "are",Space,Str "also",Space,Str "possible"]
- ,BulletList
- [[Plain [Str "and",Space,Str "do",Space,Str "not",Space,Str "break",Space,Str "the",Space,Str "list",Space,Str "flow"]]]]
- ,[Plain [Str "Level",Space,Str "one"]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "ends",Space,Str "the",Space,Str "list."]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "a",Space,Str "number",Space,Str "(1.)."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "More",Space,Str "number",Space,Str "signs",Space,Str "gives",Space,Str "deeper"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "and",Space,Str "deeper"]]
- ,[Plain [Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]]
- ,[Plain [Str "Blank",Space,Str "lines"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "end",Space,Str "the",Space,Str "list",Space,Str "and",Space,Str "start",Space,Str "another."]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "also",Space,Str "ends",Space,Str "the",Space,Str "list."]
-,DefinitionList
- [([Str "item",Space,Str "1"],
- [[Plain [Str "definition",Space,Str "1"]]])
- ,([Str "item",Space,Str "2"],
- [[Plain [Str "definition",Space,Str "2-1",Space,Str "definition",Space,Str "2-2"]]])
- ,([Str "item",Space,Emph [Str "3"]],
- [[Plain [Str "definition",Space,Emph [Str "3"]]]])]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]
- ,BulletList
- [[Plain [Str "two",Space,Str "point",Space,Str "one"]]
- ,[Plain [Str "two",Space,Str "point",Space,Str "two"]]]]
- ,[Plain [Str "three"]]
- ,[Plain [Str "four"]]
- ,[Plain [Str "five"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1",Space,Str "sub",Space,Str "1"]]]]
- ,[Plain [Str "five",Space,Str "sub",Space,Str "2"]]]]]
-,Header 1 ("tables",[],[]) [Str "tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Strong [Str "Butter"]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread",LineBreak,LineBreak,Str "and",Space,Str "cheese"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie",LineBreak,LineBreak,Strong [Str "apple"],Space,Str "and",Space,Emph [Str "carrot"],Space]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ""]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Orange",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Apple",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Bread",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Pie",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Butter",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "Ice",Space,Str "cream",Space]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Space,Str "and",Space,Str "more",Space]]]])]
- (TableFoot ("",[],[])
- [])]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header 1 ( "header" , [] , [] ) [ Str "header" ]
+ , Header
+ 2
+ ( "header-level-two" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "two" ]
+ , Header
+ 3
+ ( "header-level-3" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header-_level_-four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Str "_level_"
+ , Space
+ , Str "four"
+ ]
+ , Header
+ 5
+ ( "header-level-5" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "5" ]
+ , Header
+ 6
+ ( "header-level-6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
+ , Para
+ [ Str "!!!!!!!"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Para
+ [ Str "--++"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Header
+ 1
+ ( "emph-and-strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
+ , Para
+ [ Emph
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emph"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emph"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Header
+ 1
+ ( "horizontal-rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 1 ( "nop" , [] , [] ) [ Str "nop" ]
+ , Para [ Str "__not emph__" ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 1 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 1
+ ( "inline-code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
+ , Para
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [] , [] ) ">>="
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
+ , CodeBlock
+ ( ""
+ , [ "haskell" ]
+ , [ ( "colors" , "haskell" ) , ( "ln" , "0" ) ]
+ )
+ "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
+ , Header
+ 1
+ ( "external-links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://yahoo.com" ]
+ ( "http://yahoo.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "info@example.org" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "lists" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "asterisk"
+ , Space
+ , Str "(*)."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain
+ [ Str "Continuations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "also"
+ , Space
+ , Str "possible"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "break"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "flow"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "one" ] ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "number"
+ , Space
+ , Str "(1.)."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , DefinitionList
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain
+ [ Str "definition"
+ , Space
+ , Str "2-1"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "2-2"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "item" , Space , Emph [ Str "3" ] ]
+ , [ [ Plain [ Str "definition" , Space , Emph [ Str "3" ] ]
+ ]
+ ]
+ )
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "three" ] ]
+ , [ Plain [ Str "four" ] ]
+ , [ Plain [ Str "five" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
+ ]
+ ]
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Strong [ Str "Butter" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Bread"
+ , LineBreak
+ , LineBreak
+ , Str "and"
+ , Space
+ , Str "cheese"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Pie"
+ , LineBreak
+ , LineBreak
+ , Strong [ Str "apple" ]
+ , Space
+ , Str "and"
+ , Space
+ , Emph [ Str "carrot" ]
+ , Space
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Orange" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Apple" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Bread" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Pie" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Butter" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Space
+ , Str "Ice"
+ , Space
+ , Str "cream"
+ , Space
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Space , Str "and" , Space , Str "more" , Space ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
diff --git a/test/twiki-reader.native b/test/twiki-reader.native
index 704bcbd9a..e41301966 100644
--- a/test/twiki-reader.native
+++ b/test/twiki-reader.native
@@ -1,250 +1,863 @@
-Pandoc (Meta {unMeta = fromList []})
-[Header 1 ("header",[],[]) [Str "header"]
-,Header 2 ("header-level-two",[],[]) [Str "header",Space,Str "level",Space,Str "two"]
-,Header 3 ("header-level-3",[],[]) [Str "header",Space,Str "level",Space,Str "3"]
-,Header 4 ("header-level-four",[],[]) [Str "header",Space,Emph [Str "level"],Space,Str "four"]
-,Header 5 ("header-level-5",[],[]) [Str "header",Space,Str "level",Space,Str "5"]
-,Header 6 ("header-level-6",[],[]) [Str "header",Space,Str "level",Space,Str "6"]
-,Para [Str "---+++++++",Space,Str "not",Space,Str "a",Space,Str "header"]
-,Para [Str "--++",Space,Str "not",Space,Str "a",Space,Str "header"]
-,Header 1 ("emph-and-strong",[],[]) [Str "emph",Space,Str "and",Space,Str "strong"]
-,Para [Emph [Str "emph"],Space,Strong [Str "strong"]]
-,Para [Emph [Strong [Str "strong",Space,Str "and",Space,Str "emph"]]]
-,Para [Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
-,Para [Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
-,Para [Emph [Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
-,Header 1 ("horizontal-rule",[],[]) [Str "horizontal",Space,Str "rule"]
-,Para [Str "top"]
-,HorizontalRule
-,Para [Str "bottom"]
-,HorizontalRule
-,Header 1 ("nop",[],[]) [Str "nop"]
-,Para [Str "_not",Space,Str "emph_"]
-,Header 1 ("entities",[],[]) [Str "entities"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "hi",Space,Str "&",Space,Str "low"]
-,Para [Str "G\246del"]
-,Para [Str "\777\2730"]
-,Header 1 ("comments",[],[]) [Str "comments"]
-,Para [Str "inline",Space,Str "comment"]
-,Para [Str "between",Space,Str "blocks"]
-,Header 1 ("linebreaks",[],[]) [Str "linebreaks"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Para [Str "hi",LineBreak,Str "there"]
-,Header 1 ("inline-code",[],[]) [Str "inline",Space,Str "code"]
-,Para [Code ("",[],[]) "*\8594*",Space,Code ("",[],[]) "typed",Space,Code ("",["haskell"],[]) ">>="]
-,Header 1 ("code-blocks",[],[]) [Str "code",Space,Str "blocks"]
-,CodeBlock ("",[],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
-,CodeBlock ("",["haskell"],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
-,Header 1 ("block-quotes",[],[]) [Str "block",Space,Str "quotes"]
-,Para [Str "Regular",Space,Str "paragraph"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote."]
- ,Para [Str "With",Space,Str "two",Space,Str "paragraphs."]]
-,Para [Str "Nother",Space,Str "paragraph."]
-,Header 1 ("external-links",[],[]) [Str "external",Space,Str "links"]
-,Para [Link ("",[],[]) [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
-,Para [Link ("",[],[]) [Str "http://pandoc.org"] ("http://pandoc.org","")]
-,Para [Link ("",[],[]) [Str "http://google.com"] ("http://google.com",""),Space,Link ("",[],[]) [Str "http://yahoo.com"] ("http://yahoo.com","")]
-,Para [Link ("",[],[]) [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
-,Para [Str "http://google.com"]
-,Para [Str "http://google.com"]
-,Para [Str "http://google.com"]
-,Para [Str "info@example.org"]
-,Para [Str "info@example.org"]
-,Para [Str "info@example.org"]
-,Header 1 ("lists",[],[]) [Str "lists"]
-,BulletList
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "an",Space,Str "asterisk",Space,Str "(*)."]
- ,BulletList
- [[Plain [Str "More",Space,Str "asterisks",Space,Str "gives",Space,Str "deeper"]
- ,BulletList
- [[Plain [Str "and",Space,Str "deeper",Space,Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]]
- ,[Plain [Str "Continuations",Space,Str "are",Space,Str "also",Space,Str "possible"]
- ,BulletList
- [[Plain [Str "and",Space,Str "do",Space,Str "not",Space,Str "break",Space,Str "the",Space,Str "list",Space,Str "flow"]]]]
- ,[Plain [Str "Level",Space,Str "one"]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "ends",Space,Str "the",Space,Str "list."]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
- ,[Plain [Str "with",Space,Str "a",Space,Str "number",Space,Str "(1.)."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "More",Space,Str "number",Space,Str "signs",Space,Str "gives",Space,Str "deeper"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "and",Space,Str "deeper"]]
- ,[Plain [Str "levels."]]]]]]
- ,[Plain [Str "Line",Space,Str "breaks",LineBreak,Str "don't",Space,Str "break",Space,Str "levels."]]
- ,[Plain [Str "Blank",Space,Str "lines"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "end",Space,Str "the",Space,Str "list",Space,Str "and",Space,Str "start",Space,Str "another."]]]
-,Para [Str "Any",Space,Str "other",Space,Str "start",Space,Str "also",Space,Str "ends",Space,Str "the",Space,Str "list."]
-,DefinitionList
- [([Str "item",Space,Str "1"],
- [[Plain [Str "definition",Space,Str "1"]]])
- ,([Str "item",Space,Str "2"],
- [[Plain [Str "definition",Space,Str "2-1",Space,Str "definition",Space,Str "2-2"]]])
- ,([Str "item",Space,Emph [Str "3"]],
- [[Plain [Str "definition",Space,Emph [Str "3"]]]])]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "one"]]
- ,[Plain [Str "two"]
- ,BulletList
- [[Plain [Str "two",Space,Str "point",Space,Str "one"]]
- ,[Plain [Str "two",Space,Str "point",Space,Str "two"]]]]
- ,[Plain [Str "three"]
- ,DefinitionList
- [([Str "three",Space,Str "item",Space,Str "one"],
- [[Plain [Str "three",Space,Str "def",Space,Str "one"]]])]]
- ,[Plain [Str "four"]
- ,DefinitionList
- [([Str "four",Space,Str "def",Space,Str "one"],
- [[Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "continuation"]]])]]
- ,[Plain [Str "five"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "five",Space,Str "sub",Space,Str "1",Space,Str "sub",Space,Str "1"]]]]
- ,[Plain [Str "five",Space,Str "sub",Space,Str "2"]]]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "other"]
- ,OrderedList (1,UpperRoman,DefaultDelim)
- [[Plain [Str "list"]]
- ,[Plain [Str "styles"]]]]
- ,[Plain [Str "are"]
- ,OrderedList (1,LowerRoman,DefaultDelim)
- [[Plain [Str "also"]]
- ,[Plain [Str "possible"]]]]
- ,[Plain [Str "all"]
- ,OrderedList (1,LowerAlpha,DefaultDelim)
- [[Plain [Str "the"]]
- ,[Plain [Str "different"]]
- ,[Plain [Str "styles"]]]]
- ,[Plain [Str "are"]
- ,OrderedList (1,UpperAlpha,DefaultDelim)
- [[Plain [Str "implemented"]]
- ,[Plain [Str "and"]]
- ,[Plain [Str "supported"]]]]]
-,Header 1 ("tables",[],[]) [Str "tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Strong [Str "Butter"]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Ice",Space,Str "cream"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignLeft,ColWidthDefault)
- ,(AlignLeft,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread",LineBreak,LineBreak,Str "and",Space,Str "cheese"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie",LineBreak,LineBreak,Strong [Str "apple"],Space,Str "and",Space,Emph [Str "carrot"]]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Orange"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apple"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Bread"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Pie"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "more"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Butter"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Ice",Space,Str "cream"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "and",Space,Str "more"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 1 ("macros",[],[]) [Str "macros"]
-,Para [Span ("",["twiki-macro","TEST"],[]) []]
-,Para [Span ("",["twiki-macro","TEST"],[]) [Str ""]]
-,Para [Span ("",["twiki-macro","TEST"],[]) [Str "content with spaces"]]
-,Para [Span ("",["twiki-macro","TEST"],[]) [Str "content with spaces"]]
-,Para [Span ("",["twiki-macro","TEST"],[("ARG1","test")]) [Str "content with spaces"]]
-,Para [Span ("",["twiki-macro","TEST"],[]) [Str "content with spaces ARG1=test"]]
-,Para [Span ("",["twiki-macro","TEST"],[("ARG1","test")]) [Str "content with spaces"]]
-,Para [Span ("",["twiki-macro","TEST"],[("ARG1","test"),("ARG2","test2")]) [Str ""]]
-,Para [Span ("",["twiki-macro","TEST"],[("ARG1","test"),("ARG2","test2")]) [Str ""]]
-,Para [Span ("",["twiki-macro","TEST"],[("ARG1","test"),("ARG2","test2")]) [Str "multiline\ndoes also work"]]]
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Header 1 ( "header" , [] , [] ) [ Str "header" ]
+ , Header
+ 2
+ ( "header-level-two" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "two" ]
+ , Header
+ 3
+ ( "header-level-3" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header-level-four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Emph [ Str "level" ]
+ , Space
+ , Str "four"
+ ]
+ , Header
+ 5
+ ( "header-level-5" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "5" ]
+ , Header
+ 6
+ ( "header-level-6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
+ , Para
+ [ Str "---+++++++"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Para
+ [ Str "--++"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Header
+ 1
+ ( "emph-and-strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
+ , Para
+ [ Emph
+ [ Strong
+ [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Header
+ 1
+ ( "horizontal-rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 1 ( "nop" , [] , [] ) [ Str "nop" ]
+ , Para [ Str "_not" , Space , Str "emph_" ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 1 ( "comments" , [] , [] ) [ Str "comments" ]
+ , Para [ Str "inline" , Space , Str "comment" ]
+ , Para [ Str "between" , Space , Str "blocks" ]
+ , Header 1 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 1
+ ( "inline-code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
+ , Para
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) ">>="
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "block" , Space , Str "quotes" ]
+ , Para [ Str "Regular" , Space , Str "paragraph" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "paragraphs."
+ ]
+ ]
+ , Para [ Str "Nother" , Space , Str "paragraph." ]
+ , Header
+ 1
+ ( "external-links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://yahoo.com" ]
+ ( "http://yahoo.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "info@example.org" ]
+ , Para [ Str "info@example.org" ]
+ , Para [ Str "info@example.org" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "lists" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "asterisk"
+ , Space
+ , Str "(*)."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain
+ [ Str "Continuations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "also"
+ , Space
+ , Str "possible"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "break"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "flow"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "one" ] ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "number"
+ , Space
+ , Str "(1.)."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , DefinitionList
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain
+ [ Str "definition"
+ , Space
+ , Str "2-1"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "2-2"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "item" , Space , Emph [ Str "3" ] ]
+ , [ [ Plain [ Str "definition" , Space , Emph [ Str "3" ] ]
+ ]
+ ]
+ )
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "three" ]
+ , DefinitionList
+ [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "three"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "four" ]
+ , DefinitionList
+ [ ( [ Str "four" , Space , Str "def" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "five" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "other" ]
+ , OrderedList
+ ( 1 , UpperRoman , DefaultDelim )
+ [ [ Plain [ Str "list" ] ] , [ Plain [ Str "styles" ] ] ]
+ ]
+ , [ Plain [ Str "are" ]
+ , OrderedList
+ ( 1 , LowerRoman , DefaultDelim )
+ [ [ Plain [ Str "also" ] ] , [ Plain [ Str "possible" ] ] ]
+ ]
+ , [ Plain [ Str "all" ]
+ , OrderedList
+ ( 1 , LowerAlpha , DefaultDelim )
+ [ [ Plain [ Str "the" ] ]
+ , [ Plain [ Str "different" ] ]
+ , [ Plain [ Str "styles" ] ]
+ ]
+ ]
+ , [ Plain [ Str "are" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "implemented" ] ]
+ , [ Plain [ Str "and" ] ]
+ , [ Plain [ Str "supported" ] ]
+ ]
+ ]
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Strong [ Str "Butter" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Bread"
+ , LineBreak
+ , LineBreak
+ , Str "and"
+ , Space
+ , Str "cheese"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Pie"
+ , LineBreak
+ , LineBreak
+ , Strong [ Str "apple" ]
+ , Space
+ , Str "and"
+ , Space
+ , Emph [ Str "carrot" ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "and" , Space , Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "macros" , [] , [] ) [ Str "macros" ]
+ , Para [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [] ]
+ , Para
+ [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [ Str "" ] ]
+ , Para
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces" ]
+ ]
+ , Para
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces" ]
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) ]
+ )
+ [ Str "content with spaces" ]
+ ]
+ , Para
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces ARG1=test" ]
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) ]
+ )
+ [ Str "content with spaces" ]
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "" ]
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "" ]
+ ]
+ , Para
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "multiline\ndoes also work" ]
+ ]
+ ]
diff --git a/test/txt2tags.native b/test/txt2tags.native
index c52c5929a..5c60fbb4d 100644
--- a/test/txt2tags.native
+++ b/test/txt2tags.native
@@ -1,968 +1,5299 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "author"]]),("date",MetaInlines [Str "date"]),("includeconf",MetaString "rules.conf"),("title",MetaInlines [Str "Txt2tags",Space,Str "Markup",Space,Str "Rules"])]})
-[Para [Str "This",Space,Str "document",Space,Str "describes",Space,Str "all",Space,Str "the",Space,Str "details",Space,Str "about",Space,Str "each",Space,Str "txt2tags",Space,Str "mark.",SoftBreak,Str "The",Space,Str "target",Space,Str "audience",Space,Str "are",Space,Strong [Str "experienced"],Space,Str "users.",Space,Str "You",Space,Str "may",Space,Str "find",Space,Str "it",SoftBreak,Str "useful",Space,Str "if",Space,Str "you",Space,Str "want",Space,Str "to",Space,Str "master",Space,Str "the",Space,Str "marks",Space,Str "or",Space,Str "solve",Space,Str "a",Space,Str "specific",Space,Str "problem",SoftBreak,Str "about",Space,Str "a",Space,Str "mark."]
-,Para [Str "If",Space,Str "you",Space,Str "are",Space,Str "new",Space,Str "to",Space,Str "txt2tags",Space,Str "or",Space,Str "just",Space,Str "want",Space,Str "to",Space,Str "know",Space,Str "which",Space,Str "are",Space,Str "the",SoftBreak,Str "available",Space,Str "marks,",Space,Str "please",Space,Str "read",Space,Str "the",Space,Link ("",[],[]) [Str "Markup",Space,Str "Demo"] ("MARKUPDEMO",""),Str "."]
-,Para [Str "Note",Space,Str "1:",Space,Str "This",Space,Str "document",Space,Str "is",Space,Str "generated",Space,Str "directly",Space,Str "from",Space,Str "the",Space,Str "txt2tags",SoftBreak,Str "test-suite.",Space,Str "All",Space,Str "the",Space,Str "rules",Space,Str "mentioned",Space,Str "here",Space,Str "are",Space,Str "100%",Space,Str "in",Space,Str "sync",Space,Str "with",Space,Str "the",SoftBreak,Str "current",Space,Str "program",Space,Str "code."]
-,Para [Str "Note",Space,Str "2:",Space,Str "A",Space,Str "good",Space,Str "practice",Space,Str "is",Space,Str "to",Space,Str "consult",Space,Link ("",[],[]) [Str "the",Space,Str "sources"] ("rules.t2t",""),Space,Str "when",SoftBreak,Str "reading,",Space,Str "to",Space,Str "see",Space,Str "how",Space,Str "the",Space,Str "texts",Space,Str "were",Space,Str "made."]
-,Para [Str "Table",Space,Str "of",Space,Str "Contents:"]
-,HorizontalRule
-,Header 1 ("paragraph",[],[]) [Str "Paragraph"]
-,Para [Str "A",Space,Str "paragraph",Space,Str "is",Space,Str "composed",Space,Str "by",Space,Str "one",Space,Str "or",Space,Str "more",Space,Str "lines.",SoftBreak,Str "A",Space,Str "blank",Space,Str "line",Space,Str "(or",Space,Str "a",Space,Str "table,",Space,Str "or",Space,Str "a",Space,Str "list)",Space,Str "ends",Space,Str "the",SoftBreak,Str "current",Space,Str "paragraph."]
-,Para [Str "Leading",Space,Str "and",Space,Str "trailing",Space,Str "spaces",Space,Str "are",Space,Str "ignored."]
-,Para [Str "A",Space,Str "comment",Space,Str "line",Space,Str "can",Space,Str "be",Space,Str "placed",Space,Str "inside",Space,Str "a",Space,Str "paragraph.",SoftBreak,Str "It",Space,Str "will",Space,Str "not",Space,Str "affect",Space,Str "it."]
-,Para [Str "The",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "file",Space,Str "(EOF)",Space,Str "closes",Space,Str "the",SoftBreak,Str "currently",Space,Str "open",Space,Str "paragraph."]
-,Header 1 ("comment",[],[]) [Str "Comment"]
-,Para [Str "%",Space,Str "not",Space,Str "on",Space,Str "the",Space,Str "line",Space,Str "beginning",Space,Str "(at",Space,Str "column",Space,Str "2)"]
-,Para [Str "some",Space,Str "text",Space,Str "%",Space,Str "half",Space,Str "line",Space,Str "comments",Space,Str "are",Space,Str "not",Space,Str "allowed"]
-,Header 1 ("line",[],[]) [Str "Line"]
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,HorizontalRule
-,Para [Strikeout [Str "-----"],SoftBreak,Strikeout [Str "-------",Space,Str "--------"]]
-,Para [Strikeout [Str "-------+--------"]]
-,Para [Str "(",Space,Strikeout [Str "----------------"],Space,Str ")"]
-,Header 1 ("inline",[],[]) [Str "Inline"]
-,Para [Str "i)",Space,Strong [Str "b"],Space,Emph [Str "i"],Space,Underline [Str "u"],Space,Strikeout [Str "s"],Space,Code ("",[],[]) "m",Space,Str "r",Space,RawInline (Format "html") "t",SoftBreak,Str "i)",Space,Strong [Str "bo"],Space,Emph [Str "it"],Space,Underline [Str "un"],Space,Strikeout [Str "st"],Space,Code ("",[],[]) "mo",Space,Str "ra",Space,RawInline (Format "html") "tg",SoftBreak,Str "i)",Space,Strong [Str "bold"],Space,Emph [Str "ital"],Space,Underline [Str "undr"],Space,Strikeout [Str "strk"],Space,Code ("",[],[]) "mono",Space,Str "raw",Space,RawInline (Format "html") "tggd",SoftBreak,Str "i)",Space,Strong [Str "bo",Space,Str "ld"],Space,Emph [Str "it",Space,Str "al"],Space,Underline [Str "un",Space,Str "dr"],Space,Strikeout [Str "st",Space,Str "rk"],Space,Code ("",[],[]) "mo no",Space,Str "r",Space,Str "aw",Space,RawInline (Format "html") "tg gd",SoftBreak,Str "i)",Space,Strong [Str "bo",Space,Str "*",Space,Str "ld"],Space,Emph [Str "it",Space,Str "/",Space,Str "al"],Space,Underline [Str "un",Space,Str "_",Space,Str "dr"],Space,Strikeout [Str "st",Space,Str "-",Space,Str "rk"],Space,Code ("",[],[]) "mo ` no",Space,Str "r",Space,Str "\"",Space,Str "aw",Space,RawInline (Format "html") "tg ' gd",SoftBreak,Str "i)",Space,Strong [Str "bo",Space,Str "**ld"],Space,Emph [Str "it",Space,Str "//al"],Space,Underline [Str "un",Space,Str "__dr"],Space,Strikeout [Str "st",Space,Str "--rk"],Space,Code ("",[],[]) "mo ``no",Space,Str "r",Space,Str "\"\"aw",Space,RawInline (Format "html") "tg ''gd",SoftBreak,Str "i)",Space,Strong [Str "bo",Space,Str "**",Space,Str "ld"],Space,Emph [Str "it",Space,Str "//",Space,Str "al"],Space,Underline [Str "un",Space,Str "__",Space,Str "dr"],Space,Strikeout [Str "st",Space,Str "--",Space,Str "rk"],Space,Code ("",[],[]) "mo `` no",Space,Str "r",Space,Str "\"\"",Space,Str "aw",Space,RawInline (Format "html") "tg '' gd",SoftBreak,Str "i)",Space,Strong [Str "**bold**"],Space,Emph [Str "//ital//"],Space,Underline [Str "__undr__"],Space,Strikeout [Str "--strk--"],Space,Code ("",[],[]) "``mono``",Space,Str "\"\"raw\"\"",Space,RawInline (Format "html") "''tggd''",SoftBreak,Str "i)",Space,Strong [Str "*bold*"],Space,Emph [Str "/ital/"],Space,Underline [Str "_undr_"],Space,Strikeout [Str "-strk-"],Space,Code ("",[],[]) "`mono`",Space,Str "\"raw\"",Space,RawInline (Format "html") "'tggd'"]
-,Para [Str "i)",Space,Strong [Str "*"],Space,Emph [Str "/"],Space,Underline [Str "_"],Space,Strikeout [Str "-"],Space,Code ("",[],[]) "`",Space,Str "\"",Space,RawInline (Format "html") "'",SoftBreak,Str "i)",Space,Strong [Str "**"],Space,Emph [Str "//"],Space,Underline [Str "__"],Space,Strikeout [Str "--"],Space,Code ("",[],[]) "``",Space,Str "\"\"",Space,RawInline (Format "html") "''",SoftBreak,Str "i)",Space,Strong [Str "***"],Space,Emph [Str "///"],Space,Underline [Str "___"],Space,Strikeout [Str "---"],Space,Code ("",[],[]) "```",Space,Str "\"\"\"",Space,RawInline (Format "html") "'''",SoftBreak,Str "i)",Space,Strong [Str "****"],Space,Emph [Str "////"],Space,Underline [Str "____"],Space,Strikeout [Str "----"],Space,Code ("",[],[]) "````",Space,Str "\"\"\"\"",Space,RawInline (Format "html") "''''",SoftBreak,Str "i)",Space,Strong [Str "*****"],Space,Emph [Str "/////"],Space,Underline [Str "_____"],Space,Strikeout [Str "-----"],Space,Code ("",[],[]) "`````",Space,Str "\"\"\"\"\"",Space,RawInline (Format "html") "'''''",SoftBreak,Str "i)",Space,Strong [Str "******"],Space,Emph [Str "//////"],Space,Underline [Str "______"],Space,Strikeout [Str "------"],Space,Code ("",[],[]) "``````",Space,Str "\"\"\"\"\"\"",Space,RawInline (Format "html") "''''''"]
-,Para [Str "i)",Space,Str "****",Space,Str "////",Space,Str "____",Space,Str "----",Space,Str "````",Space,Str "\"\"\"\"",Space,Str "''''",SoftBreak,Str "i)",Space,Str "**",Space,Str "**",Space,Str "//",Space,Str "//",Space,Str "__",Space,Str "__",Space,Str "--",Space,Str "--",Space,Str "``",Space,Str "``",Space,Str "\"\"",Space,Str "\"\"",Space,Str "''",Space,Str "''"]
-,Para [Str "i)",Space,Str "**",Space,Str "bold**",Space,Str "//",Space,Str "ital//",Space,Str "__",Space,Str "undr__",Space,Str "--",Space,Str "strk--",Space,Str "``",Space,Str "mono``",Space,Str "\"\"",Space,Str "raw\"\"",Space,Str "''",Space,Str "tggd''",SoftBreak,Str "i)",Space,Str "**bold",Space,Str "**",Space,Str "//ital",Space,Str "//",Space,Str "__undr",Space,Str "__",Space,Str "--strk",Space,Str "--",Space,Str "``mono",Space,Str "``",Space,Str "\"\"raw",Space,Str "\"\"",Space,Str "''tggd",Space,Str "''",SoftBreak,Str "i)",Space,Str "**",Space,Str "bold",Space,Str "**",Space,Str "//",Space,Str "ital",Space,Str "//",Space,Str "__",Space,Str "undr",Space,Str "__",Space,Str "--",Space,Str "strk",Space,Str "--",Space,Str "``",Space,Str "mono",Space,Str "``",Space,Str "\"\"",Space,Str "raw",Space,Str "\"\"",Space,Str "''",Space,Str "tggd",Space,Str "''"]
-,Header 1 ("link",[],[]) [Str "Link"]
-,Para [Link ("",[],[]) [Str "mailto:user@domain.com"] ("user@domain.com",""),SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com"] ("user@domain.com",""),Str ".",SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com"] ("user@domain.com",""),Str ".",Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "mailto:user@domain.com"] ("user@domain.com",""),Str ".",Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "label"] ("user@domain.com",""),SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla"] ("user@domain.com?subject=bla",""),SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla"] ("user@domain.com?subject=bla",""),Str ".",SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla"] ("user@domain.com?subject=bla",""),Str ",",SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"] ("user@domain.com?subject=bla&cc=otheruser@domain.com",""),SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"] ("user@domain.com?subject=bla&cc=otheruser@domain.com",""),Str ".",SoftBreak,Link ("",[],[]) [Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"] ("user@domain.com?subject=bla&cc=otheruser@domain.com",""),Str ",",SoftBreak,Link ("",[],[]) [Str "label"] ("user@domain.com?subject=bla&cc=otheruser@domain.com",""),Str ".",SoftBreak,Link ("",[],[]) [Str "label"] ("user@domain.com?subject=bla&cc=otheruser@domain.com.",""),Str ".",SoftBreak,Link ("",[],[]) [Str "http://www.domain.com"] ("http://www.domain.com",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/"] ("http://www.domain.com/dir/",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir///"] ("http://www.domain.com/dir///",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com."] ("http://www.domain.com.",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com,"] ("http://www.domain.com,",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com."] ("http://www.domain.com.",""),Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "http://www.domain.com,"] ("http://www.domain.com,",""),Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/."] ("http://www.domain.com/dir/.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com."] ("http://www.domain.com.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com/dir/."] ("http://www.domain.com/dir/.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html."] ("http://www.domain.com/dir/index.html.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html,"] ("http://www.domain.com/dir/index.html,",""),Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/#anchor"] ("http://www.domain.com/dir/#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html#anchor"] ("http://www.domain.com/dir/index.html#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html#anchor."] ("http://www.domain.com/dir/index.html#anchor.",""),SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/#anchor."] ("http://www.domain.com/dir/#anchor.",""),Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html#anchor."] ("http://www.domain.com/dir/index.html#anchor.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com/dir/#anchor."] ("http://www.domain.com/dir/#anchor.",""),Space,Str "any",Space,Str "text.",SoftBreak,Str "any",Space,Str "text:",Space,Link ("",[],[]) [Str "http://www.domain.com/dir/index.html#anchor."] ("http://www.domain.com/dir/index.html#anchor.",""),Space,Str "any",Space,Str "text.",SoftBreak,Link ("",[],[]) [Str "http://domain.com?a=a@a.a&b=a+b+c."] ("http://domain.com?a=a@a.a&b=a+b+c.",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com?a=a@a.a&b=a+b+c,"] ("http://domain.com?a=a@a.a&b=a+b+c,",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c."] ("http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@."] ("http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com?a=a@a.a&b=a+b+c.#anchor"] ("http://domain.com?a=a@a.a&b=a+b+c.#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"] ("http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor"] ("http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://user:password@domain.com/bla.html."] ("http://user:password@domain.com/bla.html.",""),SoftBreak,Link ("",[],[]) [Str "http://user:password@domain.com/dir/."] ("http://user:password@domain.com/dir/.",""),SoftBreak,Link ("",[],[]) [Str "http://user:password@domain.com."] ("http://user:password@domain.com.",""),SoftBreak,Link ("",[],[]) [Str "http://user:@domain.com."] ("http://user:@domain.com.",""),SoftBreak,Link ("",[],[]) [Str "http://user@domain.com."] ("http://user@domain.com.",""),SoftBreak,Link ("",[],[]) [Str "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"] ("http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor",""),SoftBreak,Link ("",[],[]) [Str "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"] ("http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor",""),SoftBreak,Link ("",[],[]) [Str "label"] ("www.domain.com",""),SoftBreak,Str "[",Space,Str "label",Space,Link ("",[],[]) [Str "www.domain.com"] ("www.domain.com",""),Str "]",SoftBreak,Link ("",[],[]) [Str "label",Space] ("www.domain.com",""),SoftBreak,Link ("",[],[]) [Str "anchor",Space] ("http://www.domain.com/dir/index.html#anchor.",""),SoftBreak,Link ("",[],[]) [Str "login",Space] ("http://user:password@domain.com/bla.html",""),SoftBreak,Link ("",[],[]) [Str "form",Space] ("http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.",""),SoftBreak,Link ("",[],[]) [Str "form",Space,Str "&",Space,Str "anchor"] ("http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor",""),SoftBreak,Link ("",[],[]) [Str "login",Space,Str "&",Space,Str "form",Space] ("http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "up",Space] ("..",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "file",Space] ("bla.html",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "anchor",Space] ("#anchor",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "file/anchor"] ("bla.html#anchor",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "file/anchor"] ("bla.html#anchor.",""),SoftBreak,Link ("",[],[]) [Str "local",Space,Str "link",Space,Str "img",Space] ("abc.gif",""),SoftBreak,Link ("",[],[]) [Str "www.fake.com"] ("www.domain.com",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"] ("http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"] ("http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-",""),SoftBreak,Link ("",[],[]) [Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"] ("http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_",""),Str "-1%.",SoftBreak,Link ("",[],[]) [Str "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"] ("http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_",""),Str "-1%.",SoftBreak,Link ("",[],[]) [Str "http://L1.com"] ("http://L1.com",""),Space,Str "!",Space,Link ("",[],[]) [Str "mailto:L2@www.com"] ("L2@www.com",""),Space,Str "!",Space,Link ("",[],[]) [Str "L3"] ("www.com",""),Space,Str "!",Space,Link ("",[],[]) [Str "L4"] ("w@ww.com",""),Space,Str "!",Space,Link ("",[],[]) [Str "www.L5.com"] ("www.L5.com",""),SoftBreak,Link ("",[],[]) [Str "www.domain.com"] ("www.domain.com",""),SoftBreak,Link ("",[],[]) [Str "www2.domain.com"] ("www2.domain.com",""),SoftBreak,Link ("",[],[]) [Str "ftp.domain.com"] ("ftp.domain.com",""),SoftBreak,Link ("",[],[]) [Str "WWW.DOMAIN.COM"] ("WWW.DOMAIN.COM",""),SoftBreak,Link ("",[],[]) [Str "FTP.DOMAIN.COM"] ("FTP.DOMAIN.COM",""),SoftBreak,Link ("",[],[]) [Str "label"] ("www.domain.com",""),SoftBreak,Link ("",[],[]) [Str "label"] ("ftp.domain.com",""),SoftBreak,Link ("",[],[]) [Str "label"] ("WWW.DOMAIN.COM",""),SoftBreak,Link ("",[],[]) [Str "label"] ("FTP.DOMAIN.COM",""),SoftBreak,Str "[label",Space,Link ("",[],[]) [Str "www.domain.com"] ("www.domain.com",""),Space,Str "]",SoftBreak,Str "[label]",Space,Link ("",[],[]) [Str "www.domain.com"] ("www.domain.com",""),Str "]"]
-,Header 1 ("image",[],[]) [Str "Image"]
-,Para [Image ("",[],[]) [] ("img.png","")]
-,Para [Link ("",[],[]) [Image ("",[],[]) [] ("img.png","")] ("https://txt2tags.org","")]
-,Para [Image ("",[],[]) [] ("img.png",""),Space,Str "Image",Space,Str "at",Space,Str "the",Space,Str "line",Space,Str "beginning."]
-,Para [Str "Image",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Image ("",[],[]) [] ("img.png",""),Space,Str "of",Space,Str "the",Space,Str "line."]
-,Para [Str "Image",Space,Str "at",Space,Str "the",Space,Str "line",Space,Str "end.",Space,Image ("",[],[]) [] ("img.png","")]
-,Para [Image ("",[],[]) [] ("img.png",""),SoftBreak,Image ("",[],[]) [] ("img.png",""),SoftBreak,Image ("",[],[]) [] ("img.png","")]
-,Para [Image ("",[],[]) [] ("img.png",""),Image ("",[],[]) [] ("img.png","")]
-,Para [Str "Images",Space,Image ("",[],[]) [] ("img.png",""),Space,Str "mixed",Space,Image ("",[],[]) [] ("img.png",""),Space,Str "with",Space,Image ("",[],[]) [] ("img.png",""),Space,Str "text."]
-,Para [Str "Images",Space,Str "glued",Space,Str "together:",Space,Image ("",[],[]) [] ("img.png",""),Image ("",[],[]) [] ("img.png",""),Image ("",[],[]) [] ("img.png",""),Str "."]
-,Para [Str "[img.png",Space,Str "]"]
-,Para [Str "[",Space,Str "img.png]"]
-,Para [Str "[",Space,Str "img.png",Space,Str "]"]
-,Header 1 ("numtitle",[],[]) [Str "Numbered",Space,Str "Title"]
-,Header 1 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "1"]
-,Header 2 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "2"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 4 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "4"]
-,Header 5 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "5"]
-,Header 1 ("lab_el-1",[],[]) [Str "Title",Space,Str "Level",Space,Str "1"]
-,Header 2 ("lab_el-2",[],[]) [Str "Title",Space,Str "Level",Space,Str "2"]
-,Header 3 ("lab_el-3",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 4 ("lab_el-4",[],[]) [Str "Title",Space,Str "Level",Space,Str "4"]
-,Header 5 ("lab_el-5",[],[]) [Str "Title",Space,Str "Level",Space,Str "5"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("lab_el-9",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Para [Str "+Not",Space,Str "Title"]
-,Para [Str "++Not",Space,Str "Title+"]
-,Para [Str "+++Not",Space,Str "Title++++",SoftBreak,Str "++++++Not",Space,Str "Title",Space,Str "6++++++"]
-,Para [Str "+++++++Not",Space,Str "Title",Space,Str "7+++++++",SoftBreak,Str "+Not",Space,Str "Title+",Space,Str "[label1]",SoftBreak,Str "+Not",Space,Str "Title+[",Space,Str "label",Space,Str "]",SoftBreak,Str "+Not",Space,Str "Title+[la/bel]"]
-,Header 1 ("title",[],[]) [Str "Title"]
-,Header 1 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "1"]
-,Header 2 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "2"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 4 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "4"]
-,Header 5 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "5"]
-,Header 1 ("lab_el-1",[],[]) [Str "Title",Space,Str "Level",Space,Str "1"]
-,Header 2 ("lab_el-2",[],[]) [Str "Title",Space,Str "Level",Space,Str "2"]
-,Header 3 ("lab_el-3",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 4 ("lab_el-4",[],[]) [Str "Title",Space,Str "Level",Space,Str "4"]
-,Header 5 ("lab_el-5",[],[]) [Str "Title",Space,Str "Level",Space,Str "5"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Header 3 ("lab_el-9",[],[]) [Str "Title",Space,Str "Level",Space,Str "3"]
-,Para [Str "=Not",Space,Str "Title"]
-,Para [Str "==Not",Space,Str "Title="]
-,Para [Str "===Not",Space,Str "Title====",SoftBreak,Str "======Not",Space,Str "Title",Space,Str "6======"]
-,Para [Str "=======Not",Space,Str "Title",Space,Str "7=======",SoftBreak,Str "=Not",Space,Str "Title=",Space,Str "[label1]",SoftBreak,Str "=Not",Space,Str "Title=[",Space,Str "label",Space,Str "]",SoftBreak,Str "=Not",Space,Str "Title=[la/bel]"]
-,Header 1 ("quote",[],[]) [Str "Quote"]
-,BlockQuote
- [Para [Str "To",Space,Str "quote",Space,Str "a",Space,Str "paragraph,",Space,Str "just",Space,Str "prefix",Space,Str "it",Space,Str "by",Space,Str "a",Space,Str "TAB",SoftBreak,Str "character.",Space,Str "All",Space,Str "the",Space,Str "lines",Space,Str "of",Space,Str "the",Space,Str "paragraph",Space,Str "must",SoftBreak,Str "begin",Space,Str "with",Space,Str "a",Space,Str "TAB."]]
-,Para [Str "Any",Space,Str "non-tabbed",Space,Str "line",Space,Str "closes",Space,Str "the",Space,Str "quote",Space,Str "block."]
-,BlockQuote
- [Para [Str "The",Space,Str "number",Space,Str "of",Space,Str "leading",Space,Str "TABs",Space,Str "identifies",Space,Str "the",Space,Str "quote",SoftBreak,Str "block",Space,Str "depth.",Space,Str "This",Space,Str "is",Space,Str "quote",Space,Str "level",Space,Str "1."]
- ,BlockQuote
- [Para [Str "With",Space,Str "two",Space,Str "TABs,",Space,Str "we",Space,Str "are",Space,Str "on",Space,Str "the",Space,Str "quote",SoftBreak,Str "level",Space,Str "2."]
- ,BlockQuote
- [Para [Str "The",Space,Str "more",Space,Str "TABs,",Space,Str "more",Space,Str "deep",Space,Str "is",SoftBreak,Str "the",Space,Str "quote",Space,Str "level."]
- ,BlockQuote
- [Para [Str "There",Space,Str "isn't",Space,Str "a",Space,Str "limit."]]]]]
-,BlockQuote
- [BlockQuote
- [BlockQuote
- [BlockQuote
- [Para [Str "This",Space,Str "quote",Space,Str "starts",Space,Str "at",SoftBreak,Str "level",Space,Str "4."]]
- ,Para [Str "Then",Space,Str "its",Space,Str "depth",Space,Str "is",Space,Str "decreased."]]
- ,Para [Str "Counting",Space,Str "down,",Space,Str "one",Space,Str "by",Space,Str "one."]]
- ,Para [Str "Until",Space,Str "the",Space,Str "level",Space,Str "1."]]
-,BlockQuote
- [BlockQuote
- [BlockQuote
- [Para [Str "Unlike",Space,Str "lists,",Space,Str "any",Space,Str "quote",Space,Str "block",Space,Str "is",SoftBreak,Str "independent,",Space,Str "not",Space,Str "part",Space,Str "of",Space,Str "a",Space,Str "tree."]]]
- ,Para [Str "The",Space,Str "TAB",Space,Str "count",Space,Str "don't",Space,Str "need",Space,Str "to",Space,Str "be",Space,Str "incremental",SoftBreak,Str "by",Space,Str "one."]
- ,BlockQuote
- [BlockQuote
- [BlockQuote
- [Para [Str "The",Space,Str "nesting",Space,Str "don't",Space,Str "need",SoftBreak,Str "to",Space,Str "follow",Space,Str "any",Space,Str "rule."]]]
- ,Para [Str "Quotes",Space,Str "can",Space,Str "be",Space,Str "opened",Space,Str "and",Space,Str "closed",SoftBreak,Str "in",Space,Str "any",Space,Str "way."]
- ,BlockQuote
- [BlockQuote
- [BlockQuote
- [Para [Str "You",Space,Str "choose."]]]]]]
-,BlockQuote
- [Para [Str "Some",Space,Str "targets",Space,Str "(as",Space,Str "sgml)",Space,Str "don't",Space,Str "support",Space,Str "the",SoftBreak,Str "nesting",Space,Str "of",Space,Str "quotes.",Space,Str "There",Space,Str "is",Space,Str "only",Space,Str "one",Space,Str "quote",SoftBreak,Str "level."]
- ,BlockQuote
- [Para [Str "In",Space,Str "this",Space,Str "case,",Space,Str "no",Space,Str "matter",Space,Str "how",Space,Str "much",SoftBreak,Str "TABs",Space,Str "are",Space,Str "used",Space,Str "to",Space,Str "define",Space,Str "the",Space,Str "quote",SoftBreak,Str "block,",Space,Str "it",Space,Str "always",Space,Str "will",Space,Str "be",Space,Str "level",Space,Str "1."]]]
-,BlockQuote
- [Para [Str "Spaces",Space,Str "AFTER",Space,Str "the",Space,Str "TAB",Space,Str "character",Space,Str "are",Space,Str "allowed.",SoftBreak,Str "But",Space,Str "be",Space,Str "careful,",Space,Str "it",Space,Str "can",Space,Str "be",Space,Str "confusing."]]
-,Para [Str "Spaces",Space,Str "BEFORE",Space,Str "the",Space,Str "TAB",Space,Str "character",SoftBreak,Str "invalidate",Space,Str "the",Space,Str "mark.",Space,Str "It's",Space,Str "not",Space,Str "quote."]
-,BlockQuote
- [Para [Str "Paragraph",Space,Str "breaks",Space,Str "inside",Space,Str "a",Space,Str "quote",Space,Str "aren't",SoftBreak,Str "possible."]
- ,Para [Str "This",Space,Str "sample",Space,Str "are",Space,Str "two",Space,Str "separated",Space,Str "quoted",SoftBreak,Str "paragraphs,",Space,Str "not",Space,Str "a",Space,Str "quote",Space,Str "block",Space,Str "with",SoftBreak,Str "two",Space,Str "paragraphs",Space,Str "inside."]]
-,BlockQuote
- [Para [Str "The",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "file",Space,Str "(EOF)",Space,Str "closes",Space,Str "the",SoftBreak,Str "currently",Space,Str "open",Space,Str "quote",Space,Str "block."]]
-,Header 1 ("raw",[],[]) [Str "Raw"]
-,Para [Str "A raw line.\n"]
-,Para [Str " Another raw line, with leading spaces.\n"]
-,Para [Str "A raw area delimited\n by lines with marks.\n"]
-,Para [Str "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"]
-,Para [Str "\"\"\"Not",Space,Str "a",Space,Str "raw",Space,Str "line,",Space,Str "need",Space,Str "one",Space,Str "space",Space,Str "after",Space,Str "mark."]
-,Para [Str "\"\"\"",SoftBreak,Str "Not",Space,Str "a",Space,Str "raw",Space,Str "area.",SoftBreak,Str "The",Space,Str "marks",Space,Str "must",Space,Str "be",Space,Str "at",Space,Str "the",Space,Str "line",Space,Str "beginning,",SoftBreak,Str "no",Space,Str "leading",Space,Str "spaces.",SoftBreak,Str "\"\"\""]
-,Para [Str "The end of the file (EOF) closes\nthe currently open raw area.\n"]
-,Header 1 ("verbatim",[],[]) [Str "Verbatim"]
-,CodeBlock ("",[],[]) "A verbatim line.\n"
-,CodeBlock ("",[],[]) " Another verbatim line, with leading spaces.\n"
-,CodeBlock ("",[],[]) "A verbatim area delimited\n by lines with marks.\n"
-,CodeBlock ("",[],[]) "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
-,Para [Str "```Not",Space,Str "a",Space,Str "verbatim",Space,Str "line,",Space,Str "need",Space,Str "one",Space,Str "space",Space,Str "after",Space,Str "mark."]
-,Para [Str "```",SoftBreak,Str "Not",Space,Str "a",Space,Str "verbatim",Space,Str "area.",SoftBreak,Str "The",Space,Str "marks",Space,Str "must",Space,Str "be",Space,Str "at",Space,Str "the",Space,Str "line",Space,Str "beginning,",SoftBreak,Str "no",Space,Str "leading",Space,Str "spaces.",SoftBreak,Str "```"]
-,CodeBlock ("",[],[]) "The end of the file (EOF) closes\nthe currently open verbatim area.\n"
-,Header 1 ("deflist",[],[]) [Str "Definition",Space,Str "List"]
-,DefinitionList
- [([Str "Definition",Space,Str "list"],
- [[Plain [Str "A",Space,Str "list",Space,Str "with",Space,Str "terms"]]])
- ,([Str "Start",Space,Str "term",Space,Str "with",Space,Str "colon"],
- [[Plain [Str "And",Space,Str "its",Space,Str "definition",Space,Str "follows"]]])]
-,Header 1 ("numlist",[],[]) [Str "Numbered",Space,Str "List"]
-,Para [Str "See",Space,Link ("",[],[]) [Str "List"] ("#list",""),Str ",",Space,Str "the",Space,Str "same",Space,Str "rules",Space,Str "apply."]
-,Header 1 ("list",[],[]) [Str "List"]
-,BulletList
- [[Plain [Str "Use",Space,Str "the",Space,Str "hyphen",Space,Str "to",Space,Str "prefix",Space,Str "list",Space,Str "items."]]
- ,[Plain [Str "There",Space,Str "must",Space,Str "be",Space,Str "one",Space,Str "space",Space,Str "after",Space,Str "the",Space,Str "hyphen."]]
- ,[Plain [Str "The",Space,Str "list",Space,Str "is",Space,Str "closed",Space,Str "by",Space,Str "two",Space,Str "consecutive",Space,Str "blank",Space,Str "lines."]]]
-,BulletList
- [[Plain [Str "The",Space,Str "list",Space,Str "can",Space,Str "be",Space,Str "indented",Space,Str "on",Space,Str "the",Space,Str "source",Space,Str "document."]]
- ,[Plain [Str "You",Space,Str "can",Space,Str "use",Space,Str "any",Space,Str "number",Space,Str "of",Space,Str "spaces."]]
- ,[Plain [Str "The",Space,Str "result",Space,Str "will",Space,Str "be",Space,Str "the",Space,Str "same."]]]
-,BulletList
- [[Para [Str "Let",Space,Str "one",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "the",Space,Str "list",Space,Str "items."]]
- ,[Para [Str "It",Space,Str "will",Space,Str "be",Space,Str "maintained",Space,Str "on",Space,Str "the",Space,Str "conversion."]]
- ,[Para [Str "Some",Space,Str "targets",Space,Str "don't",Space,Str "support",Space,Str "this",Space,Str "behavior."]]
- ,[Para [Str "This",Space,Str "one",Space,Str "was",Space,Str "separated",Space,Str "by",Space,Str "a",Space,Str "line",Space,Str "with",Space,Str "blanks.",SoftBreak,Str "You",Space,Str "can",Space,Str "also",Space,Str "put",Space,Str "a",Space,Str "blank",Space,Str "line",Space,Str "inside"]
- ,Para [Str "the",Space,Str "item",Space,Str "contents",Space,Str "and",Space,Str "it",Space,Str "will",Space,Str "be",Space,Str "preserved."]]]
-,Para [Str "-This",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "list",Space,Str "(no",Space,Str "space)"]
-,Para [Str "-",Space,Str "This",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "list",Space,Str "(more",Space,Str "than",Space,Str "one",Space,Str "space)"]
-,Para [Str "-",Space,Str "This",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "list",Space,Str "(a",Space,Str "TAB",Space,Str "instead",Space,Str "the",Space,Str "space)"]
-,BulletList
- [[BulletList
- [[Plain [Str "This",Space,Str "is",Space,Str "a",Space,Str "list"]]]]
- ,[OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "This",Space,Str "is",Space,Str "a",Space,Str "list"]]]]
- ,[DefinitionList
- [([Str "This",Space,Str "is",Space,Str "a",Space,Str "list"],
- [[]])]]]
-,BulletList
- [[Plain [Str "This",Space,Str "is",Space,Str "the",Space,Str "\"mother\"",Space,Str "list",Space,Str "first",Space,Str "item."]]
- ,[Plain [Str "Here",Space,Str "is",Space,Str "the",Space,Str "second,",Space,Str "but",Space,Str "inside",Space,Str "this",Space,Str "item,"]
- ,BulletList
- [[Plain [Str "there",Space,Str "is",Space,Str "a",Space,Str "sublist,",Space,Str "with",Space,Str "its",Space,Str "own",Space,Str "items."]]
- ,[Plain [Str "Note",Space,Str "that",Space,Str "the",Space,Str "items",Space,Str "of",Space,Str "the",Space,Str "same",Space,Str "sublist"]]
- ,[Plain [Str "must",Space,Str "have",Space,Str "the",Space,Str "same",Space,Str "indentation."]
- ,BulletList
- [[Plain [Str "And",Space,Str "this",Space,Str "can",Space,Str "go",Space,Str "on,",Space,Str "opening",Space,Str "sublists."]
- ,BulletList
- [[Plain [Str "Just",Space,Str "add",Space,Str "leading",Space,Str "spaces",Space,Str "before",Space,Str "the"]]
- ,[Plain [Str "hyphen",Space,Str "and",Space,Str "sublists",Space,Str "will",Space,Str "be",Space,Str "opened."]]
- ,[Plain [Str "The",Space,Str "two",Space,Str "blank",Space,Str "lines",Space,Str "closes",Space,Str "them",Space,Str "all."]]]]]]]]]
-,BulletList
- [[Plain [Str "When",Space,Str "nesting",Space,Str "lists,",Space,Str "the",Space,Str "additional",Space,Str "spaces",Space,Str "are",Space,Str "free."]]
- ,[Plain [Str "You",Space,Str "can",Space,Str "add",Space,Str "just",Space,Str "one,"]
- ,BulletList
- [[Plain [Str "or",Space,Str "many."]
- ,BulletList
- [[Plain [Str "What",Space,Str "matters",Space,Str "is",Space,Str "to",Space,Str "put",Space,Str "more",Space,Str "than",Space,Str "the",Space,Str "previous."]]
- ,[Plain [Str "But",Space,Str "remember",Space,Str "that",Space,Str "the",Space,Str "other",Space,Str "items",Space,Str "of",Space,Str "the",Space,Str "same",Space,Str "list"]]
- ,[Plain [Str "must",Space,Str "use",Space,Str "the",Space,Str "same",Space,Str "indentation."]]]]]]]
-,BulletList
- [[Plain [Str "There",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "depth",Space,Str "limit,"]
- ,BulletList
- [[Plain [Str "you",Space,Str "can",Space,Str "go",Space,Str "deeper",Space,Str "and",Space,Str "deeper."]
- ,BulletList
- [[Plain [Str "But",Space,Str "some",Space,Str "targets",Space,Str "may",Space,Str "have",Space,Str "restrictions."]
- ,BulletList
- [[Plain [Str "The",Space,Str "LaTeX",Space,Str "maximum",Space,Str "is",Space,Str "here,",Space,Str "4",Space,Str "levels."]]]]]]]]]
-,BulletList
- [[Plain [Str "Reverse",Space,Str "nesting",Space,Str "doesn't",Space,Str "work."]]
- ,[Plain [Str "Because",Space,Str "a",Space,Str "sublist",Space,Str "*must*",Space,Str "have",Space,Str "a",Space,Str "mother",Space,Str "list."]]
- ,[Plain [Str "It's",Space,Str "the",Space,Str "list",Space,Str "concept,",Space,Str "not",Space,Str "a",Space,Str "txt2tags",Space,Str "limitation."]]
- ,[Plain [Str "All",Space,Str "this",Space,Str "sublists",Space,Str "will",Space,Str "be",Space,Str "bumped",Space,Str "to",Space,Str "mother",Space,Str "lists."]]
- ,[Plain [Str "At",Space,Str "level",Space,Str "1,",Space,Str "like",Space,Str "this",Space,Str "one."]]]
-,BulletList
- [[Plain [Str "Level",Space,Str "1"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "2"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "4"]]]]
- ,[Plain [Str "Level",Space,Str "3",Space,Str "--",Space,Str "(closed",Space,Str "Level",Space,Str "4)"]]]]
- ,[Plain [Str "Level",Space,Str "2",Space,Str "--",Space,Str "(closed",Space,Str "Level",Space,Str "3)"]]]]
- ,[Plain [Str "Level",Space,Str "1",Space,Str "--",Space,Str "(closed",Space,Str "Level",Space,Str "2)"]]]
-,BulletList
- [[Plain [Str "Level",Space,Str "1"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "2"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "4"]]]]]]]]
- ,[Plain [Str "Level",Space,Str "1",Space,Str "--",Space,Str "(closed",Space,Str "Level",Space,Str "4,",Space,Str "Level",Space,Str "3",Space,Str "and",Space,Str "Level",Space,Str "2)"]]]
-,BulletList
- [[Para [Str "Level",Space,Str "1"]
- ,BulletList
- [[Para [Str "Level",Space,Str "2",Space,Str "--",Space,Str "blank",Space,Str "BEFORE",Space,Str "and",Space,Str "AFTER",Space,Str "(in)"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]]]]]]]
-,BulletList
- [[Plain [Str "Level",Space,Str "4"]]]
-,BulletList
- [[Para [Str "Level",Space,Str "3"]]
- ,[Para [Str "Level",Space,Str "2",Space,Str "--",Space,Str "blank",Space,Str "BEFORE",Space,Str "and",Space,Str "AFTER",Space,Str "(out)"]]
- ,[Para [Str "Level",Space,Str "1"]
- ,BulletList
- [[Para [Str "Level",Space,Str "2",Space,Str "--",Space,Str "blank",Space,Str "BEFORE",Space,Str "(spaces)",Space,Str "and",Space,Str "AFTER",Space,Str "(TAB)"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]]]]]]]
-,BulletList
- [[Plain [Str "Level",Space,Str "1"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "2"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "4"]]
- ,[Plain [Str "Level",Space,Str "3.5",Space,Str "???"]]]]
- ,[Plain [Str "Level",Space,Str "3"]]
- ,[Plain [Str "Level",Space,Str "2.5",Space,Str "???"]]]]
- ,[Plain [Str "Level",Space,Str "2"]]
- ,[Plain [Str "Level",Space,Str "1.5",Space,Str "???"]]]]
- ,[Plain [Str "Level",Space,Str "1"]]]
-,BulletList
- [[Plain [Str "This",Space,Str "list",Space,Str "is",Space,Str "closed",Space,Str "by",Space,Str "a",Space,Str "line",Space,Str "with",Space,Str "spaces",Space,Str "and",Space,Str "other",Space,Str "with",Space,Str "TABs"]]]
-,BulletList
- [[Plain [Str "This",Space,Str "list",Space,Str "is",Space,Str "NOT",Space,Str "closed",Space,Str "by",Space,Str "two",Space,Str "comment",Space,Str "lines"]]]
-,BulletList
- [[Plain [Str "This",Space,Str "list",Space,Str "is",Space,Str "closed",Space,Str "by",Space,Str "a",Space,Str "line",Space,Str "with",Space,Str "spaces",Space,Str "and",Space,Str "TAB,"]]
- ,[Plain [Str "then",Space,Str "a",Space,Str "comment",Space,Str "line,",Space,Str "then",Space,Str "an",Space,Str "empty",Space,Str "line."]]]
-,BulletList
- [[Plain [Str "Level",Space,Str "1"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "2"]
- ,BulletList
- [[Plain [Str "Level",Space,Str "3"]]]
- ,Plain [Str "-",SoftBreak,Str "Level",Space,Str "2"]]]
- ,Plain [Str "-",SoftBreak,Str "Level",Space,Str "1"]]]
-,Para [Str "-"]
-,BulletList
- [[Plain [Str "Empty",Space,Str "item",Space,Str "with",Space,Str "trailing",Space,Str "spaces."]]]
-,Para [Str "-"]
-,BulletList
- [[Plain [Str "Empty",Space,Str "item",Space,Str "with",Space,Str "trailing",Space,Str "TAB."]]]
-,Para [Str "-"]
-,BulletList
- [[Plain [Str "If",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "file",Space,Str "(EOF)",Space,Str "is",Space,Str "hit,"]
- ,BulletList
- [[Plain [Str "all",Space,Str "the",Space,Str "currently",Space,Str "opened",Space,Str "list",Space,Str "are",Space,Str "closed,"]
- ,BulletList
- [[Plain [Str "just",Space,Str "like",Space,Str "when",Space,Str "using",Space,Str "the",Space,Str "two",Space,Str "blank",Space,Str "lines."]]]]]]]
-,Header 1 ("table",[],[]) [Str "Table"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignRight,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "||",Space,Str "Cell",Space,Str "1",Space,Str "|",Space,Str "Cell",Space,Str "2",Space,Str "|",Space,Str "Cell",Space,Str "3",Space,Str "|"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Cell",Space,Str "3"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Heading"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Heading"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Heading"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "<-"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "--"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "->"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "--"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "--"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "--"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "->"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "--"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "<-"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3+4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1+2+3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2+3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1+2+3+4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "7"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "8"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "A"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "B"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "D"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "E"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "F"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Jan"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Fev"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Mar"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Apr"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "May"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "20%"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "40%"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "60%"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "80%"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "100%"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/",Space,Str "/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "o"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "o"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "."]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "=",Space,Str "=",Space,Str "=",Space,Str "="]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "01"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "02"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "05"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "07"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "11"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "13"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "16"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "17"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "19"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "20"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "23"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "25"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "26"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "29"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "30"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "32"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "35"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "37"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "39"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "40"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)
- ,(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "7"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "8"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "9"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "A"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "B"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "C"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "D"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "E"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "F"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "3"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "4"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "6"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "7"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "8"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "9"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "A"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "B"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "C"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "D"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "E"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "F"]]]])]
- (TableFoot ("",[],[])
- [])
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignCenter,ColWidthDefault)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "|this|is|not|a|table|"]
-,Para [Str "|this|",Space,Str "is|",Space,Str "not|",Space,Str "a|",Space,Str "table|"]
-,Para [Str "|this",Space,Str "|is",Space,Str "|not",Space,Str "|a",Space,Str "|table",Space,Str "|"]
-,Para [Str "|",Space,Str "this\t|",Space,Str "is\t|",Space,Str "not\t|",Space,Str "a\t|",Space,Str "table\t|"]
-,HorizontalRule
-,Para [Str "The",Space,Str "End."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author" , MetaList [ MetaInlines [ Str "author" ] ] )
+ , ( "date" , MetaInlines [ Str "date" ] )
+ , ( "includeconf" , MetaString "rules.conf" )
+ , ( "title"
+ , MetaInlines
+ [ Str "Txt2tags"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "Rules"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "describes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "details"
+ , Space
+ , Str "about"
+ , Space
+ , Str "each"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "mark."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "target"
+ , Space
+ , Str "audience"
+ , Space
+ , Str "are"
+ , Space
+ , Strong [ Str "experienced" ]
+ , Space
+ , Str "users."
+ , Space
+ , Str "You"
+ , Space
+ , Str "may"
+ , Space
+ , Str "find"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "useful"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "master"
+ , Space
+ , Str "the"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "or"
+ , Space
+ , Str "solve"
+ , Space
+ , Str "a"
+ , Space
+ , Str "specific"
+ , Space
+ , Str "problem"
+ , SoftBreak
+ , Str "about"
+ , Space
+ , Str "a"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "are"
+ , Space
+ , Str "new"
+ , Space
+ , Str "to"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "or"
+ , Space
+ , Str "just"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "know"
+ , Space
+ , Str "which"
+ , Space
+ , Str "are"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "available"
+ , Space
+ , Str "marks,"
+ , Space
+ , Str "please"
+ , Space
+ , Str "read"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Markup" , Space , Str "Demo" ]
+ ( "MARKUPDEMO" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Note"
+ , Space
+ , Str "1:"
+ , Space
+ , Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "is"
+ , Space
+ , Str "generated"
+ , Space
+ , Str "directly"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "txt2tags"
+ , SoftBreak
+ , Str "test-suite."
+ , Space
+ , Str "All"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rules"
+ , Space
+ , Str "mentioned"
+ , Space
+ , Str "here"
+ , Space
+ , Str "are"
+ , Space
+ , Str "100%"
+ , Space
+ , Str "in"
+ , Space
+ , Str "sync"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "current"
+ , Space
+ , Str "program"
+ , Space
+ , Str "code."
+ ]
+ , Para
+ [ Str "Note"
+ , Space
+ , Str "2:"
+ , Space
+ , Str "A"
+ , Space
+ , Str "good"
+ , Space
+ , Str "practice"
+ , Space
+ , Str "is"
+ , Space
+ , Str "to"
+ , Space
+ , Str "consult"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "sources" ]
+ ( "rules.t2t" , "" )
+ , Space
+ , Str "when"
+ , SoftBreak
+ , Str "reading,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "see"
+ , Space
+ , Str "how"
+ , Space
+ , Str "the"
+ , Space
+ , Str "texts"
+ , Space
+ , Str "were"
+ , Space
+ , Str "made."
+ ]
+ , Para
+ [ Str "Table" , Space , Str "of" , Space , Str "Contents:" ]
+ , HorizontalRule
+ , Header 1 ( "paragraph" , [] , [] ) [ Str "Paragraph" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "composed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "one"
+ , Space
+ , Str "or"
+ , Space
+ , Str "more"
+ , Space
+ , Str "lines."
+ , SoftBreak
+ , Str "A"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "(or"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list)"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "current"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Leading"
+ , Space
+ , Str "and"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "are"
+ , Space
+ , Str "ignored."
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "line"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "placed"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "will"
+ , Space
+ , Str "not"
+ , Space
+ , Str "affect"
+ , Space
+ , Str "it."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "file"
+ , Space
+ , Str "(EOF)"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "currently"
+ , Space
+ , Str "open"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header 1 ( "comment" , [] , [] ) [ Str "Comment" ]
+ , Para
+ [ Str "%"
+ , Space
+ , Str "not"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "(at"
+ , Space
+ , Str "column"
+ , Space
+ , Str "2)"
+ ]
+ , Para
+ [ Str "some"
+ , Space
+ , Str "text"
+ , Space
+ , Str "%"
+ , Space
+ , Str "half"
+ , Space
+ , Str "line"
+ , Space
+ , Str "comments"
+ , Space
+ , Str "are"
+ , Space
+ , Str "not"
+ , Space
+ , Str "allowed"
+ ]
+ , Header 1 ( "line" , [] , [] ) [ Str "Line" ]
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , Para
+ [ Strikeout [ Str "-----" ]
+ , SoftBreak
+ , Strikeout [ Str "-------" , Space , Str "--------" ]
+ ]
+ , Para [ Strikeout [ Str "-------+--------" ] ]
+ , Para
+ [ Str "("
+ , Space
+ , Strikeout [ Str "----------------" ]
+ , Space
+ , Str ")"
+ ]
+ , Header 1 ( "inline" , [] , [] ) [ Str "Inline" ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Strong [ Str "b" ]
+ , Space
+ , Emph [ Str "i" ]
+ , Space
+ , Underline [ Str "u" ]
+ , Space
+ , Strikeout [ Str "s" ]
+ , Space
+ , Code ( "" , [] , [] ) "m"
+ , Space
+ , Str "r"
+ , Space
+ , RawInline (Format "html") "t"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" ]
+ , Space
+ , Emph [ Str "it" ]
+ , Space
+ , Underline [ Str "un" ]
+ , Space
+ , Strikeout [ Str "st" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "ra"
+ , Space
+ , RawInline (Format "html") "tg"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bold" ]
+ , Space
+ , Emph [ Str "ital" ]
+ , Space
+ , Underline [ Str "undr" ]
+ , Space
+ , Strikeout [ Str "strk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mono"
+ , Space
+ , Str "raw"
+ , Space
+ , RawInline (Format "html") "tggd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "al" ]
+ , Space
+ , Underline [ Str "un" , Space , Str "dr" ]
+ , Space
+ , Strikeout [ Str "st" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "*" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "/" , Space , Str "al" ]
+ , Space
+ , Underline
+ [ Str "un" , Space , Str "_" , Space , Str "dr" ]
+ , Space
+ , Strikeout
+ [ Str "st" , Space , Str "-" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo ` no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\""
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg ' gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "**ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "//al" ]
+ , Space
+ , Underline [ Str "un" , Space , Str "__dr" ]
+ , Space
+ , Strikeout [ Str "st" , Space , Str "--rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo ``no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\"\"aw"
+ , Space
+ , RawInline (Format "html") "tg ''gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "**" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "//" , Space , Str "al" ]
+ , Space
+ , Underline
+ [ Str "un" , Space , Str "__" , Space , Str "dr" ]
+ , Space
+ , Strikeout
+ [ Str "st" , Space , Str "--" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo `` no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg '' gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "**bold**" ]
+ , Space
+ , Emph [ Str "//ital//" ]
+ , Space
+ , Underline [ Str "__undr__" ]
+ , Space
+ , Strikeout [ Str "--strk--" ]
+ , Space
+ , Code ( "" , [] , [] ) "``mono``"
+ , Space
+ , Str "\"\"raw\"\""
+ , Space
+ , RawInline (Format "html") "''tggd''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "*bold*" ]
+ , Space
+ , Emph [ Str "/ital/" ]
+ , Space
+ , Underline [ Str "_undr_" ]
+ , Space
+ , Strikeout [ Str "-strk-" ]
+ , Space
+ , Code ( "" , [] , [] ) "`mono`"
+ , Space
+ , Str "\"raw\""
+ , Space
+ , RawInline (Format "html") "'tggd'"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Strong [ Str "*" ]
+ , Space
+ , Emph [ Str "/" ]
+ , Space
+ , Underline [ Str "_" ]
+ , Space
+ , Strikeout [ Str "-" ]
+ , Space
+ , Code ( "" , [] , [] ) "`"
+ , Space
+ , Str "\""
+ , Space
+ , RawInline (Format "html") "'"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "**" ]
+ , Space
+ , Emph [ Str "//" ]
+ , Space
+ , Underline [ Str "__" ]
+ , Space
+ , Strikeout [ Str "--" ]
+ , Space
+ , Code ( "" , [] , [] ) "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , RawInline (Format "html") "''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "***" ]
+ , Space
+ , Emph [ Str "///" ]
+ , Space
+ , Underline [ Str "___" ]
+ , Space
+ , Strikeout [ Str "---" ]
+ , Space
+ , Code ( "" , [] , [] ) "```"
+ , Space
+ , Str "\"\"\""
+ , Space
+ , RawInline (Format "html") "'''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "****" ]
+ , Space
+ , Emph [ Str "////" ]
+ , Space
+ , Underline [ Str "____" ]
+ , Space
+ , Strikeout [ Str "----" ]
+ , Space
+ , Code ( "" , [] , [] ) "````"
+ , Space
+ , Str "\"\"\"\""
+ , Space
+ , RawInline (Format "html") "''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "*****" ]
+ , Space
+ , Emph [ Str "/////" ]
+ , Space
+ , Underline [ Str "_____" ]
+ , Space
+ , Strikeout [ Str "-----" ]
+ , Space
+ , Code ( "" , [] , [] ) "`````"
+ , Space
+ , Str "\"\"\"\"\""
+ , Space
+ , RawInline (Format "html") "'''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "******" ]
+ , Space
+ , Emph [ Str "//////" ]
+ , Space
+ , Underline [ Str "______" ]
+ , Space
+ , Strikeout [ Str "------" ]
+ , Space
+ , Code ( "" , [] , [] ) "``````"
+ , Space
+ , Str "\"\"\"\"\"\""
+ , Space
+ , RawInline (Format "html") "''''''"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Str "****"
+ , Space
+ , Str "////"
+ , Space
+ , Str "____"
+ , Space
+ , Str "----"
+ , Space
+ , Str "````"
+ , Space
+ , Str "\"\"\"\""
+ , Space
+ , Str "''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "''"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "bold**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "ital//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "undr__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "strk--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "mono``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "raw\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "tggd''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**bold"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//ital"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__undr"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--strk"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``mono"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\"raw"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''tggd"
+ , Space
+ , Str "''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "bold"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "ital"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "undr"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "strk"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "mono"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "raw"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "tggd"
+ , Space
+ , Str "''"
+ ]
+ , Header 1 ( "link" , [] , [] ) [ Str "Link" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "user@domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , Str ","
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str ","
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com."
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com" ]
+ ( "http://www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/" ]
+ ( "http://www.domain.com/dir/" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir///" ]
+ ( "http://www.domain.com/dir///" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com," ]
+ ( "http://www.domain.com," , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com," ]
+ ( "http://www.domain.com," , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/." ]
+ ( "http://www.domain.com/dir/." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/." ]
+ ( "http://www.domain.com/dir/." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html." ]
+ ( "http://www.domain.com/dir/index.html." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html," ]
+ ( "http://www.domain.com/dir/index.html," , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor" ]
+ ( "http://www.domain.com/dir/#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor" ]
+ ( "http://www.domain.com/dir/index.html#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor." ]
+ ( "http://www.domain.com/dir/#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor." ]
+ ( "http://www.domain.com/dir/#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c." ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c," ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c," , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c." ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@." ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c.#anchor" ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c.#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor" ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com/bla.html." ]
+ ( "http://user:password@domain.com/bla.html." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com/dir/." ]
+ ( "http://user:password@domain.com/dir/." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com." ]
+ ( "http://user:password@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:@domain.com." ]
+ ( "http://user:@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user@domain.com." ]
+ ( "http://user@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "www.domain.com" , "" )
+ , SoftBreak
+ , Str "["
+ , Space
+ , Str "label"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Str "]"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" , Space ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "anchor" , Space ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "login" , Space ]
+ ( "http://user:password@domain.com/bla.html" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "form" , Space ]
+ ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "form" , Space , Str "&" , Space , Str "anchor" ]
+ ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "login"
+ , Space
+ , Str "&"
+ , Space
+ , Str "form"
+ , Space
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c."
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "up"
+ , Space
+ ]
+ ( ".." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file"
+ , Space
+ ]
+ ( "bla.html" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "anchor"
+ , Space
+ ]
+ ( "#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file/anchor"
+ ]
+ ( "bla.html#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file/anchor"
+ ]
+ ( "bla.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "img"
+ , Space
+ ]
+ ( "abc.gif" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.fake.com" ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ , ""
+ )
+ , Str "-1%."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ ]
+ ( "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ , ""
+ )
+ , Str "-1%."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://L1.com" ]
+ ( "http://L1.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:L2@www.com" ]
+ ( "L2@www.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "L3" ] ( "www.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "L4" ] ( "w@ww.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "www.L5.com" ] ( "www.L5.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www2.domain.com" ]
+ ( "www2.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "ftp.domain.com" ]
+ ( "ftp.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "WWW.DOMAIN.COM" ]
+ ( "WWW.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "FTP.DOMAIN.COM" ]
+ ( "FTP.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "ftp.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "WWW.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "FTP.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Str "[label"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "[label]"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Str "]"
+ ]
+ , Header 1 ( "image" , [] , [] ) [ Str "Image" ]
+ , Para [ Image ( "" , [] , [] ) [] ( "img.png" , "" ) ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" ) ]
+ ( "https://txt2tags.org" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "Image"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning."
+ ]
+ , Para
+ [ Str "Image"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line."
+ ]
+ , Para
+ [ Str "Image"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "end."
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Str "Images"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "mixed"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "with"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "text."
+ ]
+ , Para
+ [ Str "Images"
+ , Space
+ , Str "glued"
+ , Space
+ , Str "together:"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Str "."
+ ]
+ , Para [ Str "[img.png" , Space , Str "]" ]
+ , Para [ Str "[" , Space , Str "img.png]" ]
+ , Para [ Str "[" , Space , Str "img.png" , Space , Str "]" ]
+ , Header
+ 1
+ ( "numtitle" , [] , [] )
+ [ Str "Numbered" , Space , Str "Title" ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 1
+ ( "lab_el-1" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "lab_el-2" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "lab_el-3" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "lab_el-4" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "lab_el-5" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "lab_el-9" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Para [ Str "+Not" , Space , Str "Title" ]
+ , Para [ Str "++Not" , Space , Str "Title+" ]
+ , Para
+ [ Str "+++Not"
+ , Space
+ , Str "Title++++"
+ , SoftBreak
+ , Str "++++++Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "6++++++"
+ ]
+ , Para
+ [ Str "+++++++Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "7+++++++"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+"
+ , Space
+ , Str "[label1]"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+["
+ , Space
+ , Str "label"
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+[la/bel]"
+ ]
+ , Header 1 ( "title" , [] , [] ) [ Str "Title" ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 1
+ ( "lab_el-1" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "lab_el-2" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "lab_el-3" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "lab_el-4" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "lab_el-5" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "lab_el-9" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Para [ Str "=Not" , Space , Str "Title" ]
+ , Para [ Str "==Not" , Space , Str "Title=" ]
+ , Para
+ [ Str "===Not"
+ , Space
+ , Str "Title===="
+ , SoftBreak
+ , Str "======Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "6======"
+ ]
+ , Para
+ [ Str "=======Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "7======="
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title="
+ , Space
+ , Str "[label1]"
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title=["
+ , Space
+ , Str "label"
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title=[la/bel]"
+ ]
+ , Header 1 ( "quote" , [] , [] ) [ Str "Quote" ]
+ , BlockQuote
+ [ Para
+ [ Str "To"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "just"
+ , Space
+ , Str "prefix"
+ , Space
+ , Str "it"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "TAB"
+ , SoftBreak
+ , Str "character."
+ , Space
+ , Str "All"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "must"
+ , SoftBreak
+ , Str "begin"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "TAB."
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "non-tabbed"
+ , Space
+ , Str "line"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "number"
+ , Space
+ , Str "of"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "TABs"
+ , Space
+ , Str "identifies"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "block"
+ , Space
+ , Str "depth."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "TABs,"
+ , Space
+ , Str "we"
+ , Space
+ , Str "are"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "level"
+ , Space
+ , Str "2."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "more"
+ , Space
+ , Str "TABs,"
+ , Space
+ , Str "more"
+ , Space
+ , Str "deep"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "level."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "There"
+ , Space
+ , Str "isn't"
+ , Space
+ , Str "a"
+ , Space
+ , Str "limit."
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , SoftBreak
+ , Str "level"
+ , Space
+ , Str "4."
+ ]
+ ]
+ , Para
+ [ Str "Then"
+ , Space
+ , Str "its"
+ , Space
+ , Str "depth"
+ , Space
+ , Str "is"
+ , Space
+ , Str "decreased."
+ ]
+ ]
+ , Para
+ [ Str "Counting"
+ , Space
+ , Str "down,"
+ , Space
+ , Str "one"
+ , Space
+ , Str "by"
+ , Space
+ , Str "one."
+ ]
+ ]
+ , Para
+ [ Str "Until"
+ , Space
+ , Str "the"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
+ ]
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "Unlike"
+ , Space
+ , Str "lists,"
+ , Space
+ , Str "any"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Str "independent,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "tree."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "count"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "need"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "incremental"
+ , SoftBreak
+ , Str "by"
+ , Space
+ , Str "one."
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "need"
+ , SoftBreak
+ , Str "to"
+ , Space
+ , Str "follow"
+ , Space
+ , Str "any"
+ , Space
+ , Str "rule."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Quotes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "opened"
+ , Space
+ , Str "and"
+ , Space
+ , Str "closed"
+ , SoftBreak
+ , Str "in"
+ , Space
+ , Str "any"
+ , Space
+ , Str "way."
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para [ Str "You" , Space , Str "choose." ] ]
+ ]
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "sgml)"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "support"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "nesting"
+ , Space
+ , Str "of"
+ , Space
+ , Str "quotes."
+ , Space
+ , Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "only"
+ , Space
+ , Str "one"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "level."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "In"
+ , Space
+ , Str "this"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "no"
+ , Space
+ , Str "matter"
+ , Space
+ , Str "how"
+ , Space
+ , Str "much"
+ , SoftBreak
+ , Str "TABs"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "define"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "block,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "always"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Spaces"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "the"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "character"
+ , Space
+ , Str "are"
+ , Space
+ , Str "allowed."
+ , SoftBreak
+ , Str "But"
+ , Space
+ , Str "be"
+ , Space
+ , Str "careful,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "confusing."
+ ]
+ ]
+ , Para
+ [ Str "Spaces"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "the"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "character"
+ , SoftBreak
+ , Str "invalidate"
+ , Space
+ , Str "the"
+ , Space
+ , Str "mark."
+ , Space
+ , Str "It's"
+ , Space
+ , Str "not"
+ , Space
+ , Str "quote."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Paragraph"
+ , Space
+ , Str "breaks"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "a"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "aren't"
+ , SoftBreak
+ , Str "possible."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "sample"
+ , Space
+ , Str "are"
+ , Space
+ , Str "two"
+ , Space
+ , Str "separated"
+ , Space
+ , Str "quoted"
+ , SoftBreak
+ , Str "paragraphs,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "two"
+ , Space
+ , Str "paragraphs"
+ , Space
+ , Str "inside."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "file"
+ , Space
+ , Str "(EOF)"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "currently"
+ , Space
+ , Str "open"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , Header 1 ( "raw" , [] , [] ) [ Str "Raw" ]
+ , Para [ Str "A raw line.\n" ]
+ , Para [ Str " Another raw line, with leading spaces.\n" ]
+ , Para
+ [ Str "A raw area delimited\n by lines with marks.\n"
+ ]
+ , Para
+ [ Str
+ "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
+ ]
+ , Para
+ [ Str "\"\"\"Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "raw"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "need"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "\"\"\""
+ , SoftBreak
+ , Str "Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "raw"
+ , Space
+ , Str "area."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning,"
+ , SoftBreak
+ , Str "no"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces."
+ , SoftBreak
+ , Str "\"\"\""
+ ]
+ , Para
+ [ Str
+ "The end of the file (EOF) closes\nthe currently open raw area.\n"
+ ]
+ , Header 1 ( "verbatim" , [] , [] ) [ Str "Verbatim" ]
+ , CodeBlock ( "" , [] , [] ) "A verbatim line.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ " Another verbatim line, with leading spaces.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ "A verbatim area delimited\n by lines with marks.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
+ , Para
+ [ Str "```Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "need"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "```"
+ , SoftBreak
+ , Str "Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "area."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning,"
+ , SoftBreak
+ , Str "no"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces."
+ , SoftBreak
+ , Str "```"
+ ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "The end of the file (EOF) closes\nthe currently open verbatim area.\n"
+ , Header
+ 1
+ ( "deflist" , [] , [] )
+ [ Str "Definition" , Space , Str "List" ]
+ , DefinitionList
+ [ ( [ Str "Definition" , Space , Str "list" ]
+ , [ [ Plain
+ [ Str "A"
+ , Space
+ , Str "list"
+ , Space
+ , Str "with"
+ , Space
+ , Str "terms"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "Start"
+ , Space
+ , Str "term"
+ , Space
+ , Str "with"
+ , Space
+ , Str "colon"
+ ]
+ , [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "its"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "follows"
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "numlist" , [] , [] )
+ [ Str "Numbered" , Space , Str "List" ]
+ , Para
+ [ Str "See"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "List" ] ( "#list" , "" )
+ , Str ","
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "rules"
+ , Space
+ , Str "apply."
+ ]
+ , Header 1 ( "list" , [] , [] ) [ Str "List" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Use"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hyphen"
+ , Space
+ , Str "to"
+ , Space
+ , Str "prefix"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ ]
+ ]
+ , [ Plain
+ [ Str "There"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hyphen."
+ ]
+ ]
+ , [ Plain
+ [ Str "The"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "two"
+ , Space
+ , Str "consecutive"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "The"
+ , Space
+ , Str "list"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "source"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , [ Plain
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "any"
+ , Space
+ , Str "number"
+ , Space
+ , Str "of"
+ , Space
+ , Str "spaces."
+ ]
+ ]
+ , [ Plain
+ [ Str "The"
+ , Space
+ , Str "result"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "Let"
+ , Space
+ , Str "one"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ ]
+ ]
+ , [ Para
+ [ Str "It"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "maintained"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "conversion."
+ ]
+ ]
+ , [ Para
+ [ Str "Some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "support"
+ , Space
+ , Str "this"
+ , Space
+ , Str "behavior."
+ ]
+ ]
+ , [ Para
+ [ Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "was"
+ , Space
+ , Str "separated"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "blanks."
+ , SoftBreak
+ , Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "put"
+ , Space
+ , Str "a"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "inside"
+ ]
+ , Para
+ [ Str "the"
+ , Space
+ , Str "item"
+ , Space
+ , Str "contents"
+ , Space
+ , Str "and"
+ , Space
+ , Str "it"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "preserved."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "-This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(no"
+ , Space
+ , Str "space)"
+ ]
+ , Para
+ [ Str "-"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(more"
+ , Space
+ , Str "than"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space)"
+ ]
+ , Para
+ [ Str "-"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(a"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "instead"
+ , Space
+ , Str "the"
+ , Space
+ , Str "space)"
+ ]
+ , BulletList
+ [ [ BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ ]
+ ]
+ ]
+ ]
+ , [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ ]
+ ]
+ ]
+ ]
+ , [ DefinitionList
+ [ ( [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ ]
+ , [ [] ]
+ )
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "\"mother\""
+ , Space
+ , Str "list"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item."
+ ]
+ ]
+ , [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "second,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "this"
+ , Space
+ , Str "item,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "there"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sublist,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "its"
+ , Space
+ , Str "own"
+ , Space
+ , Str "items."
+ ]
+ ]
+ , [ Plain
+ [ Str "Note"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "items"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "sublist"
+ ]
+ ]
+ , [ Plain
+ [ Str "must"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "indentation."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "on,"
+ , Space
+ , Str "opening"
+ , Space
+ , Str "sublists."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Just"
+ , Space
+ , Str "add"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "before"
+ , Space
+ , Str "the"
+ ]
+ ]
+ , [ Plain
+ [ Str "hyphen"
+ , Space
+ , Str "and"
+ , Space
+ , Str "sublists"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "opened."
+ ]
+ ]
+ , [ Plain
+ [ Str "The"
+ , Space
+ , Str "two"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "them"
+ , Space
+ , Str "all."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "When"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "lists,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "are"
+ , Space
+ , Str "free."
+ ]
+ ]
+ , [ Plain
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "add"
+ , Space
+ , Str "just"
+ , Space
+ , Str "one,"
+ ]
+ , BulletList
+ [ [ Plain [ Str "or" , Space , Str "many." ]
+ , BulletList
+ [ [ Plain
+ [ Str "What"
+ , Space
+ , Str "matters"
+ , Space
+ , Str "is"
+ , Space
+ , Str "to"
+ , Space
+ , Str "put"
+ , Space
+ , Str "more"
+ , Space
+ , Str "than"
+ , Space
+ , Str "the"
+ , Space
+ , Str "previous."
+ ]
+ ]
+ , [ Plain
+ [ Str "But"
+ , Space
+ , Str "remember"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "items"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "list"
+ ]
+ ]
+ , [ Plain
+ [ Str "must"
+ , Space
+ , Str "use"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "indentation."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "depth"
+ , Space
+ , Str "limit,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "and"
+ , Space
+ , Str "deeper."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "may"
+ , Space
+ , Str "have"
+ , Space
+ , Str "restrictions."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "The"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "maximum"
+ , Space
+ , Str "is"
+ , Space
+ , Str "here,"
+ , Space
+ , Str "4"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Reverse"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "doesn't"
+ , Space
+ , Str "work."
+ ]
+ ]
+ , [ Plain
+ [ Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sublist"
+ , Space
+ , Str "*must*"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "mother"
+ , Space
+ , Str "list."
+ ]
+ ]
+ , [ Plain
+ [ Str "It's"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "concept,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "limitation."
+ ]
+ ]
+ , [ Plain
+ [ Str "All"
+ , Space
+ , Str "this"
+ , Space
+ , Str "sublists"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "bumped"
+ , Space
+ , Str "to"
+ , Space
+ , Str "mother"
+ , Space
+ , Str "lists."
+ ]
+ ]
+ , [ Plain
+ [ Str "At"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "like"
+ , Space
+ , Str "this"
+ , Space
+ , Str "one."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "4)"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "3)"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "1"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "2)"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "1"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "4,"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "2)"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Para [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(in)"
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ , BulletList
+ [ [ Para [ Str "Level" , Space , Str "3" ] ]
+ , [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(out)"
+ ]
+ ]
+ , [ Para [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "(spaces)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(TAB)"
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "3.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "3" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "2.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "2" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "1.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "1" ] ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "with"
+ , Space
+ , Str "TABs"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "NOT"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "two"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "lines"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "TAB,"
+ ]
+ ]
+ , [ Plain
+ [ Str "then"
+ , Space
+ , Str "a"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "then"
+ , Space
+ , Str "an"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ , Plain
+ [ Str "-"
+ , SoftBreak
+ , Str "Level"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Plain
+ [ Str "-" , SoftBreak , Str "Level" , Space , Str "1" ]
+ ]
+ ]
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Empty"
+ , Space
+ , Str "item"
+ , Space
+ , Str "with"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces."
+ ]
+ ]
+ ]
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Empty"
+ , Space
+ , Str "item"
+ , Space
+ , Str "with"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "TAB."
+ ]
+ ]
+ ]
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "file"
+ , Space
+ , Str "(EOF)"
+ , Space
+ , Str "is"
+ , Space
+ , Str "hit,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "opened"
+ , Space
+ , Str "list"
+ , Space
+ , Str "are"
+ , Space
+ , Str "closed,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "just"
+ , Space
+ , Str "like"
+ , Space
+ , Str "when"
+ , Space
+ , Str "using"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header 1 ( "table" , [] , [] ) [ Str "Table" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "||"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "1"
+ , Space
+ , Str "|"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "2"
+ , Space
+ , Str "|"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "3"
+ , Space
+ , Str "|"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "<-" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "->" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "->" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "<-" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3+4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1+2+3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2+3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1+2+3+4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Jan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fev" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Mar" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apr" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "May" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "20%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "60%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "80%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "100%" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "o" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "o" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "." ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "="
+ , Space
+ , Str "="
+ , Space
+ , Str "="
+ , Space
+ , Str "="
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "01" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "02" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "05" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "07" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "11" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "13" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "16" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "17" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "19" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "20" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "23" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "25" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "26" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "30" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "32" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "35" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "37" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "39" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "9" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "9" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "|this|is|not|a|table|" ]
+ , Para
+ [ Str "|this|"
+ , Space
+ , Str "is|"
+ , Space
+ , Str "not|"
+ , Space
+ , Str "a|"
+ , Space
+ , Str "table|"
+ ]
+ , Para
+ [ Str "|this"
+ , Space
+ , Str "|is"
+ , Space
+ , Str "|not"
+ , Space
+ , Str "|a"
+ , Space
+ , Str "|table"
+ , Space
+ , Str "|"
+ ]
+ , Para
+ [ Str "|"
+ , Space
+ , Str "this\t|"
+ , Space
+ , Str "is\t|"
+ , Space
+ , Str "not\t|"
+ , Space
+ , Str "a\t|"
+ , Space
+ , Str "table\t|"
+ ]
+ , HorizontalRule
+ , Para [ Str "The" , Space , Str "End." ]
+ ]
diff --git a/test/vimwiki-reader.native b/test/vimwiki-reader.native
index 9b09d4904..b8f853ce0 100644
--- a/test/vimwiki-reader.native
+++ b/test/vimwiki-reader.native
@@ -1,449 +1,2429 @@
-Pandoc (Meta {unMeta = fromList [("date",MetaInlines [Str "2017-05-01"]),("title",MetaInlines [Str "title"])]})
-[Header 1 ("implemented",[],[]) [Emph [Span ("implemented",[],[]) [],Strong [Str "implemented"]]]
-,Header 1 ("header",[],[]) [Str "header"]
-,Header 2 ("header level two",[],[]) [Str "header",Space,Str "level",Space,Str "two"]
-,Header 3 ("header level 3",[],[]) [Str "header",Space,Code ("",[],[]) "level",Space,Str "3"]
-,Header 4 ("header level four",[],[]) [Str "header",Space,Strikeout [Str "level"],Space,Str "four"]
-,Header 5 ("header level 5",[],[]) [Str "header",Space,Emph [Span ("level",[],[]) [],Strong [Str "level"],Space,Str "5"]]
-,Header 6 ("header level 6",[],[]) [Str "header",Space,Str "level",Space,Str "6"]
-,Para [Str "=======",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "========"]
-,Para [Str "hi==",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "=="]
-,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "=="]
-,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "===-"]
-,Para [Str "not",Space,Str "a",Space,Str "header:"]
-,Para [Str "=n="]
-,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "===="]
-,Header 2 ("centred header",["justcenter"],[]) [Str "centred",Space,Str "header"]
-,Header 2 ("header with some == in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Code ("",[],[]) "==",Space,Str "in",Space,Str "between"]
-,Header 2 ("header with some == in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Str "==",Space,Str "in",Space,Str "between"]
-,Header 2 ("header with some ==in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Str "==in",Space,Str "between"]
-,Header 2 ("emph strong and strikeout",[],[]) [Str "emph",Space,Str "strong",Space,Str "and",Space,Str "strikeout"]
-,Para [Emph [Str "emph"],Space,Span ("strong",[],[]) [],Strong [Str "strong"]]
-,Para [Span ("strong and emph",[],[]) [],Strong [Emph [Str "strong",Space,Str "and",Space,Str "emph"]]]
-,Para [Emph [Span ("emph and strong",[],[]) [],Strong [Str "emph",Space,Str "and",Space,Str "strong"]]]
-,Para [Span ("emph inside strong",[],[]) [],Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
-,Para [Span ("strong with emph",[],[]) [],Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
-,Para [Emph [Span ("strong inside",[],[]) [],Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
-,Para [Emph [Strikeout [Str "strikeout"],Space,Str "inside",Space,Str "emph"]]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "struck",Space,Str "out"],Space,Str "with",Space,Str "emph"]]
-,Para [Str "*not",SoftBreak,Str "strong*"]
-,Para [Str "just",Space,Str "two",Space,Str "stars:",Space,Str "**"]
-,Para [Str "just",Space,Str "two",Space,Str "underscores:",Space,Str "__"]
-,Para [Str "just",Space,Str "four",Space,Str "~s:",Space,Str "~~~~"]
-,Para [Str "_not",SoftBreak,Str "emph_"]
-,Para [Str "~~not",SoftBreak,Str "strikeout~~"]
-,Header 2 ("horizontal rule",[],[]) [Str "horizontal",Space,Str "rule"]
-,Para [Str "top"]
-,HorizontalRule
-,Para [Str "middle"]
-,HorizontalRule
-,Para [Str "not",Space,Str "a",Space,Str "rule-----"]
-,Para [Str "not",Space,Str "a",Space,Str "rule",Space,Str "(trailing",Space,Str "spaces):",SoftBreak,Str "-----"]
-,Para [Str "not",Space,Str "a",Space,Str "rule",Space,Str "(leading",Space,Str "spaces):",SoftBreak,Str "----"]
-,Header 2 ("comments",[],[]) [Str "comments"]
-,Para [Str "this",SoftBreak,Str "is",Space,Str "%%",Space,Str "not",Space,Str "secret"]
-,Header 2 ("inline code",[],[]) [Str "inline",Space,Str "code"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Code ("",[],[]) "inline code",Str "."]
-,Para [Str "Just",Space,Str "two",Space,Str "backticks:",Space,Str "``"]
-,Header 2 ("preformatted text",[],[]) [Str "preformatted",Space,Str "text"]
-,CodeBlock ("",[],[]) " Tyger! Tyger! burning bright\n In the forests of the night,\n What immortal hand or eye\n Could frame thy fearful symmetry?\n In what distant deeps or skies\n Burnt the fire of thine eyes?\n On what wings dare he aspire?\n What the hand dare sieze the fire?"
-,Header 3 ("preformatted text with attributes",[],[]) [Str "preformatted",Space,Str "text",Space,Str "with",Space,Str "attributes"]
-,CodeBlock ("",[],[("class","python"),("style","color:blue")]) " for i in range(1, 5):\n print(i)"
-,Header 3 ("preformatted text with nested syntax",[],[]) [Str "preformatted",Space,Str "text",Space,Str "with",Space,Str "nested",Space,Str "syntax"]
-,CodeBlock ("",["sql"],[]) "SELECT * FROM table"
-,Header 3 ("empty preformatted text",[],[]) [Str "empty",Space,Str "preformatted",Space,Str "text"]
-,CodeBlock ("",[],[]) ""
-,Header 2 ("block quotes",[],[]) [Str "block",Space,Str "quotes"]
-,BlockQuote
- [Plain [Str "(indentation",Space,Str "4",Space,Str "spaces)",Space,Str "This",Space,Str "would",Space,Str "be",Space,Str "a",Space,Str "blockquote",Space,Str "in",Space,Str "Vimwiki.",Space,Str "It",Space,Str "is",Space,Str "not",Space,Span ("highlighted",[],[]) [],Strong [Str "highlighted"],Space,Str "in",Space,Str "Vim",Space,Str "but",SoftBreak,Str "(indentation",Space,Str "1",Space,Str "space",Space,Str "followed",Space,Str "by",Space,Str "1",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)",Space,Str "could",Space,Str "be",Space,Str "styled",Space,Str "by",Space,Str "CSS",Space,Str "in",Space,Str "HTML.",Space,Str "Blockquotes",Space,Str "are",Space,Str "usually",Space,Str "used",Space,Str "to",Space,Str "quote",Space,Str "a",SoftBreak,Str "(indentation",Space,Str "1",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)",Space,Str "long",Space,Str "piece",Space,Str "of",Space,Str "text",Space,Str "from",Space,Str "another",Space,Str "source.",Space,Strikeout [Str "blah",Space,Str "blah"],Space,Span ("-blockquote",[],[]) [Str ""],Span ("blockquote",["tag"],[]) [Str "blockquote"]]]
-,Header 2 ("external links",[],[]) [Str "external",Space,Str "links"]
-,Para [Link ("",[],[]) [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
-,Para [Link ("",[],[]) [Str "http://pandoc.org"] ("http://pandoc.org","")]
-,Para [Link ("",[],[]) [Str "ftp://vim.org"] ("ftp://vim.org","")]
-,Para [Link ("",[],[]) [Str "http://google.com"] ("http://google.com","")]
-,Para [Link ("",[],[]) [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
-,Para [Link ("",[],[]) [Str "mailto:hello@bye.com"] ("mailto:hello@bye.com","")]
-,Header 2 ("internal links",[],[]) [Str "internal",Space,Str "links"]
-,Para [Link ("",[],[]) [Str "This is a link"] ("This is a link","wikilink")]
-,Para [Link ("",[],[]) [Str "Description",Space,Str "of",Space,Str "the",Space,Str "link"] ("This is a link source","wikilink")]
-,Para [Link ("",[],[]) [Str "projects/Important Project 1"] ("projects/Important Project 1","wikilink"),SoftBreak,Link ("",[],[]) [Str "../index"] ("../index","wikilink"),SoftBreak,Link ("",[],[]) [Str "Other",Space,Str "files"] ("a subdirectory/","wikilink")]
-,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "tag",Space,Str "anchors"] ("#tag-one","wikilink")]
-,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "header",Space,Str "anchors"] ("#block quotes","wikilink")]
-,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "strong",Space,Str "anchors"] ("#strong","wikilink")]
-,Para [Link ("",[],[]) [Str "Tasks",Space,Str "for",Space,Str "tomorrow"] ("Todo List#Tomorrow","wikilink")]
-,Para [Link ("",[],[]) [Str "diary:2017-05-01"] ("diary/2017-05-01","wikilink")]
-,Para [Link ("",[],[]) [Str "Important",Space,Str "Data"] ("file:../assets/data.csv","")]
-,Header 3 ("links with thumbnails",[],[]) [Str "links",Space,Str "with",Space,Str "thumbnails"]
-,Para [Link ("",[],[]) [Image ("",[],[]) [Str ""] ("./movie.jpg","")] ("http://www.google.com","")]
-,Header 2 ("images",[],[]) [Str "images"]
-,Para [Image ("",[],[]) [Str ""] ("file:./lalune.jpg","")]
-,Para [Image ("",[],[]) [Str "Vimwiki"] ("http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png",""),SoftBreak,Image ("",[],[]) [Str ""] ("file:./movie.jpg","")]
-,Header 3 ("image with attributes",[],[]) [Str "image",Space,Str "with",Space,Str "attributes"]
-,Para [Image ("",[],[("style","width:150px;height:120px;")]) [Emph [Str "cool",Space,Str "stuff"]] ("lalune.jpg","")]
-,Para [Image ("",[],[("style","font-color:red")]) [Span ("Non-existing",[],[]) [],Strong [Str "Non-existing"],Space,Str "image"] ("nonexist.jpg","")]
-,Para [Image ("",[],[("style","width:150px;height:120px;")]) [Emph [Str "cool",Space,Str "stuff"]] ("lalune.jpg","")]
-,Header 2 ("lists",[],[]) [Str "lists"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "ordered",Space,Str "list",Space,Str "item",Space,Str "1,",Space,Str "and",Space,Str "here",Space,Str "is",Space,Str "some",Space,Str "math",Space,Str "belonging",Space,Str "to",Space,Str "list",Space,Str "item",Space,Str "1"]
- ,Para [Math DisplayMath "a^2 + b^2 = c^2"]
- ,Plain [Str "and",Space,Str "some",Space,Str "preformatted",Space,Str "and",Space,Str "tables",Space,Str "belonging",Space,Str "to",Space,Str "item",Space,Str "1",Space,Str "as",Space,Str "well"]
- ,CodeBlock ("",[],[]) "I'm part of item 1."
- ,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "this",Space,Str "table"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "is"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "also",Space,Str "a",Space,Str "part"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "of",Space,Str "item",Space,Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
- ,Plain [Str "and",Space,Str "some",Space,Str "more",Space,Str "text",Space,Str "belonging",Space,Str "to",Space,Str "item",Space,Str "1."]]
- ,[Plain [Str "ordered",Space,Str "list",Space,Str "item",Space,Str "2"]]]
-,BulletList
- [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "the",Space,Str "#",Space,Str "become",Space,Str "numbers",Space,Str "when",Space,Str "converted",Space,Str "to",Space,Str "HTML"]]]
-,BulletList
- [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]]]
-,BulletList
- [[Plain [Str "Item",Space,Str "1"]]
- ,[Plain [Str "Item",Space,Str "2"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Sub",Space,Str "item",Space,Str "1",Space,Str "(indentation",Space,Str "4",Space,Str "spaces)",SoftBreak,Str "Sub",Space,Str "item",Space,Str "1",Space,Str "continued",Space,Str "line.",SoftBreak,Str "Sub",Space,Str "item",Space,Str "1",Space,Str "next",Space,Str "continued",Space,Str "line."]]
- ,[Plain [Str "Sub",Space,Str "item",Space,Str "2,",Space,Str "as",Space,Str "an",Space,Str "ordered",Space,Str "list",Space,Str "item",Space,Str "even",Space,Str "though",Space,Str "the",Space,Str "identifier",Space,Str "is",Space,Code ("",[],[]) "*",Space,Str "(indentation",Space,Str "2",Space,Str "spaces",Space,Str "followed",Space,Str "by",Space,Str "one",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)"]]
- ,[Plain [Str "etc.",SoftBreak,Str "Continuation",Space,Str "of",Space,Str "Item",Space,Str "2",SoftBreak,Str "Next",Space,Str "continuation",Space,Str "of",Space,Str "Item",Space,Str "2"]]]]]
-,Para [Str "But",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "new",Space,Str "paragraph."]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "1"]
- ,BulletList
- [[Plain [Code ("",[],[]) "1.1"]]]]
- ,[Plain [Str "2"]
- ,BulletList
- [[Plain [Str "2.1"]]]]]
-,BulletList
- [[Plain [Str "3"]]]
-,Header 3 ("ordered lists with non-# identifiers",[],[]) [Str "ordered",Space,Str "lists",Space,Str "with",Space,Str "non-#",Space,Str "identifiers"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,BulletList
- [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "more",Space,Str "..."]
- ,BulletList
- [[Plain [Str "and",Space,Str "more",Space,Str "..."]]
- ,[Plain [Str "..."]]]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "item",Space,Str "3"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "sub",Space,Str "item",Space,Str "1"]]
- ,[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "sub",Space,Str "item",Space,Str "2"]]]]
- ,[Plain [Str "etc."]]]]
- ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "3"]]]
-,Header 2 ("todo lists",[],[]) [Str "todo",Space,Str "lists"]
-,BulletList
- [[Plain [Span ("",["done0"],[]) [],Str "task",Space,Str "1"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Span ("",["done1"],[]) [],Str "5"]]]]
- ,[Plain [Span ("",["done2"],[]) [],Str "3"]]
- ,[Plain [Str "[]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
- ,[Plain [Str "[",Space,Str "]not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
- ,[Plain [Str "[r]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
- ,[Plain [Str "[",Space,Str "]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
- ,[Plain [Span ("",["done2"],[]) [],Str "a",Space,Str "tab",Space,Str "in",Space,Str "the",Space,Str "todo",Space,Str "list",Space,Str "marker",Space,Code ("",[],[]) "[ ]"]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Span ("",["done3"],[]) [],Str "4",SoftBreak,Str "5"]]
- ,[Plain [Span ("",["done4"],[]) []]
- ,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]]])]
- (TableFoot ("",[],[])
- [])]]]
- ,[Plain [Span ("",["done4"],[]) [],Str "task",Space,Str "2"]]]
-,Header 2 ("math",[],[]) [Str "math"]
-,Para [Math InlineMath " \\sum_i a_i^2 = 1 "]
-,Para [Math DisplayMath "\\sum_i a_i^2\n=\n1"]
-,Para [Math DisplayMath "\\begin{aligned}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{aligned}"]
-,Para [Str "edge",Space,Str "case",Space,Str "(the",Space,Code ("",[],[]) "c^2 + ",Space,Str "after",Space,Str "the",Space,Str "multline",Space,Str "tag",Space,Str "is",Space,Str "in",Space,Str "the",Space,Str "equation):"]
-,Para [Math DisplayMath "\\begin{gathered}\nc^2 + \na^2 + b^2\n\\end{gathered}"]
-,Para [Str "edge",Space,Str "case",Space,Str "(the",Space,Str "tag",Space,Str "is",Space,Code ("",[],[]) "hello%bye",Str ")"]
-,Para [Math DisplayMath "\\begin{hello%bye}\n\\int_a^b f(x) dx\n\\end{hello%bye}"]
-,Para [Str "Just",Space,Str "two",Space,Str "dollar",Space,Str "signs:",Space,Str "$$"]
-,Para [Str "[not",Space,Str "math]",Space,Str "You",Space,Str "have",Space,Str "$1",SoftBreak,Str "and",Space,Str "I",Space,Str "have",Space,Str "$1."]
-,Header 2 ("tags",[],[]) [Str "tags"]
-,Para [Span ("-tag-one",[],[]) [Str ""],Span ("tag-one",["tag"],[]) [Str "tag-one"],Space,Span ("-tag-two",[],[]) [Str ""],Span ("tag-two",["tag"],[]) [Str "tag-two"]]
-,Header 2 ("tables",[],[]) [Str "tables"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Year"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Temperature",Space,Str "(low)"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Temperature",Space,Str "(high)"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1900"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "-10"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "25"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1910"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "-15"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "30"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1920"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "-10"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "32"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1930"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Emph [Str "N/A"]]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Emph [Str "N/A"]]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1940"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "-2"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "40"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 3 ("centered headerless tables",[],[]) [Str "centered",Space,Str "headerless",Space,Str "tables"]
-,Div ("",["center"],[])
- [Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "d"]]]])]
- (TableFoot ("",[],[])
- [])]
-,Header 2 ("paragraphs",[],[]) [Str "paragraphs"]
-,Para [Str "This",Space,Str "is",Space,Str "first",Space,Str "paragraph",SoftBreak,Str "with",Space,Str "two",Space,Str "lines."]
-,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "second",Space,Str "paragraph",Space,Str "with",SoftBreak,Str "two",Space,Str "lines",Space,Str "after",Space,Str "many",Space,Str "blank",Space,Str "lines."]
-,Header 2 ("definition list",[],[]) [Str "definition",Space,Str "list"]
-,DefinitionList
- [([Str "Term",Space,Str "1"],
- [[Plain [Str "Definition",Space,Str "1"]]])
- ,([Str "Term",Space,Str "2"],
- [[Plain [Str "Definition",Space,Str "2"]]
- ,[Plain [Str "Definition",Space,Str "3"]]])
- ,([Str "Term",Space,Str "::",Space,Span ("separated",[],[]) [],Strong [Str "separated"],Space,Str "by",Space,Str "::",Space,Emph [Str "double",Space,Str "colons"]],
- [[Plain [Str "Def1"]]
- ,[Plain [Str "Def2"]]])
- ,([Str "Term",Space,Str "with",Space,Str "lots",Space,Str "of",Space,Str "trailing",Space,Str "colons:::::::"],
- [[Plain [Str "Definition"]]])
- ,([Str "::",Space,Str "This",Space,Str "is",Space,Str "::",Space,Str "A",Space,Str "term",Space,Str "(rather",Space,Str "than",Space,Str "a",Space,Str "definition)"],
- [[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "definition"]]])
- ,([Str "Term",Space,Str "Without",Space,Str "definitions"],
- [[]])
- ,([Str "Part",Space,Str "::",Space,Str "of",Space,Str "::",Space,Str "dt"],
- [[Plain [Str "part",Space,Str "of",Space,Str "::dd"]]])]
-,DefinitionList
- [([],
- [[Plain [Str "Definition",Space,Str "1",Space,Str "without",Space,Str "a",Space,Str "term"]]
- ,[Plain [Str "Definition",Space,Str "2",Space,Str "without",Space,Str "a",Space,Str "term"]]])]
-,DefinitionList
- [([Str "T1"],
- [[Plain [Str "D1"]]])]
-,Para [Str "new",Space,Str "paragraph"]
-,DefinitionList
- [([Str "T1"],
- [[Plain [Str "D1"]]])]
-,Para [Str "Not::Definition"]
-,Para [Str "Not",Space,Str "::Definition"]
-,Para [Str "::Not",Space,Str "definition"]
-,BlockQuote
- [Plain [Str "::",Space,Str "blockquote"]]
-,BlockQuote
- [Plain [Str "block",Space,Str "::",Space,Str "quote"]]
-,Header 2 ("metadata placeholders",[],[]) [Str "metadata",Space,Str "placeholders"]
-,Para [Str "%this",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "placeholder"]
-,Para [Str "placeholders",SoftBreak,Str "serves",Space,Str "as",Space,Str "space",Space,Str "/",Space,Str "softbreak",Space,Str "in",Space,Str "paragraphs"]
-,Header 2 ("sup, sub",[],[]) [Str "sup,",Space,Str "sub"]
-,Para [Str "super",Superscript [Str "script"]]
-,Para [Str "sub",Subscript [Str "script"]]
-,Header 2 ("the todo mark",[],[]) [Str "the",Space,Str "todo",Space,Str "mark"]
-,Para [Span ("",["todo"],[]) [Str "TODO:"]]
-,Header 1 ("not implemented yet",[],[]) [Emph [Span ("not implemented yet",[],[]) [],Strong [Str "not",Space,Str "implemented",Space,Str "yet"]]]
-,Header 2 ("tables with spans",[],[]) [Str "tables",Space,Str "with",Space,Str "spans"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "d"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\\/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "e"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ">"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "f"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\\/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "\\/"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ">"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "g"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "h"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ">"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ">"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str ">"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("tables with multiple lines of headers",[],[]) [Str "tables",Space,Str "with",Space,Str "multiple",Space,Str "lines",Space,Str "of",Space,Str "headers"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "a"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "b"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "c"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "d"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "---"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "---"]]]])]
- (TableFoot ("",[],[])
- [])
-,Header 2 ("some other placeholders",[],[]) [Str "some",Space,Str "other",Space,Str "placeholders"]
-,Para [Code ("",[],[]) "template",Space,Str "placeholder",Space,Str "is",Space,Str "ignored."]
-,Para [Code ("",[],[]) "nohtml",Space,Str "placeholder",Space,Str "is",Space,Str "ignored."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date" , MetaInlines [ Str "2017-05-01" ] )
+ , ( "title" , MetaInlines [ Str "title" ] )
+ ]
+ }
+ [ Header
+ 1
+ ( "implemented" , [] , [] )
+ [ Emph
+ [ Span ( "implemented" , [] , [] ) []
+ , Strong [ Str "implemented" ]
+ ]
+ ]
+ , Header 1 ( "header" , [] , [] ) [ Str "header" ]
+ , Header
+ 2
+ ( "header level two" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "two" ]
+ , Header
+ 3
+ ( "header level 3" , [] , [] )
+ [ Str "header"
+ , Space
+ , Code ( "" , [] , [] ) "level"
+ , Space
+ , Str "3"
+ ]
+ , Header
+ 4
+ ( "header level four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Strikeout [ Str "level" ]
+ , Space
+ , Str "four"
+ ]
+ , Header
+ 5
+ ( "header level 5" , [] , [] )
+ [ Str "header"
+ , Space
+ , Emph
+ [ Span ( "level" , [] , [] ) []
+ , Strong [ Str "level" ]
+ , Space
+ , Str "5"
+ ]
+ ]
+ , Header
+ 6
+ ( "header level 6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
+ , Para
+ [ Str "======="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "========"
+ ]
+ , Para
+ [ Str "hi=="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "=="
+ ]
+ , Para
+ [ Str "==="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "=="
+ ]
+ , Para
+ [ Str "==="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "===-"
+ ]
+ , Para
+ [ Str "not" , Space , Str "a" , Space , Str "header:" ]
+ , Para [ Str "=n=" ]
+ , Para
+ [ Str "==="
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ , Space
+ , Str "===="
+ ]
+ , Header
+ 2
+ ( "centred header" , [ "justcenter" ] , [] )
+ [ Str "centred" , Space , Str "header" ]
+ , Header
+ 2
+ ( "header with some == in between" , [] , [] )
+ [ Str "header"
+ , Space
+ , Str "with"
+ , Space
+ , Str "some"
+ , Space
+ , Code ( "" , [] , [] ) "=="
+ , Space
+ , Str "in"
+ , Space
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "header with some == in between" , [] , [] )
+ [ Str "header"
+ , Space
+ , Str "with"
+ , Space
+ , Str "some"
+ , Space
+ , Str "=="
+ , Space
+ , Str "in"
+ , Space
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "header with some ==in between" , [] , [] )
+ [ Str "header"
+ , Space
+ , Str "with"
+ , Space
+ , Str "some"
+ , Space
+ , Str "==in"
+ , Space
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "emph strong and strikeout" , [] , [] )
+ [ Str "emph"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "strikeout"
+ ]
+ , Para
+ [ Emph [ Str "emph" ]
+ , Space
+ , Span ( "strong" , [] , [] ) []
+ , Strong [ Str "strong" ]
+ ]
+ , Para
+ [ Span ( "strong and emph" , [] , [] ) []
+ , Strong
+ [ Emph
+ [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Span ( "emph and strong" , [] , [] ) []
+ , Strong
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ ]
+ ]
+ , Para
+ [ Span ( "emph inside strong" , [] , [] ) []
+ , Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
+ , Para
+ [ Span ( "strong with emph" , [] , [] ) []
+ , Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Span ( "strong inside" , [] , [] ) []
+ , Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Para
+ [ Emph
+ [ Strikeout [ Str "strikeout" ]
+ , Space
+ , Str "inside"
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "struck" , Space , Str "out" ]
+ , Space
+ , Str "with"
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Para [ Str "*not" , SoftBreak , Str "strong*" ]
+ , Para
+ [ Str "just"
+ , Space
+ , Str "two"
+ , Space
+ , Str "stars:"
+ , Space
+ , Str "**"
+ ]
+ , Para
+ [ Str "just"
+ , Space
+ , Str "two"
+ , Space
+ , Str "underscores:"
+ , Space
+ , Str "__"
+ ]
+ , Para
+ [ Str "just"
+ , Space
+ , Str "four"
+ , Space
+ , Str "~s:"
+ , Space
+ , Str "~~~~"
+ ]
+ , Para [ Str "_not" , SoftBreak , Str "emph_" ]
+ , Para [ Str "~~not" , SoftBreak , Str "strikeout~~" ]
+ , Header
+ 2
+ ( "horizontal rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "middle" ]
+ , HorizontalRule
+ , Para
+ [ Str "not" , Space , Str "a" , Space , Str "rule-----" ]
+ , Para
+ [ Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "(trailing"
+ , Space
+ , Str "spaces):"
+ , SoftBreak
+ , Str "-----"
+ ]
+ , Para
+ [ Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "(leading"
+ , Space
+ , Str "spaces):"
+ , SoftBreak
+ , Str "----"
+ ]
+ , Header 2 ( "comments" , [] , [] ) [ Str "comments" ]
+ , Para
+ [ Str "this"
+ , SoftBreak
+ , Str "is"
+ , Space
+ , Str "%%"
+ , Space
+ , Str "not"
+ , Space
+ , Str "secret"
+ ]
+ , Header
+ 2
+ ( "inline code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Code ( "" , [] , [] ) "inline code"
+ , Str "."
+ ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "two"
+ , Space
+ , Str "backticks:"
+ , Space
+ , Str "``"
+ ]
+ , Header
+ 2
+ ( "preformatted text" , [] , [] )
+ [ Str "preformatted" , Space , Str "text" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " Tyger! Tyger! burning bright\n In the forests of the night,\n What immortal hand or eye\n Could frame thy fearful symmetry?\n In what distant deeps or skies\n Burnt the fire of thine eyes?\n On what wings dare he aspire?\n What the hand dare sieze the fire?"
+ , Header
+ 3
+ ( "preformatted text with attributes" , [] , [] )
+ [ Str "preformatted"
+ , Space
+ , Str "text"
+ , Space
+ , Str "with"
+ , Space
+ , Str "attributes"
+ ]
+ , CodeBlock
+ ( ""
+ , []
+ , [ ( "class" , "python" ) , ( "style" , "color:blue" ) ]
+ )
+ " for i in range(1, 5):\n print(i)"
+ , Header
+ 3
+ ( "preformatted text with nested syntax" , [] , [] )
+ [ Str "preformatted"
+ , Space
+ , Str "text"
+ , Space
+ , Str "with"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "syntax"
+ ]
+ , CodeBlock ( "" , [ "sql" ] , [] ) "SELECT * FROM table"
+ , Header
+ 3
+ ( "empty preformatted text" , [] , [] )
+ [ Str "empty"
+ , Space
+ , Str "preformatted"
+ , Space
+ , Str "text"
+ ]
+ , CodeBlock ( "" , [] , [] ) ""
+ , Header
+ 2
+ ( "block quotes" , [] , [] )
+ [ Str "block" , Space , Str "quotes" ]
+ , BlockQuote
+ [ Plain
+ [ Str "(indentation"
+ , Space
+ , Str "4"
+ , Space
+ , Str "spaces)"
+ , Space
+ , Str "This"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "blockquote"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Vimwiki."
+ , Space
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Span ( "highlighted" , [] , [] ) []
+ , Strong [ Str "highlighted" ]
+ , Space
+ , Str "in"
+ , Space
+ , Str "Vim"
+ , Space
+ , Str "but"
+ , SoftBreak
+ , Str "(indentation"
+ , Space
+ , Str "1"
+ , Space
+ , Str "space"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "1"
+ , Space
+ , Str "tab"
+ , Space
+ , Str "of"
+ , Space
+ , Str "width"
+ , Space
+ , Str "4)"
+ , Space
+ , Str "could"
+ , Space
+ , Str "be"
+ , Space
+ , Str "styled"
+ , Space
+ , Str "by"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "in"
+ , Space
+ , Str "HTML."
+ , Space
+ , Str "Blockquotes"
+ , Space
+ , Str "are"
+ , Space
+ , Str "usually"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "(indentation"
+ , Space
+ , Str "1"
+ , Space
+ , Str "tab"
+ , Space
+ , Str "of"
+ , Space
+ , Str "width"
+ , Space
+ , Str "4)"
+ , Space
+ , Str "long"
+ , Space
+ , Str "piece"
+ , Space
+ , Str "of"
+ , Space
+ , Str "text"
+ , Space
+ , Str "from"
+ , Space
+ , Str "another"
+ , Space
+ , Str "source."
+ , Space
+ , Strikeout [ Str "blah" , Space , Str "blah" ]
+ , Space
+ , Span ( "-blockquote" , [] , [] ) [ Str "" ]
+ , Span
+ ( "blockquote" , [ "tag" ] , [] ) [ Str "blockquote" ]
+ ]
+ ]
+ , Header
+ 2
+ ( "external links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "ftp://vim.org" ]
+ ( "ftp://vim.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "mailto:hello@bye.com" ]
+ ( "mailto:hello@bye.com" , "" )
+ ]
+ , Header
+ 2
+ ( "internal links" , [] , [] )
+ [ Str "internal" , Space , Str "links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "This is a link" ]
+ ( "This is a link" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ ]
+ ( "This is a link source" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "projects/Important Project 1" ]
+ ( "projects/Important Project 1" , "wikilink" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "../index" ]
+ ( "../index" , "wikilink" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Other" , Space , Str "files" ]
+ ( "a subdirectory/" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#tag-one" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "header"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#block quotes" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#strong" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Tasks" , Space , Str "for" , Space , Str "tomorrow" ]
+ ( "Todo List#Tomorrow" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "diary:2017-05-01" ]
+ ( "diary/2017-05-01" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Important" , Space , Str "Data" ]
+ ( "file:../assets/data.csv" , "" )
+ ]
+ , Header
+ 3
+ ( "links with thumbnails" , [] , [] )
+ [ Str "links"
+ , Space
+ , Str "with"
+ , Space
+ , Str "thumbnails"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [ Str "" ] ( "./movie.jpg" , "" ) ]
+ ( "http://www.google.com" , "" )
+ ]
+ , Header 2 ( "images" , [] , [] ) [ Str "images" ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "" ] ( "file:./lalune.jpg" , "" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "Vimwiki" ]
+ ( "http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png"
+ , ""
+ )
+ , SoftBreak
+ , Image
+ ( "" , [] , [] ) [ Str "" ] ( "file:./movie.jpg" , "" )
+ ]
+ , Header
+ 3
+ ( "image with attributes" , [] , [] )
+ [ Str "image"
+ , Space
+ , Str "with"
+ , Space
+ , Str "attributes"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "style" , "width:150px;height:120px;" ) ] )
+ [ Emph [ Str "cool" , Space , Str "stuff" ] ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "style" , "font-color:red" ) ] )
+ [ Span ( "Non-existing" , [] , [] ) []
+ , Strong [ Str "Non-existing" ]
+ , Space
+ , Str "image"
+ ]
+ ( "nonexist.jpg" , "" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "style" , "width:150px;height:120px;" ) ] )
+ [ Emph [ Str "cool" , Space , Str "stuff" ] ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Header 2 ( "lists" , [] , [] ) [ Str "lists" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "ordered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "math"
+ , Space
+ , Str "belonging"
+ , Space
+ , Str "to"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ , Para [ Math DisplayMath "a^2 + b^2 = c^2" ]
+ , Plain
+ [ Str "and"
+ , Space
+ , Str "some"
+ , Space
+ , Str "preformatted"
+ , Space
+ , Str "and"
+ , Space
+ , Str "tables"
+ , Space
+ , Str "belonging"
+ , Space
+ , Str "to"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ ]
+ , CodeBlock ( "" , [] , [] ) "I'm part of item 1."
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "this" , Space , Str "table" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "is" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "also"
+ , Space
+ , Str "a"
+ , Space
+ , Str "part"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "of"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Plain
+ [ Str "and"
+ , Space
+ , Str "some"
+ , Space
+ , Str "more"
+ , Space
+ , Str "text"
+ , Space
+ , Str "belonging"
+ , Space
+ , Str "to"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1."
+ ]
+ ]
+ , [ Plain
+ [ Str "ordered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "the"
+ , Space
+ , Str "#"
+ , Space
+ , Str "become"
+ , Space
+ , Str "numbers"
+ , Space
+ , Str "when"
+ , Space
+ , Str "converted"
+ , Space
+ , Str "to"
+ , Space
+ , Str "HTML"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Item" , Space , Str "1" ] ]
+ , [ Plain [ Str "Item" , Space , Str "2" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ , Space
+ , Str "(indentation"
+ , Space
+ , Str "4"
+ , Space
+ , Str "spaces)"
+ , SoftBreak
+ , Str "Sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ , Space
+ , Str "continued"
+ , Space
+ , Str "line."
+ , SoftBreak
+ , Str "Sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ , Space
+ , Str "next"
+ , Space
+ , Str "continued"
+ , Space
+ , Str "line."
+ ]
+ ]
+ , [ Plain
+ [ Str "Sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ordered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "even"
+ , Space
+ , Str "though"
+ , Space
+ , Str "the"
+ , Space
+ , Str "identifier"
+ , Space
+ , Str "is"
+ , Space
+ , Code ( "" , [] , [] ) "*"
+ , Space
+ , Str "(indentation"
+ , Space
+ , Str "2"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "one"
+ , Space
+ , Str "tab"
+ , Space
+ , Str "of"
+ , Space
+ , Str "width"
+ , Space
+ , Str "4)"
+ ]
+ ]
+ , [ Plain
+ [ Str "etc."
+ , SoftBreak
+ , Str "Continuation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Item"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str "Next"
+ , Space
+ , Str "continuation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "But"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "new"
+ , Space
+ , Str "paragraph."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "1" ]
+ , BulletList [ [ Plain [ Code ( "" , [] , [] ) "1.1" ] ] ]
+ ]
+ , [ Plain [ Str "2" ]
+ , BulletList [ [ Plain [ Str "2.1" ] ] ]
+ ]
+ ]
+ , BulletList [ [ Plain [ Str "3" ] ] ]
+ , Header
+ 3
+ ( "ordered lists with non-# identifiers" , [] , [] )
+ [ Str "ordered"
+ , Space
+ , Str "lists"
+ , Space
+ , Str "with"
+ , Space
+ , Str "non-#"
+ , Space
+ , Str "identifiers"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "..." ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "more"
+ , Space
+ , Str "..."
+ ]
+ ]
+ , [ Plain [ Str "..." ] ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "etc." ] ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "todo lists" , [] , [] )
+ [ Str "todo" , Space , Str "lists" ]
+ , BulletList
+ [ [ Plain
+ [ Span ( "" , [ "done0" ] , [] ) []
+ , Str "task"
+ , Space
+ , Str "1"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Span ( "" , [ "done1" ] , [] ) [] , Str "5" ] ]
+ ]
+ ]
+ , [ Plain [ Span ( "" , [ "done2" ] , [] ) [] , Str "3" ] ]
+ , [ Plain
+ [ Str "[]"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
+ ]
+ ]
+ , [ Plain
+ [ Str "["
+ , Space
+ , Str "]not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
+ ]
+ ]
+ , [ Plain
+ [ Str "[r]"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
+ ]
+ ]
+ , [ Plain
+ [ Str "["
+ , Space
+ , Str "]"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
+ ]
+ ]
+ , [ Plain
+ [ Span ( "" , [ "done2" ] , [] ) []
+ , Str "a"
+ , Space
+ , Str "tab"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "list"
+ , Space
+ , Str "marker"
+ , Space
+ , Code ( "" , [] , [] ) "[ ]"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Span ( "" , [ "done3" ] , [] ) []
+ , Str "4"
+ , SoftBreak
+ , Str "5"
+ ]
+ ]
+ , [ Plain [ Span ( "" , [ "done4" ] , [] ) [] ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Span ( "" , [ "done4" ] , [] ) []
+ , Str "task"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Header 2 ( "math" , [] , [] ) [ Str "math" ]
+ , Para [ Math InlineMath " \\sum_i a_i^2 = 1 " ]
+ , Para [ Math DisplayMath "\\sum_i a_i^2\n=\n1" ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{aligned}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{aligned}"
+ ]
+ , Para
+ [ Str "edge"
+ , Space
+ , Str "case"
+ , Space
+ , Str "(the"
+ , Space
+ , Code ( "" , [] , [] ) "c^2 + "
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "multline"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "equation):"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{gathered}\nc^2 + \na^2 + b^2\n\\end{gathered}"
+ ]
+ , Para
+ [ Str "edge"
+ , Space
+ , Str "case"
+ , Space
+ , Str "(the"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "is"
+ , Space
+ , Code ( "" , [] , [] ) "hello%bye"
+ , Str ")"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{hello%bye}\n\\int_a^b f(x) dx\n\\end{hello%bye}"
+ ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "two"
+ , Space
+ , Str "dollar"
+ , Space
+ , Str "signs:"
+ , Space
+ , Str "$$"
+ ]
+ , Para
+ [ Str "[not"
+ , Space
+ , Str "math]"
+ , Space
+ , Str "You"
+ , Space
+ , Str "have"
+ , Space
+ , Str "$1"
+ , SoftBreak
+ , Str "and"
+ , Space
+ , Str "I"
+ , Space
+ , Str "have"
+ , Space
+ , Str "$1."
+ ]
+ , Header 2 ( "tags" , [] , [] ) [ Str "tags" ]
+ , Para
+ [ Span ( "-tag-one" , [] , [] ) [ Str "" ]
+ , Span ( "tag-one" , [ "tag" ] , [] ) [ Str "tag-one" ]
+ , Space
+ , Span ( "-tag-two" , [] , [] ) [ Str "" ]
+ , Span ( "tag-two" , [ "tag" ] , [] ) [ Str "tag-two" ]
+ ]
+ , Header 2 ( "tables" , [] , [] ) [ Str "tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Year" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Temperature" , Space , Str "(low)" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Temperature" , Space , Str "(high)" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1900" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-10" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "25" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1910" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-15" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "30" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1920" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-10" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "32" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1930" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Emph [ Str "N/A" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Emph [ Str "N/A" ] ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1940" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 3
+ ( "centered headerless tables" , [] , [] )
+ [ Str "centered"
+ , Space
+ , Str "headerless"
+ , Space
+ , Str "tables"
+ ]
+ , Div
+ ( "" , [ "center" ] , [] )
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ , Header 2 ( "paragraphs" , [] , [] ) [ Str "paragraphs" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "first"
+ , Space
+ , Str "paragraph"
+ , SoftBreak
+ , Str "with"
+ , Space
+ , Str "two"
+ , Space
+ , Str "lines."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "second"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "two"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "after"
+ , Space
+ , Str "many"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ , Header
+ 2
+ ( "definition list" , [] , [] )
+ [ Str "definition" , Space , Str "list" ]
+ , DefinitionList
+ [ ( [ Str "Term" , Space , Str "1" ]
+ , [ [ Plain [ Str "Definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "Term" , Space , Str "2" ]
+ , [ [ Plain [ Str "Definition" , Space , Str "2" ] ]
+ , [ Plain [ Str "Definition" , Space , Str "3" ] ]
+ ]
+ )
+ , ( [ Str "Term"
+ , Space
+ , Str "::"
+ , Space
+ , Span ( "separated" , [] , [] ) []
+ , Strong [ Str "separated" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "::"
+ , Space
+ , Emph [ Str "double" , Space , Str "colons" ]
+ ]
+ , [ [ Plain [ Str "Def1" ] ] , [ Plain [ Str "Def2" ] ] ]
+ )
+ , ( [ Str "Term"
+ , Space
+ , Str "with"
+ , Space
+ , Str "lots"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "colons:::::::"
+ ]
+ , [ [ Plain [ Str "Definition" ] ] ]
+ )
+ , ( [ Str "::"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "::"
+ , Space
+ , Str "A"
+ , Space
+ , Str "term"
+ , Space
+ , Str "(rather"
+ , Space
+ , Str "than"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition)"
+ ]
+ , [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "Term"
+ , Space
+ , Str "Without"
+ , Space
+ , Str "definitions"
+ ]
+ , [ [] ]
+ )
+ , ( [ Str "Part"
+ , Space
+ , Str "::"
+ , Space
+ , Str "of"
+ , Space
+ , Str "::"
+ , Space
+ , Str "dt"
+ ]
+ , [ [ Plain
+ [ Str "part" , Space , Str "of" , Space , Str "::dd" ]
+ ]
+ ]
+ )
+ ]
+ , DefinitionList
+ [ ( []
+ , [ [ Plain
+ [ Str "Definition"
+ , Space
+ , Str "1"
+ , Space
+ , Str "without"
+ , Space
+ , Str "a"
+ , Space
+ , Str "term"
+ ]
+ ]
+ , [ Plain
+ [ Str "Definition"
+ , Space
+ , Str "2"
+ , Space
+ , Str "without"
+ , Space
+ , Str "a"
+ , Space
+ , Str "term"
+ ]
+ ]
+ ]
+ )
+ ]
+ , DefinitionList
+ [ ( [ Str "T1" ] , [ [ Plain [ Str "D1" ] ] ] ) ]
+ , Para [ Str "new" , Space , Str "paragraph" ]
+ , DefinitionList
+ [ ( [ Str "T1" ] , [ [ Plain [ Str "D1" ] ] ] ) ]
+ , Para [ Str "Not::Definition" ]
+ , Para [ Str "Not" , Space , Str "::Definition" ]
+ , Para [ Str "::Not" , Space , Str "definition" ]
+ , BlockQuote
+ [ Plain [ Str "::" , Space , Str "blockquote" ] ]
+ , BlockQuote
+ [ Plain
+ [ Str "block" , Space , Str "::" , Space , Str "quote" ]
+ ]
+ , Header
+ 2
+ ( "metadata placeholders" , [] , [] )
+ [ Str "metadata" , Space , Str "placeholders" ]
+ , Para
+ [ Str "%this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "placeholder"
+ ]
+ , Para
+ [ Str "placeholders"
+ , SoftBreak
+ , Str "serves"
+ , Space
+ , Str "as"
+ , Space
+ , Str "space"
+ , Space
+ , Str "/"
+ , Space
+ , Str "softbreak"
+ , Space
+ , Str "in"
+ , Space
+ , Str "paragraphs"
+ ]
+ , Header
+ 2
+ ( "sup, sub" , [] , [] )
+ [ Str "sup," , Space , Str "sub" ]
+ , Para [ Str "super" , Superscript [ Str "script" ] ]
+ , Para [ Str "sub" , Subscript [ Str "script" ] ]
+ , Header
+ 2
+ ( "the todo mark" , [] , [] )
+ [ Str "the" , Space , Str "todo" , Space , Str "mark" ]
+ , Para [ Span ( "" , [ "todo" ] , [] ) [ Str "TODO:" ] ]
+ , Header
+ 1
+ ( "not implemented yet" , [] , [] )
+ [ Emph
+ [ Span ( "not implemented yet" , [] , [] ) []
+ , Strong
+ [ Str "not"
+ , Space
+ , Str "implemented"
+ , Space
+ , Str "yet"
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "tables with spans" , [] , [] )
+ [ Str "tables" , Space , Str "with" , Space , Str "spans" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "g" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "h" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "tables with multiple lines of headers" , [] , [] )
+ [ Str "tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "of"
+ , Space
+ , Str "headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "---" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "---" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "some other placeholders" , [] , [] )
+ [ Str "some"
+ , Space
+ , Str "other"
+ , Space
+ , Str "placeholders"
+ ]
+ , Para
+ [ Code ( "" , [] , [] ) "template"
+ , Space
+ , Str "placeholder"
+ , Space
+ , Str "is"
+ , Space
+ , Str "ignored."
+ ]
+ , Para
+ [ Code ( "" , [] , [] ) "nohtml"
+ , Space
+ , Str "placeholder"
+ , Space
+ , Str "is"
+ , Space
+ , Str "ignored."
+ ]
+ ]
diff --git a/test/writer.asciidoc b/test/writer.asciidoc
index 61014ed69..f5fce08f7 100644
--- a/test/writer.asciidoc
+++ b/test/writer.asciidoc
@@ -431,8 +431,8 @@ Superscripts: a^bc^d a^_hello_^ a^hello there^.
Subscripts: H~2~O, H~23~O, H~many of them~O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
'''''
@@ -630,10 +630,10 @@ Here is a movie image:movie.jpg[movie] icon.
== Footnotes
-Here is a footnote reference,footnote:[Here is the footnote. It can go
-anywhere after the footnote reference. It need not be placed at the end of the
-document.] and another.[multiblock footnote omitted] This should _not_ be a
-footnote reference, because it contains a space.[^my note] Here is an inline
+Here is a footnote reference,footnote:[Here is the footnote. It can go anywhere
+after the footnote reference. It need not be placed at the end of the document.]
+and another.[multiblock footnote omitted] This should _not_ be a footnote
+reference, because it contains a space.[^my note] Here is an inline
note.footnote:[This is _easier_ to type. Inline notes may contain
http://google.com[links] and `]` verbatim characters, as well as [bracketed
text].]
diff --git a/test/writer.asciidoctor b/test/writer.asciidoctor
index 6e920990e..21ec18ec6 100644
--- a/test/writer.asciidoctor
+++ b/test/writer.asciidoctor
@@ -432,8 +432,8 @@ Superscripts: a^bc^d a^_hello_^ a^hello there^.
Subscripts: H~2~O, H~23~O, H~many of them~O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
'''''
@@ -447,8 +447,8 @@ spaces: a^b c^d, a~b c~d.
'`He said, "`I want to go.`"`' Were you alive in the 70’s?
-Here is some quoted '``+code+``' and a
-"`http://example.com/?foo=1&bar=2[quoted link]`".
+Here is some quoted '``+code+``' and a "`http://example.com/?foo=1&bar=2[quoted
+link]`".
Some dashes: one—two — three—four — five.
@@ -631,10 +631,10 @@ Here is a movie image:movie.jpg[movie] icon.
== Footnotes
-Here is a footnote reference,footnote:[Here is the footnote. It can go
-anywhere after the footnote reference. It need not be placed at the end of the
-document.] and another.[multiblock footnote omitted] This should _not_ be a
-footnote reference, because it contains a space.[^my note] Here is an inline
+Here is a footnote reference,footnote:[Here is the footnote. It can go anywhere
+after the footnote reference. It need not be placed at the end of the document.]
+and another.[multiblock footnote omitted] This should _not_ be a footnote
+reference, because it contains a space.[^my note] Here is an inline
note.footnote:[This is _easier_ to type. Inline notes may contain
http://google.com[links] and `+]+` verbatim characters, as well as [bracketed
text].]
diff --git a/test/writer.context b/test/writer.context
index 78667813b..ae45d1580 100644
--- a/test/writer.context
+++ b/test/writer.context
@@ -643,8 +643,8 @@ Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a\lettertilde{}b c\lettertilde{}d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a\lettertilde{}b c\lettertilde{}d.
\thinrule
@@ -878,10 +878,10 @@ Here is a movie {\externalfigure[movie.jpg]} icon.
\section[title={Footnotes},reference={footnotes}]
-Here is a footnote reference,\footnote{Here is the footnote. It can go
- anywhere after the footnote reference. It need not be placed at the end of
- the document.} and another.\startbuffer Here's the long note. This one
- contains multiple blocks.
+Here is a footnote reference,\footnote{Here is the footnote. It can go anywhere
+ after the footnote reference. It need not be placed at the end of the
+ document.} and another.\startbuffer Here's the long note. This one contains
+ multiple blocks.
Subsequent blocks are indented to show that they belong to the footnote (as
with list items).
diff --git a/test/writer.custom b/test/writer.custom
index 2cb398eb1..ce490f426 100644
--- a/test/writer.custom
+++ b/test/writer.custom
@@ -712,18 +712,18 @@ So is &lsquo;pine.&rsquo;</p>
<h2 id="autolinks">Autolinks</h2>
-<p>With an ampersand: <a href='http://example.com/?foo=1&amp;bar=2' title=''>http://example.com/?foo=1&amp;bar=2</a></p>
+<p>With an ampersand: <a href='http://example.com/?foo=1&amp;bar=2' title='' class="uri">http://example.com/?foo=1&amp;bar=2</a></p>
<ul>
<li>In a list?</li>
-<li><a href='http://example.com/' title=''>http://example.com/</a></li>
+<li><a href='http://example.com/' title='' class="uri">http://example.com/</a></li>
<li>It should.</li>
</ul>
-<p>An e-mail address: <a href='mailto:nobody@nowhere.net' title=''>nobody@nowhere.net</a></p>
+<p>An e-mail address: <a href='mailto:nobody@nowhere.net' title='' class="email">nobody@nowhere.net</a></p>
<blockquote>
-<p>Blockquoted: <a href='http://example.com/' title=''>http://example.com/</a></p>
+<p>Blockquoted: <a href='http://example.com/' title='' class="uri">http://example.com/</a></p>
</blockquote>
<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
@@ -736,10 +736,9 @@ So is &lsquo;pine.&rsquo;</p>
<p>From &ldquo;Voyage dans la Lune&rdquo; by Georges Melies (1902):</p>
-<div class="figure">
-<img src="lalune.jpg" title="fig:Voyage dans la Lune"/>
-<p class="caption">lalune</p>
-</div>
+<figure>
+<img src="lalune.jpg" id="" alt="lalune"/><figcaption>lalune</figcaption>
+</figure>
<p>Here is a movie <img src='movie.jpg' title=''/> icon.</p>
diff --git a/test/writer.docbook4 b/test/writer.docbook4
index 27d91a2f0..baf1937b5 100644
--- a/test/writer.docbook4
+++ b/test/writer.docbook4
@@ -66,8 +66,8 @@
</para>
<para>
In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked
- like a list item.
+ item. Because a hard-wrapped line in the middle of a paragraph looked like
+ a list item.
</para>
<para>
Here’s one with a bullet. * criminey.
@@ -1014,19 +1014,19 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<sect1 id="smart-quotes-ellipses-dashes">
<title>Smart quotes, ellipses, dashes</title>
<para>
- <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is
- my name.</quote>
+ <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
+ name.</quote>
</para>
<para>
<quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are letters.
</para>
<para>
- <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are
- names of trees. So is <quote>pine.</quote>
+ <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are names
+ of trees. So is <quote>pine.</quote>
</para>
<para>
- <quote>He said, <quote>I want to go.</quote></quote> Were you alive in
- the 70’s?
+ <quote>He said, <quote>I want to go.</quote></quote> Were you alive in the
+ 70’s?
</para>
<para>
Here is some quoted <quote><literal>code</literal></quote> and a
@@ -1366,8 +1366,8 @@ or here: &lt;http://example.com/&gt;
<para>
Here is a footnote reference,<footnote>
<para>
- Here is the footnote. It can go anywhere after the footnote
- reference. It need not be placed at the end of the document.
+ Here is the footnote. It can go anywhere after the footnote reference.
+ It need not be placed at the end of the document.
</para>
</footnote> and another.<footnote>
<para>
@@ -1384,14 +1384,12 @@ or here: &lt;http://example.com/&gt;
If you want, you can indent every line, but you can also be lazy and
just indent the first line of each block.
</para>
- </footnote> This should <emphasis>not</emphasis> be a footnote
- reference, because it contains a space.[^my note] Here is an inline
- note.<footnote>
+ </footnote> This should <emphasis>not</emphasis> be a footnote reference,
+ because it contains a space.[^my note] Here is an inline note.<footnote>
<para>
- This is <emphasis>easier</emphasis> to type. Inline notes may
- contain <ulink url="http://google.com">links</ulink> and
- <literal>]</literal> verbatim characters, as well as [bracketed
- text].
+ This is <emphasis>easier</emphasis> to type. Inline notes may contain
+ <ulink url="http://google.com">links</ulink> and <literal>]</literal>
+ verbatim characters, as well as [bracketed text].
</para>
</footnote>
</para>
diff --git a/test/writer.docbook5 b/test/writer.docbook5
index afee571fa..dd73803aa 100644
--- a/test/writer.docbook5
+++ b/test/writer.docbook5
@@ -68,8 +68,8 @@
</para>
<para>
In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked
- like a list item.
+ item. Because a hard-wrapped line in the middle of a paragraph looked like
+ a list item.
</para>
<para>
Here’s one with a bullet. * criminey.
@@ -989,19 +989,19 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<section xml:id="smart-quotes-ellipses-dashes">
<title>Smart quotes, ellipses, dashes</title>
<para>
- <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is
- my name.</quote>
+ <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
+ name.</quote>
</para>
<para>
<quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are letters.
</para>
<para>
- <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are
- names of trees. So is <quote>pine.</quote>
+ <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are names
+ of trees. So is <quote>pine.</quote>
</para>
<para>
- <quote>He said, <quote>I want to go.</quote></quote> Were you alive in
- the 70’s?
+ <quote>He said, <quote>I want to go.</quote></quote> Were you alive in the
+ 70’s?
</para>
<para>
Here is some quoted <quote><literal>code</literal></quote> and a
@@ -1266,8 +1266,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<link xlink:href="http://att.com/">AT&amp;T</link>.
</para>
<para>
- Here’s an <link xlink:href="/script?foo=1&amp;bar=2">inline
- link</link>.
+ Here’s an <link xlink:href="/script?foo=1&amp;bar=2">inline link</link>.
</para>
<para>
Here’s an <link xlink:href="/script?foo=1&amp;bar=2">inline link in
@@ -1342,8 +1341,8 @@ or here: &lt;http://example.com/&gt;
<para>
Here is a footnote reference,<footnote>
<para>
- Here is the footnote. It can go anywhere after the footnote
- reference. It need not be placed at the end of the document.
+ Here is the footnote. It can go anywhere after the footnote reference.
+ It need not be placed at the end of the document.
</para>
</footnote> and another.<footnote>
<para>
@@ -1360,14 +1359,12 @@ or here: &lt;http://example.com/&gt;
If you want, you can indent every line, but you can also be lazy and
just indent the first line of each block.
</para>
- </footnote> This should <emphasis>not</emphasis> be a footnote
- reference, because it contains a space.[^my note] Here is an inline
- note.<footnote>
+ </footnote> This should <emphasis>not</emphasis> be a footnote reference,
+ because it contains a space.[^my note] Here is an inline note.<footnote>
<para>
- This is <emphasis>easier</emphasis> to type. Inline notes may
- contain <link xlink:href="http://google.com">links</link> and
- <literal>]</literal> verbatim characters, as well as [bracketed
- text].
+ This is <emphasis>easier</emphasis> to type. Inline notes may contain
+ <link xlink:href="http://google.com">links</link> and
+ <literal>]</literal> verbatim characters, as well as [bracketed text].
</para>
</footnote>
</para>
diff --git a/test/writer.haddock b/test/writer.haddock
index fbe6c257b..82c45f358 100644
--- a/test/writer.haddock
+++ b/test/writer.haddock
@@ -1,7 +1,7 @@
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
markdown test suite.
-______________________________________________________________________________
+________________________________________________________________________________
= Headers
#headers#
@@ -34,7 +34,7 @@ with no blank line
with no blank line
-______________________________________________________________________________
+________________________________________________________________________________
= Paragraphs
#paragraphs#
@@ -50,7 +50,7 @@ Here’s one with a bullet. * criminey.
There should be a hard line break
here.
-______________________________________________________________________________
+________________________________________________________________________________
= Block Quotes
#block-quotes#
@@ -80,7 +80,7 @@ This should not be a block quote: 2 > 1.
And a following paragraph.
-______________________________________________________________________________
+________________________________________________________________________________
= Code Blocks
#code-blocks#
@@ -101,7 +101,7 @@ And:
>
> These should not be escaped: \$ \\ \> \[ \{
-______________________________________________________________________________
+________________________________________________________________________________
= Lists
#lists#
@@ -265,7 +265,7 @@ M.A. 2007
B. Williams
-______________________________________________________________________________
+________________________________________________________________________________
= Definition Lists
#definition-lists#
@@ -398,7 +398,7 @@ Code:
Hr’s:
-______________________________________________________________________________
+________________________________________________________________________________
= Inline Markup
#inline-markup#
@@ -425,10 +425,10 @@ Superscripts: abcd a/hello/ ahello there.
Subscripts: H2O, H23O, Hmany of themO.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
-______________________________________________________________________________
+________________________________________________________________________________
= Smart quotes, ellipses, dashes
#smart-quotes-ellipses-dashes#
@@ -450,7 +450,7 @@ Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and….
-______________________________________________________________________________
+________________________________________________________________________________
= LaTeX
#latex#
@@ -475,7 +475,7 @@ These shouldn’t be math:
Here’s a LaTeX table:
-______________________________________________________________________________
+________________________________________________________________________________
= Special Characters
#special-characters#
@@ -530,7 +530,7 @@ Plus: +
Minus: -
-______________________________________________________________________________
+________________________________________________________________________________
= Links
#links#
@@ -607,7 +607,7 @@ Auto-links should not occur here: @\<http:\/\/example.com\/>@
> or here: <http://example.com/>
-______________________________________________________________________________
+________________________________________________________________________________
= Images
#images#
@@ -618,14 +618,14 @@ From “Voyage dans la Lune” by Georges Melies (1902):
Here is a movie <<movie.jpg movie>> icon.
-______________________________________________________________________________
+________________________________________________________________________________
= Footnotes
#footnotes#
Here is a footnote reference,<#notes [1]> and another.<#notes [2]> This should
-/not/ be a footnote reference, because it contains a space.[^my note] Here is
-an inline note.<#notes [3]>
+/not/ be a footnote reference, because it contains a space.[^my note] Here is an
+inline note.<#notes [3]>
Notes can go in quotes.<#notes [4]>
@@ -640,17 +640,16 @@ This paragraph should not be part of the note, as it is not indented.
2. Here’s the long note. This one contains multiple blocks.
- Subsequent blocks are indented to show that they belong to the footnote
- (as with list items).
+ Subsequent blocks are indented to show that they belong to the footnote (as
+ with list items).
> { <code> }
If you want, you can indent every line, but you can also be lazy and just
indent the first line of each block.
-3. This is /easier/ to type. Inline notes may contain
- <http://google.com links> and @]@ verbatim characters, as well as
- [bracketed text].
+3. This is /easier/ to type. Inline notes may contain <http://google.com links>
+ and @]@ verbatim characters, as well as [bracketed text].
4. In quote.
diff --git a/test/writer.html4 b/test/writer.html4
index 215a1efb9..1e255fa70 100644
--- a/test/writer.html4
+++ b/test/writer.html4
@@ -156,10 +156,12 @@
<h2 class="author">Anonymous</h2>
<h3 class="date">July 17, 2006</h3>
</div>
-<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p>
+<p>This is a set of tests for pandoc. Most of them are adapted from John
+Gruber’s markdown test suite.</p>
<hr />
<h1 id="headers">Headers</h1>
-<h2 id="level-2-with-an-embedded-link">Level 2 with an <a href="/url">embedded link</a></h2>
+<h2 id="level-2-with-an-embedded-link">Level 2 with an <a href="/url">embedded
+link</a></h2>
<h3 id="level-3-with-emphasis">Level 3 with <em>emphasis</em></h3>
<h4 id="level-4">Level 4</h4>
<h5 id="level-5">Level 5</h5>
@@ -172,7 +174,9 @@
<hr />
<h1 id="paragraphs">Paragraphs</h1>
<p>Here’s a regular paragraph.</p>
-<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p>
+<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+Because a hard-wrapped line in the middle of a paragraph looked like a list
+item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break<br />
here.</p>
@@ -283,7 +287,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Multiple paragraphs:</p>
<ol style="list-style-type: decimal">
<li><p>Item 1, graf one.</p>
-<p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p></li>
+<p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s
+back.</p></li>
<li><p>Item 2.</p></li>
<li><p>Item 3.</p></li>
</ol>
@@ -371,47 +376,58 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Tight using spaces:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
<dt>banana</dt>
-<dd>yellow fruit
+<dd>
+yellow fruit
</dd>
</dl>
<p>Tight using tabs:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
<dt>banana</dt>
-<dd>yellow fruit
+<dd>
+yellow fruit
</dd>
</dl>
<p>Loose:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
</dd>
<dt>banana</dt>
-<dd><p>yellow fruit</p>
+<dd>
+<p>yellow fruit</p>
</dd>
</dl>
<p>Multiple blocks with italics:</p>
<dl>
<dt><em>apple</em></dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
<p>contains seeds, crisp, pleasant to taste</p>
</dd>
<dt><em>orange</em></dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
<pre><code>{ orange code block }</code></pre>
<blockquote>
<p>orange block quote</p>
@@ -421,38 +437,49 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Multiple definitions, tight:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
-<dd>computer
+<dd>
+computer
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
-<dd>bank
+<dd>
+bank
</dd>
</dl>
<p>Multiple definitions, loose:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
-<dd><p>computer</p>
+<dd>
+<p>computer</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
</dd>
-<dd><p>bank</p>
+<dd>
+<p>bank</p>
</dd>
</dl>
<p>Blank line after term, indented marker, alternate markers:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
-<dd><p>computer</p>
+<dd>
+<p>computer</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
<ol style="list-style-type: decimal">
<li>sublist</li>
<li>sublist</li>
@@ -540,18 +567,22 @@ Blah
<p>So is <strong><em>this</em></strong> word.</p>
<p><strong><em>This is strong and em.</em></strong></p>
<p>So is <strong><em>this</em></strong> word.</p>
-<p>This is code: <code>&gt;</code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code>&lt;html&gt;</code>.</p>
+<p>This is code: <code>&gt;</code>, <code>$</code>, <code>\</code>,
+<code>\$</code>, <code>&lt;html&gt;</code>.</p>
<p><del>This is <em>strikeout</em>.</del></p>
-<p>Superscripts: a<sup>bc</sup>d a<sup><em>hello</em></sup> a<sup>hello there</sup>.</p>
+<p>Superscripts: a<sup>bc</sup>d a<sup><em>hello</em></sup>
+a<sup>hello there</sup>.</p>
<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
-<p>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p>
+<p>These should not be superscripts or subscripts, because of the unescaped
+spaces: a^b c^d, a~b c~d.</p>
<hr />
<h1 id="smart-quotes-ellipses-dashes">Smart quotes, ellipses, dashes</h1>
<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
<p>‘A’, ‘B’, and ‘C’ are letters.</p>
<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
-<p>Here is some quoted ‘<code>code</code>’ and a “<a href="http://example.com/?foo=1&amp;bar=2">quoted link</a>”.</p>
+<p>Here is some quoted ‘<code>code</code>’ and a “<a
+href="http://example.com/?foo=1&amp;bar=2">quoted link</a>”.</p>
<p>Some dashes: one—two — three—four — five.</p>
<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
<p>Ellipses…and…and….</p>
@@ -564,13 +595,16 @@ Blah
<li><span class="math inline"><em>α</em> ∧ <em>ω</em></span></li>
<li><span class="math inline">223</span></li>
<li><span class="math inline"><em>p</em></span>-Tree</li>
-<li>Here’s some display math: <span class="math display">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span></li>
-<li>Here’s one that has a line break in it: <span class="math inline"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li>
+<li>Here’s some display math: <span class="math
+display">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span></li>
+<li>Here’s one that has a line break in it: <span class="math
+inline"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li>
</ul>
<p>These shouldn’t be math:</p>
<ul>
<li>To get the famous equation, write <code>$e = mc^2$</code>.</li>
-<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if “lot” is emphasized.)</li>
+<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if “lot” is
+emphasized.)</li>
<li>Shoes ($20) and socks ($5).</li>
<li>Escaped <code>$</code>: $73 <em>this should be emphasized</em> 23$.</li>
</ul>
@@ -613,7 +647,8 @@ Blah
<p><a href="/url/" title="title">URL and title</a>.</p>
<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
-<p><a href="/url/" title="title with &quot;quotes&quot; in it">URL and title</a></p>
+<p><a href="/url/" title="title with &quot;quotes&quot; in it">URL and
+title</a></p>
<p><a href="/url/" title="title with single quotes">URL and title</a></p>
<p><a href="/url/with_underscore">with_underscore</a></p>
<p><a href="mailto:nobody@nowhere.net">Email link</a></p>
@@ -630,22 +665,29 @@ Blah
<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
<p>Foo <a href="/url/" title="Title with &quot;quote&quot; inside">biz</a>.</p>
<h2 id="with-ampersands">With ampersands</h2>
-<p>Here’s a <a href="http://example.com/?foo=1&amp;bar=2">link with an ampersand in the URL</a>.</p>
-<p>Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&amp;T">AT&amp;T</a>.</p>
+<p>Here’s a <a href="http://example.com/?foo=1&amp;bar=2">link with an ampersand
+in the URL</a>.</p>
+<p>Here’s a link with an amersand in the link text: <a href="http://att.com/"
+title="AT&amp;T">AT&amp;T</a>.</p>
<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link</a>.</p>
-<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link in pointy braces</a>.</p>
+<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link in pointy
+braces</a>.</p>
<h2 id="autolinks">Autolinks</h2>
-<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2" class="uri">http://example.com/?foo=1&amp;bar=2</a></p>
+<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2"
+class="uri">http://example.com/?foo=1&amp;bar=2</a></p>
<ul>
<li>In a list?</li>
<li><a href="http://example.com/" class="uri">http://example.com/</a></li>
<li>It should.</li>
</ul>
-<p>An e-mail address: <a href="mailto:nobody@nowhere.net" class="email">nobody@nowhere.net</a></p>
+<p>An e-mail address: <a href="mailto:nobody@nowhere.net"
+class="email">nobody@nowhere.net</a></p>
<blockquote>
-<p>Blockquoted: <a href="http://example.com/" class="uri">http://example.com/</a></p>
+<p>Blockquoted: <a href="http://example.com/"
+class="uri">http://example.com/</a></p>
</blockquote>
-<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
+<p>Auto-links should not occur here:
+<code>&lt;http://example.com/&gt;</code></p>
<pre><code>or here: &lt;http://example.com/&gt;</code></pre>
<hr />
<h1 id="images">Images</h1>
@@ -657,23 +699,36 @@ Blah
<p>Here is a movie <img src="movie.jpg" alt="movie" /> icon.</p>
<hr />
<h1 id="footnotes">Footnotes</h1>
-<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref" id="fnref2"><sup>2</sup></a> This should <em>not</em> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a></p>
+<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref"
+id="fnref1"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref"
+id="fnref2"><sup>2</sup></a> This should <em>not</em> be a footnote reference,
+because it contains a space.[^my note] Here is an inline note.<a href="#fn3"
+class="footnote-ref" id="fnref3"><sup>3</sup></a></p>
<blockquote>
-<p>Notes can go in quotes.<a href="#fn4" class="footnote-ref" id="fnref4"><sup>4</sup></a></p>
+<p>Notes can go in quotes.<a href="#fn4" class="footnote-ref"
+id="fnref4"><sup>4</sup></a></p>
</blockquote>
<ol style="list-style-type: decimal">
-<li>And in list items.<a href="#fn5" class="footnote-ref" id="fnref5"><sup>5</sup></a></li>
+<li>And in list items.<a href="#fn5" class="footnote-ref"
+id="fnref5"><sup>5</sup></a></li>
</ol>
<p>This paragraph should not be part of the note, as it is not indented.</p>
-<div class="footnotes">
+<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
-<li id="fn1"><p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
+<li id="fn1"><p>Here is the footnote. It can go anywhere after the footnote
+reference. It need not be placed at the end of the document.<a href="#fnref1"
+class="footnote-back">↩︎</a></p></li>
<li id="fn2"><p>Here’s the long note. This one contains multiple blocks.</p>
-<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
+<p>Subsequent blocks are indented to show that they belong to the footnote (as
+with list items).</p>
<pre><code> { &lt;code&gt; }</code></pre>
-<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.<a href="#fnref2" class="footnote-back">↩︎</a></p></li>
-<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters, as well as [bracketed text].<a href="#fnref3" class="footnote-back">↩︎</a></p></li>
+<p>If you want, you can indent every line, but you can also be lazy and just
+indent the first line of each block.<a href="#fnref2"
+class="footnote-back">↩︎</a></p></li>
+<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a
+href="http://google.com">links</a> and <code>]</code> verbatim characters, as
+well as [bracketed text].<a href="#fnref3" class="footnote-back">↩︎</a></p></li>
<li id="fn4"><p>In quote.<a href="#fnref4" class="footnote-back">↩︎</a></p></li>
<li id="fn5"><p>In list.<a href="#fnref5" class="footnote-back">↩︎</a></p></li>
</ol>
diff --git a/test/writer.html5 b/test/writer.html5
index 387df4058..d8e89b3e2 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -159,10 +159,12 @@
<p class="author">Anonymous</p>
<p class="date">July 17, 2006</p>
</header>
-<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p>
+<p>This is a set of tests for pandoc. Most of them are adapted from John
+Gruber’s markdown test suite.</p>
<hr />
<h1 id="headers">Headers</h1>
-<h2 id="level-2-with-an-embedded-link">Level 2 with an <a href="/url">embedded link</a></h2>
+<h2 id="level-2-with-an-embedded-link">Level 2 with an <a href="/url">embedded
+link</a></h2>
<h3 id="level-3-with-emphasis">Level 3 with <em>emphasis</em></h3>
<h4 id="level-4">Level 4</h4>
<h5 id="level-5">Level 5</h5>
@@ -175,7 +177,9 @@
<hr />
<h1 id="paragraphs">Paragraphs</h1>
<p>Here’s a regular paragraph.</p>
-<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p>
+<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+Because a hard-wrapped line in the middle of a paragraph looked like a list
+item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break<br />
here.</p>
@@ -286,7 +290,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Multiple paragraphs:</p>
<ol type="1">
<li><p>Item 1, graf one.</p>
-<p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p></li>
+<p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s
+back.</p></li>
<li><p>Item 2.</p></li>
<li><p>Item 3.</p></li>
</ol>
@@ -374,47 +379,58 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Tight using spaces:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
<dt>banana</dt>
-<dd>yellow fruit
+<dd>
+yellow fruit
</dd>
</dl>
<p>Tight using tabs:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
<dt>banana</dt>
-<dd>yellow fruit
+<dd>
+yellow fruit
</dd>
</dl>
<p>Loose:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
</dd>
<dt>banana</dt>
-<dd><p>yellow fruit</p>
+<dd>
+<p>yellow fruit</p>
</dd>
</dl>
<p>Multiple blocks with italics:</p>
<dl>
<dt><em>apple</em></dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
<p>contains seeds, crisp, pleasant to taste</p>
</dd>
<dt><em>orange</em></dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
<pre><code>{ orange code block }</code></pre>
<blockquote>
<p>orange block quote</p>
@@ -424,38 +440,49 @@ These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<p>Multiple definitions, tight:</p>
<dl>
<dt>apple</dt>
-<dd>red fruit
+<dd>
+red fruit
</dd>
-<dd>computer
+<dd>
+computer
</dd>
<dt>orange</dt>
-<dd>orange fruit
+<dd>
+orange fruit
</dd>
-<dd>bank
+<dd>
+bank
</dd>
</dl>
<p>Multiple definitions, loose:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
-<dd><p>computer</p>
+<dd>
+<p>computer</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
</dd>
-<dd><p>bank</p>
+<dd>
+<p>bank</p>
</dd>
</dl>
<p>Blank line after term, indented marker, alternate markers:</p>
<dl>
<dt>apple</dt>
-<dd><p>red fruit</p>
+<dd>
+<p>red fruit</p>
</dd>
-<dd><p>computer</p>
+<dd>
+<p>computer</p>
</dd>
<dt>orange</dt>
-<dd><p>orange fruit</p>
+<dd>
+<p>orange fruit</p>
<ol type="1">
<li>sublist</li>
<li>sublist</li>
@@ -543,18 +570,22 @@ Blah
<p>So is <strong><em>this</em></strong> word.</p>
<p><strong><em>This is strong and em.</em></strong></p>
<p>So is <strong><em>this</em></strong> word.</p>
-<p>This is code: <code>&gt;</code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code>&lt;html&gt;</code>.</p>
+<p>This is code: <code>&gt;</code>, <code>$</code>, <code>\</code>,
+<code>\$</code>, <code>&lt;html&gt;</code>.</p>
<p><del>This is <em>strikeout</em>.</del></p>
-<p>Superscripts: a<sup>bc</sup>d a<sup><em>hello</em></sup> a<sup>hello there</sup>.</p>
+<p>Superscripts: a<sup>bc</sup>d a<sup><em>hello</em></sup>
+a<sup>hello there</sup>.</p>
<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
-<p>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p>
+<p>These should not be superscripts or subscripts, because of the unescaped
+spaces: a^b c^d, a~b c~d.</p>
<hr />
<h1 id="smart-quotes-ellipses-dashes">Smart quotes, ellipses, dashes</h1>
<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
<p>‘A’, ‘B’, and ‘C’ are letters.</p>
<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
-<p>Here is some quoted ‘<code>code</code>’ and a “<a href="http://example.com/?foo=1&amp;bar=2">quoted link</a>”.</p>
+<p>Here is some quoted ‘<code>code</code>’ and a “<a
+href="http://example.com/?foo=1&amp;bar=2">quoted link</a>”.</p>
<p>Some dashes: one—two — three—four — five.</p>
<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
<p>Ellipses…and…and….</p>
@@ -567,13 +598,16 @@ Blah
<li><span class="math inline"><em>α</em> ∧ <em>ω</em></span></li>
<li><span class="math inline">223</span></li>
<li><span class="math inline"><em>p</em></span>-Tree</li>
-<li>Here’s some display math: <span class="math display">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span></li>
-<li>Here’s one that has a line break in it: <span class="math inline"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li>
+<li>Here’s some display math: <span class="math
+display">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span></li>
+<li>Here’s one that has a line break in it: <span class="math
+inline"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li>
</ul>
<p>These shouldn’t be math:</p>
<ul>
<li>To get the famous equation, write <code>$e = mc^2$</code>.</li>
-<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if “lot” is emphasized.)</li>
+<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if “lot” is
+emphasized.)</li>
<li>Shoes ($20) and socks ($5).</li>
<li>Escaped <code>$</code>: $73 <em>this should be emphasized</em> 23$.</li>
</ul>
@@ -616,7 +650,8 @@ Blah
<p><a href="/url/" title="title">URL and title</a>.</p>
<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
-<p><a href="/url/" title="title with &quot;quotes&quot; in it">URL and title</a></p>
+<p><a href="/url/" title="title with &quot;quotes&quot; in it">URL and
+title</a></p>
<p><a href="/url/" title="title with single quotes">URL and title</a></p>
<p><a href="/url/with_underscore">with_underscore</a></p>
<p><a href="mailto:nobody@nowhere.net">Email link</a></p>
@@ -633,51 +668,78 @@ Blah
<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
<p>Foo <a href="/url/" title="Title with &quot;quote&quot; inside">biz</a>.</p>
<h2 id="with-ampersands">With ampersands</h2>
-<p>Here’s a <a href="http://example.com/?foo=1&amp;bar=2">link with an ampersand in the URL</a>.</p>
-<p>Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&amp;T">AT&amp;T</a>.</p>
+<p>Here’s a <a href="http://example.com/?foo=1&amp;bar=2">link with an ampersand
+in the URL</a>.</p>
+<p>Here’s a link with an amersand in the link text: <a href="http://att.com/"
+title="AT&amp;T">AT&amp;T</a>.</p>
<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link</a>.</p>
-<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link in pointy braces</a>.</p>
+<p>Here’s an <a href="/script?foo=1&amp;bar=2">inline link in pointy
+braces</a>.</p>
<h2 id="autolinks">Autolinks</h2>
-<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2" class="uri">http://example.com/?foo=1&amp;bar=2</a></p>
+<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2"
+class="uri">http://example.com/?foo=1&amp;bar=2</a></p>
<ul>
<li>In a list?</li>
<li><a href="http://example.com/" class="uri">http://example.com/</a></li>
<li>It should.</li>
</ul>
-<p>An e-mail address: <a href="mailto:nobody@nowhere.net" class="email">nobody@nowhere.net</a></p>
+<p>An e-mail address: <a href="mailto:nobody@nowhere.net"
+class="email">nobody@nowhere.net</a></p>
<blockquote>
-<p>Blockquoted: <a href="http://example.com/" class="uri">http://example.com/</a></p>
+<p>Blockquoted: <a href="http://example.com/"
+class="uri">http://example.com/</a></p>
</blockquote>
-<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
+<p>Auto-links should not occur here:
+<code>&lt;http://example.com/&gt;</code></p>
<pre><code>or here: &lt;http://example.com/&gt;</code></pre>
<hr />
<h1 id="images">Images</h1>
<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
<figure>
-<img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune" /><figcaption aria-hidden="true">lalune</figcaption>
+<img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune" />
+<figcaption aria-hidden="true">lalune</figcaption>
</figure>
<p>Here is a movie <img src="movie.jpg" alt="movie" /> icon.</p>
<hr />
<h1 id="footnotes">Footnotes</h1>
-<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a> This should <em>not</em> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnote-ref" id="fnref3" role="doc-noteref"><sup>3</sup></a></p>
+<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1"
+role="doc-noteref"><sup>1</sup></a> and another.<a href="#fn2"
+class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a> This should
+<em>not</em> be a footnote reference, because it contains a space.[^my note]
+Here is an inline note.<a href="#fn3" class="footnote-ref" id="fnref3"
+role="doc-noteref"><sup>3</sup></a></p>
<blockquote>
-<p>Notes can go in quotes.<a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a></p>
+<p>Notes can go in quotes.<a href="#fn4" class="footnote-ref" id="fnref4"
+role="doc-noteref"><sup>4</sup></a></p>
</blockquote>
<ol type="1">
-<li>And in list items.<a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a></li>
+<li>And in list items.<a href="#fn5" class="footnote-ref" id="fnref5"
+role="doc-noteref"><sup>5</sup></a></li>
</ol>
<p>This paragraph should not be part of the note, as it is not indented.</p>
-<section class="footnotes" role="doc-endnotes">
+<section class="footnotes footnotes-end-of-document" role="doc-endnotes">
<hr />
<ol>
-<li id="fn1" role="doc-endnote"><p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
-<li id="fn2" role="doc-endnote"><p>Here’s the long note. This one contains multiple blocks.</p>
-<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
+<li id="fn1" role="doc-endnote"><p>Here is the footnote. It can go anywhere
+after the footnote reference. It need not be placed at the end of the
+document.<a href="#fnref1" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
+<li id="fn2" role="doc-endnote"><p>Here’s the long note. This one contains
+multiple blocks.</p>
+<p>Subsequent blocks are indented to show that they belong to the footnote (as
+with list items).</p>
<pre><code> { &lt;code&gt; }</code></pre>
-<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
-<li id="fn3" role="doc-endnote"><p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters, as well as [bracketed text].<a href="#fnref3" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
-<li id="fn4" role="doc-endnote"><p>In quote.<a href="#fnref4" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
-<li id="fn5" role="doc-endnote"><p>In list.<a href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<p>If you want, you can indent every line, but you can also be lazy and just
+indent the first line of each block.<a href="#fnref2" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
+<li id="fn3" role="doc-endnote"><p>This is <em>easier</em> to type. Inline notes
+may contain <a href="http://google.com">links</a> and <code>]</code> verbatim
+characters, as well as [bracketed text].<a href="#fnref3" class="footnote-back"
+role="doc-backlink">↩︎</a></p></li>
+<li id="fn4" role="doc-endnote"><p>In quote.<a href="#fnref4"
+class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn5" role="doc-endnote"><p>In list.<a href="#fnref5"
+class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</body>
diff --git a/test/writer.jats_archiving b/test/writer.jats_archiving
index 70e15b6b8..cc9cdb323 100644
--- a/test/writer.jats_archiving
+++ b/test/writer.jats_archiving
@@ -68,9 +68,9 @@ Gruber’s markdown test suite.</p>
<sec id="paragraphs">
<title>Paragraphs</title>
<p>Here’s a regular paragraph.</p>
- <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked like a
- list item.</p>
+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+ Because a hard-wrapped line in the middle of a paragraph looked like a list
+ item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break
here.</p>
@@ -634,8 +634,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p><strike>This is <italic>strikeout</italic>.</strike></p>
<p>Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
a<sup>hello there</sup>.</p>
- <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O,
- H<sub>many of them</sub>O.</p>
+ <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
<p>These should not be superscripts or subscripts, because of the unescaped
spaces: a^b c^d, a~b c~d.</p>
</sec>
@@ -689,8 +688,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:mo>lim</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>→</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mrow></mml:math></alternatives></disp-formula></p>
</list-item>
<list-item>
- <p>Here’s one that has a line break in it:
- <inline-formula><alternatives>
+ <p>Here’s one that has a line break in it: <inline-formula><alternatives>
<tex-math><![CDATA[\alpha + \omega \times x^2]]></tex-math>
<mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>ω</mml:mi><mml:mo>×</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.</p>
</list-item>
@@ -780,8 +778,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
</sec>
<sec id="reference">
<title>Reference</title>
- <p>Foo
- <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
+ <p>Foo <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
<p>With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
[brackets]</ext-link>.</p>
<p><ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
@@ -853,9 +850,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<title>Footnotes</title>
<p>Here is a footnote reference,<xref ref-type="fn" rid="fn1">1</xref> and
another.<xref ref-type="fn" rid="fn2">2</xref> This should
- <italic>not</italic> be a footnote reference, because it contains a
- space.[^my note] Here is an inline
- note.<xref ref-type="fn" rid="fn3">3</xref></p>
+ <italic>not</italic> be a footnote reference, because it contains a space.[^my
+ note] Here is an inline note.<xref ref-type="fn" rid="fn3">3</xref></p>
<disp-quote>
<p>Notes can go in quotes.<xref ref-type="fn" rid="fn4">4</xref></p>
</disp-quote>
@@ -881,12 +877,12 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p specific-use="wrapper">
<preformat> { &lt;code&gt; }</preformat>
</p>
- <p>If you want, you can indent every line, but you can also be lazy and
- just indent the first line of each block.</p>
+ <p>If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.</p>
</fn>
<fn id="fn3">
- <label>3</label><p>This is <italic>easier</italic> to type. Inline notes
- may contain
+ <label>3</label><p>This is <italic>easier</italic> to type. Inline notes may
+ contain
<ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
and <monospace>]</monospace> verbatim characters, as well as [bracketed
text].</p>
diff --git a/test/writer.jats_articleauthoring b/test/writer.jats_articleauthoring
index 59485a114..c2bddccb6 100644
--- a/test/writer.jats_articleauthoring
+++ b/test/writer.jats_articleauthoring
@@ -57,9 +57,9 @@ Gruber’s markdown test suite.</p>
<sec id="paragraphs">
<title>Paragraphs</title>
<p>Here’s a regular paragraph.</p>
- <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked like a
- list item.</p>
+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+ Because a hard-wrapped line in the middle of a paragraph looked like a list
+ item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break
here.</p>
@@ -631,8 +631,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p><strike>This is <italic>strikeout</italic>.</strike></p>
<p>Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
a<sup>hello there</sup>.</p>
- <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O,
- H<sub>many of them</sub>O.</p>
+ <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
<p>These should not be superscripts or subscripts, because of the unescaped
spaces: a^b c^d, a~b c~d.</p>
</sec>
@@ -764,8 +763,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
</sec>
<sec id="reference">
<title>Reference</title>
- <p>Foo
- <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
+ <p>Foo <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
<p>With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
[brackets]</ext-link>.</p>
<p><ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
@@ -836,8 +834,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<sec id="footnotes">
<title>Footnotes</title>
<p>Here is a footnote reference,<fn>
- <p>Here is the footnote. It can go anywhere after the footnote reference.
- It need not be placed at the end of the document.</p>
+ <p>Here is the footnote. It can go anywhere after the footnote reference. It
+ need not be placed at the end of the document.</p>
</fn> and another.<fn>
<p>Here’s the long note. This one contains multiple blocks.</p>
<p>Subsequent blocks are indented to show that they belong to the footnote
@@ -845,8 +843,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p specific-use="wrapper">
<preformat> { &lt;code&gt; }</preformat>
</p>
- <p>If you want, you can indent every line, but you can also be lazy and
- just indent the first line of each block.</p>
+ <p>If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.</p>
</fn> This should <italic>not</italic> be a footnote reference, because it
contains a space.[^my note] Here is an inline note.<fn>
<p>This is <italic>easier</italic> to type. Inline notes may contain
diff --git a/test/writer.jats_publishing b/test/writer.jats_publishing
index e6db4172a..3d4f8ddb3 100644
--- a/test/writer.jats_publishing
+++ b/test/writer.jats_publishing
@@ -68,9 +68,9 @@ Gruber’s markdown test suite.</p>
<sec id="paragraphs">
<title>Paragraphs</title>
<p>Here’s a regular paragraph.</p>
- <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked like a
- list item.</p>
+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+ Because a hard-wrapped line in the middle of a paragraph looked like a list
+ item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break
here.</p>
@@ -634,8 +634,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p><strike>This is <italic>strikeout</italic>.</strike></p>
<p>Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
a<sup>hello there</sup>.</p>
- <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O,
- H<sub>many of them</sub>O.</p>
+ <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
<p>These should not be superscripts or subscripts, because of the unescaped
spaces: a^b c^d, a~b c~d.</p>
</sec>
@@ -689,8 +688,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:mo>lim</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>→</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mrow></mml:math></alternatives></disp-formula></p>
</list-item>
<list-item>
- <p>Here’s one that has a line break in it:
- <inline-formula><alternatives>
+ <p>Here’s one that has a line break in it: <inline-formula><alternatives>
<tex-math><![CDATA[\alpha + \omega \times x^2]]></tex-math>
<mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>ω</mml:mi><mml:mo>×</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.</p>
</list-item>
@@ -780,8 +778,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
</sec>
<sec id="reference">
<title>Reference</title>
- <p>Foo
- <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
+ <p>Foo <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
<p>With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
[brackets]</ext-link>.</p>
<p><ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
@@ -853,9 +850,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<title>Footnotes</title>
<p>Here is a footnote reference,<xref ref-type="fn" rid="fn1">1</xref> and
another.<xref ref-type="fn" rid="fn2">2</xref> This should
- <italic>not</italic> be a footnote reference, because it contains a
- space.[^my note] Here is an inline
- note.<xref ref-type="fn" rid="fn3">3</xref></p>
+ <italic>not</italic> be a footnote reference, because it contains a space.[^my
+ note] Here is an inline note.<xref ref-type="fn" rid="fn3">3</xref></p>
<disp-quote>
<p>Notes can go in quotes.<xref ref-type="fn" rid="fn4">4</xref></p>
</disp-quote>
@@ -881,12 +877,12 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<p specific-use="wrapper">
<preformat> { &lt;code&gt; }</preformat>
</p>
- <p>If you want, you can indent every line, but you can also be lazy and
- just indent the first line of each block.</p>
+ <p>If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.</p>
</fn>
<fn id="fn3">
- <label>3</label><p>This is <italic>easier</italic> to type. Inline notes
- may contain
+ <label>3</label><p>This is <italic>easier</italic> to type. Inline notes may
+ contain
<ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
and <monospace>]</monospace> verbatim characters, as well as [bracketed
text].</p>
diff --git a/test/writer.latex b/test/writer.latex
index abf772df4..a89078b31 100644
--- a/test/writer.latex
+++ b/test/writer.latex
@@ -711,8 +711,8 @@ a\textsuperscript{hello~there}.
Subscripts: H\textsubscript{2}O, H\textsubscript{23}O,
H\textsubscript{many~of~them}O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a\^{}b c\^{}d, a\textasciitilde b c\textasciitilde d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a\^{}b c\^{}d, a\textasciitilde b c\textasciitilde d.
\begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}
@@ -905,8 +905,7 @@ Foo \href{/url/}{biz}.
Here's a \href{http://example.com/?foo=1\&bar=2}{link with an ampersand in the
URL}.
-Here's a link with an amersand in the link text:
-\href{http://att.com/}{AT\&T}.
+Here's a link with an amersand in the link text: \href{http://att.com/}{AT\&T}.
Here's an \href{/script?foo=1\&bar=2}{inline link}.
@@ -961,9 +960,9 @@ Here is a movie \includegraphics{movie.jpg} icon.
\hypertarget{footnotes}{%
\section{Footnotes}\label{footnotes}}
-Here is a footnote reference,\footnote{Here is the footnote. It can go
- anywhere after the footnote reference. It need not be placed at the end of
- the document.} and another.\footnote{Here's the long note. This one contains
+Here is a footnote reference,\footnote{Here is the footnote. It can go anywhere
+ after the footnote reference. It need not be placed at the end of the
+ document.} and another.\footnote{Here's the long note. This one contains
multiple blocks.
Subsequent blocks are indented to show that they belong to the footnote (as
@@ -977,8 +976,8 @@ Here is a footnote reference,\footnote{Here is the footnote. It can go
indent the first line of each block.} This should \emph{not} be a footnote
reference, because it contains a space.{[}\^{}my note{]} Here is an inline
note.\footnote{This is \emph{easier} to type. Inline notes may contain
- \href{http://google.com}{links} and \texttt{{]}} verbatim characters, as
- well as {[}bracketed text{]}.}
+ \href{http://google.com}{links} and \texttt{{]}} verbatim characters, as well
+ as {[}bracketed text{]}.}
\begin{quote}
Notes can go in quotes.\footnote{In quote.}
diff --git a/test/writer.man b/test/writer.man
index d3f1dfe14..d1d3cfd33 100644
--- a/test/writer.man
+++ b/test/writer.man
@@ -496,8 +496,8 @@ Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\ there^.
.PP
Subscripts: H~2~O, H~23~O, H~many\ of\ them~O.
.PP
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
.PP
* * * * *
.SH Smart quotes, ellipses, dashes
@@ -706,9 +706,9 @@ Here is a movie [IMAGE: movie] icon.
* * * * *
.SH Footnotes
.PP
-Here is a footnote reference,[1] and another.[2] This should \f[I]not\f[R] be
-a footnote reference, because it contains a space.[\[ha]my note] Here is an
-inline note.[3]
+Here is a footnote reference,[1] and another.[2] This should \f[I]not\f[R] be a
+footnote reference, because it contains a space.[\[ha]my note] Here is an inline
+note.[3]
.RS
.PP
Notes can go in quotes.[4]
@@ -728,8 +728,8 @@ It need not be placed at the end of the document.
Here\[cq]s the long note.
This one contains multiple blocks.
.PP
-Subsequent blocks are indented to show that they belong to the footnote (as
-with list items).
+Subsequent blocks are indented to show that they belong to the footnote (as with
+list items).
.IP
.nf
\f[C]
@@ -737,8 +737,8 @@ with list items).
\f[R]
.fi
.PP
-If you want, you can indent every line, but you can also be lazy and just
-indent the first line of each block.
+If you want, you can indent every line, but you can also be lazy and just indent
+the first line of each block.
.SS [3]
.PP
This is \f[I]easier\f[R] to type.
diff --git a/test/writer.markdown b/test/writer.markdown
index 6a149882c..375e1b864 100644
--- a/test/writer.markdown
+++ b/test/writer.markdown
@@ -9,7 +9,7 @@ title: Pandoc Test Suite
This is a set of tests for pandoc. Most of them are adapted from John Gruber's
markdown test suite.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Headers
@@ -33,7 +33,7 @@ with no blank line
with no blank line
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Paragraphs
@@ -48,7 +48,7 @@ Here's one with a bullet. \* criminey.
There should be a hard line break\
here.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Block Quotes
@@ -77,7 +77,7 @@ This should not be a block quote: 2 \> 1.
And a following paragraph.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Code Blocks
@@ -97,7 +97,7 @@ And:
These should not be escaped: \$ \\ \> \[ \{
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Lists
@@ -254,7 +254,7 @@ M.A. 2007
B. Williams
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Definition Lists
@@ -507,7 +507,7 @@ Hr's:
<hr class="foo" id="bar">
```
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Inline Markup
@@ -533,10 +533,10 @@ Superscripts: a^bc^d a^*hello*^ a^hello there^.
Subscripts: H~2~O, H~23~O, H~many of them~O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a\^b c\^d, a\~b c\~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a\^b c\^d, a\~b c\~d.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Smart quotes, ellipses, dashes
@@ -557,7 +557,7 @@ Dashes between numbers: 5--7, 255--66, 1987--1999.
Ellipses...and...and....
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# LaTeX
@@ -589,7 +589,7 @@ Cat & 1 \\ \hline
\end{tabular}
```
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Special Characters
@@ -643,7 +643,7 @@ Plus: +
Minus: -
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Links
@@ -693,8 +693,7 @@ Foo [biz](/url/ "Title with "quote" inside").
Here's a [link with an ampersand in the URL](http://example.com/?foo=1&bar=2).
-Here's a link with an amersand in the link text:
-[AT&T](http://att.com/ "AT&T").
+Here's a link with an amersand in the link text: [AT&T](http://att.com/ "AT&T").
Here's an [inline link](/script?foo=1&bar=2).
@@ -716,7 +715,7 @@ Auto-links should not occur here: `<http://example.com/>`
or here: <http://example.com/>
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Images
@@ -726,13 +725,13 @@ From "Voyage dans la Lune" by Georges Melies (1902):
Here is a movie ![movie](movie.jpg) icon.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
# Footnotes
Here is a footnote reference,[^1] and another.[^2] This should *not* be a
-footnote reference, because it contains a space.\[\^my note\] Here is an
-inline note.[^3]
+footnote reference, because it contains a space.\[\^my note\] Here is an inline
+note.[^3]
> Notes can go in quotes.[^4]
@@ -740,13 +739,13 @@ inline note.[^3]
This paragraph should not be part of the note, as it is not indented.
-[^1]: Here is the footnote. It can go anywhere after the footnote reference.
- It need not be placed at the end of the document.
+[^1]: Here is the footnote. It can go anywhere after the footnote reference. It
+ need not be placed at the end of the document.
[^2]: Here's the long note. This one contains multiple blocks.
- Subsequent blocks are indented to show that they belong to the footnote
- (as with list items).
+ Subsequent blocks are indented to show that they belong to the footnote (as
+ with list items).
{ <code> }
diff --git a/test/writer.markua b/test/writer.markua
new file mode 100644
index 000000000..1c5b44cc2
--- /dev/null
+++ b/test/writer.markua
@@ -0,0 +1,700 @@
+This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
+markdown test suite.
+
+* * *
+
+{id: headers}
+# Headers
+
+{id: level-2-with-an-embedded-link}
+## Level 2 with an [embedded link](/url)
+
+{id: level-3-with-emphasis}
+### Level 3 with *emphasis*
+
+{id: level-4}
+#### Level 4
+
+{id: level-5}
+##### Level 5
+
+{id: level-1}
+# Level 1
+
+{id: level-2-with-emphasis}
+## Level 2 with *emphasis*
+
+{id: level-3}
+### Level 3
+
+with no blank line
+
+{id: level-2}
+## Level 2
+
+with no blank line
+
+* * *
+
+{id: paragraphs}
+# Paragraphs
+
+Here’s a regular paragraph.
+
+In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+Because a hard-wrapped line in the middle of a paragraph looked like a list
+item.
+
+Here’s one with a bullet. * criminey.
+
+There should be a hard line break
+here.
+
+* * *
+
+{id: block-quotes}
+# Block Quotes
+
+E-mail style:
+
+> This is a block quote. It is pretty short.
+
+> Code in a block quote:
+>
+> ```
+> sub status {
+> print "working";
+> }
+> ```
+>
+> A list:
+>
+> 1. item one
+> 2. item two
+>
+> Nested block quotes:
+>
+> > nested
+>
+> > nested
+
+This should not be a block quote: 2 > 1.
+
+And a following paragraph.
+
+* * *
+
+{id: code-blocks}
+# Code Blocks
+
+Code:
+
+```
+---- (should be four hyphens)
+
+sub status {
+ print "working";
+}
+
+this code block is indented by one tab
+```
+
+And:
+
+```
+ this code block is indented by two tabs
+
+These should not be escaped: \$ \\ \> \[ \{
+```
+
+* * *
+
+{id: lists}
+# Lists
+
+{id: unordered}
+## Unordered
+
+Asterisks tight:
+
+* asterisk 1
+* asterisk 2
+* asterisk 3
+
+Asterisks loose:
+
+* asterisk 1
+
+* asterisk 2
+
+* asterisk 3
+
+Pluses tight:
+
+* Plus 1
+* Plus 2
+* Plus 3
+
+Pluses loose:
+
+* Plus 1
+
+* Plus 2
+
+* Plus 3
+
+Minuses tight:
+
+* Minus 1
+* Minus 2
+* Minus 3
+
+Minuses loose:
+
+* Minus 1
+
+* Minus 2
+
+* Minus 3
+
+{id: ordered}
+## Ordered
+
+Tight:
+
+1. First
+2. Second
+3. Third
+
+and:
+
+1. One
+2. Two
+3. Three
+
+Loose using tabs:
+
+1. First
+
+2. Second
+
+3. Third
+
+and using spaces:
+
+1. One
+
+2. Two
+
+3. Three
+
+Multiple paragraphs:
+
+1. Item 1, graf one.
+
+ Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
+
+2. Item 2.
+
+3. Item 3.
+
+{id: nested}
+## Nested
+
+* Tab
+ * Tab
+ * Tab
+
+Here’s another:
+
+1. First
+2. Second:
+ * Fee
+ * Fie
+ * Foe
+3. Third
+
+Same thing but with paragraphs:
+
+1. First
+
+2. Second:
+
+ * Fee
+ * Fie
+ * Foe
+
+3. Third
+
+{id: tabs-and-spaces}
+## Tabs and spaces
+
+* this is a list item indented with tabs
+
+* this is a list item indented with spaces
+
+ * this is an example list item indented with tabs
+
+ * this is an example list item indented with spaces
+
+{id: fancy-list-markers}
+## Fancy list markers
+
+2) begins with 2
+
+3) and now 3
+
+ with a continuation
+
+ iv. sublist with roman numerals, starting with 4
+ v. more items
+ A) a subsublist
+ B) a subsublist
+
+Nesting:
+
+A. Upper Alpha
+ I. Upper Roman.
+ 6) Decimal start with 6
+ c) Lower alpha with paren
+
+Autonumbering:
+
+1. Autonumber.
+2. More.
+ 1. Nested.
+
+Should not be a list item:
+
+M.A. 2007
+
+B. Williams
+
+* * *
+
+{id: definition-lists}
+# Definition Lists
+
+Tight using spaces:
+
+apple
+: red fruit
+
+orange
+: orange fruit
+
+banana
+: yellow fruit
+
+Tight using tabs:
+
+apple
+: red fruit
+
+orange
+: orange fruit
+
+banana
+: yellow fruit
+
+Loose:
+
+apple
+
+: red fruit
+
+orange
+
+: orange fruit
+
+banana
+
+: yellow fruit
+
+Multiple blocks with italics:
+
+*apple*
+
+: red fruit
+
+ contains seeds, crisp, pleasant to taste
+
+*orange*
+
+: orange fruit
+
+ ```
+ { orange code block }
+ ```
+
+ > orange block quote
+
+Multiple definitions, tight:
+
+apple
+: red fruit
+: computer
+
+orange
+: orange fruit
+: bank
+
+Multiple definitions, loose:
+
+apple
+
+: red fruit
+
+: computer
+
+orange
+
+: orange fruit
+
+: bank
+
+Blank line after term, indented marker, alternate markers:
+
+apple
+
+: red fruit
+
+: computer
+
+orange
+
+: orange fruit
+
+ 1. sublist
+ 2. sublist
+
+{id: html-blocks}
+# HTML Blocks
+
+Simple block on one line:
+
+foo
+
+And nested without indentation:
+
+foo
+
+bar
+
+Interpreted markdown in a table:
+
+This is *emphasized*
+And this is **strong**
+Here’s a simple block:
+
+foo
+
+This should be a code block, though:
+
+```
+<div>
+ foo
+</div>
+```
+
+As should this:
+
+```
+<div>foo</div>
+```
+
+Now, nested:
+
+foo
+
+This should just be an HTML comment:
+
+Multiline:
+
+Code block:
+
+```
+<!-- Comment -->
+```
+
+Just plain comment, with trailing spaces on the line:
+
+Code:
+
+```
+<hr />
+```
+
+Hr’s:
+
+* * *
+
+{id: inline-markup}
+# Inline Markup
+
+This is *emphasized*, and so *is this*.
+
+This is **strong**, and so **is this**.
+
+An *[emphasized link](/url)*.
+
+***This is strong and em.***
+
+So is ***this*** word.
+
+***This is strong and em.***
+
+So is ***this*** word.
+
+This is code: `>`, `$`, `\`, `\$`, `<html>`.
+
+~~This is *strikeout*.~~
+
+Superscripts: a^bc^d a^*hello*^ a^hello there^.
+
+Subscripts: H~2~O, H~23~O, H~many of them~O.
+
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
+
+* * *
+
+{id: smart-quotes-ellipses-dashes}
+# Smart quotes, ellipses, dashes
+
+"Hello," said the spider. "'Shelob' is my name."
+
+'A', 'B', and 'C' are letters.
+
+'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
+
+'He said, "I want to go."' Were you alive in the 70’s?
+
+Here is some quoted '`code`' and a "[quoted
+link](http://example.com/?foo=1&bar=2)".
+
+Some dashes: one—two — three—four — five.
+
+Dashes between numbers: 5–7, 255–66, 1987–1999.
+
+Ellipses…and…and….
+
+* * *
+
+{id: latex}
+# LaTeX
+
+*
+* `2+2=4`$
+* `x \in y`$
+* `\alpha \wedge \omega`$
+* `223`$
+* `p`$-Tree
+* Here’s some display math:
+
+ {format: latex}
+ ```
+ \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
+ ```
+* Here’s one that has a line break in it: `\alpha + \omega \times x^2`$.
+
+These shouldn’t be math:
+
+* To get the famous equation, write `$e = mc^2$`.
+* $22,000 is a *lot* of money. So is $34,000. (It worked if "lot" is
+ emphasized.)
+* Shoes ($20) and socks ($5).
+* Escaped `$`: $73 *this should be emphasized* 23$.
+
+Here’s a LaTeX table:
+
+* * *
+
+{id: special-characters}
+# Special Characters
+
+Here is some unicode:
+
+* I hat: Î
+* o umlaut: ö
+* section: §
+* set membership: ∈
+* copyright: ©
+
+AT&T has an ampersand in their name.
+
+AT&T is another way to write it.
+
+This & that.
+
+4 < 5.
+
+6 > 5.
+
+Backslash: \
+
+Backtick: `
+
+Asterisk: *
+
+Underscore: _
+
+Left brace: {
+
+Right brace: }
+
+Left bracket: [
+
+Right bracket: ]
+
+Left paren: (
+
+Right paren: )
+
+Greater-than: >
+
+Hash: #
+
+Period: .
+
+Bang: !
+
+Plus: +
+
+Minus: -
+
+* * *
+
+{id: links}
+# Links
+
+{id: explicit}
+## Explicit
+
+Just a [URL](/url/).
+
+[URL and title](/url/){title: "title"}.
+
+[URL and title](/url/){title: "title preceded by two spaces"}.
+
+[URL and title](/url/){title: "title preceded by a tab"}.
+
+[URL and title](/url/){title: "title with "quotes" in it"}
+
+[URL and title](/url/){title: "title with single quotes"}
+
+[with_underscore](/url/with_underscore)
+
+[Email link](mailto:nobody@nowhere.net)
+
+[Empty]().
+
+{id: reference}
+## Reference
+
+Foo [bar](/url/).
+
+With [embedded [brackets]](/url/).
+
+[b](/url/) by itself should be a link.
+
+Indented [once](/url).
+
+Indented [twice](/url).
+
+Indented [thrice](/url).
+
+This should [not][] be a link.
+
+```
+[not]: /url
+```
+
+Foo [bar](/url/){title: "Title with "quotes" inside"}.
+
+Foo [biz](/url/){title: "Title with "quote" inside"}.
+
+{id: with-ampersands}
+## With ampersands
+
+Here’s a [link with an ampersand in the URL](http://example.com/?foo=1&bar=2).
+
+Here’s a link with an amersand in the link text:
+[AT&T](http://att.com/){title: "AT&T"}.
+
+Here’s an [inline link](/script?foo=1&bar=2).
+
+Here’s an [inline link in pointy braces](/script?foo=1&bar=2).
+
+{id: autolinks}
+## Autolinks
+
+With an ampersand:
+[http:~/~/example.com/?foo=1&bar=2](http://example.com/?foo=1&bar=2){class: uri}
+
+* In a list?
+* [http:~/~/example.com/](http://example.com/){class: uri}
+* It should.
+
+An e-mail address: [nobody@nowhere.net](mailto:nobody@nowhere.net){class: email}
+
+> Blockquoted: [http:~/~/example.com/](http://example.com/){class: uri}
+
+Auto-links should not occur here: `<http://example.com/>`
+
+```
+or here: <http://example.com/>
+```
+
+* * *
+
+{id: images}
+# Images
+
+From "Voyage dans la Lune" by Georges Melies (1902):
+
+{alt: "lalune", title: "Voyage dans la Lune"}
+![](lalune.jpg)
+
+Here is a movie
+{alt: "movie"}
+![](movie.jpg)
+icon.
+
+* * *
+
+{id: footnotes}
+# Footnotes
+
+Here is a footnote reference,[^1] and another.[^2] This should *not* be a
+footnote reference, because it contains a space.[^my note] Here is an inline
+note.[^3]
+
+> Notes can go in quotes.[^4]
+
+1. And in list items.[^5]
+
+This paragraph should not be part of the note, as it is not indented.
+
+[^1]: Here is the footnote. It can go anywhere after the footnote reference. It
+ need not be placed at the end of the document.
+
+[^2]: Here’s the long note. This one contains multiple blocks.
+
+ Subsequent blocks are indented to show that they belong to the footnote (as
+ with list items).
+
+ ```
+ { <code> }
+ ```
+
+ If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.
+
+[^3]: This is *easier* to type. Inline notes may contain
+ [links](http://google.com) and `]` verbatim characters, as well as
+ [bracketed text].
+
+[^4]: In quote.
+
+[^5]: In list.
diff --git a/test/writer.mediawiki b/test/writer.mediawiki
index 79cc1b4e1..23cb78e60 100644
--- a/test/writer.mediawiki
+++ b/test/writer.mediawiki
@@ -3,24 +3,33 @@ This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
-----
+<span id="headers"></span>
= Headers =
+<span id="level-2-with-an-embedded-link"></span>
== Level 2 with an [[url|embedded link]] ==
+<span id="level-3-with-emphasis"></span>
=== Level 3 with ''emphasis'' ===
+<span id="level-4"></span>
==== Level 4 ====
+<span id="level-5"></span>
===== Level 5 =====
+<span id="level-1"></span>
= Level 1 =
+<span id="level-2-with-emphasis"></span>
== Level 2 with ''emphasis'' ==
+<span id="level-3"></span>
=== Level 3 ===
with no blank line
+<span id="level-2"></span>
== Level 2 ==
with no blank line
@@ -28,6 +37,7 @@ with no blank line
-----
+<span id="paragraphs"></span>
= Paragraphs =
Here’s a regular paragraph.
@@ -42,6 +52,7 @@ here.
-----
+<span id="block-quotes"></span>
= Block Quotes =
E-mail style:
@@ -71,6 +82,7 @@ And a following paragraph.
-----
+<span id="code-blocks"></span>
= Code Blocks =
Code:
@@ -90,8 +102,10 @@ These should not be escaped: \$ \\ \&gt; \[ \{</pre>
-----
+<span id="lists"></span>
= Lists =
+<span id="unordered"></span>
== Unordered ==
Asterisks tight:
@@ -130,6 +144,7 @@ Minuses loose:
* Minus 2
* Minus 3
+<span id="ordered"></span>
== Ordered ==
Tight:
@@ -164,6 +179,7 @@ Multiple paragraphs:
<li><p>Item 2.</p></li>
<li><p>Item 3.</p></li></ol>
+<span id="nested"></span>
== Nested ==
* Tab
@@ -188,6 +204,7 @@ Same thing but with paragraphs:
#* Foe
# Third
+<span id="tabs-and-spaces"></span>
== Tabs and spaces ==
* this is a list item indented with tabs
@@ -195,6 +212,7 @@ Same thing but with paragraphs:
** this is an example list item indented with tabs
** this is an example list item indented with spaces
+<span id="fancy-list-markers"></span>
== Fancy list markers ==
<ol start="2" style="list-style-type: decimal;">
@@ -239,6 +257,7 @@ B. Williams
-----
+<span id="definition-lists"></span>
= Definition Lists =
Tight using spaces:
@@ -307,6 +326,7 @@ Blank line after term, indented marker, alternate markers:
;# sublist
;# sublist
+<span id="html-blocks"></span>
= HTML Blocks =
Simple block on one line:
@@ -416,6 +436,7 @@ Hr’s:
-----
+<span id="inline-markup"></span>
= Inline Markup =
This is ''emphasized'', and so ''is this''.
@@ -445,6 +466,7 @@ These should not be superscripts or subscripts, because of the unescaped spaces:
-----
+<span id="smart-quotes-ellipses-dashes"></span>
= Smart quotes, ellipses, dashes =
“Hello,” said the spider. “‘Shelob’ is my name.”
@@ -466,6 +488,7 @@ Ellipses…and…and….
-----
+<span id="latex"></span>
= LaTeX =
*
@@ -490,6 +513,7 @@ Here’s a LaTeX table:
-----
+<span id="special-characters"></span>
= Special Characters =
Here is some unicode:
@@ -545,8 +569,10 @@ Minus: -
-----
+<span id="links"></span>
= Links =
+<span id="explicit"></span>
== Explicit ==
Just a [[url/|URL]].
@@ -567,6 +593,7 @@ Just a [[url/|URL]].
[[|Empty]].
+<span id="reference"></span>
== Reference ==
Foo [[url/|bar]].
@@ -588,6 +615,7 @@ Foo [[url/|bar]].
Foo [[url/|biz]].
+<span id="with-ampersands"></span>
== With ampersands ==
Here’s a [http://example.com/?foo=1&bar=2 link with an ampersand in the URL].
@@ -598,6 +626,7 @@ Here’s an [[script?foo=1&bar=2|inline link]].
Here’s an [[script?foo=1&bar=2|inline link in pointy braces]].
+<span id="autolinks"></span>
== Autolinks ==
With an ampersand: http://example.com/?foo=1&bar=2
@@ -616,6 +645,7 @@ Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code>
-----
+<span id="images"></span>
= Images =
From “Voyage dans la Lune” by Georges Melies (1902):
@@ -627,6 +657,7 @@ Here is a movie [[File:movie.jpg|movie]] icon.
-----
+<span id="footnotes"></span>
= Footnotes =
Here is a footnote reference,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</ref> and another.<ref>Here’s the long note. This one contains multiple blocks.
diff --git a/test/writer.ms b/test/writer.ms
index 329c959fc..fc2e66a34 100644
--- a/test/writer.ms
+++ b/test/writer.ms
@@ -653,8 +653,8 @@ Superscripts: a\*{bc\*}d a\*{\f[I]hello\f[R]\*} a\*{hello\ there\*}.
.PP
Subscripts: H\*<2\*>O, H\*<23\*>O, H\*<many\ of\ them\*>O.
.PP
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
.HLINE
.SH 1
Smart quotes, ellipses, dashes
@@ -973,8 +973,8 @@ and another.\**
Here\[cq]s the long note.
This one contains multiple blocks.
.PP
-Subsequent blocks are indented to show that they belong to the footnote (as
-with list items).
+Subsequent blocks are indented to show that they belong to the footnote (as with
+list items).
.IP
.nf
\f[C]
@@ -982,8 +982,8 @@ with list items).
\f[]
.fi
.LP
-If you want, you can indent every line, but you can also be lazy and just
-indent the first line of each block.
+If you want, you can indent every line, but you can also be lazy and just indent
+the first line of each block.
.FE
This should \f[I]not\f[R] be a footnote reference, because it contains a
space.[\[ha]my note] Here is an inline note.\**
diff --git a/test/writer.muse b/test/writer.muse
index d9efdddd5..2c96f6bf2 100644
--- a/test/writer.muse
+++ b/test/writer.muse
@@ -483,8 +483,8 @@ Superscripts: a<sup>bc</sup>d a<sup>*hello*</sup> a<sup>hello there</sup>.
Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
----
@@ -643,8 +643,7 @@ Foo [[/url/][biz]].
** With ampersands
-Here’s a [[http://example.com/?foo=1&bar=2][link with an ampersand in the
-URL]].
+Here’s a [[http://example.com/?foo=1&bar=2][link with an ampersand in the URL]].
Here’s a link with an amersand in the link text: [[http://att.com/][AT&T]].
@@ -686,9 +685,8 @@ Here is a movie [[movie.jpg][movie]] icon.
* Footnotes
-Here is a footnote reference,[1] and another.[2] This should *not* be a
-footnote reference, because it contains a space.[^my note] Here is an inline
-note.[3]
+Here is a footnote reference,[1] and another.[2] This should *not* be a footnote
+reference, because it contains a space.[^my note] Here is an inline note.[3]
<quote>
Notes can go in quotes.[4]
@@ -703,8 +701,8 @@ This paragraph should not be part of the note, as it is not indented.
[2] Here’s the long note. This one contains multiple blocks.
- Subsequent blocks are indented to show that they belong to the footnote
- (as with list items).
+ Subsequent blocks are indented to show that they belong to the footnote (as
+ with list items).
<example>
{ <code> }
diff --git a/test/writer.native b/test/writer.native
index f9132c797..15971bfff 100644
--- a/test/writer.native
+++ b/test/writer.native
@@ -1,409 +1,2166 @@
-Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
-[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",SoftBreak,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
-,HorizontalRule
-,Header 1 ("headers",[],[]) [Str "Headers"]
-,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
-,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
-,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
-,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
-,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
-,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
-,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
-,HorizontalRule
-,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
-,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",SoftBreak,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",SoftBreak,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",SoftBreak,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",SoftBreak,Str "list",Space,Str "item."]
-,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",SoftBreak,Str "*",Space,Str "criminey."]
-,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
-,HorizontalRule
-,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
-,Para [Str "E-mail",Space,Str "style:"]
-,BlockQuote
- [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
-,BlockQuote
- [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
- ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
- ,Para [Str "A",Space,Str "list:"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "item",Space,Str "one"]]
- ,[Plain [Str "item",Space,Str "two"]]]
- ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
- ,BlockQuote
- [Para [Str "nested"]]
- ,BlockQuote
- [Para [Str "nested"]]]
-,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",SoftBreak,Str ">",Space,Str "1."]
-,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
-,HorizontalRule
-,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
-,Para [Str "And:"]
-,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
-,HorizontalRule
-,Header 1 ("lists",[],[]) [Str "Lists"]
-,Header 2 ("unordered",[],[]) [Str "Unordered"]
-,Para [Str "Asterisks",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "asterisk",Space,Str "1"]]
- ,[Plain [Str "asterisk",Space,Str "2"]]
- ,[Plain [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Asterisks",Space,Str "loose:"]
-,BulletList
- [[Para [Str "asterisk",Space,Str "1"]]
- ,[Para [Str "asterisk",Space,Str "2"]]
- ,[Para [Str "asterisk",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Plus",Space,Str "1"]]
- ,[Plain [Str "Plus",Space,Str "2"]]
- ,[Plain [Str "Plus",Space,Str "3"]]]
-,Para [Str "Pluses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Plus",Space,Str "1"]]
- ,[Para [Str "Plus",Space,Str "2"]]
- ,[Para [Str "Plus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "tight:"]
-,BulletList
- [[Plain [Str "Minus",Space,Str "1"]]
- ,[Plain [Str "Minus",Space,Str "2"]]
- ,[Plain [Str "Minus",Space,Str "3"]]]
-,Para [Str "Minuses",Space,Str "loose:"]
-,BulletList
- [[Para [Str "Minus",Space,Str "1"]]
- ,[Para [Str "Minus",Space,Str "2"]]
- ,[Para [Str "Minus",Space,Str "3"]]]
-,Header 2 ("ordered",[],[]) [Str "Ordered"]
-,Para [Str "Tight:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second"]]
- ,[Plain [Str "Third"]]]
-,Para [Str "and:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "One"]]
- ,[Plain [Str "Two"]]
- ,[Plain [Str "Three"]]]
-,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second"]]
- ,[Para [Str "Third"]]]
-,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "One"]]
- ,[Para [Str "Two"]]
- ,[Para [Str "Three"]]]
-,Para [Str "Multiple",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
- ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
- ,[Para [Str "Item",Space,Str "2."]]
- ,[Para [Str "Item",Space,Str "3."]]]
-,Header 2 ("nested",[],[]) [Str "Nested"]
-,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]
- ,BulletList
- [[Plain [Str "Tab"]]]]]]]
-,Para [Str "Here\8217s",Space,Str "another:"]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "First"]]
- ,[Plain [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Plain [Str "Third"]]]
-,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
-,OrderedList (1,Decimal,Period)
- [[Para [Str "First"]]
- ,[Para [Str "Second:"]
- ,BulletList
- [[Plain [Str "Fee"]]
- ,[Plain [Str "Fie"]]
- ,[Plain [Str "Foe"]]]]
- ,[Para [Str "Third"]]]
-,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
-,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "spaces"]
- ,BulletList
- [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "tabs"]]
- ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
-,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
-,OrderedList (2,Decimal,TwoParens)
- [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
- ,[Para [Str "and",Space,Str "now",Space,Str "3"]
- ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
- ,OrderedList (4,LowerRoman,Period)
- [[Plain [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",SoftBreak,Str "starting",Space,Str "with",Space,Str "4"]]
- ,[Plain [Str "more",Space,Str "items"]
- ,OrderedList (1,UpperAlpha,TwoParens)
- [[Plain [Str "a",Space,Str "subsublist"]]
- ,[Plain [Str "a",Space,Str "subsublist"]]]]]]]
-,Para [Str "Nesting:"]
-,OrderedList (1,UpperAlpha,Period)
- [[Plain [Str "Upper",Space,Str "Alpha"]
- ,OrderedList (1,UpperRoman,Period)
- [[Plain [Str "Upper",Space,Str "Roman."]
- ,OrderedList (6,Decimal,TwoParens)
- [[Plain [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
- ,OrderedList (3,LowerAlpha,OneParen)
- [[Plain [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
-,Para [Str "Autonumbering:"]
-,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Autonumber."]]
- ,[Plain [Str "More."]
- ,OrderedList (1,DefaultStyle,DefaultDelim)
- [[Plain [Str "Nested."]]]]]
-,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
-,Para [Str "M.A.\160\&2007"]
-,Para [Str "B.",Space,Str "Williams"]
-,HorizontalRule
-,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
-,Para [Str "Tight",Space,Str "using",Space,Str "spaces:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Plain [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Tight",Space,Str "using",Space,Str "tabs:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Plain [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]])
- ,([Str "banana"],
- [[Para [Str "yellow",Space,Str "fruit"]]])]
-,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
-,DefinitionList
- [([Emph [Str "apple"]],
- [[Para [Str "red",Space,Str "fruit"]
- ,Para [Str "contains",Space,Str "seeds,",SoftBreak,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
- ,([Emph [Str "orange"]],
- [[Para [Str "orange",Space,Str "fruit"]
- ,CodeBlock ("",[],[]) "{ orange code block }"
- ,BlockQuote
- [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
-,Para [Str "Multiple",Space,Str "definitions,",Space,Str "tight:"]
-,DefinitionList
- [([Str "apple"],
- [[Plain [Str "red",Space,Str "fruit"]]
- ,[Plain [Str "computer"]]])
- ,([Str "orange"],
- [[Plain [Str "orange",Space,Str "fruit"]]
- ,[Plain [Str "bank"]]])]
-,Para [Str "Multiple",Space,Str "definitions,",Space,Str "loose:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]]
- ,[Para [Str "bank"]]])]
-,Para [Str "Blank",Space,Str "line",Space,Str "after",Space,Str "term,",Space,Str "indented",Space,Str "marker,",Space,Str "alternate",Space,Str "markers:"]
-,DefinitionList
- [([Str "apple"],
- [[Para [Str "red",Space,Str "fruit"]]
- ,[Para [Str "computer"]]])
- ,([Str "orange"],
- [[Para [Str "orange",Space,Str "fruit"]
- ,OrderedList (1,Decimal,Period)
- [[Plain [Str "sublist"]]
- ,[Plain [Str "sublist"]]]]])]
-,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
-,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
-,Div ("",[],[])
- [Plain [Str "foo"]]
-,Para [Str "And",Space,Str "nested",Space,Str "without",Space,Str "indentation:"]
-,Div ("",[],[])
- [Div ("",[],[])
- [Div ("",[],[])
- [Para [Str "foo"]]]
- ,Div ("",[],[])
- [Plain [Str "bar"]]]
-,Para [Str "Interpreted",Space,Str "markdown",Space,Str "in",Space,Str "a",Space,Str "table:"]
-,RawBlock (Format "html") "<table>"
-,RawBlock (Format "html") "<tr>"
-,RawBlock (Format "html") "<td>"
-,Plain [Str "This",Space,Str "is",Space,Emph [Str "emphasized"]]
-,RawBlock (Format "html") "</td>"
-,RawBlock (Format "html") "<td>"
-,Plain [Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"]]
-,RawBlock (Format "html") "</td>"
-,RawBlock (Format "html") "</tr>"
-,RawBlock (Format "html") "</table>"
-,RawBlock (Format "html") "<script type=\"text/javascript\">document.write('This *should not* be interpreted as markdown');</script>"
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "simple",Space,Str "block:"]
-,Div ("",[],[])
- [Para [Str "foo"]]
-,Para [Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "code",Space,Str "block,",Space,Str "though:"]
-,CodeBlock ("",[],[]) "<div>\n foo\n</div>"
-,Para [Str "As",Space,Str "should",Space,Str "this:"]
-,CodeBlock ("",[],[]) "<div>foo</div>"
-,Para [Str "Now,",Space,Str "nested:"]
-,Div ("",[],[])
- [Div ("",[],[])
- [Div ("",[],[])
- [Plain [Str "foo"]]]]
-,Para [Str "This",Space,Str "should",Space,Str "just",Space,Str "be",Space,Str "an",Space,Str "HTML",Space,Str "comment:"]
-,RawBlock (Format "html") "<!-- Comment -->"
-,Para [Str "Multiline:"]
-,RawBlock (Format "html") "<!--\nBlah\nBlah\n-->"
-,RawBlock (Format "html") "<!--\n This is another comment.\n-->"
-,Para [Str "Code",Space,Str "block:"]
-,CodeBlock ("",[],[]) "<!-- Comment -->"
-,Para [Str "Just",Space,Str "plain",Space,Str "comment,",Space,Str "with",Space,Str "trailing",Space,Str "spaces",Space,Str "on",Space,Str "the",Space,Str "line:"]
-,RawBlock (Format "html") "<!-- foo -->"
-,Para [Str "Code:"]
-,CodeBlock ("",[],[]) "<hr />"
-,Para [Str "Hr\8217s:"]
-,RawBlock (Format "html") "<hr>"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr>"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
-,RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\">"
-,HorizontalRule
-,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
-,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
-,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
-,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
-,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
-,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
-,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
-,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello\160there"],Str "."]
-,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",Space,Str "H",Subscript [Str "many\160of\160them"],Str "O."]
-,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",SoftBreak,Str "because",Space,Str "of",Space,Str "the",Space,Str "unescaped",Space,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a~b",Space,Str "c~d."]
-,HorizontalRule
-,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
-,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",Space,Str "name."]]
-,Para [Quoted SingleQuote [Str "A"],Str ",",Space,Quoted SingleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted SingleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
-,Para [Quoted SingleQuote [Str "Oak,"],Space,Quoted SingleQuote [Str "elm,"],Space,Str "and",Space,Quoted SingleQuote [Str "beech"],Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",SoftBreak,Str "So",Space,Str "is",Space,Quoted SingleQuote [Str "pine."]]
-,Para [Quoted SingleQuote [Str "He",Space,Str "said,",Space,Quoted DoubleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."]],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",SoftBreak,Str "70\8217s?"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Quoted SingleQuote [Code ("",[],[]) "code"],Space,Str "and",Space,Str "a",Space,Quoted DoubleQuote [Link ("",[],[]) [Str "quoted",Space,Str "link"] ("http://example.com/?foo=1&bar=2","")],Str "."]
-,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two",Space,Str "\8212",Space,Str "three\8212four",Space,Str "\8212",Space,Str "five."]
-,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
-,Para [Str "Ellipses\8230and\8230and\8230."]
-,HorizontalRule
-,Header 1 ("latex",[],[]) [Str "LaTeX"]
-,BulletList
- [[Plain [RawInline (Format "tex") "\\cite[22-23]{smith.1899}"]]
- ,[Plain [Math InlineMath "2+2=4"]]
- ,[Plain [Math InlineMath "x \\in y"]]
- ,[Plain [Math InlineMath "\\alpha \\wedge \\omega"]]
- ,[Plain [Math InlineMath "223"]]
- ,[Plain [Math InlineMath "p",Str "-Tree"]]
- ,[Plain [Str "Here\8217s",Space,Str "some",Space,Str "display",Space,Str "math:",SoftBreak,Math DisplayMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"]]
- ,[Plain [Str "Here\8217s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Math InlineMath "\\alpha + \\omega \\times x^2",Str "."]]]
-,Para [Str "These",Space,Str "shouldn\8217t",Space,Str "be",Space,Str "math:"]
-,BulletList
- [[Plain [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code ("",[],[]) "$e = mc^2$",Str "."]]
- ,[Plain [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",SoftBreak,Str "(It",Space,Str "worked",Space,Str "if",Space,Quoted DoubleQuote [Str "lot"],Space,Str "is",Space,Str "emphasized.)"]]
- ,[Plain [Str "Shoes",Space,Str "($20)",Space,Str "and",Space,Str "socks",Space,Str "($5)."]]
- ,[Plain [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",Space,Str "emphasized"],Space,Str "23$."]]]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
-,RawBlock (Format "tex") "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
-,HorizontalRule
-,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
-,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
-,BulletList
- [[Plain [Str "I",Space,Str "hat:",Space,Str "\206"]]
- ,[Plain [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
- ,[Plain [Str "section:",Space,Str "\167"]]
- ,[Plain [Str "set",Space,Str "membership:",Space,Str "\8712"]]
- ,[Plain [Str "copyright:",Space,Str "\169"]]]
-,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
-,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
-,Para [Str "This",Space,Str "&",Space,Str "that."]
-,Para [Str "4",Space,Str "<",Space,Str "5."]
-,Para [Str "6",Space,Str ">",Space,Str "5."]
-,Para [Str "Backslash:",Space,Str "\\"]
-,Para [Str "Backtick:",Space,Str "`"]
-,Para [Str "Asterisk:",Space,Str "*"]
-,Para [Str "Underscore:",Space,Str "_"]
-,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
-,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
-,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
-,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
-,Para [Str "Left",Space,Str "paren:",Space,Str "("]
-,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
-,Para [Str "Greater-than:",Space,Str ">"]
-,Para [Str "Hash:",Space,Str "#"]
-,Para [Str "Period:",Space,Str "."]
-,Para [Str "Bang:",Space,Str "!"]
-,Para [Str "Plus:",Space,Str "+"]
-,Para [Str "Minus:",Space,Str "-"]
-,HorizontalRule
-,Header 1 ("links",[],[]) [Str "Links"]
-,Header 2 ("explicit",[],[]) [Str "Explicit"]
-,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by two spaces"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title preceded by a tab"),Str "."]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with \"quotes\" in it")]
-,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","title with single quotes")]
-,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
-,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
-,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
-,Header 2 ("reference",[],[]) [Str "Reference"]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
-,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
-,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
-,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
-,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
-,CodeBlock ("",[],[]) "[not]: /url"
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/","Title with \"quotes\" inside"),Str "."]
-,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/","Title with \"quote\" inside"),Str "."]
-,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
-,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("http://att.com/","AT&T"),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
-,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
-,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
-,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",["uri"],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
-,BulletList
- [[Plain [Str "In",Space,Str "a",Space,Str "list?"]]
- ,[Plain [Link ("",["uri"],[]) [Str "http://example.com/"] ("http://example.com/","")]]
- ,[Plain [Str "It",Space,Str "should."]]]
-,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Link ("",["email"],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
-,BlockQuote
- [Para [Str "Blockquoted:",Space,Link ("",["uri"],[]) [Str "http://example.com/"] ("http://example.com/","")]]
-,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",Space,Code ("",[],[]) "<http://example.com/>"]
-,CodeBlock ("",[],[]) "or here: <http://example.com/>"
-,HorizontalRule
-,Header 1 ("images",[],[]) [Str "Images"]
-,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-,Para [Image ("",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "movie"] ("movie.jpg",""),Space,Str "icon."]
-,HorizontalRule
-,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
-,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Note [Para [Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "after",Space,Str "the",Space,Str "footnote",SoftBreak,Str "reference.",Space,Str "It",Space,Str "need",Space,Str "not",Space,Str "be",Space,Str "placed",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]],Space,Str "and",Space,Str "another.",Note [Para [Str "Here\8217s",Space,Str "the",Space,Str "long",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",SoftBreak,Str "blocks."],Para [Str "Subsequent",Space,Str "blocks",Space,Str "are",Space,Str "indented",Space,Str "to",Space,Str "show",Space,Str "that",Space,Str "they",Space,Str "belong",Space,Str "to",Space,Str "the",SoftBreak,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "list",Space,Str "items)."],CodeBlock ("",[],[]) " { <code> }",Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "indent",Space,Str "every",Space,Str "line,",Space,Str "but",Space,Str "you",Space,Str "can",Space,Str "also",Space,Str "be",SoftBreak,Str "lazy",Space,Str "and",Space,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],SoftBreak,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",SoftBreak,Str "contains",Space,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",Space,Str "note.",Note [Para [Str "This",SoftBreak,Str "is",Space,Emph [Str "easier"],Space,Str "to",Space,Str "type.",Space,Str "Inline",Space,Str "notes",Space,Str "may",Space,Str "contain",SoftBreak,Link ("",[],[]) [Str "links"] ("http://google.com",""),Space,Str "and",Space,Code ("",[],[]) "]",Space,Str "verbatim",Space,Str "characters,",SoftBreak,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
-,BlockQuote
- [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
-,OrderedList (1,Decimal,Period)
- [[Plain [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
-,Para [Str "This",Space,Str "paragraph",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "note,",Space,Str "as",Space,Str "it",Space,Str "is",Space,Str "not",Space,Str "indented."]]
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "July" , Space , Str "17," , Space , Str "2006" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc" , Space , Str "Test" , Space , Str "Suite" ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
+ , Space
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , SoftBreak
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "In"
+ , Space
+ , Str "Markdown"
+ , Space
+ , Str "1.0.0"
+ , Space
+ , Str "and"
+ , Space
+ , Str "earlier."
+ , Space
+ , Str "Version"
+ , SoftBreak
+ , Str "8."
+ , Space
+ , Str "This"
+ , Space
+ , Str "line"
+ , Space
+ , Str "turns"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , SoftBreak
+ , Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard-wrapped"
+ , Space
+ , Str "line"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "middle"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "is"
+ , Space
+ , Str "pretty"
+ , Space
+ , Str "short."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested" , Space , Str "block" , Space , Str "quotes:" ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "1."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "code-blocks" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , HorizontalRule
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , Para
+ [ Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "graf"
+ , Space
+ , Str "two."
+ , Space
+ , Str "The"
+ , Space
+ , Str "quick"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fox"
+ , Space
+ , Str "jumped"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lazy"
+ , Space
+ , Str "dog\8217s"
+ , SoftBreak
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ] , BulletList [ [ Plain [ Str "Tab" ] ] ] ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , TwoParens )
+ [ [ Para [ Str "begins" , Space , Str "with" , Space , Str "2" ] ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with" , Space , Str "a" , Space , Str "continuation" ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , SoftBreak
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim ) [ [ Plain [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A.\160\&2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
+ , Para
+ [ Str "Tight" , Space , Str "using" , Space , Str "spaces:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , DefinitionList
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , SoftBreak
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange" , Space , Str "block" , Space , Str "quote" ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "tight:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "loose:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Para [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "after"
+ , Space
+ , Str "term,"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "marker,"
+ , Space
+ , Str "alternate"
+ , Space
+ , Str "markers:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "sublist" ] ] , [ Plain [ Str "sublist" ] ] ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1 ( "html-blocks" , [] , [] ) [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] ) [ Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "bar" ] ]
+ ]
+ , Para
+ [ Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock (Format "html") "<table>"
+ , RawBlock (Format "html") "<tr>"
+ , RawBlock (Format "html") "<td>"
+ , Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ ]
+ , RawBlock (Format "html") "</td>"
+ , RawBlock (Format "html") "<td>"
+ , Plain
+ [ Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ ]
+ , RawBlock (Format "html") "</td>"
+ , RawBlock (Format "html") "</tr>"
+ , RawBlock (Format "html") "</table>"
+ , RawBlock
+ (Format "html")
+ "<script type=\"text/javascript\">document.write('This *should not* be interpreted as markdown');</script>"
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "block:"
+ ]
+ , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
+ ]
+ , CodeBlock ( "" , [] , [] ) "<div>\n foo\n</div>"
+ , Para [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "<div>foo</div>"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] ) [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
+ ]
+ , RawBlock (Format "html") "<!-- Comment -->"
+ , Para [ Str "Multiline:" ]
+ , RawBlock (Format "html") "<!--\nBlah\nBlah\n-->"
+ , RawBlock
+ (Format "html") "<!--\n This is another comment.\n-->"
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) "<!-- Comment -->"
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "plain"
+ , Space
+ , Str "comment,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line:"
+ ]
+ , RawBlock (Format "html") "<!-- foo -->"
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "<hr />"
+ , Para [ Str "Hr\8217s:" ]
+ , RawBlock (Format "html") "<hr>"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr>"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\" />"
+ , RawBlock (Format "html") "<hr class=\"foo\" id=\"bar\">"
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "<html>"
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "many\160of\160them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , SoftBreak
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "unescaped"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Quoted DoubleQuote [ Str "Hello," ]
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Quoted SingleQuote [ Str "Shelob" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name."
+ ]
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "A" ]
+ , Str ","
+ , Space
+ , Quoted SingleQuote [ Str "B" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "C" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Quoted SingleQuote [ Str "Oak," ]
+ , Space
+ , Quoted SingleQuote [ Str "elm," ]
+ , Space
+ , Str "and"
+ , Space
+ , Quoted SingleQuote [ Str "beech" ]
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , SoftBreak
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Quoted SingleQuote [ Str "pine." ]
+ ]
+ , Para
+ [ Quoted
+ SingleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "I"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "go."
+ ]
+ ]
+ , Space
+ , Str "Were"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "70\8217s?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Quoted SingleQuote [ Code ( "" , [] , [] ) "code" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three\8212four"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain [ RawInline (Format "tex") "\\cite[22-23]{smith.1899}" ]
+ ]
+ , [ Plain [ Math InlineMath "2+2=4" ] ]
+ , [ Plain [ Math InlineMath "x \\in y" ] ]
+ , [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Plain [ Math InlineMath "223" ] ]
+ , [ Plain [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "some"
+ , Space
+ , Str "display"
+ , Space
+ , Str "math:"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Math InlineMath "\\alpha + \\omega \\times x^2"
+ , Str "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ Str "$22,000"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Emph [ Str "lot" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "money."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "$34,000."
+ , SoftBreak
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Quoted DoubleQuote [ Str "lot" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Shoes"
+ , Space
+ , Str "($20)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "socks"
+ , Space
+ , Str "($5)."
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain [ Str "I" , Space , Str "hat:" , Space , Str "\206" ] ]
+ , [ Plain [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set" , Space , Str "membership:" , Space , Str "\8712" ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" ) , Str "." ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "URL"
+ ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "AT&T" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Plain [ Str "In" , Space , Str "a" , Space , Str "list?" ] ]
+ , [ Plain
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [ "email" ] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) "<http://example.com/>"
+ ]
+ , CodeBlock ( "" , [] , [] ) "or here: <http://example.com/>"
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune"
+ ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "fig:Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Note
+ [ Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote"
+ , SoftBreak
+ , Str "reference."
+ , Space
+ , Str "It"
+ , Space
+ , Str "need"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "placed"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "another."
+ , Note
+ [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "long"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , SoftBreak
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Subsequent"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "to"
+ , Space
+ , Str "show"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { <code> }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "be"
+ , SoftBreak
+ , Str "lazy"
+ , Space
+ , Str "and"
+ , Space
+ , Str "just"
+ , Space
+ , Str "indent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Emph [ Str "not" ]
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference,"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space.[^my"
+ , Space
+ , Str "note]"
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "This"
+ , SoftBreak
+ , Str "is"
+ , Space
+ , Emph [ Str "easier" ]
+ , Space
+ , Str "to"
+ , Space
+ , Str "type."
+ , Space
+ , Str "Inline"
+ , Space
+ , Str "notes"
+ , Space
+ , Str "may"
+ , Space
+ , Str "contain"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "links" ] ( "http://google.com" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "]"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "characters,"
+ , SoftBreak
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "[bracketed"
+ , Space
+ , Str "text]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
+ ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "note,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "indented."
+ ]
+ ]
diff --git a/test/writer.opendocument b/test/writer.opendocument
index fa524eb26..3095cef41 100644
--- a/test/writer.opendocument
+++ b/test/writer.opendocument
@@ -1017,7 +1017,7 @@
<style:style style:name="T6" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
<style:style style:name="T7" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" style:text-position="super 58%" /></style:style>
<style:style style:name="T8" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
- <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
+ <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
<style:style style:name="fr1" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" /></style:style>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Quotations">
<style:paragraph-properties fo:margin-left="0.5in" fo:margin-right="0in" fo:text-indent="0in" style:auto-text-indent="false" />
@@ -1207,9 +1207,9 @@ link</text:span></text:a><text:bookmark-end text:name="level-2-with-an-embedded-
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="paragraphs" />Paragraphs<text:bookmark-end text:name="paragraphs" /></text:h>
<text:p text:style-name="First_20_paragraph">Here’s a regular
paragraph.</text:p>
-<text:p text:style-name="Text_20_body">In Markdown 1.0.0 and earlier. Version
-8. This line turns into a list item. Because a hard-wrapped line in the middle
-of a paragraph looked like a list item.</text:p>
+<text:p text:style-name="Text_20_body">In Markdown 1.0.0 and earlier. Version 8.
+This line turns into a list item. Because a hard-wrapped line in the middle of a
+paragraph looked like a list item.</text:p>
<text:p text:style-name="Text_20_body">Here’s one with a bullet. *
criminey.</text:p>
<text:p text:style-name="Text_20_body">There should be a hard line
@@ -1218,8 +1218,7 @@ break<text:line-break />here.</text:p>
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="block-quotes" />Block
Quotes<text:bookmark-end text:name="block-quotes" /></text:h>
<text:p text:style-name="First_20_paragraph">E-mail style:</text:p>
-<text:p text:style-name="P1">This is a block quote. It is pretty
-short.</text:p>
+<text:p text:style-name="P1">This is a block quote. It is pretty short.</text:p>
<text:p text:style-name="P2">Code in a block quote:</text:p>
<text:p text:style-name="P3">sub status {</text:p>
<text:p text:style-name="P4"><text:s text:c="4" />print &quot;working&quot;;</text:p>
@@ -1236,8 +1235,8 @@ short.</text:p>
<text:p text:style-name="P2">Nested block quotes:</text:p>
<text:p text:style-name="P7">nested</text:p>
<text:p text:style-name="P8">nested</text:p>
-<text:p text:style-name="First_20_paragraph">This should not be a block quote:
-2 &gt; 1.</text:p>
+<text:p text:style-name="First_20_paragraph">This should not be a block quote: 2
+&gt; 1.</text:p>
<text:p text:style-name="Text_20_body">And a following paragraph.</text:p>
<text:p text:style-name="Horizontal_20_Line" />
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="code-blocks" />Code
@@ -1464,12 +1463,12 @@ and spaces<text:bookmark-end text:name="tabs-and-spaces" /></text:h>
<text:p text:style-name="P37">this is a list item indented with
spaces</text:p><text:list text:style-name="L21">
<text:list-item>
- <text:p text:style-name="P38">this is an example list item indented
- with tabs</text:p>
+ <text:p text:style-name="P38">this is an example list item indented with
+ tabs</text:p>
</text:list-item>
<text:list-item>
- <text:p text:style-name="P38">this is an example list item indented
- with spaces</text:p>
+ <text:p text:style-name="P38">this is an example list item indented with
+ spaces</text:p>
</text:list-item>
</text:list>
</text:list-item>
@@ -1485,8 +1484,8 @@ list markers<text:bookmark-end text:name="fancy-list-markers" /></text:h>
<text:p text:style-name="P39">with a continuation</text:p>
<text:list>
<text:list-item>
- <text:p text:style-name="P39">sublist with roman numerals, starting
- with 4</text:p>
+ <text:p text:style-name="P39">sublist with roman numerals, starting with
+ 4</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="P39">more items</text:p>
@@ -1537,8 +1536,7 @@ list markers<text:bookmark-end text:name="fancy-list-markers" /></text:h>
</text:list>
</text:list-item>
</text:list>
-<text:p text:style-name="First_20_paragraph">Should not be a list
-item:</text:p>
+<text:p text:style-name="First_20_paragraph">Should not be a list item:</text:p>
<text:p text:style-name="Text_20_body">M.A. 2007</text:p>
<text:p text:style-name="Text_20_body">B. Williams</text:p>
<text:p text:style-name="Horizontal_20_Line" />
@@ -1573,8 +1571,8 @@ fruit</text:p>
italics:</text:p>
<text:p text:style-name="Definition_20_Term"><text:span text:style-name="T1">apple</text:span></text:p>
<text:p text:style-name="Definition_20_Definition">red
-fruit</text:p><text:p text:style-name="Definition_20_Definition">contains
-seeds, crisp, pleasant to taste</text:p>
+fruit</text:p><text:p text:style-name="Definition_20_Definition">contains seeds,
+crisp, pleasant to taste</text:p>
<text:p text:style-name="Definition_20_Term"><text:span text:style-name="T1">orange</text:span></text:p>
<text:p text:style-name="Definition_20_Definition">orange
fruit</text:p><text:p text:style-name="P42">{ orange code block }</text:p><text:p text:style-name="P43">orange
@@ -1613,15 +1611,12 @@ fruit</text:p><text:list text:style-name="L25">
</text:list>
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="html-blocks" />HTML
Blocks<text:bookmark-end text:name="html-blocks" /></text:h>
-<text:p text:style-name="First_20_paragraph">Simple block on one
-line:</text:p>
+<text:p text:style-name="First_20_paragraph">Simple block on one line:</text:p>
<text:p text:style-name="Text_20_body">foo</text:p>
-<text:p text:style-name="Text_20_body">And nested without
-indentation:</text:p>
+<text:p text:style-name="Text_20_body">And nested without indentation:</text:p>
<text:p text:style-name="Text_20_body">foo</text:p>
<text:p text:style-name="Text_20_body">bar</text:p>
-<text:p text:style-name="Text_20_body">Interpreted markdown in a
-table:</text:p>
+<text:p text:style-name="Text_20_body">Interpreted markdown in a table:</text:p>
<text:p text:style-name="Text_20_body">This is
<text:span text:style-name="T1">emphasized</text:span></text:p>
<text:p text:style-name="Text_20_body">And this is
@@ -1689,13 +1684,13 @@ subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</text:p>
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="smart-quotes-ellipses-dashes" />Smart
quotes, ellipses,
dashes<text:bookmark-end text:name="smart-quotes-ellipses-dashes" /></text:h>
-<text:p text:style-name="First_20_paragraph">“Hello,” said the spider.
-“‘Shelob’ is my name.”</text:p>
+<text:p text:style-name="First_20_paragraph">“Hello,” said the spider. “‘Shelob’
+is my name.”</text:p>
<text:p text:style-name="Text_20_body">‘A’, ‘B’, and ‘C’ are letters.</text:p>
<text:p text:style-name="Text_20_body">‘Oak,’ ‘elm,’ and ‘beech’ are names of
trees. So is ‘pine.’</text:p>
-<text:p text:style-name="Text_20_body">‘He said, “I want to go.”’ Were you
-alive in the 70’s?</text:p>
+<text:p text:style-name="Text_20_body">‘He said, “I want to go.”’ Were you alive
+in the 70’s?</text:p>
<text:p text:style-name="Text_20_body">Here is some quoted
‘<text:span text:style-name="Source_Text">code</text:span>’ and a
“<text:a xlink:type="simple" xlink:href="http://example.com/?foo=1&amp;bar=2" office:name=""><text:span text:style-name="Definition">quoted
@@ -1743,8 +1738,8 @@ five.</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="P52">$22,000 is a
- <text:span text:style-name="T1">lot</text:span> of money. So is $34,000.
- (It worked if “lot” is emphasized.)</text:p>
+ <text:span text:style-name="T1">lot</text:span> of money. So is $34,000. (It
+ worked if “lot” is emphasized.)</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="P52">Shoes ($20) and socks ($5).</text:p>
@@ -1778,8 +1773,8 @@ Characters<text:bookmark-end text:name="special-characters" /></text:h>
<text:p text:style-name="P53">copyright: ©</text:p>
</text:list-item>
</text:list>
-<text:p text:style-name="First_20_paragraph">AT&amp;T has an ampersand in
-their name.</text:p>
+<text:p text:style-name="First_20_paragraph">AT&amp;T has an ampersand in their
+name.</text:p>
<text:p text:style-name="Text_20_body">AT&amp;T is another way to write
it.</text:p>
<text:p text:style-name="Text_20_body">This &amp; that.</text:p>
@@ -1888,25 +1883,23 @@ icon.</text:p>
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="footnotes" />Footnotes<text:bookmark-end text:name="footnotes" /></text:h>
<text:p text:style-name="First_20_paragraph">Here is a footnote
reference,<text:note text:id="ftn0" text:note-class="footnote"><text:note-citation>1</text:note-citation><text:note-body><text:p text:style-name="Footnote">Here
-is the footnote. It can go anywhere after the footnote reference. It need not
-be placed at the end of the document.</text:p></text:note-body></text:note>
-and
+is the footnote. It can go anywhere after the footnote reference. It need not be
+placed at the end of the document.</text:p></text:note-body></text:note> and
another.<text:note text:id="ftn1" text:note-class="footnote"><text:note-citation>2</text:note-citation><text:note-body><text:p text:style-name="Footnote">Here’s
the long note. This one contains multiple
blocks.</text:p><text:p text:style-name="Footnote">Subsequent blocks are
indented to show that they belong to the footnote (as with list
items).</text:p><text:p text:style-name="P58"><text:s text:c="2" />{ &lt;code&gt; }</text:p><text:p text:style-name="Footnote">If
you want, you can indent every line, but you can also be lazy and just indent
-the first line of each block.</text:p></text:note-body></text:note> This
-should <text:span text:style-name="T1">not</text:span> be a footnote
-reference, because it contains a space.[^my note] Here is an inline
+the first line of each block.</text:p></text:note-body></text:note> This should
+<text:span text:style-name="T1">not</text:span> be a footnote reference, because
+it contains a space.[^my note] Here is an inline
note.<text:note text:id="ftn2" text:note-class="footnote"><text:note-citation>3</text:note-citation><text:note-body><text:p text:style-name="Footnote">This
-is <text:span text:style-name="T1">easier</text:span> to type. Inline notes
-may contain
+is <text:span text:style-name="T1">easier</text:span> to type. Inline notes may
+contain
<text:a xlink:type="simple" xlink:href="http://google.com" office:name=""><text:span text:style-name="Definition">links</text:span></text:a>
-and <text:span text:style-name="Source_Text">]</text:span> verbatim
-characters, as well as [bracketed
-text].</text:p></text:note-body></text:note></text:p>
+and <text:span text:style-name="Source_Text">]</text:span> verbatim characters,
+as well as [bracketed text].</text:p></text:note-body></text:note></text:p>
<text:p text:style-name="P59">Notes can go in
quotes.<text:note text:id="ftn3" text:note-class="footnote"><text:note-citation>4</text:note-citation><text:note-body><text:p text:style-name="Footnote">In
quote.</text:p></text:note-body></text:note></text:p>
diff --git a/test/writer.opml b/test/writer.opml
index bfe1e5de6..6bdcb882e 100644
--- a/test/writer.opml
+++ b/test/writer.opml
@@ -52,7 +52,7 @@
</outline>
<outline text="LaTeX" _note="- &#10;- 2 + 2 = 4&#10;- *x* ∈ *y*&#10;- *α* ∧ *ω*&#10;- 223&#10;- *p*-Tree&#10;- Here’s some display math:&#10; $$\\frac{d}{dx}f(x)=\\lim\_{h\\to 0}\\frac{f(x+h)-f(x)}{h}$$&#10;- Here’s one that has a line break in it: *α* + *ω* × *x*².&#10;&#10;These shouldn’t be math:&#10;&#10;- To get the famous equation, write `$e = mc^2$`.&#10;- $22,000 is a *lot* of money. So is $34,000. (It worked if “lot” is&#10; emphasized.)&#10;- Shoes ($20) and socks ($5).&#10;- Escaped `$`: $73 *this should be emphasized* 23$.&#10;&#10;Here’s a LaTeX table:&#10;&#10;------------------------------------------------------------------------">
</outline>
-<outline text="Special Characters" _note="Here is some unicode:&#10;&#10;- I hat: Î&#10;- o umlaut: ö&#10;- section: §&#10;- set membership: ∈&#10;- copyright: ©&#10;&#10;AT&amp;T has an ampersand in their name.&#10;&#10;AT&amp;T is another way to write it.&#10;&#10;This &amp; that.&#10;&#10;4 &amp;lt; 5.&#10;&#10;6 &amp;gt; 5.&#10;&#10;Backslash: \\&#10;&#10;Backtick: \`&#10;&#10;Asterisk: \*&#10;&#10;Underscore: \_&#10;&#10;Left brace: {&#10;&#10;Right brace: }&#10;&#10;Left bracket: \[&#10;&#10;Right bracket: \]&#10;&#10;Left paren: (&#10;&#10;Right paren: )&#10;&#10;Greater-than: &amp;gt;&#10;&#10;Hash: #&#10;&#10;Period: .&#10;&#10;Bang: !&#10;&#10;Plus: +&#10;&#10;Minus: -&#10;&#10;------------------------------------------------------------------------">
+<outline text="Special Characters" _note="Here is some unicode:&#10;&#10;- I hat: Î&#10;- o umlaut: ö&#10;- section: §&#10;- set membership: ∈&#10;- copyright: ©&#10;&#10;AT&amp;T has an ampersand in their name.&#10;&#10;AT&amp;T is another way to write it.&#10;&#10;This &amp; that.&#10;&#10;4 &amp;lt; 5.&#10;&#10;6 &amp;gt; 5.&#10;&#10;Backslash: \\&#10;&#10;Backtick: \`&#10;&#10;Asterisk: \*&#10;&#10;Underscore: \_&#10;&#10;Left brace: {&#10;&#10;Right brace: }&#10;&#10;Left bracket: \[&#10;&#10;Right bracket: \]&#10;&#10;Left paren: (&#10;&#10;Right paren: )&#10;&#10;Greater-than: &amp;gt;&#10;&#10;Hash: \#&#10;&#10;Period: .&#10;&#10;Bang: !&#10;&#10;Plus: +&#10;&#10;Minus: -&#10;&#10;------------------------------------------------------------------------">
</outline>
<outline text="Links">
<outline text="Explicit" _note="Just a [URL](/url/).&#10;&#10;[URL and title](/url/ &quot;title&quot;).&#10;&#10;[URL and title](/url/ &quot;title preceded by two spaces&quot;).&#10;&#10;[URL and title](/url/ &quot;title preceded by a tab&quot;).&#10;&#10;[URL and title](/url/ &quot;title with &quot;quotes&quot; in it&quot;)&#10;&#10;[URL and title](/url/ &quot;title with single quotes&quot;)&#10;&#10;[with\_underscore](/url/with_underscore)&#10;&#10;[Email link](mailto:nobody@nowhere.net)&#10;&#10;[Empty]().">
diff --git a/test/writer.org b/test/writer.org
index df9d2b3a5..604aca21d 100644
--- a/test/writer.org
+++ b/test/writer.org
@@ -81,9 +81,9 @@ E-mail style:
Code in a block quote:
#+begin_example
- sub status {
- print "working";
- }
+ sub status {
+ print "working";
+ }
#+end_example
A list:
@@ -115,21 +115,21 @@ And a following paragraph.
Code:
#+begin_example
- ---- (should be four hyphens)
+---- (should be four hyphens)
- sub status {
- print "working";
- }
+sub status {
+ print "working";
+}
- this code block is indented by one tab
+this code block is indented by one tab
#+end_example
And:
#+begin_example
- this code block is indented by two tabs
+ this code block is indented by two tabs
- These should not be escaped: \$ \\ \> \[ \{
+These should not be escaped: \$ \\ \> \[ \{
#+end_example
--------------
@@ -348,7 +348,7 @@ Multiple blocks with italics:
- /orange/ :: orange fruit
#+begin_example
- { orange code block }
+ { orange code block }
#+end_example
#+begin_quote
@@ -446,15 +446,15 @@ foo
This should be a code block, though:
#+begin_example
- <div>
- foo
- </div>
+<div>
+ foo
+</div>
#+end_example
As should this:
#+begin_example
- <div>foo</div>
+<div>foo</div>
#+end_example
Now, nested:
@@ -485,7 +485,7 @@ Multiline:
Code block:
#+begin_example
- <!-- Comment -->
+<!-- Comment -->
#+end_example
Just plain comment, with trailing spaces on the line:
@@ -497,7 +497,7 @@ Just plain comment, with trailing spaces on the line:
Code:
#+begin_example
- <hr />
+<hr />
#+end_example
Hr's:
@@ -566,8 +566,8 @@ Superscripts: a^{bc}d a^{/hello/} a^{hello there}.
Subscripts: H_{2}O, H_{23}O, H_{many of them}O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
--------------
@@ -728,7 +728,7 @@ Indented [[/url][thrice]].
This should [not][] be a link.
#+begin_example
- [not]: /url
+[not]: /url
#+end_example
Foo [[/url/][bar]].
@@ -739,8 +739,7 @@ Foo [[/url/][biz]].
:PROPERTIES:
:CUSTOM_ID: with-ampersands
:END:
-Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the
-URL]].
+Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the URL]].
Here's a link with an amersand in the link text: [[http://att.com/][AT&T]].
@@ -767,7 +766,7 @@ An e-mail address: [[mailto:nobody@nowhere.net][nobody@nowhere.net]]
Auto-links should not occur here: =<http://example.com/>=
#+begin_example
- or here: <http://example.com/>
+or here: <http://example.com/>
#+end_example
--------------
@@ -801,8 +800,8 @@ note.[fn:3]
This paragraph should not be part of the note, as it is not indented.
-[fn:1] Here is the footnote. It can go anywhere after the footnote reference.
- It need not be placed at the end of the document.
+[fn:1] Here is the footnote. It can go anywhere after the footnote reference. It
+ need not be placed at the end of the document.
[fn:2] Here's the long note. This one contains multiple blocks.
@@ -810,11 +809,11 @@ This paragraph should not be part of the note, as it is not indented.
(as with list items).
#+begin_example
- { <code> }
+ { <code> }
#+end_example
- If you want, you can indent every line, but you can also be lazy and
- just indent the first line of each block.
+ If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.
[fn:3] This is /easier/ to type. Inline notes may contain
[[http://google.com][links]] and =]= verbatim characters, as well as
diff --git a/test/writer.plain b/test/writer.plain
index b8767957f..b9425f9c0 100644
--- a/test/writer.plain
+++ b/test/writer.plain
@@ -5,7 +5,7 @@ July 17, 2006
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
markdown test suite.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Headers
@@ -29,7 +29,7 @@ Level 2
with no blank line
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Paragraphs
@@ -44,7 +44,7 @@ Here’s one with a bullet. * criminey.
There should be a hard line break
here.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Block Quotes
@@ -73,7 +73,7 @@ This should not be a block quote: 2 > 1.
And a following paragraph.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Code Blocks
@@ -93,7 +93,7 @@ And:
These should not be escaped: \$ \\ \> \[ \{
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Lists
@@ -250,7 +250,7 @@ M.A. 2007
B. Williams
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Definition Lists
@@ -395,7 +395,7 @@ Code:
Hr’s:
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Inline Markup
@@ -421,10 +421,10 @@ Superscripts: a^(bc)d a^(hello) a^(hello there).
Subscripts: H₂O, H₂₃O, H_(many of them)O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Smart quotes, ellipses, dashes
@@ -444,7 +444,7 @@ Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and….
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
LaTeX
@@ -468,7 +468,7 @@ These shouldn’t be math:
Here’s a LaTeX table:
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Special Characters
@@ -522,7 +522,7 @@ Plus: +
Minus: -
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Links
@@ -594,7 +594,7 @@ Auto-links should not occur here: <http://example.com/>
or here: <http://example.com/>
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Images
@@ -604,7 +604,7 @@ From “Voyage dans la Lune” by Georges Melies (1902):
Here is a movie [movie] icon.
-------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
Footnotes
@@ -622,13 +622,13 @@ need not be placed at the end of the document.
[2] Here’s the long note. This one contains multiple blocks.
-Subsequent blocks are indented to show that they belong to the footnote (as
-with list items).
+Subsequent blocks are indented to show that they belong to the footnote (as with
+list items).
{ <code> }
-If you want, you can indent every line, but you can also be lazy and just
-indent the first line of each block.
+If you want, you can indent every line, but you can also be lazy and just indent
+the first line of each block.
[3] This is easier to type. Inline notes may contain links and ] verbatim
characters, as well as [bracketed text].
diff --git a/test/writer.rst b/test/writer.rst
index 8d68f7ed5..0baaa670c 100644
--- a/test/writer.rst
+++ b/test/writer.rst
@@ -580,8 +580,8 @@ Superscripts: a\ :sup:`bc`\ d a\ :sup:`hello` a\ :sup:`hello there`.
Subscripts: H\ :sub:`2`\ O, H\ :sub:`23`\ O, H\ :sub:`many of them`\ O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
--------------
diff --git a/test/writer.rtf b/test/writer.rtf
index 4f3751b36..6b8c5a0c3 100644
--- a/test/writer.rtf
+++ b/test/writer.rtf
@@ -1,4 +1,4 @@
-{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}}
+{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier;}}
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
\widowctrl\hyphauto
@@ -9,28 +9,28 @@
{\pard \ql \f0 \sa180 \li0 \fi0 \par}
{\pard \ql \f0 \sa180 \li0 \fi0 This is a set of tests for pandoc. Most of them are adapted from John Gruber\u8217's markdown test suite.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Headers\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Level 2 with an {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Headers\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Level 2 with an {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
embedded link
}}}
\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs28 Level 3 with {\i emphasis}\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs24 Level 4\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs20 Level 5\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Level 1\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Level 2 with {\i emphasis}\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs28 Level 3\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel2 \b \fs28 Level 3 with {\i emphasis}\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel3 \b \fs24 Level 4\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel4 \b \fs20 Level 5\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Level 1\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Level 2 with {\i emphasis}\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel2 \b \fs28 Level 3\par}
{\pard \ql \f0 \sa180 \li0 \fi0 with no blank line\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Level 2\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Level 2\par}
{\pard \ql \f0 \sa180 \li0 \fi0 with no blank line\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Paragraphs\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Paragraphs\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here\u8217's a regular paragraph.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here\u8217's one with a bullet. * criminey.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 There should be a hard line break\line here.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Block Quotes\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Block Quotes\par}
{\pard \ql \f0 \sa180 \li0 \fi0 E-mail style:\par}
{\pard \ql \f0 \sa180 \li720 \fi0 This is a block quote. It is pretty short.\par}
{\pard \ql \f0 \sa180 \li720 \fi0 Code in a block quote:\par}
@@ -46,7 +46,7 @@ embedded link
{\pard \ql \f0 \sa180 \li0 \fi0 This should not be a block quote: 2 > 1.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 And a following paragraph.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Code Blocks\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Code Blocks\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Code:\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 ---- (should be four hyphens)\line
\line
@@ -60,8 +60,8 @@ this code block is indented by one tab\par}
\line
These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Lists\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Unordered\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Lists\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Unordered\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Asterisks tight:\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab asterisk 1\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab asterisk 2\par}
@@ -86,7 +86,7 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 1\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 2\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 3\sa180\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Ordered\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Ordered\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Tight:\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 1.\tx360\tab First\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 2.\tx360\tab Second\par}
@@ -108,7 +108,7 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa180 \li360 \fi0 Item 1. graf two. The quick brown fox jumped over the lazy dog\u8217's back.\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 2.\tx360\tab Item 2.\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 3.\tx360\tab Item 3.\sa180\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Nested\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Nested\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Tab\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Tab\par}
{\pard \ql \f0 \sa0 \li1080 \fi-360 \bullet \tx360\tab Tab\sa180\sa180\sa180\par}
@@ -126,12 +126,12 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Fie\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Foe\sa180\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 3.\tx360\tab Third\sa180\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Tabs and spaces\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Tabs and spaces\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab this is a list item indented with tabs\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab this is a list item indented with spaces\par}
{\pard \ql \f0 \sa180 \li720 \fi-360 \endash \tx360\tab this is an example list item indented with tabs\par}
{\pard \ql \f0 \sa180 \li720 \fi-360 \endash \tx360\tab this is an example list item indented with spaces\sa180\sa180\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Fancy list markers\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Fancy list markers\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 (2)\tx360\tab begins with 2\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 (3)\tx360\tab and now 3\par}
{\pard \ql \f0 \sa180 \li360 \fi0 with a continuation\par}
@@ -152,7 +152,7 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa180 \li0 \fi0 M.A.\u160?2007\par}
{\pard \ql \f0 \sa180 \li0 \fi0 B. Williams\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Definition Lists\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Definition Lists\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Tight using spaces:\par}
{\pard \ql \f0 \sa0 \li0 \fi0 apple\par}
{\pard \ql \f0 \sa0 \li360 \fi0 red fruit\par}
@@ -204,7 +204,7 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa180 \li360 \fi0 orange fruit\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 1.\tx360\tab sublist\par}
{\pard \ql \f0 \sa0 \li720 \fi-360 2.\tx360\tab sublist\sa180\sa180\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 HTML Blocks\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 HTML Blocks\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Simple block on one line:\par}
{\pard \ql \f0 \sa0 \li0 \fi0 foo\par}
{\pard \ql \f0 \sa180 \li0 \fi0 And nested without indentation:\par}
@@ -232,7 +232,7 @@ These should not be escaped: \\$ \\\\ \\> \\[ \\\{\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 <hr />\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Hr\u8217's:\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Inline Markup\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Inline Markup\par}
{\pard \ql \f0 \sa180 \li0 \fi0 This is {\i emphasized}, and so {\i is this}.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 This is {\b strong}, and so {\b is this}.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 An {\i {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
@@ -249,7 +249,7 @@ emphasized link
{\pard \ql \f0 \sa180 \li0 \fi0 Subscripts: H{\sub 2}O, H{\sub 23}O, H{\sub many\u160?of\u160?them}O.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Smart quotes, ellipses, dashes\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Smart quotes, ellipses, dashes\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \u8220"Hello,\u8221" said the spider. \u8220"\u8216'Shelob\u8217' is my name.\u8221"\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \u8216'A\u8217', \u8216'B\u8217', and \u8216'C\u8217' are letters.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \u8216'Oak,\u8217' \u8216'elm,\u8217' and \u8216'beech\u8217' are names of trees. So is \u8216'pine.\u8217'\par}
@@ -262,7 +262,7 @@ quoted link
{\pard \ql \f0 \sa180 \li0 \fi0 Dashes between numbers: 5\u8211-7, 255\u8211-66, 1987\u8211-1999.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Ellipses\u8230?and\u8230?and\u8230?.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 LaTeX\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 LaTeX\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab 2\u8197?+\u8197?2\u8196?=\u8196?4\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\i x}\u8196?\u8712?\u8196?{\i y}\par}
@@ -278,7 +278,7 @@ quoted link
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Escaped {\f1 $}: $73 {\i this should be emphasized} 23$.\sa180\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here\u8217's a LaTeX table:\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Special Characters\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Special Characters\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here is some unicode:\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab I hat: \u206?\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab o umlaut: \u246?\par}
@@ -307,8 +307,8 @@ quoted link
{\pard \ql \f0 \sa180 \li0 \fi0 Plus: +\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Minus: -\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Links\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Explicit\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Links\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Explicit\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Just a {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL
}}}
@@ -345,7 +345,7 @@ Email link
Empty
}}}
.\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Reference\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Reference\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
}}}
@@ -380,7 +380,7 @@ bar
biz
}}}
.\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 With ampersands\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 With ampersands\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here\u8217's a {\field{\*\fldinst{HYPERLINK "http://example.com/?foo=1&bar=2"}}{\fldrslt{\ul
link with an ampersand in the URL
}}}
@@ -397,7 +397,7 @@ inline link
inline link in pointy braces
}}}
.\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Autolinks\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel1 \b \fs32 Autolinks\par}
{\pard \ql \f0 \sa180 \li0 \fi0 With an ampersand: {\field{\*\fldinst{HYPERLINK "http://example.com/?foo=1&bar=2"}}{\fldrslt{\ul
http://example.com/?foo=1&bar=2
}}}
@@ -419,12 +419,12 @@ http://example.com/
{\pard \ql \f0 \sa180 \li0 \fi0 Auto-links should not occur here: {\f1 <http://example.com/>}\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 or here: <http://example.com/>\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Images\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Images\par}
{\pard \ql \f0 \sa180 \li0 \fi0 From \u8220"Voyage dans la Lune\u8221" by Georges Melies (1902):\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 {\pict\jpegblip\picw250\pich250\picwgoal3000\pichgoal3000\bin ffd8ffe000104a46494600010101007800780000ffdb00430006040506050406060506070706080a100a0a09090a140e0f0c1017141818171416161a1d251f1a1b231c1616202c20232627292a29191f2d302d283025282928ffdb0043010707070a080a130a0a13281a161a2828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828ffc000110800fa00fa03011100021101031101ffc4001c0000000701010000000000000000000000010203040506070008ffc4003e100002010303020404040502050500030001020300041105122106311322415107617181143291a1234252b1c115f016336272d1082443e1f1265382ffc40017010101010100000000000000000000000000010204ffc4001b11010101010003010000000000000000000001110212213141ffda000c03010002110311003f00dadd18a10a704f6a95ccc57e37750782b0d8d9ea0cd32e7c5446e07e9f4ad723119a7b89e61e348f260719278aad613cbb640002938c76a182b264fc87bd13009c0c019c76e3d68a072e1cf6f4cd502d330c28269a61bb39c923923d4fad44c08dccb95cfd28b8280769ee08a263891e1808739e4f1d8d149392172cc714050dbb9fde8960ed8c60b79b1ed44103b05c331dbdb1dc5026ac1946d20ff8140aa631c773ec738a0346a003bf93e9cf02801895e7b9a01886796c923bd0090a06393c76a0142003ce3d86680d8dd9392303f5341ccc1b3cf7a2c812c37e4923d381429757013209fa511c18146c9247a0f6a007900c0c671c6280854e086c673eb45c27c038fd68aedff2fda836ef881f136f25d5e6b7d1262964aa02b03f98fbf153131935edcc97576f35c33349212cc4f39f7ab26186dfce5b200f73451f7600dcb8cf27e7400c0b291914046c9e0718fde81371b8e7273f4ef4007691919240e714097f31f376e7b5008caee27807b0f5a02c8e1b3c6d27d33cd0201d839523144d1a149ae084b78da47638211771fd050d582c3a0faab5119b6d12f8ab1c06788a0fd4e2ac356fd1fe08754ddccaba849696309e598c9e2103fed1dcfdeadc44fea5ff00a7f956366d375e492403ca935bedcf1eea4ff6ac68a55efc1beb3b552574f8e7009ff933a927ec715bc82b3a8f4d6bba5ca1352d22fe061cf9a0383f71dea5119cc6c0baed3eaac0f1fad40897dcc3d81f7a052366c1007df3400f21edefc5008c28f30c9c5170ee4fc37830086395250a7c66770c18e78da31c0c63de8609b41f7c515c5172a30c3b76344a3e377cb2339cf7a242aea89808cce368272b8c1a2e107c672a49f5c1a181c9c7ae7da8a2119e7b1f5068099ffa68258a132062d8f9e0f34059502b61bf2824e681bb297ced2a71efda80f19c47b9c77fdbe74057c13e539cf3c1a0eeeb9c73f33405ddb4f18249c1e28062b79ae242902024465b9214614649e7bd0362a7249eddc513456e5720f38f5a1a98e96e95d6baa6ebc2d1ad1e65521649bb469f563534d6d7d31f04347d2a2fc5f535db6a0e83718906c887cbbe5a9a8bef44dce9f731ca9a2e89169d6d6f2184b1455dc07b11dcfeb4d16f119c649a681285b03d3e5500f87820ff006a0e098191de80ac9b8904647b55d11da9681a56a31f87a869f6970b8ffe4883629a289aefc16e92d441682da5b098f21ed9f033f353914d19b751fc08d66cc16d12fe2bf45ec92ff0df1fdbfb559ec667aff4eeb1a04db359d3ae6d40eccebe53f46ec7f5ab82263da7dcf3eb5174e5181076918c7de869503232491ee4515c1803824f03b51287f30e0e7d803449494832c157278a2e8c71fcb9f9d144639236824d01e142efb1768cfb9c7ef40512a818de78ff00a682518e7cc30ab9e00a02cce9953247bd41e467191ed9a04205ee99da4e4e3d283a524b0427b5026c18a8e082067db8341ce0e39ed409b6502907391edda80f2dfdc496f0c124ac6184b144cf0a4e338fd2894f7a7342d4ba9b568f4fd261f12571966270a8bfd47d8511bae85f02b47b7fc34bac5d5c5dc88a0c90ab6c8d9bedce3ef4d1ad691a6dae976a96d616d15b409f9638d70054a1dbc68ea51d4329f4619a8022b78e04548515117b05000a035c5c4702a995c26e3819f534047bcb68a458cce866719540724d02e41c0f7a012a40f6141cbc8e7bd01719e38e6838af1c0a04ca8206d3cd037bdb082fad9e0bd8a39e0718649141047d0d5d18f759fc0cd3af164b8e9999acae4e4f81236e898f7c0f55fed574615aee83a96817ef67abda3db4ebdb7f66f983d88a061bb8db9e3d45165076db83c1f950a53780d8247c80a2398f182724f1c7ad080c608cfa7a51a0062adc7afbd0130173bb9c5070f071cb37e82826106e8f615e01c9e680d6b35bc534be3c1e3831b2aa962bb188f2b71df1de819ae4b1048c7f57bd01a58268e332642ae0704f7cf6207af6a01b99e17b7b6416e227407c494139909ed9f4c0a04a4e501e0f1eb40d263e53dce7fa682c9d0bd13abf58dd6db18bc2b157c4975270ab8ef8f563f21447a73a03a1f4de8eb031582b497328066b97fcd21ff038edfde88b7e32703bd64188e7e6283864b73400cd804b67ca3268317eacea6d56ff005233592f8b6303f953fa4af7c2fa93417fe98b763e0ea171297bab98558068f695ce0e08fdbd281e5c6a57ba5e9d14d716ef7774f2ec112601da4f27ec2827ada74bab559a20e148fcae36b0f91140283729c77a0e0a7777a01dac68395719e39a029607cb901b19c501480ab9279f4a086ea8d0b48d76c0586b7143224a76c61ce1831fe93e86b43cd1f12fe19ea7d2533dcdbeebcd20b612651e68f9ece3fcf6fa5067cbcf20ff009a051724905411e94032799060723da8406d6c67e7ea68d0e1770fe5cfb5026c37039ef9a02eca098c91e6e01e71c500b1d8a49c12786cf6a06a4e256008e3d050119958007920e2801154e32fb4120927b014017eb1c523ac5209a356215c291b87be28957ef853f0d66eaa99352d515e1d190f947669ce7b0ffa7e74a8f4be996569a5d9c56b6704705b46bb5238d42851f2ac875712bc70b3c30f892019540704d01ad2669a0491936330c95ce7140b2e4939a03638c7e8680ae485e33bbe540d60d3ada162c90a02c7270a39340a4f28b68da4645007a8f6a069a746f73235ddcefc391e12b2e1916824948742c99382473c73404791c617695279dc0640f9502c578c9efeb4095cb4cb0830ba21cf999c6401f4f5a05061d430c8079a02e03b3004311c7d281b5e3cd676c65489ee594e4aafe6c7ae07a9a0a075bbea3a8ea96f047d3935ebc404f04ad29411e08e011d98fed416fd212ee5b05b4d5ad6300c615807f1171eaa49eff5ad418c7c55f8466dd66d57a521f20cbcd66a7247a9283dbe5418a63862479877cf1f6c5008e400bdf1ce684016fe53dfbd1a73794600e08ce3d6800377c8c7d6800a9cf75fd4503d91492460f7ee3d28247a7b459f5fd592d22711c206f9e563858a31f99cfd050583518ba75247b1d134f9aed21396d4669769931dc01c003f7a329c4d17458ac5b55d36c12e040a3f1da75c1cb04ede2447f7f6a94567ad7a66db4fbbb29ba7d65b8b4bd8ccd09c8231eaa07b8ab04a7c2cf87b3f53ea8d77abc72c1a5dabe2452bb5a561fc83e5ee7e541e988218ed2dd22b7855228d76a46a00000ec00a510bd4dd511f4fe84da95cc31f880022da4902b1e7d3e99ac86fd03d631f565b4ee6d4dbbc649009cab2e48c83f514165b8b94b6895c44f279c280839e78ce28178ae6de46748a789e453865570483ec6812d42e85a421fc37918b00a883924d024c6e99b7a2a966c0009e17dc9f9fed40f81c77e28139218e4ff9815b9cf23340a01c907b9140201038ed402fcafd28386464e4fd33c50272bc60032609cf00fbd024f722dc66f24822ddf972f8feff00e280f69b24844919cac9ce7de83a447f30ded823007b50459d6ecacb528349b979127651b1dc795f1f3f7a0990148054823dc5015d491c0a0c3be337c2ff00c489b5ee9c87172016b9b541c49ff5a8f7f71eb560c1fc43e0a47e1aa94277310431f91fa551c1727f29ed409b641c86e31839a3454805739c1f6a026f1fd740f64665fc8c31cfde82db79bb40e9e8f49b62eb7d7e8b717ec832c91ff247fa1dc7df2281bcc9369d671493c422b7911654c1215f92bb8827bf068624ba635392df5eb4b9924558ee5bc19b71cee43c6dc7cf34c657be8db0b0b9d0f51d2afe668934dbf9628ddb8c2b8c0073f3a80da37546a7d25174fd95dc125c69f7313ee5655dfc313bd483cf07b1f6a68d5b48d5ec758b612e9d7293211c8fe653f35ee2a084eb9e8bb1eafb3582fe496278f3e1c919fcb9f97ad03ee8dd017a6741b6d3229dae161057c5750a48249ec3eb4139238568f6a9e7b103b5037934cb3793c610a2cd9277a8da73f5140ee38f6280c4b11c65b934023006d50050030e4647de80c846de3b500fcf9fbd0197273ed4007b91400e580c8e45074a82400e72682b36fd2162b7f25ddc09af2766ceeb872db79cf00f6a0b3229550140e07007a50092db860673de818df473c862686dad6470d9cce3b7b63e740fa1de6252ebb5bd81cd00bee2d800d003a6464004763ce683ce9f1cbe1f1d3a67ea1d1a30b68edffba814708c7f9c63d0fafceaca31e6dc71e1f07daa82608c83819f7a1a11ce149238fd68d0a579ec682cfd27a7c3a86bd10bc38b3b756b8b93c1fe1a8c91f7381f7a034f752ea5aa5c5eb292f732128037619c018f6ec282e5a2cb047abda74d5ce9b6da80f136de4a496219b3e48c92000323ea73467519d3da5bb757dbda410ac90c77c23058f99007ee7ec31416882ee47d23acb5185caf8bab4691b1efe57fff0038a9457ee75a82f6e7429350466b482f2742c0f74241c80c38c64541a9cfa1e89ac0177d33ab3d8de28f2b5bca429f91140e2c7a9b5ae9fb85b6ea9b46b9b3c796fe040768f76ec0fafb1f9505df4ebdb3d4edd6e74db98ee216fe68ce47d280648f75e2485a44da385ddc13f4a025ddbdbea16a633286566ce55f9c8f6c502ad750db2c514f30dec428247e6340bbf04100b73402afb943ed2b9e30683836defe9403bc1e06734020e06280cafe8683a375941d841c77c1a0151b467b50159f00e4127e5402872371040c5046eb5aadbe9b1c02e2f6dad25b89047099c677b7b0140fe3f1010afc803f3018e68160c3041ee2823f5dba92d34db89a1d9e2843b03b6d05bd013560c1748d57aa2797c6b35bab78e6959dc47231580ff336dcfb03c1a58364b5bbb7d7fa7b7427f1f673830c8664285bd1815238fad20f2c7c41e979ba43aa2e2c1cb1b663bede438f3a13c7dc76fb5515e9065b851f7a02950002a09c51a1b83cf14176e90d3645e9ad7752752aac23b3439c066665c827e944d29a6410aea725c4567135bd840d3c88a723728c29c9efe6c50d3ee9545b0bf8ef2e6e3c2fc2c6f72f2920e5f19039ee4938a9a875d03278377acf52ddf867f036ef71923932bfe51fbd3475cdc369df0db4fb389d4ea37970fa9cc0b00511795ce7d4f181eb4cd2451755fc45ac16d637381b14ca36b641dfce723e4053170d6cb52bbb362f6d3cb19241f2b9029862f09f143549ba7e7d2eef6caf2797c66ee17fdfd69862d1a069da7dfdac579d17adcda5ea9e1a992376c4723e39e3b024fd7e94c458ac3e25dee8d31d3bae74e7b79002bf8b8549471db38f5f4ed4c165e943a06a328d4ba605b4b22a1523c420c64fbaf38a82d36f0ce7cf7463790729b53017e940e0b0ceceed8ce0500e1b70daa08f5c9ed41d271cd0132476e7d7ff00aa069797d2411168ed9a41fcc858211f73c5075acb25ca6fb82aa31e58a36c81f561dcd033d42169e158ac64b98151b3981c2966cf639f4a064c7a8ac55e4865b7d493701e1c8e52403ea3cbfda827e390ca3f2c914aa81991bd281cdacc2747215c60e0ee5c67e940cb51b0b2bcbd824bfb08ee1a252d1caea1821cfa67b1fa504982b2283ce08f518a08abb82f6dd0369a5662081e14ce40c7ae1b04fda82275cb0bfd4f4536f7114589a5412461f3e4ce4e0e060f63f6ab2893d3b4b5b5b78e22ed22aae3cc3cc7e64fad3449a22a461500007602a0cd7e3b74c26b5d2ad79147baf34eccca40e4a7f30ff3f6aba3cd0543267eb5427b86f1f4c76ef45d0eca1ad5ef224d13e1cf4fd9b22192fa67bc955f8c8c617fba9fb510d7a6ed3fd43a735e5b54964be658c048fb6cdd9e7eb8a186bac97d174e6d22e23437b7ac26b95e77c68bf950fa7279e2b22dba45b59e97a669fa4ea36aeff89cea9a90451fc355ff0096ad9f4ce3f41570675d4fa8c77da8de5cde5be26bc653171ca47dc1f6c9fed5562b97f70276808da7c24f0c1c63804e33fa8a2928c0e0383c8f7ed41d92a41393f4a2548595c2c37493db4cd04e8a08f139566edfef3445b6e7aeaf65d2df48ea2b11776ae02a93e564c772adef409f4ee8ba9a21d73a36fa579ad9f325afe599171ed9c30a960d5ba0fe2843abb47a6f510fc26a4c36890f9558fcc6783506a1147b510024e30339ce680d2c6ae9861eb9a009178a0205443b989e39cd01d8075e3047ce80563057ca381ed4011c4531e503d85013c91b804a21279c903341131cda8c3abdc8650f6d20c4321232adec3dc504bab2c113c9293bb1963df3408dd4b75e1efb2856463dbc43b4631fad047e9177ad4fe32ea16b1db4b8fe1aa92571f5f5a0916bc8e0895af5c46c17cd8c9ff7da80f6d736f7f6915c59cab35bc837238ed8a072a31c1ef4062870718a06f7702dc5b3c522ee4752ae0fa8230683c75d6ba3b74ef535fe984929149e4278ca9e47edfdab42058003763ed409f88ffd6dfad06b1f12ae612fa0c76e0b471e9916d23f973eb4158d3efeff004a984da5debc1295d8e4018dbf3145d583a2ad96f356bbd7f5d90dc59587f1e79a6392f28fcaa3ee47159444ea3aa5ddfc7acf50dcdc344d7a4dbc317f52641200f6000fdeb41b5ef51d8eab672ffa9e971c97c11638268e431a46000012a3b9a351567db823b11f3ef40948e428048207a8340ab48ae83cb83ee0f3428a982719edf3e68c9cc97d3fe15ad8c9be138f2bf38e7b8f6ef40f7a5f55bdd3f56b46d3649127f1405f08e7249c76f5fa50689d48ba5f545cdcbdb462cba9206411b2b055bb07d4fb1c73528d4fa8f52d62cf47b6b8d2e65fc458c49f8a818795c151939f977a823ba0fe253750eb7fe937b04293f9f6c90be41dbdc7ff006283473c1efc1a06f69776d73bbf0f2aca32572bc80470450284a46dfca19f819f5a04e799614def26c0bdce09cfd85045dc75769d12dc3c3e2491db0dd3c85195235f7c91cfd066ae0cdba9be31f4ec61a386c1ef9d4ee473e45cfb1cf34c101d3ff1ac9d481d46c628ed24751881880833f988e7b0fa5328dfed2f2def2ce2b9b79925b791772ca87208f7a60182ee2b95cc0c48f53823fbd40ac658b30f4f4a086d4ee1d75bb6b78f4e965596366fc5211b23238008fde81f43692da5bc30d97831a0397dc09e3d714087506bf61a2c4cd77324726d2caaec141f9fd2ae0c435bf8c57173ad7876f7a2daca10489121244cdf319ce3dbf5a834fe81f881a6f57bcb6ba7c53c72c11873e28cee1db391dbef4199ff00ea4348116a5a66a8a8a04aad04847a90723f6ad7d18c312ddc02a3815423ba0f63fa541687bd9efe1b533b3c9e0a78473e899e318a09bd0ba6eef543e3b2bd8e9b10064bd9e4da001dc81401aeeb29a984d0ba7d5e1d06d4e6594f06523bc8e7f5c0ac8af752dfc17d7090d9218ec6d9447129ee71fcc4fb9cd6842ab10dc0014f3e5a2c1704b671dfdc734525226dc939e283a362c7f940344a380393df144733e2276e38f5efcd01b4bbbfc3dda4a9298a44395902e4a9c70682660d4265d62de40b1bdc1545054f95c8fe627df141af7c3af8808f3dd68dd5d2a45765884b8908d8c3b6c27b7a77a945d7a5fa474bd2ba8e4d5748b28624955d5d8b13b79ee9e983d8d40a753758c7a46b96f6114725dc92279a2810b3a64f94900763cfafa503fd3b59b79ed84da34713c0cd890f0a158fa1f981de826e1b548959fc4dc5cee24b6467e59ed4101ff19e9f676baa5d6a72c50adb4ad1ac790ccc076200f7ad41e7df881d79a87576a5f87b0f161d381db1c2a36e7e6d8ff3416bf87ff082c6f208ef7a82f22b9761bd6d619785f6dc477fa53705ab57f83bd297ceb1e9caf67708db9c4526723e849e3e94f212dd25d117fd29a8c09a76b534fa39cf8b6b71ced38e36fb73417f52e64548e34007e673e9f21ef590a1c918c90718dc281a69b68f67118d9da5058b798f6fa7fe280daadd1b2d36eae70710c4d263df0a4d583cc7a668fd4bf11b5837d7c93dcd9a3146959822a0e781f4cfa55161e9dd7fa67a4f55b9e9aea3e9f81fc09ca0ba118998fcdb2338c7b528d39f4cd2ba76e2d357d292df4eb391809963420ce1b1b576fa1e7359119f1eb4e17dd033ca172d6b2a4df303383fdeb5c8f2eef3bce4e0e335684cb0c9f354160d36f64b0baf16072b91b5f03391f43c51aab23a5debe91c4fad4d73689e6fc3a290573ff4f03e59f4a3280d67581ce916567f84b58ce0a1fccec3d58fa9a084de08c90464e4d1a8e419059b201f4a05630a176918efc50176293872c17bf14042aa0125b03db14046c60b60123fde6827fa0c68edd5365ff11346ba6292ee64194240c807e59a32b7fc51bfe8bd5ed5db424860beb62b89218422ce09c11c01dbbd0660ae110bf1bf2154838dbebfefeb41a8f4cdac7f117458f4d9ecd2df53b4cf81a822808c47255c0f7c8e7fb54a2ec2cfabba3b4b4b8d3af12eedad40926b0f070a13f9b633649f7a82eba6ea4357d321d4ecad512daf20df26e016507fa4fbfaf3e98f9d067dd2bd2faac9aa4d72d72d1e9510ca46a7631c7a320e18f1dfd7bd059afb7da816d23de4ba5de211346a1e4785f190548e4648c63b64e6b43ce9d5baafe3b539c5b452dbda46c638a167cb281c73ee4ff9340e3a3fa5f5aea4ba58f4bb57dbfcf2b02a8bf7f7a0de3a5fa0b50d2a2d92eb3e048c0a97c867dbedcf6a944e5cf4f6b76d1b3d8ea42795066266c87c81c65b9cfaf15048e83af3cd64abac08edaf01546c38dae4e0657ee6826e5b892de3702292e2545ddb55700fd0fbfca81c4b3bc718716eef9eeaa402280d14ab3c0b2c65c06fe571823ed40df56b217fa6dd5ab9216689a33f2c8c558307e83b8d77a37aaa7d22f2512c28768800c9954671b3d33ebef568d0ef7a7749eb0b5bbbb162d657b32b46d2e1564c8ed9c5644d1b0b9bbd261d2a440af6cb0e2e5b1e7dbc1238e0f7a0375b696daa7496a3a4dac8a92cf078685b271db04d391e40d5ec4586a1716de2a49e0c8c85d3b120f715ba1899173ff305413070abd89cfe9f5a2d3ee9c8639fa874eb6b804c52dc46b20c9f302c3bd11e84d47e1af4d5dc6521d3e3b662c19a58721ff5a9a321f89bd27a374b456d158dccd34d333332c9b4b2afbe47a7cb1f7aa33d2bc0d8c0f1c8f6a2c14b6d501b39cf63450897380c319e3de8065031c038f7ed40d8faf1ce41e4d004876a8dc3cc7e743025c956c818028c904579e7f0e15695c9c0541924f6c00283d0bf07f42d6b48820b8d62d20b2b58d656404959e52f83c8ff00fcfafbd4a35bb06f12391a48dd55cee2b2f3818ed8f6a8158a159890f02242079147623e631c502b0db436d1ecb7458d4738038fb0a087d6eeb508f48bb7d32d95750752b6c26c905b3ddb6f61eb574794f5cb6b9d0fa9678b512b25d24bbe52b8c1638278fbd582c57ff12afaed45b5bc0d0d8a8c08a2731ee3eec5793f40450466a1d59af446293c186cd53ca0c36eab93dc649e49fbd048e89f1675ed35e301e293919dcbf9867b37cbe94a35fe94ea4d33aba6824306dc48015750d86c6e247b0cf63591a40b8dc23fc30f14138dcac3000f9d03687547f12e8dd5af816b13148dddbcd29039c0f6f6f7a0eb5d62caf5636825db70c9bc4328f0dc0271c8a090627d3073ce681acf6505ccf14d35bc2f2c2731bb28254fb8a075144a83ca806792400334049ee6281e2496408656d880ff0031f61fa50446bd76058ea1b9e21025a3bb48afe71df9c7b71de9c8f196a0de23ca7b827d4f7add117e0cbfd4b5059392369663ff004e71c51aa97e8f555eadd258f2bf8a889cff00dc28cbd0bf123a926e96d163bdb74490bca2321c678209ff001591e71eafd7a7d7ef45cde2c20aae144638033fb9ad2e1b5e69d058da431ccf21d4a5c3b4631b62523807feaf5c7a50222f2d648c25f5aeec8c2cd19dae3d3e87e944d3eb7e90d425b49ef2292de38224f1505c3f8724a9eeaa7bd0d57a60406059436306868a7803839c7ad1a158039c13f4a33a716767f8cb9b6b55e1ae2458813e9938cd07a9f42d0b4de99b4b7d1f41b58ff19b03c93ba06607fa8b1f5f619a5b8266d74a65d42da6ba90cce996dcdc8c9fff006a5a2c2635083b05ef83eb5028076341db4b1ed9f7a04651fc41db18ed419d75b744dbea335fcb0db0335f2057901c05da73c8f9d5d18a75174a3f4c47335e35da4ce418a489374254f707d463d33565d1529b569a489a17944b06ec8057d71dcd037b4b6b8bfba31584124b27e62a8a4f1ea68357f83da7ea5a76bfe0912453ccabb49194653cb60f6ce3dfda983d196cd108c2401711f9768e306b2297d73fc6d02773a8b591922693c5004bb9d72542fa2f6efde8314ff867aeeec27500b77bb5670e36ca19b1dff2e7f2fd2837ce8bd5dd348b78b552219022870d9c46e792a4f6c608a0b846c8e03232b29ec41cd0199f1410fd4b24b1e8f712c0a5e4452d851e6c639dbf3238a0afa42ba77475e4ba8470896681da45180b18da76af3c9029c8f26dc1df2b9c606e273e86b743331924f27f4a82c12280e59b008e79f6a2d4d74188ff00e30d203a82ad7519c1ff00b860d11ba7c5e86c9fa3afae6f4091e043e021270b21e01c7dcd6479ab4dd3aeb56be4b7b184cf2b301b57d07bfd2b4bad0fe25e9f6960ba7c7a55ac50cd750335ccaade7723b83b8f6e38a2207a5ba4e7ea3d93780cb616ca53781f99fbff009a0b675a5be9765d43a75a6ad3b25adb4185429b831c70303dfdfd2831eb8954ca48f3827819c71ed406b2b1b9bf9a5fc1c4ce2253238047957dc9345d122b792eee522811a495ce1157b93ed444ff0049f476b1aaf51c761345269d25be269259570c833c6077249e062a68f53e8ef0da69509d4ae225b92a04af232ab16f98cf1f4a5a266d4dbca8af13a329ecca723f51502d14f0cb9f05d1c8ee01c91f6a0393b4edfe63c8a031608859b38f97340d84d04e5846eae50f9829ce3eb400fb24466041f5e3d2823f56d22db57b192d6e61468a41c823ff0035651916bbf04ada7badda5cad6d1b72c09dc33f2a6875d25f0865d06fe2bc6d4c4d3282026cca8cfafcfd29a34cd234a10c768f711a78f1bb392a3001208e3ec69a26a58d640c832091c90706a084ea1d3eeafdadf4f86da3166c0b4b397c18f046140f5ce4d04f4702436e91c28a9122e028ed8a0a9f5a5b6a09a1bc5a135bc72cce048b3c5bc15c638f9d59043fc2db997481aa69dae49e1cb6bb643239211939e467818f97bd305965ebce9a10bc8da9dbaa2679dd9ce3d8530572cfac87566ab05ae9f1490692b9696e1f833738555f96793504df5f25945d2576b7ec16dc46792381c7b7ad5e60f234980e42f6c9c56a82ec3eff00bd4124e49700f1c646e3cd169ce9575f83d52cee324347323f6e3861ff008a23d47d4ba6a75074fdcd8ef317e2e2ff0098bdd4706a60c3f4ae8cd5f44eb8fc3e97248a638cbc73bf90483d463b373e9574685abf42a6b5649fea72bbdeac4a8d3b018cfae31f7a6895b6b29b41d30d8e9f6bbed9213e1b7a994e724fcbb5064bd7835a9752d3af75d8116354778f660788cbd9483dbb0a0cd20b2b8d43528ad2088bdcccf854039cff00e2827a0d34e9da1de896f2182492efc0976f998aa827d3d334113a74aa9a9298628e74570478bc0c7cf1da83724bb8246d3e6416b0384da61b5501c9f5c3704f152c037561a95f5fce61d3ad6db4ab950f34b331dd9f4191db8fdcd406d67a675ab4b6d325d1af248272a43430315ddec7038f6ad4b3f448bf47eb71cb69abddebf21d5e26896203846c30c8603b9c6452d9835901405660376319ac84bf13180779d8bb82827d4fb0a06f777367a75acd7170f1430a9f331200cfceae061a0cf6dac692d7365266191db0578f5edf3a6075a6c9278b3433188a467860d96fbd40fe540471409aa0c1140750001ed8ed4058e15133c983960077edf6a06faade5c5b7822d2d926766cb967da2341dd8f0727d85033d27597d62e2ee3163756915bbf8799d71e2f19dcbf2a092b88dd9a311950a0e5b70ce47fe6ac18af53f5b69da9752dd69da9ca906876e24465d9e69881c6ff005c679c0aa2bfd267a347512c93dbb5d42d90d3c800b68c9ce0ec3cfa528db74ad034db5905ee8be1ac728dc153984f3f980f4fb56453be2de8f647a6aff53796596f0aed46798ec033ce149c0fb0ad71479c9bb9dc3bf3c55a0b95f65a825150b481a407b93c0fda8a29c06671dc93803bd131eafd0af6dffe18d2ee25982a4b04603b7a9c631fad03bbe586381bc5945b96385718c827db3eb5288eb8ba934eb15fc3c535f05427796dcccdec7150637d5bd55d5362b7975aa4d0d919018adec8637807bb60723000e4f7cd58203538aefa8aeb478a7b9beba924547b8774cf8608036a80704639cf1f9855d1a7f4c68b67a03de5e5d59dad8d988c62e1c0f107a1e7fdf7a082ea6d07a6e3e99375a7cb6b3db093c727701e2360f7f53dfb50653d4130d42ee18f48b3f0232a15218936963ebf5fbd06dbf0cfa74855b9d46e04b730c6144691e12307d33ea7de8348ba6b5478a279a004f98c479247b81f5a9438805ac0be2e02e73c9ef8fbd40c2346d43578eefc40da7da1dc8b8eefea4fcb9fef419beabf12a4bcebcb2d2fa7ee0dc58492084b30236bb6467dce383f6a0b87556a67a7f4d95a0bbb5468816f0a69c78b2e072572719ce78357079dfab3af2e7a92c963b88d94abbbf91cedc93edf418aa2c5f0dbe2a6a9a0c90d8de34773a6a8da1186d6403fa48fec682d9adeb7a9b4c9d572dacc9a6c9700456e5ca910e000ecbd8e580352fb1ae7476bd6dd49a325e5a9f3025245fe961dea097523cc0919a032af039a006936c81423104649c703ef40dcce64bc3035a87b6f0c378f9fe7cf2b8fdf340a4b6e25962915d94a67807839f7a043586922b5636ec44c061063f31f6ab079d7fe19b7eb2d4efeef55d5d74f992e9a0fc3a441dcb13927b838c9aa2d4bf042c618e178efee6e18104870172318edf5c1e6945bbe1a748ea7d2315edbea3a99bcb190030c401010e4e783ee0fa56455be3d6b90c1a6268d69e17f1486900ee98ec29ccc183119419e7e55ba11f089f523ef5058363a8059fb8e31e9421b491056c01819e28d3d0ff07eea3d53a1e3b6b8db235aca63c139c0eea68ca47a9fa6ef757b83ff00bf68ad428c2f248c7a8f9fcea518df516adac74e7544f63a2ea172f1800291e6cee19ec78cd5826344e85b6bad25ba8fade5b99dae0ee11efc71e858f7e7d054a2d7d39a75ae8f7b6b00b8917f1516624b78429da327cec493db1db1d8540cf4aea28f58d6aeae2f6dd64b498082d880488d149fcea7d4939ab04175e6850a8d32de3b78e380c8de32c4db4e18e430fef543cf86fd0d691b4fabdf6648b3b2db69ce7dd87be68342d2f4fb9b5b891af1a28a2dc05bc5036d001e0eef7352884b961a2ea9aa7555c885e08d45b5bc52b61b686c120fb939fb541276bd4b61d53624d942e2f6200bc32290633e99f4233416dd3ad3f0d611c0c77b632e71dc9ef41156dd27a45addcb3dbd9c513b1dd941821bdc7b558333b9f873757fd69a85e3f813e9c7723b5d93265d872473c11544a68ff08fa75e290b42ec4e4124e70738fa5048e89f0f745d2aeadd2decedda6525c975121183c77f7a945c754d0e0d563682ed43425369403bff00bcd58308ba7d5fe13f5a05889974a9d8b46aede4914f707d88ff001528ddf4fd7edb54d1a1d56c312dab2e64dbc9418e78f5c541296d70b716d1cd6f8789977230ecc280cb7519b816f212b205de4e0843ce300f6cfcb39a0545c42cee88e0b458ddec33ee680eac92266360debc7b5056fad2d354b9b189745744be121daf27e550548ce3d4d58324d07a725e98ea2b7ff5381f5169a7579d021fe13904ee43ddfbe49038ab46e76cf05cc714f6d309232a4a98ce54fd6b2196bb7f2e9b631b2c427b891b6851db3eff002007341e5bf887aa2ea3d4f77378be381e42fdb711ed5a1554395caf1cd07617dcd04fc85402101da791421b49920331381c60d1a69bf02f56f03a925b12c162b98c955f775e47df19a32d99b518268e4491668704a79d4aeec7b7bd4a30feb7e9144d76e265697c3e2693631674273803e556087d76f35fd49859e9925ccf611141106f2e182e3241f727f5a94681a268f79ad1b1b8b9dd66b1c2b1ce9bb06361c1e7bf3fe6a096b0d3ba57488e485b52b40909c386901607d47bf7a0ae758eb69ac4d15be81a748f0a9c35cc90b2eff4c03c1c638a0b77405c5d5d45f87be5fe359a88b81b401dc1c7d38fb50586fed18ea3015790091591e447c1518c8c7a0a0a5754d8c9d49a8d9f4ee9dba0b3b5224b9692327728f627e7c6682f9a7e996b6b3a8b6b748a348820c7720761412c064e3041ce282b5d4bd73d3bd3f33daea97ac2e540dd0a292dc8cd043c1f15ba2a7923b65bb910371b9a12141f9d02edf13ba2ade56857551e5e77244c54fd0e280746ebfe99bbbd655d56dcdc9ce08465565f4ee3bfca82d53eb3a6dac3e25c5f5ba646402e33fa77a0aff5b74ad8757e9ca972844aa37c520fcca7d3f5ab067bd369a8f467544d626c98e9f7118f0200e4465c903049c8c9e6ad1b24334b6fa6249716cab20037c309dd83db03b5640dddac3764a4f02cb1103863919fa7a1a06d6f600c37162911b7b252b87dc773f1927393f4a079f868edae1ae6328a8b1ed38e30050226e85d5dc1f879011b3c47c2f604719f9d01eff4f4b83e3c6b18bb452b1cac9b8a83de80b16e8208a3b7b58e1407cc061427cc0ff1560ce7a8f592d69a97504cad2dac01a2b53900c3e9e51ea58f727d0551e73bfb86b99a49a46dcf21c96340dc13804f20f6f9501c0e3b8a0963316fcc4607007f57bd084d64dec01200ce483468ff0040d525d1755b4d4206ff0095207c11dc67ff0019a18f56584f6daad9dade4211e39104a8ded9152b235cd8c530613229c8c1c8ef50472e81690ee00322b0c100f0debdbb7ca8111ace856371358cba85aa5cc407891ccf83f2ef4048b4ad2e59bf116769672c72f99dd1437239078e2824a4d3e1b94559234110e781839fa0a0561b38ad532a12319c86c6307e740a9732a3a00cac870cd8e0faf0681be8b6db965bb909df3c85806eeabced5a09523647e6e0fef419a6adf116daf7ac34be9dd1da686e7f1ca2e243b76320ce57df9ff1560cc3e3f470ff00c78255b842b35bc6c4af9b6e323d3e95467b6365f8dbcf062beb68c119595d8aaff6e282422e9899b4f6bb5d46cda2562a76316c1078f4a0859e1b9b762c0bf94f0e84feb4125a57505c58ea70dd5d0174a986d92b1c13f6f5a0de7a5be366877260b5d42dee2d2423124a487507ebdf15289dd3fac7a7bab6feded74d61733473acdb5a162142ff00313d81ed505fa58fc6d809380c1b9f5c502e0e05040ea367a85dea454de2ff00a610375b04c16c7a16ef8340b5f6930dce9375636acf6a278f04c5dd4f1dbf4a084e91d06f3a52dee62bbd4a2b882494ced3c8a448063b63b638fde803ab7ae749b2b3096d792c93c8c109b55dcd18ce3710473ffdd043dc758dc5869044565aa5dda4c3c2b7bc78c1f14e3963db03e7c0ab066bf1327d41ba76ca6bc48ecad24c456f6b0c87cf8e4bbfa138c0fa9aa3297c83dd4e28395811cf2680a5b93c7ed413cd1ff0f3c797b8031406645236b0508406f30e68ba49c051b97d0e0e7d28ad57e19f575c5be8f269515dac772877c11bc464dea7ba8c739ce78f9d3193bb8ebfea2bcbd6b5b6b8b58bb7f13c2f0ce31cf0deb4c0f2dbad6d743d2ee99efae752d6c02a86e0054524f6383c7ff94c0b6af274c75149a46a5a82c46f1e1479fc3190bd8156fbe7f4a960bf74e9d253f1167a3ac09e0856610e3041ec7f6c540f67b892cee7f8d18368232ef2af2508c7047cf340ead5bf130accc9b1186541e723d09ffc5033bbb1b82d74d6b37f1244daa1b38073df3f4a08eeb1d3b50d4fa6a5b4d32f12cef1902ee73e523d476fde8306eb0d3fabfa4ba92c278af67bb7281606472f90bdd58558253a6afb40ea1d62283a8b461a66a6f931cf6a7c2466f7cfb939e7b5515fbed3747b5eb8f06eb78d35080a2ec9719c76f98049a0b4ebdd37d1bad869acbf0b03c5c16b29444adf50ded41995f68564a263a66b31cd02be152505493f51c1a088bab69ad1bc179e320f07c37c8a0692b46c4995f0381db39a0b2fc34e971d57d4705bc8db6c50ef9dd97b81fcbf7381528f5ae97a1d8e996d1db69b0c7648855b10a81b80f43c739c54134147b9a036063279fb5046e957726a0f2cfe04915b06db1788305ffeac7a0a00d72f8d9c491c06337533050ac7185cf2df6a06da2da4293488f34973328c34aea428c9ec3eded40ee7d2ad249448f6b133820ee2833df3fde819ea96897461b05b87815f2ee919e5d47704fa039ab079b3e326b70eafd4ef6d6650d8e9ebf868b69c8247723efebf2aa280eb9193ebedc5002a124e015340018fb8fde82cf32b1603d0678cd02406dce3008e47ce81b499c331383c9c9f5a2e9c69377369f7d6f796a4acf148acb83fb511e91b3b3d0bab745b7d45acedd8e3732b71b1fd73f7a5a19eafd09a56a0a96b1c705b49c48510761ce4fcfbd4d0d752826b2b583476fc3daacb295b79d768de8a32b1e71f989e49f6a7d14dd1af5ba275a45b8b093c054492ea769092373765c1da4679fbd306e36ba9595fe9f0dcdbcc92c33e1579cf27d0d409ea178f68521b6b76926ee8a7853f7ff140bc768d78f6f73748d1cd103b543f0091cf6efc502f7319dac194371d8b6326829f0c501d7ae6fa568d5d4942c806d4db81839f53c8cd59456fae6e628749b5bab8b1865b08e4726588ec11e7f2e49071c93da9a31dd4341d675e9a5bad374f9858162d0b4ac70e18f0573df35a0c759f87bd53a404f174f965dfff00f479b1ef570576e34bd4b4cc0bdb3b9b7258a00e846e3f2a94376475cee4914af7ca9150685f09ba61efb52fc7dd69bf8eb7c158d1d0b47bb38f37efde968d6eeb4eb5e91d6ad25b660aee59974db6881690918e31ce39279e062a5a34bb57b88adedd1e379679065d80036679e6a07e8391bce7e940c659ef5afe1286de3b16f2b8903094b7b2fa7ce81eb380c4260ed193f2a0cd6fa5d4a4ea0fc7bdadcce923158a3039db83c038e3ef41a0e96b2ad8a35e009291b8a939d9f227e43bd590436bbd6fa269202c974b7123602c76e779624e00e29833bf897d493e896525dbcb2a6b5a9c3e1456b91b6d60cf989c7f31f7a60c02490961ebcf3eb541308e39e067b507007b96007a67fb50178f97eb4165ce18165c2927b773fad023202d9c8dbb7818ff003408300b87f2f1c107d0d0c15a4f2e339c90467f6a18bdfc2cea8ff4bd561b4b9ba686d6e64552c4f954e7d7e46a60f4688d240af1b2bc6cbf5047ca960617ba658de1b792f2d94a5ab33461b18524633fa1a81b5c8b5168967369d23c0e0a24622dc981d81c76aba29df0bb48d660d52fceb88d069f04aeb69130037127f37b9c0ed9a8350781240bbc06da72323b1f7a0eb8816e633192ebc8c9472a78fa50349b4c83c068e24f0ddbcc1c13b837be4d055b57e98b996d4db5b4a893dc1e6620b6ccf2c467efc504ce97a38d3f4d874bf09af6d46e2f25cb82724e791db15650a43f878b51fc34f3da8f132b6d6a98c80a39ff007e99aba249631b58b9047239ec3e55368aeeb7d2da6f52c0eb7f16e87f2c6e836ba90724ab7a67b55d115ac7c3e8aed2182def4c56a14096368959a423d77e3229a27b41e9d8343b01069c8a8dc9660aa3713df3c64d4a1c695d3d6b67a8cba94b9b8d4e61869e4e4a8c636a7f4afcaa09a485519caae19b966f7a0435196582c656b74df3e308beec7b50629375775b691ac5bdb6b16d6378779f019b00a31cf391c9c2f1daae0b35ef52f5374de88d77aa45a6cd25ddc0108694ee2188c28007603d6a0d16c92430a4b2ed3230dc401855cfa0a0a07c45d7b5db9d462e9ee960b14b2ee134ef8c850012147ec78ab0670b643a2efae753d72686e6e2da211db42176079c8e768f65e39f7aa332d6f58bbd635096f6fe6692695b24f603d801e82823cb900ee00e68006460051dfd680ed9f0c905b713d8d006d5f5419fa505a18f94e40501b1b81a04186d62402c87be3d6810b81290aea8467201231cd1749dbc437f9f1e201db3de8ba07dc0175c027f28a335b17c26f888d6b6d0e8fabf892a29c453b1e547f49f7a946d6424f08236491c833ee0835073294888894120700f0280813c40a6711bc8843e00fca7d3ef40e41dc081f9a811681c6f7565329185623b7e9de812b3bcf11ff0b74563bd50494cf120071b97e5fda80d7577046c9019d5669dbc340324eec67fb734103d5da96bf67a7cf0e916f6e2765f25ddc4c11107ab1c8c647cce2816d3ec7f0f6564cae6e67da375e6d52cc4af2e4fb13ed4145f899d47b3499f4bb6d46cda49b69b92921565c3648e3dd40c81cd5c0ae89f13ec246d3e379ed2d6da180b5d34849da1780b128e49271c9f4a60ba685d5fa36bc42d95c324ec7090cc9b1d87b81ed50588958977cacaaa3b9341c655f12348d1dcb8dc1946540f99a019e2134454eeda7bed3839cd052fe2136b536b5d3563a1ca53c49da4b9507198940ce7e5c9fbe281c6b7a974cf4ee4ea7242d76dc784a3c595b3e9b464e3f6ad0ac745ccbd4fadcbabea42da56959a382ce7460d6b1a93c01f97272093ebf6a82f1ad6af0e9da5cb3cecf6902216919f82aa3818c7a9f4c530649a9f5269ba7429d472239bc991a1b0d3c3152880f0f23039e7bf3de90635ab6a377aa5ebdcdecef2c9239e59f3827e5ed54302195fcc38cd01245395c1f5f4a05b606538e483c501b6939e3b5077860f3914165754c33e549000dbe87de813b820c27fa7baafb8a04a69c98e281e42618c795338033df1f3a06c03e4e029247007ad010093c35674da71f977640340081a190658e41c820f141b0fc33f8926c218b4ed609366a02249bb2d19ce3ea4528dbece68eead926b7916689c643a9e0d643387521fea2f693c2d6efc786ee46d9bfed3eff2a04669edf5295ff057a60bd865309246d3bbbedc1efef41d63a8dec9ab4fa7dd4510fc3c69234ca186e2d9c003b7a67bd034bad0a5bb96e25d575267889cc1b54446d9bd0a37bfbfbd02925945a72cba8dddc48b3f87b1e58f23c623f292bdb7fa7cf38a0a5750f54ebba56a9a67fc516b6d6fd3970ea9234677c8dc7f38f6e4640ce282d1ac4b16bfa72c1d2bad430cd1ba822061865f5007d3daac19cf547c189357d561bbd3eee683c62cd786e9b73337b8c7bd512bd39f06adedec2de0d5ae639da372e6485363107f97767b505cee755d03a5e58ac228659af123184b7b733322e38c91dbf5a943ab3d52e64b49ee755d2e64950e238e35f10c884e17cbe87dc540e6d7509a4f110e9f7566a471712850abf6ce463e6280bacea36fd33a4497f773cf32c698dcc4beee33938edc7ad05534aea683ae61d64c4d2a69b6b88d16d5ca5c303f3e386cf61db140e27b5e99e96b64bdd562b6b30aa36c6c37cac7dc9eec6b42c1a66a962fa70beb6b516d0cbe76322f86c78f6c66831bf8b5d5d2dfa35a5dce60b1933b6ce3c788769f2b331ec1b8fd2831b79649984b239773c1dc68129725c1c640e73400ec781d8fb1a03c4a85d0c8582640257bd01e51fc42236263c9c67be280429c6037eb405dbf5fd682c2a0bb976cf07d3fc5009279ef8ec4e68193a9902b28e7dc71fb501d95b098e0f6dd9e0d0049131019b047b8390281bb292484e47c8500c4f242c3076bf704704739a0be7c3febfbae9a5daf23cd017c7e19fb107bb67d0f6fd6837cd2757d1fab34f4f05e37dde630b1c3a91edf4f7159103d6eb7da65fdbdf59dadb5e2460ac876ed9e1c8c060f9efe9c8a0a75cfc42d5742d2ee5a7e9dbb494b6d6b9bc930cce4f940e3cd81ed4160e98f88315e689fff0022b57664199cc5196f0c7a164ef8f98cd0589baffa68590985eb15c0db1985839f6c2919340b69d03f5285bdd6f4bf021424db4329cb153fccc3d09c76a090d3340d2f479a7bab3b38e2924e5e451cfd280d7dafe936f6c5e4bd89813b02a36589ce318a0358dc35cc4e17f9bf234cdbb78fa0c607a7340e6cec20b1596610c6934b8323226379edda81da8dcb9ec40a042f50b5bb21645473b58b11dbd7bfca8304f8add5d67a9ea8ba5d8ea72c1a4d8a952f10f2c920e368cf71e99fad5833dd0754d6ed66bdb2e9a91a5babb2a310465a57c1ddc1038e7bd5171d3748b8d46ee1ff005298dc6a764c27d4eeaee7fe1c01795881c9e7804fe940dbe287c4b6d75a1b1d1c986d62277c91bf131f4c0f6fad0663737135d3b497124924871f98e7803007d2811dc5b83903dc0a0333f03be7de8122df2c9a05a11e5f51f7a05ce7071804fca8033e5da0734020b0183bb23e5416269577ed0e5323078ceeefdff6a03dbcd62914c2f629a47c622689800879e4fbd046f9d8a2a03e31385c0e73da8b83ca590947dcaead8208e73da8849b3e19ce704f7c5015586d006431f5cf61f3a04ee586ff002481c8fe6191408f0011eb8e30682774dea9bbb5784492ca6385832e1ca95e3d2834be9df8c312e2db5eb4375080337000f1303d18763591a469baef4d755989ec6f6dae5a23e20b599406dd8e080ddbed41272f4dd8caf1c86d163910f9595882a3d718a035edd695d3b6a926b57d0ac65b10b4e06eedd863bf141077fd7af2782bd3fa26a1a8891d57c630948c0279393dcd04cf5875258f4de9f0cb7b7b6d66d2b81ba752d85f5214724fed41036bd79d2fe319d7a8f4b9c81e58de2f04827b9ce09a07a3acecf54b790685ace8697606009e52c377b7f2e682b097d7d36acf0f55df5edbdc0977412468cb6ce3be10af3c63b9c8a0b0751f505be9690dd5d752436f62a3fe4c6448f3b7b0c64e38f615734651f107e3045ac42b67a7693018633b965bc1bc838ee173807bf7cd33065baaeb1a95f2c11dfcd2bc51fe48880aa3e8a062a8b059f595df4ae9a74de9e9ec499d43c97b1427c6e47e525bb63e4282ad3ea3712893c599dbc4259c1627713c927de81043950df97db1406da8411c92063be280230839627078e79a0390a71b5bb5003a8c1232338e4507025573e9fbd02a0e41dc0e680c3691cf714053bb34160895dc16f291d98d02322aa39f3e14707ffaa06f202a5bb0c7201f4a343aca51090497efdfbfce89840c8db8e46573923ff14410b00490d9f5c1a0425dd8ce4673e873cd0265e4dbe7041ed814009b8cbb8e5863bd07163b7716e0607b6698060b96b7b9478dc8643918247ee39a60b7e97f133a8b4e0c63d4ee597380923970a3ef4c0e13e25dfcfab457ba95bdbddb212016501867b9cfbfda982f907c74b282da34874a9048aa479c83838edc62982b7ac7c42d235cd67f15ac5b40c366418a2cb0c1c81e6f5e31db14c160d035de8cd4a3f18ea96562cc37359dfe9cac887fef039fd6b39446f56ea5d13a9dca4579a922496b1975b8d22dfc3566cf9557230703be715ac1431d4d2275325d7fae6b4f6f182a93ef1e32a9f41938f6a60afeb1a95c5fea53dccf772cf2c8c489240031f627e7565c0d67bbf160487c1801073bc0c31f91f953420f2bc8c7c52cc540032738a809905c0f4fa501940208e73df34028e703938a0577ae013f4a001300db4f03b71407461ce0502dca8c9c7dcf6a003fafcbdcd0070bc1e0fd734070db467b8a04cb9c9e68274b93bcb1daa40200ed4099765249ec476cf340849b8b264823bf34689ee009cb671df1409bc8e8b8e770e3ec68984d9c953cf97be2860b248caaebc107dc67f7a184c31232db88fd451031ce50e76039f5c8045026efb8f93279e0fd680b239504f0483d88ef409ee25bb90c79c0e050151c6e21b39ce783eb40adbcc2cefa17bdb61322387781c950e3dbdf9c8a066f28790b22e013db3dbef54726081e63c6460d34191b1bb0720f634060e7600412c781502409c8e3d7b500ed71dbef8ed40243f181c0a02e5d4e0fad006f644e4819e3b501f7e3049e7b501bc43b4e391da80558003392d40a23305e320d02e64cf998e1bf5a032b0c927b8e68049c8c8e71c6280377043118f4e680bbff00de0504ddbb3128371c1c64668024e59f3cd02521254e4fad1a2107e48fe6a6809ddb9e78a029e1463d05027ffc744a6c3857c7b1a205ff00e637fbf4a02b12b1794e39f4a02024e7249ed409924720906800005173fd7404989698ee39e4f7a04cf723d07a501fff0097ed406ffe36a018ff00281e99a037f4d0731f3bfd28007e53400ff99a810248c0cf140bc60123233cff008a0557f9beb4056eff007a07109243e79a03778b27bfbd02b128c27039a054001b818a06609de793da815006070283ffd9}\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 Here is a movie {\pict\jpegblip\picw20\pich22\picwgoal400\pichgoal440\bin ffd8ffe000104a46494600010101004800480000fffe0050546869732061727420697320696e20746865207075626c696320646f6d61696e2e204b6576696e204875676865732c206b6576696e68406569742e636f6d2c2053657074656d6265722031393935ffdb00430001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffdb00430101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffc00011080016001403012200021101031101ffc4001a000100020301000000000000000000000000080905060a07ffc400231000010501000300010500000000000000060304050708020001090a11153976b7ffc400160101010100000000000000000000000000060800ffc400261101000102050109000000000000000000010200030405061121b33134365154717475b4ffda000c03010002110311003f00a90cf388f366a62aa720ed6ae07f96901f3831d973452b8cf36fe3570fc908e46d466433e5dd954f2e96992d9e498c7753faa44916e016ca91cc7d88b38fe60a5b97737defcbcc539c98d336a57f4fc2ca9a486bf07ab575ad9a3af4df221d8215e36df86c4504ff0024574551b3d687ee0575757b3ad64e311ee62bd94158d37e24198c43973099f1fc0c41614d950246513a081abf76cfe7061f6863281e6352fd1670949c148dd6dfb0d25f5b3689b1d5c965b0eacbf4e0932ad28e22ab9ae945633f4744bd3c8cee0a7fdf085b9000f449c5f7afa30b83e0b6fd7b0c8429c9467ff9715347c891e25fa24a205861aa715e6a09bd0488237dc2723414d9891381524e8ca7c0894664f835653631ab55ee7e3de433e4ff001b30949124e4c10c8b6ad0a479b3f9c937b2cf5bc0095ad600a0a41a0e9faee174a1c605e161c6c7a313539650b0113190f1a8368e60d5b24f30ff008ea7f0bf867fa6595feeb6978f1fe0f9c26177f4d63a51a9235184750e7d18811339cd000000c75f000e00380380ae390c350def826ed42ad051fa6f501c50f9b699c3b69cbeb76476d202bf3ac985b6e0e968be66572893e6a744540bd9722e5c87956848629bc2559306bd113e8653d3b6aff651dfad7a3ac8b02958cba02a93ccf525757039bae6cff090e1d90688e8aa233ee86a4c4a3e0586d6b2340522e47dcb7d0046d8a5acb05a123ee25d2b230b2ada6e2e2f9ede3c05202520ec2487b0d56562529d8b3393bca76adca4ec1bca508abb001babc007915d84fe3dd14e207e3c62f8379da2a3b861fb6629d28dba53b6ea388ebfed866bf6dfb553455e91ed547ae92e9445253a4fdf3efb4f8ebdfbe7d3c78f1ee0bb9e13e358e942a4ed49e22cff00eeb35fdd7ebfffd9} icon.\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 {\pict\jpegblip\picw250\pich250\picwgoal3000\pichgoal3000 ffd8ffe000104a46494600010101007800780000ffdb00430006040506050406060506070706080a100a0a09090a140e0f0c1017141818171416161a1d251f1a1b231c1616202c20232627292a29191f2d302d283025282928ffdb0043010707070a080a130a0a13281a161a2828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828ffc000110800fa00fa03011100021101031101ffc4001c0000000701010000000000000000000000010203040506070008ffc4003e100002010303020404040502050500030001020300041105122106311322415107617181143291a1234252b1c115f016336272d1082443e1f1265382ffc40017010101010100000000000000000000000000010204ffc4001b11010101010003010000000000000000000001110212213141ffda000c03010002110311003f00dadd18a10a704f6a95ccc57e37750782b0d8d9ea0cd32e7c5446e07e9f4ad723119a7b89e61e348f260719278aad613cbb640002938c76a182b264fc87bd13009c0c019c76e3d68a072e1cf6f4cd502d330c28269a61bb39c923923d4fad44c08dccb95cfd28b8280769ee08a263891e1808739e4f1d8d149392172cc714050dbb9fde8960ed8c60b79b1ed44103b05c331dbdb1dc5026ac1946d20ff8140aa631c773ec738a0346a003bf93e9cf02801895e7b9a01886796c923bd0090a06393c76a0142003ce3d86680d8dd9392303f5341ccc1b3cf7a2c812c37e4923d381429757013209fa511c18146c9247a0f6a007900c0c671c6280854e086c673eb45c27c038fd68aedff2fda836ef881f136f25d5e6b7d1262964aa02b03f98fbf153131935edcc97576f35c33349212cc4f39f7ab26186dfce5b200f73451f7600dcb8cf27e7400c0b291914046c9e0718fde81371b8e7273f4ef4007691919240e714097f31f376e7b5008caee27807b0f5a02c8e1b3c6d27d33cd0201d839523144d1a149ae084b78da47638211771fd050d582c3a0faab5119b6d12f8ab1c06788a0fd4e2ac356fd1fe08754ddccaba849696309e598c9e2103fed1dcfdeadc44fea5ff00a7f956366d375e492403ca935bedcf1eea4ff6ac68a55efc1beb3b552574f8e7009ff933a927ec715bc82b3a8f4d6bba5ca1352d22fe061cf9a0383f71dea5119cc6c0baed3eaac0f1fad40897dcc3d81f7a052366c1007df3400f21edefc5008c28f30c9c5170ee4fc37830086395250a7c66770c18e78da31c0c63de8609b41f7c515c5172a30c3b76344a3e377cb2339cf7a242aea89808cce368272b8c1a2e107c672a49f5c1a181c9c7ae7da8a2119e7b1f5068099ffa68258a132062d8f9e0f34059502b61bf2824e681bb297ced2a71efda80f19c47b9c77fdbe74057c13e539cf3c1a0eeeb9c73f33405ddb4f18249c1e28062b79ae242902024465b9214614649e7bd0362a7249eddc513456e5720f38f5a1a98e96e95d6baa6ebc2d1ad1e65521649bb469f563534d6d7d31f04347d2a2fc5f535db6a0e83718906c887cbbe5a9a8bef44dce9f731ca9a2e89169d6d6f2184b1455dc07b11dcfeb4d16f119c649a681285b03d3e5500f87820ff006a0e098191de80ac9b8904647b55d11da9681a56a31f87a869f6970b8ffe4883629a289aefc16e92d441682da5b098f21ed9f033f353914d19b751fc08d66cc16d12fe2bf45ec92ff0df1fdbfb559ec667aff4eeb1a04db359d3ae6d40eccebe53f46ec7f5ab82263da7dcf3eb5174e5181076918c7de869503232491ee4515c1803824f03b51287f30e0e7d803449494832c157278a2e8c71fcb9f9d144639236824d01e142efb1768cfb9c7ef40512a818de78ff00a682518e7cc30ab9e00a02cce9953247bd41e467191ed9a04205ee99da4e4e3d283a524b0427b5026c18a8e082067db8341ce0e39ed409b6502907391edda80f2dfdc496f0c124ac6184b144cf0a4e338fd2894f7a7342d4ba9b568f4fd261f12571966270a8bfd47d8511bae85f02b47b7fc34bac5d5c5dc88a0c90ab6c8d9bedce3ef4d1ad691a6dae976a96d616d15b409f9638d70054a1dbc68ea51d4329f4619a8022b78e04548515117b05000a035c5c4702a995c26e3819f534047bcb68a458cce866719540724d02e41c0f7a012a40f6141cbc8e7bd01719e38e6838af1c0a04ca8206d3cd037bdb082fad9e0bd8a39e0718649141047d0d5d18f759fc0cd3af164b8e9999acae4e4f81236e898f7c0f55fed574615aee83a96817ef67abda3db4ebdb7f66f983d88a061bb8db9e3d45165076db83c1f950a53780d8247c80a2398f182724f1c7ad080c608cfa7a51a0062adc7afbd0130173bb9c5070f071cb37e82826106e8f615e01c9e680d6b35bc534be3c1e3831b2aa962bb188f2b71df1de819ae4b1048c7f57bd01a58268e332642ae0704f7cf6207af6a01b99e17b7b6416e227407c494139909ed9f4c0a04a4e501e0f1eb40d263e53dce7fa682c9d0bd13abf58dd6db18bc2b157c4975270ab8ef8f563f21447a73a03a1f4de8eb031582b497328066b97fcd21ff038edfde88b7e32703bd64188e7e6283864b73400cd804b67ca3268317eacea6d56ff005233592f8b6303f953fa4af7c2fa93417fe98b763e0ea171297bab98558068f695ce0e08fdbd281e5c6a57ba5e9d14d716ef7774f2ec112601da4f27ec2827ada74bab559a20e148fcae36b0f91140283729c77a0e0a7777a01dac68395719e39a029607cb901b19c501480ab9279f4a086ea8d0b48d76c0586b7143224a76c61ce1831fe93e86b43cd1f12fe19ea7d2533dcdbeebcd20b612651e68f9ece3fcf6fa5067cbcf20ff009a051724905411e94032799060723da8406d6c67e7ea68d0e1770fe5cfb5026c37039ef9a02eca098c91e6e01e71c500b1d8a49c12786cf6a06a4e256008e3d050119958007920e2801154e32fb4120927b014017eb1c523ac5209a356215c291b87be28957ef853f0d66eaa99352d515e1d190f947669ce7b0ffa7e74a8f4be996569a5d9c56b6704705b46bb5238d42851f2ac875712bc70b3c30f892019540704d01ad2669a0491936330c95ce7140b2e4939a03638c7e8680ae485e33bbe540d60d3ada162c90a02c7270a39340a4f28b68da4645007a8f6a069a746f73235ddcefc391e12b2e1916824948742c99382473c73404791c617695279dc0640f9502c578c9efeb4095cb4cb0830ba21cf999c6401f4f5a05061d430c8079a02e03b3004311c7d281b5e3cd676c65489ee594e4aafe6c7ae07a9a0a075bbea3a8ea96f047d3935ebc404f04ad29411e08e011d98fed416fd212ee5b05b4d5ad6300c615807f1171eaa49eff5ad418c7c55f8466dd66d57a521f20cbcd66a7247a9283dbe5418a63862479877cf1f6c5008e400bdf1ce684016fe53dfbd1a73794600e08ce3d6800377c8c7d6800a9cf75fd4503d91492460f7ee3d28247a7b459f5fd592d22711c206f9e563858a31f99cfd050583518ba75247b1d134f9aed21396d4669769931dc01c003f7a329c4d17458ac5b55d36c12e040a3f1da75c1cb04ede2447f7f6a94567ad7a66db4fbbb29ba7d65b8b4bd8ccd09c8231eaa07b8ab04a7c2cf87b3f53ea8d77abc72c1a5dabe2452bb5a561fc83e5ee7e541e988218ed2dd22b7855228d76a46a00000ec00a510bd4dd511f4fe84da95cc31f880022da4902b1e7d3e99ac86fd03d631f565b4ee6d4dbbc649009cab2e48c83f514165b8b94b6895c44f279c280839e78ce28178ae6de46748a789e453865570483ec6812d42e85a421fc37918b00a883924d024c6e99b7a2a966c0009e17dc9f9fed40f81c77e28139218e4ff9815b9cf23340a01c907b9140201038ed402fcafd28386464e4fd33c50272bc60032609cf00fbd024f722dc66f24822ddf972f8feff00e280f69b24844919cac9ce7de83a447f30ded823007b50459d6ecacb528349b979127651b1dc795f1f3f7a0990148054823dc5015d491c0a0c3be337c2ff00c489b5ee9c87172016b9b541c49ff5a8f7f71eb560c1fc43e0a47e1aa94277310431f91fa551c1727f29ed409b641c86e31839a3454805739c1f6a026f1fd740f64665fc8c31cfde82db79bb40e9e8f49b62eb7d7e8b717ec832c91ff247fa1dc7df2281bcc9369d671493c422b7911654c1215f92bb8827bf068624ba635392df5eb4b9924558ee5bc19b71cee43c6dc7cf34c657be8db0b0b9d0f51d2afe668934dbf9628ddb8c2b8c0073f3a80da37546a7d25174fd95dc125c69f7313ee5655dfc313bd483cf07b1f6a68d5b48d5ec758b612e9d7293211c8fe653f35ee2a084eb9e8bb1eafb3582fe496278f3e1c919fcb9f97ad03ee8dd017a6741b6d3229dae161057c5750a48249ec3eb4139238568f6a9e7b103b5037934cb3793c610a2cd9277a8da73f5140ee38f6280c4b11c65b934023006d50050030e4647de80c846de3b500fcf9fbd0197273ed4007b91400e580c8e45074a82400e72682b36fd2162b7f25ddc09af2766ceeb872db79cf00f6a0b3229550140e07007a50092db860673de818df473c862686dad6470d9cce3b7b63e740fa1de6252ebb5bd81cd00bee2d800d003a6464004763ce683ce9f1cbe1f1d3a67ea1d1a30b68edffba814708c7f9c63d0fafceaca31e6dc71e1f07daa82608c83819f7a1a11ce149238fd68d0a579ec682cfd27a7c3a86bd10bc38b3b756b8b93c1fe1a8c91f7381f7a034f752ea5aa5c5eb292f732128037619c018f6ec282e5a2cb047abda74d5ce9b6da80f136de4a496219b3e48c92000323ea73467519d3da5bb757dbda410ac90c77c23058f99007ee7ec31416882ee47d23acb5185caf8bab4691b1efe57fff0038a9457ee75a82f6e7429350466b482f2742c0f74241c80c38c64541a9cfa1e89ac0177d33ab3d8de28f2b5bca429f91140e2c7a9b5ae9fb85b6ea9b46b9b3c796fe040768f76ec0fafb1f9505df4ebdb3d4edd6e74db98ee216fe68ce47d280648f75e2485a44da385ddc13f4a025ddbdbea16a633286566ce55f9c8f6c502ad750db2c514f30dec428247e6340bbf04100b73402afb943ed2b9e30683836defe9403bc1e06734020e06280cafe8683a375941d841c77c1a0151b467b50159f00e4127e5402872371040c5046eb5aadbe9b1c02e2f6dad25b89047099c677b7b0140fe3f1010afc803f3018e68160c3041ee2823f5dba92d34db89a1d9e2843b03b6d05bd013560c1748d57aa2797c6b35bab78e6959dc47231580ff336dcfb03c1a58364b5bbb7d7fa7b7427f1f673830c8664285bd1815238fad20f2c7c41e979ba43aa2e2c1cb1b663bede438f3a13c7dc76fb5515e9065b851f7a02950002a09c51a1b83cf14176e90d3645e9ad7752752aac23b3439c066665c827e944d29a6410aea725c4567135bd840d3c88a723728c29c9efe6c50d3ee9545b0bf8ef2e6e3c2fc2c6f72f2920e5f19039ee4938a9a875d03278377acf52ddf867f036ef71923932bfe51fbd3475cdc369df0db4fb389d4ea37970fa9cc0b00511795ce7d4f181eb4cd2451755fc45ac16d637381b14ca36b641dfce723e4053170d6cb52bbb362f6d3cb19241f2b9029862f09f143549ba7e7d2eef6caf2797c66ee17fdfd69862d1a069da7dfdac579d17adcda5ea9e1a992376c4723e39e3b024fd7e94c458ac3e25dee8d31d3bae74e7b79002bf8b8549471db38f5f4ed4c165e943a06a328d4ba605b4b22a1523c420c64fbaf38a82d36f0ce7cf7463790729b53017e940e0b0ceceed8ce0500e1b70daa08f5c9ed41d271cd0132476e7d7ff00aa069797d2411168ed9a41fcc858211f73c5075acb25ca6fb82aa31e58a36c81f561dcd033d42169e158ac64b98151b3981c2966cf639f4a064c7a8ac55e4865b7d493701e1c8e52403ea3cbfda827e390ca3f2c914aa81991bd281cdacc2747215c60e0ee5c67e940cb51b0b2bcbd824bfb08ee1a252d1caea1821cfa67b1fa504982b2283ce08f518a08abb82f6dd0369a5662081e14ce40c7ae1b04fda82275cb0bfd4f4536f7114589a5412461f3e4ce4e0e060f63f6ab2893d3b4b5b5b78e22ed22aae3cc3cc7e64fad3449a22a461500007602a0cd7e3b74c26b5d2ad79147baf34eccca40e4a7f30ff3f6aba3cd0543267eb5427b86f1f4c76ef45d0eca1ad5ef224d13e1cf4fd9b22192fa67bc955f8c8c617fba9fb510d7a6ed3fd43a735e5b54964be658c048fb6cdd9e7eb8a186bac97d174e6d22e23437b7ac26b95e77c68bf950fa7279e2b22dba45b59e97a669fa4ea36aeff89cea9a90451fc355ff0096ad9f4ce3f41570675d4fa8c77da8de5cde5be26bc653171ca47dc1f6c9fed5562b97f70276808da7c24f0c1c63804e33fa8a2928c0e0383c8f7ed41d92a41393f4a2548595c2c37493db4cd04e8a08f139566edfef3445b6e7aeaf65d2df48ea2b11776ae02a93e564c772adef409f4ee8ba9a21d73a36fa579ad9f325afe599171ed9c30a960d5ba0fe2843abb47a6f510fc26a4c36890f9558fcc6783506a1147b510024e30339ce680d2c6ae9861eb9a009178a0205443b989e39cd01d8075e3047ce80563057ca381ed4011c4531e503d85013c91b804a21279c903341131cda8c3abdc8650f6d20c4321232adec3dc504bab2c113c9293bb1963df3408dd4b75e1efb2856463dbc43b4631fad047e9177ad4fe32ea16b1db4b8fe1aa92571f5f5a0916bc8e0895af5c46c17cd8c9ff7da80f6d736f7f6915c59cab35bc837238ed8a072a31c1ef4062870718a06f7702dc5b3c522ee4752ae0fa8230683c75d6ba3b74ef535fe984929149e4278ca9e47edfdab42058003763ed409f88ffd6dfad06b1f12ae612fa0c76e0b471e9916d23f973eb4158d3efeff004a984da5debc1295d8e4018dbf3145d583a2ad96f356bbd7f5d90dc59587f1e79a6392f28fcaa3ee47159444ea3aa5ddfc7acf50dcdc344d7a4dbc317f52641200f6000fdeb41b5ef51d8eab672ffa9e971c97c11638268e431a46000012a3b9a351567db823b11f3ef40948e428048207a8340ab48ae83cb83ee0f3428a982719edf3e68c9cc97d3fe15ad8c9be138f2bf38e7b8f6ef40f7a5f55bdd3f56b46d3649127f1405f08e7249c76f5fa50689d48ba5f545cdcbdb462cba9206411b2b055bb07d4fb1c73528d4fa8f52d62cf47b6b8d2e65fc458c49f8a818795c151939f977a823ba0fe253750eb7fe937b04293f9f6c90be41dbdc7ff006283473c1efc1a06f69776d73bbf0f2aca32572bc80470450284a46dfca19f819f5a04e799614def26c0bdce09cfd85045dc75769d12dc3c3e2491db0dd3c85195235f7c91cfd066ae0cdba9be31f4ec61a386c1ef9d4ee473e45cfb1cf34c101d3ff1ac9d481d46c628ed24751881880833f988e7b0fa5328dfed2f2def2ce2b9b79925b791772ca87208f7a60182ee2b95cc0c48f53823fbd40ac658b30f4f4a086d4ee1d75bb6b78f4e965596366fc5211b23238008fde81f43692da5bc30d97831a0397dc09e3d714087506bf61a2c4cd77324726d2caaec141f9fd2ae0c435bf8c57173ad7876f7a2daca10489121244cdf319ce3dbf5a834fe81f881a6f57bcb6ba7c53c72c11873e28cee1db391dbef4199ff00ea4348116a5a66a8a8a04aad04847a90723f6ad7d18c312ddc02a3815423ba0f63fa541687bd9efe1b533b3c9e0a78473e899e318a09bd0ba6eef543e3b2bd8e9b10064bd9e4da001dc81401aeeb29a984d0ba7d5e1d06d4e6594f06523bc8e7f5c0ac8af752dfc17d7090d9218ec6d9447129ee71fcc4fb9cd6842ab10dc0014f3e5a2c1704b671dfdc734525226dc939e283a362c7f940344a380393df144733e2276e38f5efcd01b4bbbfc3dda4a9298a44395902e4a9c70682660d4265d62de40b1bdc1545054f95c8fe627df141af7c3af8808f3dd68dd5d2a45765884b8908d8c3b6c27b7a77a945d7a5fa474bd2ba8e4d5748b28624955d5d8b13b79ee9e983d8d40a753758c7a46b96f6114725dc92279a2810b3a64f94900763cfafa503fd3b59b79ed84da34713c0cd890f0a158fa1f981de826e1b548959fc4dc5cee24b6467e59ed4101ff19e9f676baa5d6a72c50adb4ad1ac790ccc076200f7ad41e7df881d79a87576a5f87b0f161d381db1c2a36e7e6d8ff3416bf87ff082c6f208ef7a82f22b9761bd6d619785f6dc477fa53705ab57f83bd297ceb1e9caf67708db9c4526723e849e3e94f212dd25d117fd29a8c09a76b534fa39cf8b6b71ced38e36fb73417f52e64548e34007e673e9f21ef590a1c918c90718dc281a69b68f67118d9da5058b798f6fa7fe280daadd1b2d36eae70710c4d263df0a4d583cc7a668fd4bf11b5837d7c93dcd9a3146959822a0e781f4cfa55161e9dd7fa67a4f55b9e9aea3e9f81fc09ca0ba118998fcdb2338c7b528d39f4cd2ba76e2d357d292df4eb391809963420ce1b1b576fa1e7359119f1eb4e17dd033ca172d6b2a4df303383fdeb5c8f2eef3bce4e0e335684cb0c9f354160d36f64b0baf16072b91b5f03391f43c51aab23a5debe91c4fad4d73689e6fc3a290573ff4f03e59f4a3280d67581ce916567f84b58ce0a1fccec3d58fa9a084de08c90464e4d1a8e419059b201f4a05630a176918efc50176293872c17bf14042aa0125b03db14046c60b60123fde6827fa0c68edd5365ff11346ba6292ee64194240c807e59a32b7fc51bfe8bd5ed5db424860beb62b89218422ce09c11c01dbbd0660ae110bf1bf2154838dbebfefeb41a8f4cdac7f117458f4d9ecd2df53b4cf81a822808c47255c0f7c8e7fb54a2ec2cfabba3b4b4b8d3af12eedad40926b0f070a13f9b633649f7a82eba6ea4357d321d4ecad512daf20df26e016507fa4fbfaf3e98f9d067dd2bd2faac9aa4d72d72d1e9510ca46a7631c7a320e18f1dfd7bd059afb7da816d23de4ba5de211346a1e4785f190548e4648c63b64e6b43ce9d5baafe3b539c5b452dbda46c638a167cb281c73ee4ff9340e3a3fa5f5aea4ba58f4bb57dbfcf2b02a8bf7f7a0de3a5fa0b50d2a2d92eb3e048c0a97c867dbedcf6a944e5cf4f6b76d1b3d8ea42795066266c87c81c65b9cfaf15048e83af3cd64abac08edaf01546c38dae4e0657ee6826e5b892de3702292e2545ddb55700fd0fbfca81c4b3bc718716eef9eeaa402280d14ab3c0b2c65c06fe571823ed40df56b217fa6dd5ab9216689a33f2c8c558307e83b8d77a37aaa7d22f2512c28768800c9954671b3d33ebef568d0ef7a7749eb0b5bbbb162d657b32b46d2e1564c8ed9c5644d1b0b9bbd261d2a440af6cb0e2e5b1e7dbc1238e0f7a0375b696daa7496a3a4dac8a92cf078685b271db04d391e40d5ec4586a1716de2a49e0c8c85d3b120f715ba1899173ff305413070abd89cfe9f5a2d3ee9c8639fa874eb6b804c52dc46b20c9f302c3bd11e84d47e1af4d5dc6521d3e3b662c19a58721ff5a9a321f89bd27a374b456d158dccd34d333332c9b4b2afbe47a7cb1f7aa33d2bc0d8c0f1c8f6a2c14b6d501b39cf63450897380c319e3de8065031c038f7ed40d8faf1ce41e4d004876a8dc3cc7e743025c956c818028c904579e7f0e15695c9c0541924f6c00283d0bf07f42d6b48820b8d62d20b2b58d656404959e52f83c8ff00fcfafbd4a35bb06f12391a48dd55cee2b2f3818ed8f6a8158a159890f02242079147623e631c502b0db436d1ecb7458d4738038fb0a087d6eeb508f48bb7d32d95750752b6c26c905b3ddb6f61eb574794f5cb6b9d0fa9678b512b25d24bbe52b8c1638278fbd582c57ff12afaed45b5bc0d0d8a8c08a2731ee3eec5793f40450466a1d59af446293c186cd53ca0c36eab93dc649e49fbd048e89f1675ed35e301e293919dcbf9867b37cbe94a35fe94ea4d33aba6824306dc48015750d86c6e247b0cf63591a40b8dc23fc30f14138dcac3000f9d03687547f12e8dd5af816b13148dddbcd29039c0f6f6f7a0eb5d62caf5636825db70c9bc4328f0dc0271c8a090627d3073ce681acf6505ccf14d35bc2f2c2731bb28254fb8a075144a83ca806792400334049ee6281e2496408656d880ff0031f61fa50446bd76058ea1b9e21025a3bb48afe71df9c7b71de9c8f196a0de23ca7b827d4f7add117e0cbfd4b5059392369663ff004e71c51aa97e8f555eadd258f2bf8a889cff00dc28cbd0bf123a926e96d163bdb74490bca2321c678209ff001591e71eafd7a7d7ef45cde2c20aae144638033fb9ad2e1b5e69d058da431ccf21d4a5c3b4631b62523807feaf5c7a50222f2d648c25f5aeec8c2cd19dae3d3e87e944d3eb7e90d425b49ef2292de38224f1505c3f8724a9eeaa7bd0d57a60406059436306868a7803839c7ad1a158039c13f4a33a716767f8cb9b6b55e1ae2458813e9938cd07a9f42d0b4de99b4b7d1f41b58ff19b03c93ba06607fa8b1f5f619a5b8266d74a65d42da6ba90cce996dcdc8c9fff006a5a2c2635083b05ef83eb5028076341db4b1ed9f7a04651fc41db18ed419d75b744dbea335fcb0db0335f2057901c05da73c8f9d5d18a75174a3f4c47335e35da4ce418a489374254f707d463d33565d1529b569a489a17944b06ec8057d71dcd037b4b6b8bfba31584124b27e62a8a4f1ea68357f83da7ea5a76bfe0912453ccabb49194653cb60f6ce3dfda983d196cd108c2401711f9768e306b2297d73fc6d02773a8b591922693c5004bb9d72542fa2f6efde8314ff867aeeec27500b77bb5670e36ca19b1dff2e7f2fd2837ce8bd5dd348b78b552219022870d9c46e792a4f6c608a0b846c8e03232b29ec41cd0199f1410fd4b24b1e8f712c0a5e4452d851e6c639dbf3238a0afa42ba77475e4ba8470896681da45180b18da76af3c9029c8f26dc1df2b9c606e273e86b743331924f27f4a82c12280e59b008e79f6a2d4d74188ff00e30d203a82ad7519c1ff00b860d11ba7c5e86c9fa3afae6f4091e043e021270b21e01c7dcd6479ab4dd3aeb56be4b7b184cf2b301b57d07bfd2b4bad0fe25e9f6960ba7c7a55ac50cd750335ccaade7723b83b8f6e38a2207a5ba4e7ea3d93780cb616ca53781f99fbff009a0b675a5be9765d43a75a6ad3b25adb4185429b831c70303dfdfd2831eb8954ca48f3827819c71ed406b2b1b9bf9a5fc1c4ce2253238047957dc9345d122b792eee522811a495ce1157b93ed444ff0049f476b1aaf51c761345269d25be269259570c833c6077249e062a68f53e8ef0da69509d4ae225b92a04af232ab16f98cf1f4a5a266d4dbca8af13a329ecca723f51502d14f0cb9f05d1c8ee01c91f6a0393b4edfe63c8a031608859b38f97340d84d04e5846eae50f9829ce3eb400fb24466041f5e3d2823f56d22db57b192d6e61468a41c823ff0035651916bbf04ada7badda5cad6d1b72c09dc33f2a6875d25f0865d06fe2bc6d4c4d3282026cca8cfafcfd29a34cd234a10c768f711a78f1bb392a3001208e3ec69a26a58d640c832091c90706a084ea1d3eeafdadf4f86da3166c0b4b397c18f046140f5ce4d04f4702436e91c28a9122e028ed8a0a9f5a5b6a09a1bc5a135bc72cce048b3c5bc15c638f9d59043fc2db997481aa69dae49e1cb6bb643239211939e467818f97bd305965ebce9a10bc8da9dbaa2679dd9ce3d8530572cfac87566ab05ae9f1490692b9696e1f833738555f96793504df5f25945d2576b7ec16dc46792381c7b7ad5e60f234980e42f6c9c56a82ec3eff00bd4124e49700f1c646e3cd169ce9575f83d52cee324347323f6e3861ff008a23d47d4ba6a75074fdcd8ef317e2e2ff0098bdd4706a60c3f4ae8cd5f44eb8fc3e97248a638cbc73bf90483d463b373e9574685abf42a6b5649fea72bbdeac4a8d3b018cfae31f7a6895b6b29b41d30d8e9f6bbed9213e1b7a994e724fcbb5064bd7835a9752d3af75d8116354778f660788cbd9483dbb0a0cd20b2b8d43528ad2088bdcccf854039cff00e2827a0d34e9da1de896f2182492efc0976f998aa827d3d334113a74aa9a9298628e74570478bc0c7cf1da83724bb8246d3e6416b0384da61b5501c9f5c3704f152c037561a95f5fce61d3ad6db4ab950f34b331dd9f4191db8fdcd406d67a675ab4b6d325d1af248272a43430315ddec7038f6ad4b3f448bf47eb71cb69abddebf21d5e26896203846c30c8603b9c6452d9835901405660376319ac84bf13180779d8bb82827d4fb0a06f777367a75acd7170f1430a9f331200cfceae061a0cf6dac692d7365266191db0578f5edf3a6075a6c9278b3433188a467860d96fbd40fe540471409aa0c1140750001ed8ed4058e15133c983960077edf6a06faade5c5b7822d2d926766cb967da2341dd8f0727d85033d27597d62e2ee3163756915bbf8799d71e2f19dcbf2a092b88dd9a311950a0e5b70ce47fe6ac18af53f5b69da9752dd69da9ca906876e24465d9e69881c6ff005c679c0aa2bfd267a347512c93dbb5d42d90d3c800b68c9ce0ec3cfa528db74ad034db5905ee8be1ac728dc153984f3f980f4fb56453be2de8f647a6aff53796596f0aed46798ec033ce149c0fb0ad71479c9bb9dc3bf3c55a0b95f65a825150b481a407b93c0fda8a29c06671dc93803bd131eafd0af6dffe18d2ee25982a4b04603b7a9c631fad03bbe586381bc5945b96385718c827db3eb5288eb8ba934eb15fc3c535f05427796dcccdec7150637d5bd55d5362b7975aa4d0d919018adec8637807bb60723000e4f7cd58203538aefa8aeb478a7b9beba924547b8774cf8608036a80704639cf1f9855d1a7f4c68b67a03de5e5d59dad8d988c62e1c0f107a1e7fdf7a082ea6d07a6e3e99375a7cb6b3db093c727701e2360f7f53dfb50653d4130d42ee18f48b3f0232a15218936963ebf5fbd06dbf0cfa74855b9d46e04b730c6144691e12307d33ea7de8348ba6b5478a279a004f98c479247b81f5a9438805ac0be2e02e73c9ef8fbd40c2346d43578eefc40da7da1dc8b8eefea4fcb9fef419beabf12a4bcebcb2d2fa7ee0dc58492084b30236bb6467dce383f6a0b87556a67a7f4d95a0bbb5468816f0a69c78b2e072572719ce78357079dfab3af2e7a92c963b88d94abbbf91cedc93edf418aa2c5f0dbe2a6a9a0c90d8de34773a6a8da1186d6403fa48fec682d9adeb7a9b4c9d572dacc9a6c9700456e5ca910e000ecbd8e580352fb1ae7476bd6dd49a325e5a9f3025245fe961dea097523cc0919a032af039a006936c81423104649c703ef40dcce64bc3035a87b6f0c378f9fe7cf2b8fdf340a4b6e25962915d94a67807839f7a043586922b5636ec44c061063f31f6ab079d7fe19b7eb2d4efeef55d5d74f992e9a0fc3a441dcb13927b838c9aa2d4bf042c618e178efee6e18104870172318edf5c1e6945bbe1a748ea7d2315edbea3a99bcb190030c401010e4e783ee0fa56455be3d6b90c1a6268d69e17f1486900ee98ec29ccc183119419e7e55ba11f089f523ef5058363a8059fb8e31e9421b491056c01819e28d3d0ff07eea3d53a1e3b6b8db235aca63c139c0eea68ca47a9fa6ef757b83ff00bf68ad428c2f248c7a8f9fcea518df516adac74e7544f63a2ea172f1800291e6cee19ec78cd5826344e85b6bad25ba8fade5b99dae0ee11efc71e858f7e7d054a2d7d39a75ae8f7b6b00b8917f1516624b78429da327cec493db1db1d8540cf4aea28f58d6aeae2f6dd64b498082d880488d149fcea7d4939ab04175e6850a8d32de3b78e380c8de32c4db4e18e430fef543cf86fd0d691b4fabdf6648b3b2db69ce7dd87be68342d2f4fb9b5b891af1a28a2dc05bc5036d001e0eef7352884b961a2ea9aa7555c885e08d45b5bc52b61b686c120fb939fb541276bd4b61d53624d942e2f6200bc32290633e99f4233416dd3ad3f0d611c0c77b632e71dc9ef41156dd27a45addcb3dbd9c513b1dd941821bdc7b558333b9f873757fd69a85e3f813e9c7723b5d93265d872473c11544a68ff08fa75e290b42ec4e4124e70738fa5048e89f0f745d2aeadd2decedda6525c975121183c77f7a945c754d0e0d563682ed43425369403bff00bcd58308ba7d5fe13f5a05889974a9d8b46aede4914f707d88ff001528ddf4fd7edb54d1a1d56c312dab2e64dbc9418e78f5c541296d70b716d1cd6f8789977230ecc280cb7519b816f212b205de4e0843ce300f6cfcb39a0545c42cee88e0b458ddec33ee680eac92266360debc7b5056fad2d354b9b189745744be121daf27e550548ce3d4d58324d07a725e98ea2b7ff5381f5169a7579d021fe13904ee43ddfbe49038ab46e76cf05cc714f6d309232a4a98ce54fd6b2196bb7f2e9b631b2c427b891b6851db3eff002007341e5bf887aa2ea3d4f77378be381e42fdb711ed5a1554395caf1cd07617dcd04fc85402101da791421b49920331381c60d1a69bf02f56f03a925b12c162b98c955f775e47df19a32d99b518268e4491668704a79d4aeec7b7bd4a30feb7e9144d76e265697c3e2693631674273803e556087d76f35fd49859e9925ccf611141106f2e182e3241f727f5a94681a268f79ad1b1b8b9dd66b1c2b1ce9bb06361c1e7bf3fe6a096b0d3ba57488e485b52b40909c386901607d47bf7a0ae758eb69ac4d15be81a748f0a9c35cc90b2eff4c03c1c638a0b77405c5d5d45f87be5fe359a88b81b401dc1c7d38fb50586fed18ea3015790091591e447c1518c8c7a0a0a5754d8c9d49a8d9f4ee9dba0b3b5224b9692327728f627e7c6682f9a7e996b6b3a8b6b748a348820c7720761412c064e3041ce282b5d4bd73d3bd3f33daea97ac2e540dd0a292dc8cd043c1f15ba2a7923b65bb910371b9a12141f9d02edf13ba2ade56857551e5e77244c54fd0e280746ebfe99bbbd655d56dcdc9ce08465565f4ee3bfca82d53eb3a6dac3e25c5f5ba646402e33fa77a0aff5b74ad8757e9ca972844aa37c520fcca7d3f5ab067bd369a8f467544d626c98e9f7118f0200e4465c903049c8c9e6ad1b24334b6fa6249716cab20037c309dd83db03b5640dddac3764a4f02cb1103863919fa7a1a06d6f600c37162911b7b252b87dc773f1927393f4a079f868edae1ae6328a8b1ed38e30050226e85d5dc1f879011b3c47c2f604719f9d01eff4f4b83e3c6b18bb452b1cac9b8a83de80b16e8208a3b7b58e1407cc061427cc0ff1560ce7a8f592d69a97504cad2dac01a2b53900c3e9e51ea58f727d0551e73bfb86b99a49a46dcf21c96340dc13804f20f6f9501c0e3b8a0963316fcc4607007f57bd084d64dec01200ce483468ff0040d525d1755b4d4206ff0095207c11dc67ff0019a18f56584f6daad9dade4211e39104a8ded9152b235cd8c530613229c8c1c8ef50472e81690ee00322b0c100f0debdbb7ca8111ace856371358cba85aa5cc407891ccf83f2ef4048b4ad2e59bf116769672c72f99dd1437239078e2824a4d3e1b94559234110e781839fa0a0561b38ad532a12319c86c6307e740a9732a3a00cac870cd8e0faf0681be8b6db965bb909df3c85806eeabced5a09523647e6e0fef419a6adf116daf7ac34be9dd1da686e7f1ca2e243b76320ce57df9ff1560cc3e3f470ff00c78255b842b35bc6c4af9b6e323d3e95467b6365f8dbcf062beb68c119595d8aaff6e282422e9899b4f6bb5d46cda2562a76316c1078f4a0859e1b9b762c0bf94f0e84feb4125a57505c58ea70dd5d0174a986d92b1c13f6f5a0de7a5be366877260b5d42dee2d2423124a487507ebdf15289dd3fac7a7bab6feded74d61733473acdb5a162142ff00313d81ed505fa58fc6d809380c1b9f5c502e0e05040ea367a85dea454de2ff00a610375b04c16c7a16ef8340b5f6930dce9375636acf6a278f04c5dd4f1dbf4a084e91d06f3a52dee62bbd4a2b882494ced3c8a448063b63b638fde803ab7ae749b2b3096d792c93c8c109b55dcd18ce3710473ffdd043dc758dc5869044565aa5dda4c3c2b7bc78c1f14e3963db03e7c0ab066bf1327d41ba76ca6bc48ecad24c456f6b0c87cf8e4bbfa138c0fa9aa3297c83dd4e28395811cf2680a5b93c7ed413cd1ff0f3c797b8031406645236b0508406f30e68ba49c051b97d0e0e7d28ad57e19f575c5be8f269515dac772877c11bc464dea7ba8c739ce78f9d3193bb8ebfea2bcbd6b5b6b8b58bb7f13c2f0ce31cf0deb4c0f2dbad6d743d2ee99efae752d6c02a86e0054524f6383c7ff94c0b6af274c75149a46a5a82c46f1e1479fc3190bd8156fbe7f4a960bf74e9d253f1167a3ac09e0856610e3041ec7f6c540f67b892cee7f8d18368232ef2af2508c7047cf340ead5bf130accc9b1186541e723d09ffc5033bbb1b82d74d6b37f1244daa1b38073df3f4a08eeb1d3b50d4fa6a5b4d32f12cef1902ee73e523d476fde8306eb0d3fabfa4ba92c278af67bb7281606472f90bdd58558253a6afb40ea1d62283a8b461a66a6f931cf6a7c2466f7cfb939e7b5515fbed3747b5eb8f06eb78d35080a2ec9719c76f98049a0b4ebdd37d1bad869acbf0b03c5c16b29444adf50ded41995f68564a263a66b31cd02be152505493f51c1a088bab69ad1bc179e320f07c37c8a0692b46c4995f0381db39a0b2fc34e971d57d4705bc8db6c50ef9dd97b81fcbf7381528f5ae97a1d8e996d1db69b0c7648855b10a81b80f43c739c54134147b9a036063279fb5046e957726a0f2cfe04915b06db1788305ffeac7a0a00d72f8d9c491c06337533050ac7185cf2df6a06da2da4293488f34973328c34aea428c9ec3eded40ee7d2ad249448f6b133820ee2833df3fde819ea96897461b05b87815f2ee919e5d47704fa039ab079b3e326b70eafd4ef6d6650d8e9ebf868b69c8247723efebf2aa280eb9193ebedc5002a124e015340018fb8fde82cf32b1603d0678cd02406dce3008e47ce81b499c331383c9c9f5a2e9c69377369f7d6f796a4acf148acb83fb511e91b3b3d0bab745b7d45acedd8e3732b71b1fd73f7a5a19eafd09a56a0a96b1c705b49c48510761ce4fcfbd4d0d752826b2b583476fc3daacb295b79d768de8a32b1e71f989e49f6a7d14dd1af5ba275a45b8b093c054492ea769092373765c1da4679fbd306e36ba9595fe9f0dcdbcc92c33e1579cf27d0d409ea178f68521b6b76926ee8a7853f7ff140bc768d78f6f73748d1cd103b543f0091cf6efc502f7319dac194371d8b6326829f0c501d7ae6fa568d5d4942c806d4db81839f53c8cd59456fae6e628749b5bab8b1865b08e4726588ec11e7f2e49071c93da9a31dd4341d675e9a5bad374f9858162d0b4ac70e18f0573df35a0c759f87bd53a404f174f965dfff00f479b1ef570576e34bd4b4cc0bdb3b9b7258a00e846e3f2a94376475cee4914af7ca9150685f09ba61efb52fc7dd69bf8eb7c158d1d0b47bb38f37efde968d6eeb4eb5e91d6ad25b660aee59974db6881690918e31ce39279e062a5a34bb57b88adedd1e379679065d80036679e6a07e8391bce7e940c659ef5afe1286de3b16f2b8903094b7b2fa7ce81eb380c4260ed193f2a0cd6fa5d4a4ea0fc7bdadcce923158a3039db83c038e3ef41a0e96b2ad8a35e009291b8a939d9f227e43bd590436bbd6fa269202c974b7123602c76e779624e00e29833bf897d493e896525dbcb2a6b5a9c3e1456b91b6d60cf989c7f31f7a60c02490961ebcf3eb541308e39e067b507007b96007a67fb50178f97eb4165ce18165c2927b773fad023202d9c8dbb7818ff003408300b87f2f1c107d0d0c15a4f2e339c90467f6a18bdfc2cea8ff4bd561b4b9ba686d6e64552c4f954e7d7e46a60f4688d240af1b2bc6cbf5047ca960617ba658de1b792f2d94a5ab33461b18524633fa1a81b5c8b5168967369d23c0e0a24622dc981d81c76aba29df0bb48d660d52fceb88d069f04aeb69130037127f37b9c0ed9a8350781240bbc06da72323b1f7a0eb8816e633192ebc8c9472a78fa50349b4c83c068e24f0ddbcc1c13b837be4d055b57e98b996d4db5b4a893dc1e6620b6ccf2c467efc504ce97a38d3f4d874bf09af6d46e2f25cb82724e791db15650a43f878b51fc34f3da8f132b6d6a98c80a39ff007e99aba249631b58b9047239ec3e55368aeeb7d2da6f52c0eb7f16e87f2c6e836ba90724ab7a67b55d115ac7c3e8aed2182def4c56a14096368959a423d77e3229a27b41e9d8343b01069c8a8dc9660aa3713df3c64d4a1c695d3d6b67a8cba94b9b8d4e61869e4e4a8c636a7f4afcaa09a485519caae19b966f7a0435196582c656b74df3e308beec7b50629375775b691ac5bdb6b16d6378779f019b00a31cf391c9c2f1daae0b35ef52f5374de88d77aa45a6cd25ddc0108694ee2188c28007603d6a0d16c92430a4b2ed3230dc401855cfa0a0a07c45d7b5db9d462e9ee960b14b2ee134ef8c850012147ec78ab0670b643a2efae753d72686e6e2da211db42176079c8e768f65e39f7aa332d6f58bbd635096f6fe6692695b24f603d801e82823cb900ee00e68006460051dfd680ed9f0c905b713d8d006d5f5419fa505a18f94e40501b1b81a04186d62402c87be3d6810b81290aea8467201231cd1749dbc437f9f1e201db3de8ba07dc0175c027f28a335b17c26f888d6b6d0e8fabf892a29c453b1e547f49f7a946d6424f08236491c833ee0835073294888894120700f0280813c40a6711bc8843e00fca7d3ef40e41dc081f9a811681c6f7565329185623b7e9de812b3bcf11ff0b74563bd50494cf120071b97e5fda80d7577046c9019d5669dbc340324eec67fb734103d5da96bf67a7cf0e916f6e2765f25ddc4c11107ab1c8c647cce2816d3ec7f0f6564cae6e67da375e6d52cc4af2e4fb13ed4145f899d47b3499f4bb6d46cda49b69b92921565c3648e3dd40c81cd5c0ae89f13ec246d3e379ed2d6da180b5d34849da1780b128e49271c9f4a60ba685d5fa36bc42d95c324ec7090cc9b1d87b81ed50588958977cacaaa3b9341c655f12348d1dcb8dc1946540f99a019e2134454eeda7bed3839cd052fe2136b536b5d3563a1ca53c49da4b9507198940ce7e5c9fbe281c6b7a974cf4ee4ea7242d76dc784a3c595b3e9b464e3f6ad0ac745ccbd4fadcbabea42da56959a382ce7460d6b1a93c01f97272093ebf6a82f1ad6af0e9da5cb3cecf6902216919f82aa3818c7a9f4c530649a9f5269ba7429d472239bc991a1b0d3c3152880f0f23039e7bf3de90635ab6a377aa5ebdcdecef2c9239e59f3827e5ed54302195fcc38cd01245395c1f5f4a05b606538e483c501b6939e3b5077860f3914165754c33e549000dbe87de813b820c27fa7baafb8a04a69c98e281e42618c795338033df1f3a06c03e4e029247007ad010093c35674da71f977640340081a190658e41c820f141b0fc33f8926c218b4ed609366a02249bb2d19ce3ea4528dbece68eead926b7916689c643a9e0d643387521fea2f693c2d6efc786ee46d9bfed3eff2a04669edf5295ff057a60bd865309246d3bbbedc1efef41d63a8dec9ab4fa7dd4510fc3c69234ca186e2d9c003b7a67bd034bad0a5bb96e25d575267889cc1b54446d9bd0a37bfbfbd02925945a72cba8dddc48b3f87b1e58f23c623f292bdb7fa7cf38a0a5750f54ebba56a9a67fc516b6d6fd3970ea9234677c8dc7f38f6e4640ce282d1ac4b16bfa72c1d2bad430cd1ba822061865f5007d3daac19cf547c189357d561bbd3eee683c62cd786e9b73337b8c7bd512bd39f06adedec2de0d5ae639da372e6485363107f97767b505cee755d03a5e58ac228659af123184b7b733322e38c91dbf5a943ab3d52e64b49ee755d2e64950e238e35f10c884e17cbe87dc540e6d7509a4f110e9f7566a471712850abf6ce463e6280bacea36fd33a4497f773cf32c698dcc4beee33938edc7ad05534aea683ae61d64c4d2a69b6b88d16d5ca5c303f3e386cf61db140e27b5e99e96b64bdd562b6b30aa36c6c37cac7dc9eec6b42c1a66a962fa70beb6b516d0cbe76322f86c78f6c66831bf8b5d5d2dfa35a5dce60b1933b6ce3c788769f2b331ec1b8fd2831b79649984b239773c1dc68129725c1c640e73400ec781d8fb1a03c4a85d0c8582640257bd01e51fc42236263c9c67be280429c6037eb405dbf5fd682c2a0bb976cf07d3fc5009279ef8ec4e68193a9902b28e7dc71fb501d95b098e0f6dd9e0d0049131019b047b8390281bb292484e47c8500c4f242c3076bf704704739a0be7c3febfbae9a5daf23cd017c7e19fb107bb67d0f6fd6837cd2757d1fab34f4f05e37dde630b1c3a91edf4f7159103d6eb7da65fdbdf59dadb5e2460ac876ed9e1c8c060f9efe9c8a0a75cfc42d5742d2ee5a7e9dbb494b6d6b9bc930cce4f940e3cd81ed4160e98f88315e689fff0022b57664199cc5196f0c7a164ef8f98cd0589baffa68590985eb15c0db1985839f6c2919340b69d03f5285bdd6f4bf021424db4329cb153fccc3d09c76a090d3340d2f479a7bab3b38e2924e5e451cfd280d7dafe936f6c5e4bd89813b02a36589ce318a0358dc35cc4e17f9bf234cdbb78fa0c607a7340e6cec20b1596610c6934b8323226379edda81da8dcb9ec40a042f50b5bb21645473b58b11dbd7bfca8304f8add5d67a9ea8ba5d8ea72c1a4d8a952f10f2c920e368cf71e99fad5833dd0754d6ed66bdb2e9a91a5babb2a310465a57c1ddc1038e7bd5171d3748b8d46ee1ff005298dc6a764c27d4eeaee7fe1c01795881c9e7804fe940dbe287c4b6d75a1b1d1c986d62277c91bf131f4c0f6fad0663737135d3b497124924871f98e7803007d2811dc5b83903dc0a0333f03be7de8122df2c9a05a11e5f51f7a05ce7071804fca8033e5da0734020b0183bb23e5416269577ed0e5323078ceeefdff6a03dbcd62914c2f629a47c622689800879e4fbd046f9d8a2a03e31385c0e73da8b83ca590947dcaead8208e73da8849b3e19ce704f7c5015586d006431f5cf61f3a04ee586ff002481c8fe6191408f0011eb8e30682774dea9bbb5784492ca6385832e1ca95e3d2834be9df8c312e2db5eb4375080337000f1303d18763591a469baef4d755989ec6f6dae5a23e20b599406dd8e080ddbed41272f4dd8caf1c86d163910f9595882a3d718a035edd695d3b6a926b57d0ac65b10b4e06eedd863bf141077fd7af2782bd3fa26a1a8891d57c630948c0279393dcd04cf5875258f4de9f0cb7b7b6d66d2b81ba752d85f5214724fed41036bd79d2fe319d7a8f4b9c81e58de2f04827b9ce09a07a3acecf54b790685ace8697606009e52c377b7f2e682b097d7d36acf0f55df5edbdc0977412468cb6ce3be10af3c63b9c8a0b0751f505be9690dd5d752436f62a3fe4c6448f3b7b0c64e38f615734651f107e3045ac42b67a7693018633b965bc1bc838ee173807bf7cd33065baaeb1a95f2c11dfcd2bc51fe48880aa3e8a062a8b059f595df4ae9a74de9e9ec499d43c97b1427c6e47e525bb63e4282ad3ea3712893c599dbc4259c1627713c927de81043950df97db1406da8411c92063be280230839627078e79a0390a71b5bb5003a8c1232338e4507025573e9fbd02a0e41dc0e680c3691cf714053bb34160895dc16f291d98d02322aa39f3e14707ffaa06f202a5bb0c7201f4a343aca51090497efdfbfce89840c8db8e46573923ff14410b00490d9f5c1a0425dd8ce4673e873cd0265e4dbe7041ed814009b8cbb8e5863bd07163b7716e0607b6698060b96b7b9478dc8643918247ee39a60b7e97f133a8b4e0c63d4ee597380923970a3ef4c0e13e25dfcfab457ba95bdbddb212016501867b9cfbfda982f907c74b282da34874a9048aa479c83838edc62982b7ac7c42d235cd67f15ac5b40c366418a2cb0c1c81e6f5e31db14c160d035de8cd4a3f18ea96562cc37359dfe9cac887fef039fd6b39446f56ea5d13a9dca4579a922496b1975b8d22dfc3566cf9557230703be715ac1431d4d2275325d7fae6b4f6f182a93ef1e32a9f41938f6a60afeb1a95c5fea53dccf772cf2c8c489240031f627e7565c0d67bbf160487c1801073bc0c31f91f953420f2bc8c7c52cc540032738a809905c0f4fa501940208e73df34028e703938a0577ae013f4a001300db4f03b71407461ce0502dca8c9c7dcf6a003fafcbdcd0070bc1e0fd734070db467b8a04cb9c9e68274b93bcb1daa40200ed4099765249ec476cf340849b8b264823bf34689ee009cb671df1409bc8e8b8e770e3ec68984d9c953cf97be2860b248caaebc107dc67f7a184c31232db88fd451031ce50e76039f5c8045026efb8f93279e0fd680b239504f0483d88ef409ee25bb90c79c0e050151c6e21b39ce783eb40adbcc2cefa17bdb61322387781c950e3dbdf9c8a066f28790b22e013db3dbef54726081e63c6460d34191b1bb0720f634060e7600412c781502409c8e3d7b500ed71dbef8ed40243f181c0a02e5d4e0fad006f644e4819e3b501f7e3049e7b501bc43b4e391da80558003392d40a23305e320d02e64cf998e1bf5a032b0c927b8e68049c8c8e71c6280377043118f4e680bbff00de0504ddbb3128371c1c64668024e59f3cd02521254e4fad1a2107e48fe6a6809ddb9e78a029e1463d05027ffc744a6c3857c7b1a205ff00e637fbf4a02b12b1794e39f4a02024e7249ed409924720906800005173fd7404989698ee39e4f7a04cf723d07a501fff0097ed406ffe36a018ff00281e99a037f4d0731f3bfd28007e53400ff99a810248c0cf140bc60123233cff008a0557f9beb4056eff007a07109243e79a03778b27bfbd02b128c27039a054001b818a06609de793da815006070283ffd9}\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 Here is a movie {\pict\jpegblip\picw20\pich22\picwgoal400\pichgoal440 ffd8ffe000104a46494600010101004800480000fffe0050546869732061727420697320696e20746865207075626c696320646f6d61696e2e204b6576696e204875676865732c206b6576696e68406569742e636f6d2c2053657074656d6265722031393935ffdb00430001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffdb00430101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffc00011080016001403012200021101031101ffc4001a000100020301000000000000000000000000080905060a07ffc400231000010501000300010500000000000000060304050708020001090a11153976b7ffc400160101010100000000000000000000000000060800ffc400261101000102050109000000000000000000010200030405061121b33134365154717475b4ffda000c03010002110311003f00a90cf388f366a62aa720ed6ae07f96901f3831d973452b8cf36fe3570fc908e46d466433e5dd954f2e96992d9e498c7753faa44916e016ca91cc7d88b38fe60a5b97737defcbcc539c98d336a57f4fc2ca9a486bf07ab575ad9a3af4df221d8215e36df86c4504ff0024574551b3d687ee0575757b3ad64e311ee62bd94158d37e24198c43973099f1fc0c41614d950246513a081abf76cfe7061f6863281e6352fd1670949c148dd6dfb0d25f5b3689b1d5c965b0eacbf4e0932ad28e22ab9ae945633f4744bd3c8cee0a7fdf085b9000f449c5f7afa30b83e0b6fd7b0c8429c9467ff9715347c891e25fa24a205861aa715e6a09bd0488237dc2723414d9891381524e8ca7c0894664f835653631ab55ee7e3de433e4ff001b30949124e4c10c8b6ad0a479b3f9c937b2cf5bc0095ad600a0a41a0e9faee174a1c605e161c6c7a313539650b0113190f1a8368e60d5b24f30ff008ea7f0bf867fa6595feeb6978f1fe0f9c26177f4d63a51a9235184750e7d18811339cd000000c75f000e00380380ae390c350def826ed42ad051fa6f501c50f9b699c3b69cbeb76476d202bf3ac985b6e0e968be66572893e6a744540bd9722e5c87956848629bc2559306bd113e8653d3b6aff651dfad7a3ac8b02958cba02a93ccf525757039bae6cff090e1d90688e8aa233ee86a4c4a3e0586d6b2340522e47dcb7d0046d8a5acb05a123ee25d2b230b2ada6e2e2f9ede3c05202520ec2487b0d56562529d8b3393bca76adca4ec1bca508abb001babc007915d84fe3dd14e207e3c62f8379da2a3b861fb6629d28dba53b6ea388ebfed866bf6dfb553455e91ed547ae92e9445253a4fdf3efb4f8ebdfbe7d3c78f1ee0bb9e13e358e942a4ed49e22cff00eeb35fdd7ebfffd9} icon.\par}
{\pard \qc \f0 \sa180 \li0 \fi0 \emdash\emdash\emdash\emdash\emdash\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Footnotes\par}
+{\pard \ql \f0 \sa180 \li0 \fi0 \outlinelevel0 \b \fs36 Footnotes\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Here is a footnote reference,{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \ql \f0 \sa180 \li0 \fi0 Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.\par}
} and another.{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \ql \f0 \sa180 \li0 \fi0 Here\u8217's the long note. This one contains multiple blocks.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Subsequent blocks are indented to show that they belong to the footnote (as with list items).\par}
diff --git a/test/writer.tei b/test/writer.tei
index 587a6fcca..1ded37956 100644
--- a/test/writer.tei
+++ b/test/writer.tei
@@ -54,9 +54,9 @@ Gruber’s markdown test suite.</p>
<div type="level1" xml:id="paragraphs">
<head>Paragraphs</head>
<p>Here’s a regular paragraph.</p>
- <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
- item. Because a hard-wrapped line in the middle of a paragraph looked like a
- list item.</p>
+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
+ Because a hard-wrapped line in the middle of a paragraph looked like a list
+ item.</p>
<p>Here’s one with a bullet. * criminey.</p>
<p>There should be a hard line break<lb />here.</p>
<milestone unit="undefined" type="separator" rendition="line" />
@@ -630,10 +630,10 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<p><quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
name.</quote></p>
<p><quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are letters.</p>
- <p><quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are
- names of trees. So is <quote>pine.</quote></p>
- <p><quote>He said, <quote>I want to go.</quote></quote> Were you alive in
- the 70’s?</p>
+ <p><quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are names
+ of trees. So is <quote>pine.</quote></p>
+ <p><quote>He said, <quote>I want to go.</quote></quote> Were you alive in the
+ 70’s?</p>
<p>Here is some quoted <quote><seg type="code">code</seg></quote> and a
<quote><ref target="http://example.com/?foo=1&amp;bar=2">quoted
link</ref></quote>.</p>
@@ -821,8 +821,8 @@ or here: &lt;http://example.com/&gt;
<div type="level1" xml:id="footnotes">
<head>Footnotes</head>
<p>Here is a footnote reference,<note>
- <p>Here is the footnote. It can go anywhere after the footnote reference.
- It need not be placed at the end of the document.</p>
+ <p>Here is the footnote. It can go anywhere after the footnote reference. It
+ need not be placed at the end of the document.</p>
</note> and another.<note>
<p>Here’s the long note. This one contains multiple blocks.</p>
<p>Subsequent blocks are indented to show that they belong to the footnote
@@ -830,8 +830,8 @@ or here: &lt;http://example.com/&gt;
<ab type='codeblock '>
{ &lt;code&gt; }
</ab>
- <p>If you want, you can indent every line, but you can also be lazy and
- just indent the first line of each block.</p>
+ <p>If you want, you can indent every line, but you can also be lazy and just
+ indent the first line of each block.</p>
</note> This should <hi rendition="simple:italic">not</hi> be a footnote
reference, because it contains a space.[^my note] Here is an inline
note.<note>
diff --git a/test/writer.texinfo b/test/writer.texinfo
index 53a25d515..ca80f3245 100644
--- a/test/writer.texinfo
+++ b/test/writer.texinfo
@@ -732,8 +732,8 @@ Superscripts: a@sup{bc}d a@sup{@emph{hello}} a@sup{hello@ there}.
Subscripts: H@sub{2}O, H@sub{23}O, H@sub{many@ of@ them}O.
-These should not be superscripts or subscripts, because of the unescaped
-spaces: a^b c^d, a~b c~d.
+These should not be superscripts or subscripts, because of the unescaped spaces:
+a^b c^d, a~b c~d.
@iftex
@bigskip@hrule@bigskip
@@ -1014,24 +1014,22 @@ Here is a movie @image{movie,,,movie,jpg} icon.
@node Footnotes
@chapter Footnotes
@anchor{#footnotes}
-Here is a footnote reference,@footnote{Here is the footnote. It can go
-anywhere after the footnote reference. It need not be placed at the end of the
-document.} and another.@footnote{Here's the long note. This one contains
-multiple blocks.
+Here is a footnote reference,@footnote{Here is the footnote. It can go anywhere
+after the footnote reference. It need not be placed at the end of the document.}
+and another.@footnote{Here's the long note. This one contains multiple blocks.
-Subsequent blocks are indented to show that they belong to the footnote (as
-with list items).
+Subsequent blocks are indented to show that they belong to the footnote (as with
+list items).
@verbatim
{ <code> }
@end verbatim
-If you want, you can indent every line, but you can also be lazy and just
-indent the first line of each block.} This should @emph{not} be a footnote
-reference, because it contains a space.[^my note] Here is an inline
-note.@footnote{This is @emph{easier} to type. Inline notes may contain
-@uref{http://google.com,links} and @code{]} verbatim characters, as well as
-[bracketed text].}
+If you want, you can indent every line, but you can also be lazy and just indent
+the first line of each block.} This should @emph{not} be a footnote reference,
+because it contains a space.[^my note] Here is an inline note.@footnote{This is
+@emph{easier} to type. Inline notes may contain @uref{http://google.com,links}
+and @code{]} verbatim characters, as well as [bracketed text].}
@quotation
Notes can go in quotes.@footnote{In quote.}
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index d91f77325..1f7ce262b 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -3,7 +3,6 @@
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
- english,
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
@@ -45,37 +44,23 @@
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
-\ifXeTeX
- % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
- \usepackage{polyglossia}
- \setmainlanguage[]{english}
- \setotherlanguage[]{german}
- \setotherlanguage[variant=british]{english}
- \setotherlanguage[variant=swiss]{german}
- \setotherlanguage[]{spanish}
- \setotherlanguage[]{french}
+\ifLuaTeX
+\usepackage[bidi=basic]{babel}
\else
- \usepackage[ngerman,british,nswissgerman,spanish,french,main=english]{babel}
+\usepackage[bidi=default]{babel}
+\fi
+\babelprovide[main,import]{english}
+\babelprovide[import]{ngerman}
+\babelprovide[import]{british}
+\babelprovide[import]{nswissgerman}
+\babelprovide[import]{spanish}
+\babelprovide[import]{french}
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
- \newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
- \newenvironment{german}[2][]{\begin{otherlanguage}{ngerman}}{\end{otherlanguage}}
- \newcommand{\textenglish}[2][]{\foreignlanguage{british}{#2}}
- \newenvironment{english}[2][]{\begin{otherlanguage}{british}}{\end{otherlanguage}}
- \let\oritextspanish\textspanish
- \AddBabelHook{spanish}{beforeextras}{\renewcommand{\textspanish}{\oritextspanish}}
- \AddBabelHook{spanish}{afterextras}{\renewcommand{\textspanish}[2][]{\foreignlanguage{spanish}{##2}}}
- \newcommand{\textfrench}[2][]{\foreignlanguage{french}{#2}}
- \newenvironment{french}[2][]{\begin{otherlanguage}{french}}{\end{otherlanguage}}
-\fi
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
-\ifXeTeX
- % Load bidi as late as possible as it modifies e.g. graphicx
- \usepackage{bidi}
-\fi
\ifPDFTeX
\TeXXeTstate=1
\newcommand{\RL}[1]{\beginR #1\endR}
@@ -123,18 +108,19 @@ word-that-includesa\LR{ltrspan}right?
Some text and
-\begin{german}
+\begin{otherlanguage}{ngerman}
German div contents
-\end{german}
+\end{otherlanguage}
and more text.
-Next paragraph with a \textenglish[variant=british]{British span} and a
-word-that-includesa\textgerman[variant=swiss]{Swiss German span}right?
+Next paragraph with a \foreignlanguage{british}{British span} and a
+word-that-includesa\foreignlanguage{nswissgerman}{Swiss German
+span}right?
-Some \textspanish{Spanish text}.
+Some \foreignlanguage{spanish}{Spanish text}.
\hypertarget{combined}{%
\section{Combined}\label{combined}}
@@ -142,17 +128,17 @@ Some \textspanish{Spanish text}.
Some text and
\begin{RTL}
-\begin{french}
+\begin{otherlanguage}{french}
French rtl div contents
-\end{french}
+\end{otherlanguage}
\end{RTL}
and more text.
-Next paragraph with a \LR{\textenglish[variant=british]{British ltr
-span}} and a word-that-includesa\LR{\textgerman[variant=swiss]{Swiss
-German ltr span}}right?
+Next paragraph with a \LR{\foreignlanguage{british}{British ltr span}}
+and a word-that-includesa\LR{\foreignlanguage{nswissgerman}{Swiss German
+ltr span}}right?
\end{document}