From 6543b05116ee58ef4de62f93dcafeb27617d83e6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 30 Jul 2021 17:23:46 -0600 Subject: Add RTF reader. - `rtf` is now supported as an input format as well as output. - New module Text.Pandoc.Readers.RTF (exporting `readRTF`). [API change] Closes #3982. --- test/rtf/accent.native | 2 + test/rtf/accent.rtf | 3 + test/rtf/bookmark.native | 3 + test/rtf/bookmark.rtf | 8 ++ test/rtf/footnote.native | 2 + test/rtf/footnote.rtf | 11 ++ test/rtf/formatting.native | 10 ++ test/rtf/formatting.rtf | 201 +++++++++++++++++++++++++++++ test/rtf/heading.native | 5 + test/rtf/heading.rtf | 223 ++++++++++++++++++++++++++++++++ test/rtf/image.native | 2 + test/rtf/image.rtf | 6 + test/rtf/link.native | 2 + test/rtf/link.rtf | 7 + test/rtf/list_complex.native | 24 ++++ test/rtf/list_complex.rtf | 299 +++++++++++++++++++++++++++++++++++++++++++ test/rtf/list_simple.native | 8 ++ test/rtf/list_simple.rtf | 17 +++ test/rtf/table_simple.native | 31 +++++ test/rtf/table_simple.rtf | 19 +++ test/rtf/unicode.native | 2 + test/rtf/unicode.rtf | 9 ++ 22 files changed, 894 insertions(+) create mode 100644 test/rtf/accent.native create mode 100644 test/rtf/accent.rtf create mode 100644 test/rtf/bookmark.native create mode 100644 test/rtf/bookmark.rtf create mode 100644 test/rtf/footnote.native create mode 100644 test/rtf/footnote.rtf create mode 100644 test/rtf/formatting.native create mode 100644 test/rtf/formatting.rtf create mode 100644 test/rtf/heading.native create mode 100644 test/rtf/heading.rtf create mode 100644 test/rtf/image.native create mode 100644 test/rtf/image.rtf create mode 100644 test/rtf/link.native create mode 100644 test/rtf/link.rtf create mode 100644 test/rtf/list_complex.native create mode 100644 test/rtf/list_complex.rtf create mode 100644 test/rtf/list_simple.native create mode 100644 test/rtf/list_simple.rtf create mode 100644 test/rtf/table_simple.native create mode 100644 test/rtf/table_simple.rtf create mode 100644 test/rtf/unicode.native create mode 100644 test/rtf/unicode.rtf (limited to 'test/rtf') diff --git a/test/rtf/accent.native b/test/rtf/accent.native new file mode 100644 index 000000000..bea6364de --- /dev/null +++ b/test/rtf/accent.native @@ -0,0 +1,2 @@ +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..bc5b67afc --- /dev/null +++ b/test/rtf/bookmark.native @@ -0,0 +1,3 @@ +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..f2893be7e --- /dev/null +++ b/test/rtf/footnote.native @@ -0,0 +1,2 @@ +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..54e61bf97 --- /dev/null +++ b/test/rtf/formatting.native @@ -0,0 +1,10 @@ +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..fbda9ef51 --- /dev/null +++ b/test/rtf/heading.native @@ -0,0 +1,5 @@ +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..e730859af --- /dev/null +++ b/test/rtf/image.native @@ -0,0 +1,2 @@ +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..e9e08dc86 --- /dev/null +++ b/test/rtf/link.native @@ -0,0 +1,2 @@ +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..53ffdf9bd --- /dev/null +++ b/test/rtf/list_complex.native @@ -0,0 +1,24 @@ +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..9281b285a --- /dev/null +++ b/test/rtf/list_simple.native @@ -0,0 +1,8 @@ +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_simple.native b/test/rtf/table_simple.native new file mode 100644 index 000000000..3cff9ac38 --- /dev/null +++ b/test/rtf/table_simple.native @@ -0,0 +1,31 @@ +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..fc104491d --- /dev/null +++ b/test/rtf/unicode.native @@ -0,0 +1,2 @@ +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 +} -- cgit v1.2.3 From 7ca4233793f3ba42b2c79c3526a4ab2664fea2e2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 10 Aug 2021 11:11:33 -0700 Subject: Add test for #7488. --- test/Tests/Readers/RTF.hs | 1 + test/rtf/table_error_codes.native | 146 +++++++++++++++++++ test/rtf/table_error_codes.rtf | 300 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 447 insertions(+) create mode 100644 test/rtf/table_error_codes.native create mode 100644 test/rtf/table_error_codes.rtf (limited to 'test/rtf') diff --git a/test/Tests/Readers/RTF.hs b/test/Tests/Readers/RTF.hs index 2a741bba8..da0ddfc93 100644 --- a/test/Tests/Readers/RTF.hs +++ b/test/Tests/Readers/RTF.hs @@ -44,5 +44,6 @@ tests = map rtfTest [ "footnote" , "list_complex" , "bookmark" , "table_simple" + , "table_error_codes" ] diff --git a/test/rtf/table_error_codes.native b/test/rtf/table_error_codes.native new file mode 100644 index 000000000..bc75d4f81 --- /dev/null +++ b/test/rtf/table_error_codes.native @@ -0,0 +1,146 @@ +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} +} -- cgit v1.2.3 From b185560a8ec1fd8a0b578de4d94ea72a3d3e2943 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Sep 2021 10:02:38 -0700 Subject: RTF reader: better handling of `\*` and bookmarks. We now ensure that groups starting with `\*` never cause text to be added to the document. In addition, bookmarks now create a span between the start and end of the bookmark, rather than an empty span. --- src/Text/Pandoc/Readers/RTF.hs | 16 ++++++++-------- test/rtf/bookmark.native | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'test/rtf') diff --git a/src/Text/Pandoc/Readers/RTF.hs b/src/Text/Pandoc/Readers/RTF.hs index 26a132758..4eeab1312 100644 --- a/src/Text/Pandoc/Readers/RTF.hs +++ b/src/Text/Pandoc/Readers/RTF.hs @@ -395,15 +395,15 @@ isUnderline _ = False processTok :: PandocMonad m => Blocks -> Tok -> RTFParser m Blocks processTok bs (Tok pos tok') = do setPosition pos - -- ignore \* at beginning of group: - let tok'' = case tok' of - Grouped (Tok _ (ControlSymbol '*') : toks) -> Grouped toks - _ -> tok' - case tok'' of + case tok' of HexVal{} -> return () UnformattedText{} -> return () _ -> updateState $ \s -> s{ sEatChars = 0 } - case tok'' of + case tok' of + Grouped (Tok _ (ControlSymbol '*') : toks) -> + bs <$ (do oldTextContent <- sTextContent <$> getState + processTok mempty (Tok pos (Grouped toks)) + updateState $ \st -> st{ sTextContent = oldTextContent }) Grouped (Tok _ (ControlWord "fonttbl" _) : toks) -> inGroup $ do updateState $ \s -> s{ sFontTable = processFontTable toks } pure bs @@ -440,10 +440,10 @@ processTok bs (Tok pos tok') = do -- TODO ideally we'd put the span around bkmkstart/end, but this -- is good for now: modifyGroup (\g -> g{ gAnchor = Just $ T.strip t }) - addText "" + pure bs + Grouped (Tok _ (ControlWord "bkmkend" _) : _) -> do modifyGroup (\g -> g{ gAnchor = Nothing }) pure bs - Grouped (Tok _ (ControlWord "bkmkend" _) : _) -> pure bs -- TODO Grouped (Tok _ (ControlWord f _) : _) | isHeaderFooter f -> pure bs Grouped (Tok _ (ControlWord "footnote" _) : toks) -> do noteBs <- inGroup $ processDestinationToks toks diff --git a/test/rtf/bookmark.native b/test/rtf/bookmark.native index bc5b67afc..f142f1c5c 100644 --- a/test/rtf/bookmark.native +++ b/test/rtf/bookmark.native @@ -1,3 +1,3 @@ Pandoc (Meta {unMeta = fromList []}) -[Para [Span ("bookmark_1",[],[]) [],Str "Bookmark_1"] +[Para [Span ("bookmark_1",[],[]) [Str "Bookmark_1"]] ,Para [Link ("",[],[]) [Str "click",Space,Str "me"] ("#bookmark_1","")]] -- cgit v1.2.3 From c266734448544a118ed80e47deaa2590131c7f84 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 19 Sep 2021 12:09:51 -0700 Subject: Use pretty-simple to format native output. Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.) --- pandoc.cabal | 3 +- src/Text/Pandoc/Writers/Native.hs | 88 +- test/Tests/Old.hs | 6 +- test/command/1390.md | 4 +- test/command/1592.md | 44 +- test/command/1608.md | 189 +- test/command/168.md | 46 +- test/command/1718.md | 8 +- test/command/1773.md | 2 +- test/command/1881.md | 175 +- test/command/2118.md | 8 +- test/command/2549.md | 13 +- test/command/256.md | 34 +- test/command/3113.md | 4 +- test/command/3123.md | 6 +- test/command/3236.md | 14 +- test/command/3257.md | 4 +- test/command/3348.md | 77 +- test/command/3401.md | 4 +- test/command/3407.md | 4 +- test/command/3510.md | 23 +- test/command/3511.md | 47 +- test/command/3516.md | 60 +- test/command/3530.md | 58 +- test/command/3533-rst-csv-tables.md | 282 +- test/command/3534.md | 42 +- test/command/3537.md | 6 +- test/command/3539.md | 248 +- test/command/3558.md | 10 +- test/command/3585.md | 28 +- test/command/3587.md | 108 +- test/command/3681.md | 48 +- test/command/3706.md | 104 +- test/command/3708.md | 58 +- test/command/3733.md | 9 +- test/command/3755.md | 36 +- test/command/3779.md | 41 +- test/command/3794.md | 3 +- test/command/3804.md | 4 +- test/command/3853.md | 10 +- test/command/3880.md | 2 +- test/command/3916.md | 16 +- test/command/3947.md | 7 +- test/command/3958.md | 6 +- test/command/3971.md | 2 +- test/command/3983.md | 16 +- test/command/3989.md | 19 +- test/command/4007.md | 6 +- test/command/4054.md | 12 +- test/command/4056.md | 58 +- test/command/4063.md | 40 +- test/command/4068.md | 23 +- test/command/4119.md | 69 +- test/command/4134.md | 7 +- test/command/4159.md | 7 +- test/command/4162.md | 5 +- test/command/4183.md | 8 +- test/command/4186.md | 7 +- test/command/4193.md | 4 +- test/command/4199.md | 2 +- test/command/4240.md | 28 +- test/command/4253.md | 2 +- test/command/4280.md | 2 +- test/command/4281.md | 20 +- test/command/4284.md | 80 +- test/command/4306.md | 15 +- test/command/4374.md | 15 +- test/command/4382.md | 4 +- test/command/4424.md | 2 +- test/command/4454.md | 4 +- test/command/4499.md | 4 +- test/command/4513.md | 43 +- test/command/4528.md | 1 + test/command/4553.md | 5 +- test/command/4576.md | 2 +- test/command/4579.md | 64 +- test/command/4624.md | 16 +- test/command/4635.md | 8 +- test/command/4669.md | 26 +- test/command/4715.md | 24 +- test/command/4722.md | 57 +- test/command/4742.md | 36 +- test/command/4743.md | 24 +- test/command/4781.md | 22 +- test/command/4811.md | 24 +- test/command/4817.md | 15 +- test/command/4819.md | 24 +- test/command/4832.md | 24 +- test/command/4842.md | 2 +- test/command/4845.md | 12 +- test/command/4848.md | 67 +- test/command/4860.md | 13 +- test/command/4877.md | 4 +- test/command/4919.md | 7 +- test/command/4928.md | 192 +- test/command/4933.md | 2 +- test/command/5014.md | 45 +- test/command/5079.md | 32 +- test/command/5099.md | 18 +- test/command/5178.md | 17 +- test/command/5182.md | 4 +- test/command/5271.md | 33 +- test/command/5285.md | 27 +- test/command/5321.md | 12 +- test/command/5360.md | 26 +- test/command/5368.md | 32 +- test/command/5410.md | 2 +- test/command/5416.md | 4 +- test/command/5540.md | 8 +- test/command/5549.md | 3 +- test/command/5619.md | 29 +- test/command/5682.md | 2 +- test/command/5686.md | 26 +- test/command/5700.md | 38 +- test/command/5708.md | 44 +- test/command/5711.md | 32 +- test/command/5714.md | 15 +- test/command/5753.md | 7 +- test/command/5795.md | 7 +- test/command/5797.md | 2 +- test/command/5805.md | 2 +- test/command/5845.md | 20 +- test/command/5878.md | 12 +- test/command/6009.md | 19 +- test/command/6026.md | 30 +- test/command/6034.md | 4 +- test/command/6114.md | 8 +- test/command/6137.md | 162 +- test/command/6288.md | 2 +- test/command/6324.md | 12 +- test/command/6699.md | 8 +- test/command/6709.md | 2 +- test/command/6719.md | 4 +- test/command/6791.md | 40 +- test/command/6802.md | 4 +- test/command/6836.md | 36 +- test/command/6844.md | 6 +- test/command/6869.md | 16 +- test/command/6873.md | 35 +- test/command/6890.md | 113 +- test/command/6993.md | 6 +- test/command/7003.md | 21 +- test/command/7080.md | 7 +- test/command/7092.md | 2 +- test/command/7129.md | 60 +- test/command/7134.md | 45 +- test/command/7145.md | 65 +- test/command/7155.md | 22 +- test/command/7339.md | 7 +- test/command/7340.md | 2 +- test/command/7400.md | 4 +- test/command/7434.md | 14 +- test/command/7436.md | 25 +- test/command/7557.md | 18 +- test/command/934.md | 35 +- test/command/982.md | 2 +- test/command/adjacent_latex_blocks.md | 7 +- test/command/cite-in-inline-note.md | 22 +- test/command/citeproc-author-in-text-suffix.md | 24 +- test/command/csv.md | 129 +- test/command/docbook-bibliography.md | 35 +- test/command/dots.md | 4 +- test/command/empty_paragraphs.md | 22 +- test/command/gfm.md | 131 +- test/command/hspace.md | 22 +- test/command/html-read-figure.md | 22 +- test/command/html-trim-definition-list-terms.md | 12 +- test/command/hyphenat.md | 22 +- test/command/ifstrequal.md | 4 +- test/command/indented-fences.md | 4 +- test/command/input-with-endinput.md | 10 +- test/command/latex-center.md | 3 +- test/command/latex-color.md | 136 +- test/command/latex-command-comment.md | 2 +- test/command/latex-fontawesome.md | 4 +- test/command/latex-tabular-column-specs.md | 106 +- test/command/lettrine.md | 21 +- test/command/lstlisting.md | 30 +- test/command/macro-defs-in-preamble.md | 13 +- test/command/md-abbrevs.md | 4 +- test/command/multiple-metadata-blocks.md | 6 +- test/command/refs.md | 220 +- test/command/setext-fenced-div.md | 3 +- test/command/shift-heading-level-by.md | 31 +- test/command/sloppypar.md | 214 +- test/command/table-with-cell-align.md | 64 +- test/command/table-with-column-span.md | 224 +- test/command/tabularx.md | 393 +- test/command/translations.md | 8 +- test/command/write18.md | 4 +- test/command/yaml-metadata-blocks.md | 96 +- test/command/yaml-with-chomp.md | 13 +- test/creole-reader.native | 1124 +- test/docbook-chapter.native | 184 +- test/docbook-reader.native | 3639 ++++++- test/docbook-xref.native | 213 +- test/epub/features.native | 1837 +++- test/epub/formatting.native | 6791 +++++++++++- test/epub/wasteland.native | 12347 ++++++++++++++++++++-- test/fb2/reader/emphasis.native | 44 +- test/fb2/reader/epigraph.native | 27 +- test/fb2/reader/meta.native | 45 +- test/fb2/reader/notes.native | 28 +- test/fb2/reader/poem.native | 40 +- test/fb2/reader/titles.native | 41 +- test/haddock-reader.native | 463 +- test/html-reader.native | 4202 ++++++-- test/ipynb/simple.out.native | 121 +- test/jats-reader.native | 3564 +++++-- test/jira-reader.native | 1209 ++- test/latex-reader.native | 2935 ++++- test/lhs-test-markdown.native | 138 +- test/lhs-test.native | 138 +- test/man-reader.native | 1286 ++- test/markdown-citations.native | 556 +- test/markdown-reader-more.native | 1538 ++- test/mediawiki-reader.native | 1862 +++- test/opml-reader.native | 298 +- test/org-select-tags.native | 106 +- test/pipe-tables.native | 1176 ++- test/rst-reader.native | 2317 +++- test/rtf/accent.native | 20 +- test/rtf/bookmark.native | 14 +- test/rtf/footnote.native | 132 +- test/rtf/formatting.native | 61 +- test/rtf/heading.native | 19 +- test/rtf/image.native | 11 +- test/rtf/link.native | 7 +- test/rtf/list_complex.native | 108 +- test/rtf/list_simple.native | 19 +- test/rtf/table_error_codes.native | 515 +- test/rtf/table_simple.native | 99 +- test/rtf/unicode.native | 5 +- test/tables-rstsubset.native | 1214 ++- test/tables.haddock | 60 +- test/tables.markdown | 28 +- test/tables.muse | 48 +- test/tables.native | 1184 ++- test/tables.opendocument | 4 +- test/tables.plain | 28 +- test/tables.rst | 60 +- test/tables/planets.latex | 8 +- test/testsuite.native | 2900 ++++- test/textile-reader.native | 1560 ++- test/tikiwiki-reader.native | 973 +- test/twiki-reader.native | 1125 +- test/txt2tags.native | 6168 +++++++++-- test/vimwiki-reader.native | 2868 ++++- test/writer.asciidoc | 12 +- test/writer.asciidoctor | 16 +- test/writer.context | 12 +- test/writer.docbook4 | 32 +- test/writer.docbook5 | 35 +- test/writer.haddock | 43 +- test/writer.jats_archiving | 28 +- test/writer.jats_articleauthoring | 20 +- test/writer.jats_publishing | 28 +- test/writer.latex | 17 +- test/writer.man | 18 +- test/writer.markdown | 45 +- test/writer.ms | 12 +- test/writer.muse | 16 +- test/writer.native | 2794 ++++- test/writer.opendocument | 77 +- test/writer.org | 15 +- test/writer.plain | 38 +- test/writer.rst | 4 +- test/writer.tei | 22 +- test/writer.texinfo | 26 +- 269 files changed, 65524 insertions(+), 11857 deletions(-) (limited to 'test/rtf') diff --git a/pandoc.cabal b/pandoc.cabal index 333d9afdc..7003abe2c 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -583,7 +583,8 @@ library xml-conduit >= 1.9.1.1 && < 1.10, unicode-collation >= 0.1.1 && < 0.2, zip-archive >= 0.2.3.4 && < 0.5, - zlib >= 0.5 && < 0.7 + zlib >= 0.5 && < 0.7, + pretty-simple >= 4.0 && < 4.1 if os(windows) && arch(i386) build-depends: basement >= 0.0.10, foundation >= 0.0.23 diff --git a/src/Text/Pandoc/Writers/Native.hs b/src/Text/Pandoc/Writers/Native.hs index 9c2ce805d..67af39a31 100644 --- a/src/Text/Pandoc/Writers/Native.hs +++ b/src/Text/Pandoc/Writers/Native.hs @@ -12,82 +12,24 @@ Conversion of a 'Pandoc' document to a string representation. -} module Text.Pandoc.Writers.Native ( writeNative ) where -import Data.List (intersperse) import Data.Text (Text) +import qualified Data.Text.Lazy as TL import Text.Pandoc.Class.PandocMonad (PandocMonad) import Text.Pandoc.Definition -import Text.Pandoc.Options (WrapOption (..), WriterOptions (..)) -import Text.DocLayout - -prettyList :: [Doc Text] -> Doc Text -prettyList ds = - "[" <> - mconcat (intersperse (cr <> ",") $ map (nest 1) ds) <> "]" - --- | Prettyprint Pandoc block element. -prettyBlock :: Block -> Doc Text -prettyBlock (LineBlock lines') = - "LineBlock" $$ prettyList (map (text . show) lines') -prettyBlock (BlockQuote blocks) = - "BlockQuote" $$ prettyList (map prettyBlock blocks) -prettyBlock (OrderedList attribs blockLists) = - "OrderedList" <> space <> text (show attribs) $$ - prettyList (map (prettyList . map prettyBlock) blockLists) -prettyBlock (BulletList blockLists) = - "BulletList" $$ - prettyList (map (prettyList . map prettyBlock) blockLists) -prettyBlock (DefinitionList items) = "DefinitionList" $$ - prettyList (map deflistitem items) - where deflistitem (term, defs) = "(" <> text (show term) <> "," <> cr <> - nest 1 (prettyList $ map (prettyList . map prettyBlock) defs) <> ")" -prettyBlock (Table attr blkCapt specs thead tbody tfoot) = - mconcat [ "Table " - , text (show attr) - , " " - , prettyCaption blkCapt ] $$ - prettyList (map (text . show) specs) $$ - prettyHead thead $$ - prettyBodies tbody $$ - prettyFoot tfoot - where prettyRows = prettyList . map prettyRow - prettyRow (Row a body) = - text ("Row " <> show a) $$ prettyList (map prettyCell body) - prettyCell (Cell a ma h w b) = - mconcat [ "Cell " - , text (show a) - , " " - , text (show ma) - , " (" - , text (show h) - , ") (" - , text (show w) - , ")" ] $$ - prettyList (map prettyBlock b) - prettyCaption (Caption mshort body) = - "(Caption " <> text (showsPrec 11 mshort "") $$ prettyList (map prettyBlock body) <> ")" - prettyHead (TableHead thattr body) - = "(TableHead " <> text (show thattr) $$ prettyRows body <> ")" - prettyBody (TableBody tbattr rhc hd bd) - = mconcat [ "(TableBody " - , text (show tbattr) - , " (" - , text (show rhc) - , ")" ] $$ prettyRows hd $$ prettyRows bd <> ")" - prettyBodies = prettyList . map prettyBody - prettyFoot (TableFoot tfattr body) - = "(TableFoot " <> text (show tfattr) $$ prettyRows body <> ")" -prettyBlock (Div attr blocks) = - text ("Div " <> show attr) $$ prettyList (map prettyBlock blocks) -prettyBlock block = text $ show block +import Text.Pandoc.Options (WriterOptions (..)) +import Text.Pretty.Simple (pShowOpt, defaultOutputOptionsNoColor, + OutputOptions(..), StringOutputStyle(..)) -- | Prettyprint Pandoc document. writeNative :: PandocMonad m => WriterOptions -> Pandoc -> m Text -writeNative opts (Pandoc meta blocks) = return $ - let colwidth = if writerWrapText opts == WrapAuto - then Just $ writerColumns opts - else Nothing - withHead = case writerTemplate opts of - Just _ -> \bs -> text ("Pandoc (" ++ show meta ++ ")") $$ - bs $$ cr - Nothing -> id - in render colwidth $ withHead $ prettyList $ map prettyBlock blocks +writeNative opts (Pandoc meta blocks) = do + let popts = defaultOutputOptionsNoColor{ + outputOptionsIndentAmount = 2, + outputOptionsPageWidth = writerColumns opts, + outputOptionsCompact = True, + outputOptionsCompactParens = False, + outputOptionsStringStyle = Literal } + return $ + case writerTemplate opts of + Just _ -> TL.toStrict $ pShowOpt popts (Pandoc meta blocks) <> "\n" + Nothing -> TL.toStrict $ pShowOpt popts blocks diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs index 4baa16d45..d080f68f1 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" @@ -262,7 +262,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] @@ -276,7 +276,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/command/1390.md b/test/command/1390.md index ffd2cef8d..1d479dc94 100644 --- a/test/command/1390.md +++ b/test/command/1390.md @@ -3,7 +3,9 @@ \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 "." ] +] ``` " -,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 ("",[],[]) "
" -,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 ("",[],[]) "",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 ("",[],[]) ""] -,CodeBlock ("",[],[]) "or here: " -,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 ("",[],[]) " { }",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 + ( "", [], [] ) "
\n foo\n
" + , Para + [ Str "As", Space, Str "should", Space, Str "this:" ] + , CodeBlock + ( "", [], [] ) "
foo
" + , 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 + ( "", [], [] ) "" + , 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 + ( "", [], [] ) "
" + , 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 + ( "", [], [] ) "" + , 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 + ( "", [], [] ) "" + ] + , CodeBlock + ( "", [], [] ) "or here: " + , 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 + ( "", [], [] ) " { }" + , 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..db2acd318 100644 --- a/test/lhs-test-markdown.native +++ b/test/lhs-test-markdown.native @@ -1,8 +1,130 @@ -[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..db2acd318 100644 --- a/test/lhs-test.native +++ b/test/lhs-test.native @@ -1,8 +1,130 @@ -[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/man-reader.native b/test/man-reader.native index 2ab088ff1..f8341fb84 100644 --- a/test/man-reader.native +++ b/test/man-reader.native @@ -1,300 +1,986 @@ -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..bafdb0bbf 100644 --- a/test/markdown-citations.native +++ b/test/markdown-citations.native @@ -1,17 +1,539 @@ -[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..99ab260ba 100644 --- a/test/markdown-reader-more.native +++ b/test/markdown-reader-more.native @@ -1,311 +1,1227 @@ -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") "",RawInline (Format "html") ""] -,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") ""]] - ,[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" ) "" + , RawInline + ( Format "html" ) "" + ] + , 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" ) "" + ] + ] + , + [ 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.555555555555555 e- 2 ) + , + ( AlignDefault, ColWidth 5.555555555555555 e- 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..0a1e1c29d 100644 --- a/test/mediawiki-reader.native +++ b/test/mediawiki-reader.native @@ -1,418 +1,1444 @@ -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") "",Emph [Str "there"],RawInline (Format "html") "",Str "."] -,Para [RawInline (Format "html") "",Str "inserted",RawInline (Format "html") ""] -,RawBlock (Format "html") "
" -,Para [Str "hi",Space,Emph [Str "there"]] -,RawBlock (Format "html") "
" -,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 "
"]]])]] - ,[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).",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") "
" -,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" ) "" + , Emph + [ Str "there" ] + , RawInline + ( Format "html" ) "" + , Str "." + ] + , Para + [ RawInline + ( Format "html" ) "" + , Str "inserted" + , RawInline + ( Format "html" ) "" + ] + , RawBlock + ( Format "html" ) "
" + , Para + [ Str "hi", Space, Emph [ Str "there" ] ] + , RawBlock + ( Format "html" ) "
" + , 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 "
" + ] + ] + ] + ) + ] + ] + , + [ 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)." + , 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" ) "
" + , 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..bbb54e068 100644 --- a/test/opml-reader.native +++ b/test/opml-reader.native @@ -1,66 +1,232 @@ -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..a94c70abe 100644 --- a/test/org-select-tags.native +++ b/test/org-select-tags.native @@ -1,7 +1,99 @@ -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..e678053d2 100644 --- a/test/pipe-tables.native +++ b/test/pipe-tables.native @@ -1,326 +1,850 @@ -[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/rst-reader.native b/test/rst-reader.native index 9f8d5ab3e..7a5c3d812 100644 --- a/test/rst-reader.native +++ b/test/rst-reader.native @@ -1,443 +1,1874 @@ -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") "
foo
" -,Para [Str "Now,",Space,Str "nested:"] -,RawBlock (Format "html") "
\n
\n
\n foo\n
\n
\n
" -,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 ("",[],[]) "",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") "inline HTML",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" ) "
foo
" + , Para + [ Str "Now,", Space, Str "nested:" ] + , RawBlock + ( Format "html" ) "
\n
\n
\n foo\n
\n
\n
" + , 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 + ( "", [], [] ) "" + , 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" ) "inline HTML" + , 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 index bea6364de..67eb654fe 100644 --- a/test/rtf/accent.native +++ b/test/rtf/accent.native @@ -1,2 +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"]] +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/bookmark.native b/test/rtf/bookmark.native index f142f1c5c..765bf29d0 100644 --- a/test/rtf/bookmark.native +++ b/test/rtf/bookmark.native @@ -1,3 +1,11 @@ -Pandoc (Meta {unMeta = fromList []}) -[Para [Span ("bookmark_1",[],[]) [Str "Bookmark_1"]] -,Para [Link ("",[],[]) [Str "click",Space,Str "me"] ("#bookmark_1","")]] +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/footnote.native b/test/rtf/footnote.native index f2893be7e..cfea5f4a1 100644 --- a/test/rtf/footnote.native +++ b/test/rtf/footnote.native @@ -1,2 +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."]] +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/formatting.native b/test/rtf/formatting.native index 54e61bf97..6e5001de3 100644 --- a/test/rtf/formatting.native +++ b/test/rtf/formatting.native @@ -1,10 +1,51 @@ -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"]]] +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/heading.native b/test/rtf/heading.native index fbda9ef51..27d5d455e 100644 --- a/test/rtf/heading.native +++ b/test/rtf/heading.native @@ -1,5 +1,14 @@ -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"]] +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/image.native b/test/rtf/image.native index e730859af..551a0f95c 100644 --- a/test/rtf/image.native +++ b/test/rtf/image.native @@ -1,2 +1,9 @@ -Pandoc (Meta {unMeta = fromList []}) -[Para [Image ("",[],[("width","2.0in"),("height","2.0in")]) [Str "image"] ("f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg","")]] +Pandoc + ( Meta { unMeta = fromList [] } ) + [ Para + [ Image + ( "", [], [ ( "width", "2.0in" ), ( "height", "2.0in" ) ] ) + [ Str "image" ] + ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg", "" ) + ] + ] diff --git a/test/rtf/link.native b/test/rtf/link.native index e9e08dc86..9902760e1 100644 --- a/test/rtf/link.native +++ b/test/rtf/link.native @@ -1,2 +1,5 @@ -Pandoc (Meta {unMeta = fromList []}) -[Para [Link ("",[],[]) [Str "pandoc"] ("http://pandoc.org","")]] +Pandoc + ( Meta { unMeta = fromList [] } ) + [ Para + [ Link ( "", [], [] ) [ Str "pandoc" ] ( "http://pandoc.org", "" ) ] + ] diff --git a/test/rtf/list_complex.native b/test/rtf/list_complex.native index 53ffdf9bd..73e2e14f8 100644 --- a/test/rtf/list_complex.native +++ b/test/rtf/list_complex.native @@ -1,24 +1,84 @@ -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"]]]] +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_simple.native b/test/rtf/list_simple.native index 9281b285a..dc5b65b97 100644 --- a/test/rtf/list_simple.native +++ b/test/rtf/list_simple.native @@ -1,8 +1,11 @@ -Pandoc (Meta {unMeta = fromList []}) -[BulletList - [[Para [Str "one"]] - ,[Para [Str "two"] - ,BulletList - [[Para [Str "sub"]]]]] -,BulletList - [[Para [Str "new",Space,Str "list"]]]] +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/table_error_codes.native b/test/rtf/table_error_codes.native index bc75d4f81..35d774065 100644 --- a/test/rtf/table_error_codes.native +++ b/test/rtf/table_error_codes.native @@ -1,146 +1,369 @@ -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 ("",[],[]) - [])] +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_simple.native b/test/rtf/table_simple.native index 3cff9ac38..05e736829 100644 --- a/test/rtf/table_simple.native +++ b/test/rtf/table_simple.native @@ -1,31 +1,68 @@ -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 ("",[],[]) - [])] +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/unicode.native b/test/rtf/unicode.native index fc104491d..4e2340b84 100644 --- a/test/rtf/unicode.native +++ b/test/rtf/unicode.native @@ -1,2 +1,3 @@ -Pandoc (Meta {unMeta = fromList []}) -[Para [Str "\8220hi\8221\8216hi\8217\61623\945\228"]] +Pandoc + ( Meta { unMeta = fromList [] } ) + [ Para [ Str "\8220hi\8221\8216hi\8217\61623\945\228" ] ] diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native index 2536ff954..dce2c9406 100644 --- a/test/tables-rstsubset.native +++ b/test/tables-rstsubset.native @@ -1,301 +1,913 @@ -[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.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.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..c3a2537cb 100644 --- a/test/tables.native +++ b/test/tables.native @@ -1,293 +1,891 @@ -[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. Multiline table with caption: -Here’s the caption. It may span -multiple lines. +Here’s the caption. It may span multiple +lines. 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/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/testsuite.native b/test/testsuite.native index f9132c797..d6b91ca69 100644 --- a/test/testsuite.native +++ b/test/testsuite.native @@ -1,409 +1,2491 @@ -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") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "
" -,Plain [Str "This",Space,Str "is",Space,Emph [Str "emphasized"]] -,RawBlock (Format "html") "" -,Plain [Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"]] -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "" -,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 ("",[],[]) "
\n foo\n
" -,Para [Str "As",Space,Str "should",Space,Str "this:"] -,CodeBlock ("",[],[]) "
foo
" -,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") "" -,Para [Str "Multiline:"] -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,Para [Str "Code",Space,Str "block:"] -,CodeBlock ("",[],[]) "" -,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") "" -,Para [Str "Code:"] -,CodeBlock ("",[],[]) "
" -,Para [Str "Hr\8217s:"] -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,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 ("",[],[]) "",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 ("",[],[]) ""] -,CodeBlock ("",[],[]) "or here: " -,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 ("",[],[]) " { }",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" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "
" + , Plain + [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ] + , RawBlock + ( Format "html" ) "" + , Plain + [ Str "And" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Strong + [ Str "strong" ] + ] + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "" + , 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 + ( "", [], [] ) "
\n foo\n
" + , Para + [ Str "As", Space, Str "should", Space, Str "this:" ] + , CodeBlock + ( "", [], [] ) "
foo
" + , 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" ) "" + , Para + [ Str "Multiline:" ] + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , Para + [ Str "Code", Space, Str "block:" ] + , CodeBlock + ( "", [], [] ) "" + , 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" ) "" + , Para + [ Str "Code:" ] + , CodeBlock + ( "", [], [] ) "
" + , Para + [ Str "Hr\8217s:" ] + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , 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 + ( "", [], [] ) "" + , 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 + ( "", [], [] ) "" + ] + , CodeBlock + ( "", [], [] ) "or here: " + , 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 + ( "", [], [] ) " { }" + , 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..34dfa7ca3 100644 --- a/test/textile-reader.native +++ b/test/textile-reader.native @@ -1,243 +1,1317 @@ -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 @",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") "",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,RawInline (Format "html") "",Space,Str "are",Space,Str "accepted,",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"] -,RawBlock (Format "html") "
" -,Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold"] -,RawBlock (Format "html") "
" -,Para [Str "Html",Space,Str "blocks",Space,Str "can"] -,RawBlock (Format "html") "
" -,Para [Str "interrupt",Space,Str "paragraphs"] -,RawBlock (Format "html") "
" -,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 @" + , 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" ) "" + , Space + , Str "raw" + , Space + , Str "HTML" + , Space + , Str "inlines" + , Space + , RawInline + ( Format "html" ) "" + , Space + , Str "are" + , Space + , Str "accepted," + , Space + , Str "as" + , Space + , Str "well" + , Space + , Str "as" + , Space + , Str ":" + ] + , RawBlock + ( Format "html" ) "
" + , Para + [ Str "any" + , Space + , Strong + [ Str "Raw", Space, Str "HTML", Space, Str "Block" ] + , Space + , Str "with" + , Space + , Str "bold" + ] + , RawBlock + ( Format "html" ) "
" + , Para + [ Str "Html", Space, Str "blocks", Space, Str "can" ] + , RawBlock + ( Format "html" ) "
" + , Para + [ Str "interrupt", Space, Str "paragraphs" ] + , RawBlock + ( Format "html" ) "
" + , 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..eb10421da 100644 --- a/test/tikiwiki-reader.native +++ b/test/tikiwiki-reader.native @@ -1,212 +1,761 @@ -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..d0a225712 100644 --- a/test/twiki-reader.native +++ b/test/twiki-reader.native @@ -1,250 +1,875 @@ -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..ccc8dd36e 100644 --- a/test/txt2tags.native +++ b/test/txt2tags.native @@ -1,968 +1,5200 @@ -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..356d1b949 100644 --- a/test/vimwiki-reader.native +++ b/test/vimwiki-reader.native @@ -1,449 +1,2419 @@ -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.docbook4 b/test/writer.docbook4 index 27d91a2f0..baf1937b5 100644 --- a/test/writer.docbook4 +++ b/test/writer.docbook4 @@ -66,8 +66,8 @@ 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. Here’s one with a bullet. * criminey. @@ -1014,19 +1014,19 @@ These should not be escaped: \$ \\ \> \[ \{ Smart quotes, ellipses, dashes - Hello, said the spider. Shelob is - my name. + 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. + Oak, elm, and beech are names + of trees. So is pine. - He said, I want to go. Were you alive in - the 70’s? + He said, I want to go. Were you alive in the + 70’s? Here is some quoted code and a @@ -1366,8 +1366,8 @@ or here: <http://example.com/> Here is a footnote reference, - 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. and another. @@ -1384,14 +1384,12 @@ or here: <http://example.com/> 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 not be a footnote - reference, because it contains a space.[^my note] Here is an inline - note. + This should not be a footnote reference, + because it contains a space.[^my note] Here is an inline note. - This is easier to type. Inline notes may - contain links and - ] verbatim characters, as well as [bracketed - text]. + This is easier to type. Inline notes may contain + links and ] + verbatim characters, as well as [bracketed text]. 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 @@ 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. Here’s one with a bullet. * criminey. @@ -989,19 +989,19 @@ These should not be escaped: \$ \\ \> \[ \{
Smart quotes, ellipses, dashes - Hello, said the spider. Shelob is - my name. + 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. + Oak, elm, and beech are names + of trees. So is pine. - He said, I want to go. Were you alive in - the 70’s? + He said, I want to go. Were you alive in the + 70’s? Here is some quoted code and a @@ -1266,8 +1266,7 @@ These should not be escaped: \$ \\ \> \[ \{ AT&T. - Here’s an inline - link. + Here’s an inline link. Here’s an inline link in @@ -1342,8 +1341,8 @@ or here: <http://example.com/> Here is a footnote reference, - 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. and another. @@ -1360,14 +1359,12 @@ or here: <http://example.com/> 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 not be a footnote - reference, because it contains a space.[^my note] Here is an inline - note. + This should not be a footnote reference, + because it contains a space.[^my note] Here is an inline note. - This is easier to type. Inline notes may - contain links and - ] verbatim characters, as well as [bracketed - text]. + This is easier to type. Inline notes may contain + links and + ] verbatim characters, as well as [bracketed text]. 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: @\@ > or here: -______________________________________________________________________________ +________________________________________________________________________________ = Images #images# @@ -618,14 +618,14 @@ From “Voyage dans la Lune” by Georges Melies (1902): Here is a 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). > { } 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 - and @]@ verbatim characters, as well as - [bracketed text]. +3. This is /easier/ to type. Inline notes may contain + and @]@ verbatim characters, as well as [bracketed text]. 4. In quote. 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.

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.

+

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.

@@ -634,8 +634,7 @@ These should not be escaped: \$ \\ \> \[ \{

This is strikeout.

Superscripts: abcd ahello ahello there.

-

Subscripts: H2O, H23O, - Hmany of themO.

+

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.

@@ -689,8 +688,7 @@ These should not be escaped: \$ \\ \> \[ \{ ddxf(x)=limh0f(x+h)f(x)h

-

Here’s one that has a line break in it: - +

Here’s one that has a line break in it: α+ω×x2.

@@ -780,8 +778,7 @@ These should not be escaped: \$ \\ \> \[ \{ Reference -

Foo - bar.

+

Foo bar.

With embedded [brackets].

b by itself @@ -853,9 +850,8 @@ These should not be escaped: \$ \\ \> \[ \{ 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

+ not be a footnote reference, because it contains a space.[^my + note] Here is an inline note.3

Notes can go in quotes.4

@@ -881,12 +877,12 @@ These should not be escaped: \$ \\ \> \[ \{

{ <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.

-

This is easier to type. Inline notes - may contain +

This is easier to type. Inline notes may + contain links and ] verbatim characters, as well as [bracketed text].

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.

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.

+

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.

@@ -631,8 +631,7 @@ These should not be escaped: \$ \\ \> \[ \{

This is strikeout.

Superscripts: abcd ahello ahello there.

-

Subscripts: H2O, H23O, - Hmany of themO.

+

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.

@@ -764,8 +763,7 @@ These should not be escaped: \$ \\ \> \[ \{
Reference -

Foo - bar.

+

Foo bar.

With embedded [brackets].

b by itself @@ -836,8 +834,8 @@ These should not be escaped: \$ \\ \> \[ \{ Footnotes

Here is a footnote reference, -

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.

and another.

Here’s the long note. This one contains multiple blocks.

Subsequent blocks are indented to show that they belong to the footnote @@ -845,8 +843,8 @@ These should not be escaped: \$ \\ \> \[ \{

{ <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.

This should not be a footnote reference, because it contains a space.[^my note] Here is an inline note.

This is easier 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.

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.

+

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.

@@ -634,8 +634,7 @@ These should not be escaped: \$ \\ \> \[ \{

This is strikeout.

Superscripts: abcd ahello ahello there.

-

Subscripts: H2O, H23O, - Hmany of themO.

+

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.

@@ -689,8 +688,7 @@ These should not be escaped: \$ \\ \> \[ \{ ddxf(x)=limh0f(x+h)f(x)h

-

Here’s one that has a line break in it: - +

Here’s one that has a line break in it: α+ω×x2.

@@ -780,8 +778,7 @@ These should not be escaped: \$ \\ \> \[ \{
Reference -

Foo - bar.

+

Foo bar.

With embedded [brackets].

b by itself @@ -853,9 +850,8 @@ These should not be escaped: \$ \\ \> \[ \{ 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

+ not be a footnote reference, because it contains a space.[^my + note] Here is an inline note.3

Notes can go in quotes.4

@@ -881,12 +877,12 @@ These should not be escaped: \$ \\ \> \[ \{

{ <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.

-

This is easier to type. Inline notes - may contain +

This is easier to type. Inline notes may + contain links and ] verbatim characters, as well as [bracketed text].

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:
``` ------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- # 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: `` or here: ------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- # 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). { } 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\*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: 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. ---- @@ -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] 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). { } diff --git a/test/writer.native b/test/writer.native index f9132c797..e86464f3e 100644 --- a/test/writer.native +++ b/test/writer.native @@ -1,409 +1,2385 @@ -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") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,RawBlock (Format "html") "
" -,Plain [Str "This",Space,Str "is",Space,Emph [Str "emphasized"]] -,RawBlock (Format "html") "" -,Plain [Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"]] -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "" -,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 ("",[],[]) "
\n foo\n
" -,Para [Str "As",Space,Str "should",Space,Str "this:"] -,CodeBlock ("",[],[]) "
foo
" -,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") "" -,Para [Str "Multiline:"] -,RawBlock (Format "html") "" -,RawBlock (Format "html") "" -,Para [Str "Code",Space,Str "block:"] -,CodeBlock ("",[],[]) "" -,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") "" -,Para [Str "Code:"] -,CodeBlock ("",[],[]) "
" -,Para [Str "Hr\8217s:"] -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,RawBlock (Format "html") "
" -,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 ("",[],[]) "",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 ("",[],[]) ""] -,CodeBlock ("",[],[]) "or here: " -,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 ("",[],[]) " { }",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" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "
" + , Plain + [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ] + , RawBlock + ( Format "html" ) "" + , Plain + [ Str "And" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Strong + [ Str "strong" ] + ] + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "" + , 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 + ( "", [], [] ) "
\n foo\n
" + , Para + [ Str "As", Space, Str "should", Space, Str "this:" ] + , CodeBlock + ( "", [], [] ) "
foo
" + , 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" ) "" + , Para + [ Str "Multiline:" ] + , RawBlock + ( Format "html" ) "" + , RawBlock + ( Format "html" ) "" + , Para + [ Str "Code", Space, Str "block:" ] + , CodeBlock + ( "", [], [] ) "" + , 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" ) "" + , Para + [ Str "Code:" ] + , CodeBlock + ( "", [], [] ) "
" + , Para + [ Str "Hr\8217s:" ] + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , RawBlock + ( Format "html" ) "
" + , 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 + ( "", [], [] ) "" + , 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 + ( "", [], [] ) "" + ] + , CodeBlock + ( "", [], [] ) "or here: " + , 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 + ( "", [], [] ) " { }" + , 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..9e6ef336e 100644 --- a/test/writer.opendocument +++ b/test/writer.opendocument @@ -1207,9 +1207,9 @@ linkParagraphs 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. +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 @@ -1218,8 +1218,7 @@ breakhere. Block Quotes E-mail style: -This is a block quote. It is pretty -short. +This is a block quote. It is pretty short. Code in a block quote: sub status { print "working"; @@ -1236,8 +1235,8 @@ short. Nested block quotes: nested nested -This should not be a block quote: -2 > 1. +This should not be a block quote: 2 +> 1. And a following paragraph. Code @@ -1464,12 +1463,12 @@ and spaces 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 + tabs - this is an example list item indented - with spaces + this is an example list item indented with + spaces @@ -1485,8 +1484,8 @@ list markers with a continuation - sublist with roman numerals, starting - with 4 + sublist with roman numerals, starting with + 4 more items @@ -1537,8 +1536,7 @@ list markers -Should not be a list -item: +Should not be a list item: M.A. 2007 B. Williams @@ -1573,8 +1571,8 @@ fruit italics: apple red -fruitcontains -seeds, crisp, pleasant to taste +fruitcontains seeds, +crisp, pleasant to taste orange orange fruit{ orange code block }orange @@ -1613,15 +1611,12 @@ fruit HTML Blocks -Simple block on one -line: +Simple block on one line: foo -And nested without -indentation: +And nested without indentation: foo bar -Interpreted markdown in a -table: +Interpreted markdown in a table: This is emphasized And this is @@ -1689,13 +1684,13 @@ subscripts, because of the unescaped spaces: a^b c^d, a~b c~d. Smart quotes, ellipses, dashes -“Hello,” said the spider. -“‘Shelob’ is my name.” +“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? +‘He said, “I want to go.”’ Were you alive +in the 70’s? Here is some quoted ‘code’ and a “quoted @@ -1743,8 +1738,8 @@ five. $22,000 is a - lot of money. So is $34,000. - (It worked if “lot” is emphasized.) + lot of money. So is $34,000. (It + worked if “lot” is emphasized.) Shoes ($20) and socks ($5). @@ -1778,8 +1773,8 @@ Characters copyright: © -AT&T has an ampersand in -their name. +AT&T has an ampersand in their +name. AT&T is another way to write it. This & that. @@ -1888,25 +1883,23 @@ icon. Footnotes Here is a footnote reference,1Here -is the footnote. It can go anywhere after the footnote reference. It need not -be placed at the end of the document. -and +is the footnote. It can go anywhere after the footnote reference. It need not be +placed at the end of the document. and another.2Here’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. This -should not be a footnote -reference, because it contains a space.[^my note] Here is an inline +the first line of each block. This should +not be a footnote reference, because +it contains a space.[^my note] Here is an inline note.3This -is easier to type. Inline notes -may contain +is easier to type. Inline notes may +contain links -and ] verbatim -characters, as well as [bracketed -text]. +and ] verbatim characters, +as well as [bracketed text]. Notes can go in quotes.4In quote. diff --git a/test/writer.org b/test/writer.org index 38ec35a3e..604aca21d 100644 --- a/test/writer.org +++ b/test/writer.org @@ -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. -------------- @@ -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]]. @@ -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. @@ -813,8 +812,8 @@ This paragraph should not be part of the note, as it is not indented. { } #+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: or here: ------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- 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). { } -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.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.

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.

+

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 breakhere.

@@ -630,10 +630,10 @@ These should not be escaped: \$ \\ \> \[ \{

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?

+

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.

@@ -821,8 +821,8 @@ or here: <http://example.com/>
Footnotes

Here is a footnote reference, -

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.

and another.

Here’s the long note. This one contains multiple blocks.

Subsequent blocks are indented to show that they belong to the footnote @@ -830,8 +830,8 @@ or here: <http://example.com/> { <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.

This should not be a footnote reference, because it contains a space.[^my note] Here is an inline 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 { } @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.} -- cgit v1.2.3 From 0bdcf415e4eff83ad8e35c1d41c8a28e0bbd5da1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 28 Sep 2021 21:17:53 -0700 Subject: Switch from pretty-simple to pretty-show for native output. Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback. --- pandoc.cabal | 3 +- src/Text/Pandoc/Writers/Native.hs | 20 +- test/command/1390.md | 6 +- test/command/1592.md | 50 +- test/command/1608.md | 331 +- test/command/168.md | 64 +- test/command/1718.md | 12 +- test/command/1773.md | 4 +- test/command/1881.md | 241 +- test/command/2118.md | 10 +- test/command/2549.md | 21 +- test/command/256.md | 56 +- test/command/3113.md | 5 +- test/command/3123.md | 4 +- test/command/3236.md | 22 +- test/command/3257.md | 2 +- test/command/3348.md | 109 +- test/command/3401.md | 2 +- test/command/3407.md | 5 +- test/command/3510.md | 21 +- test/command/3511.md | 39 +- test/command/3516.md | 71 +- test/command/3530.md | 94 +- test/command/3533-rst-csv-tables.md | 403 +- test/command/3534.md | 70 +- test/command/3537.md | 4 +- test/command/3539.md | 432 +- test/command/3558.md | 9 +- test/command/3585.md | 41 +- test/command/3587.md | 90 +- test/command/3681.md | 80 +- test/command/3706.md | 144 +- test/command/3708.md | 77 +- test/command/3733.md | 5 +- test/command/3755.md | 52 +- test/command/3779.md | 54 +- test/command/3794.md | 2 +- test/command/3804.md | 3 +- test/command/3853.md | 8 +- test/command/3916.md | 14 +- test/command/3947.md | 5 +- test/command/3958.md | 6 +- test/command/3971.md | 2 +- test/command/3983.md | 8 +- test/command/3989.md | 30 +- test/command/4054.md | 13 +- test/command/4056.md | 70 +- test/command/4063.md | 49 +- test/command/4068.md | 41 +- test/command/4119.md | 90 +- test/command/4134.md | 2 +- test/command/4159.md | 6 +- test/command/4162.md | 2 +- test/command/4183.md | 8 +- test/command/4186.md | 6 +- test/command/4193.md | 4 +- test/command/4199.md | 5 +- test/command/4240.md | 33 +- test/command/4280.md | 2 +- test/command/4281.md | 17 +- test/command/4284.md | 152 +- test/command/4306.md | 23 +- test/command/4374.md | 22 +- test/command/4382.md | 2 +- test/command/4454.md | 4 +- test/command/4499.md | 4 +- test/command/4513.md | 49 +- test/command/4553.md | 11 +- test/command/4579.md | 84 +- test/command/4624.md | 13 +- test/command/4635.md | 12 +- test/command/4669.md | 22 +- test/command/4715.md | 33 +- test/command/4722.md | 53 +- test/command/4742.md | 42 +- test/command/4743.md | 36 +- test/command/4781.md | 28 +- test/command/4811.md | 26 +- test/command/4817.md | 20 +- test/command/4819.md | 18 +- test/command/4832.md | 30 +- test/command/4845.md | 23 +- test/command/4848.md | 40 +- test/command/4860.md | 20 +- test/command/4877.md | 4 +- test/command/4919.md | 6 +- test/command/4928.md | 274 +- test/command/4933.md | 6 +- test/command/5014.md | 58 +- test/command/5079.md | 36 +- test/command/5099.md | 28 +- test/command/5178.md | 22 +- test/command/5182.md | 3 +- test/command/5271.md | 56 +- test/command/5285.md | 19 +- test/command/5321.md | 14 +- test/command/5360.md | 25 +- test/command/5368.md | 41 +- test/command/5540.md | 10 +- test/command/5549.md | 2 +- test/command/5619.md | 50 +- test/command/5686.md | 42 +- test/command/5700.md | 65 +- test/command/5708.md | 53 +- test/command/5711.md | 36 +- test/command/5714.md | 16 +- test/command/5753.md | 7 +- test/command/5795.md | 8 +- test/command/5797.md | 2 +- test/command/5805.md | 2 +- test/command/5845.md | 23 +- test/command/5878.md | 16 +- test/command/6009.md | 18 +- test/command/6026.md | 46 +- test/command/6034.md | 3 +- test/command/6114.md | 10 +- test/command/6137.md | 244 +- test/command/6288.md | 4 +- test/command/6324.md | 17 +- test/command/6699.md | 8 +- test/command/6709.md | 4 +- test/command/6719.md | 4 +- test/command/6791.md | 49 +- test/command/6802.md | 3 +- test/command/6836.md | 50 +- test/command/6869.md | 23 +- test/command/6873.md | 49 +- test/command/6890.md | 183 +- test/command/6993.md | 18 +- test/command/7003.md | 36 +- test/command/7080.md | 12 +- test/command/7092.md | 4 +- test/command/7129.md | 80 +- test/command/7134.md | 58 +- test/command/7145.md | 119 +- test/command/7155.md | 32 +- test/command/7339.md | 7 +- test/command/7400.md | 3 +- test/command/7434.md | 16 +- test/command/7436.md | 34 +- test/command/7557.md | 23 +- test/command/7589.md | 105 +- test/command/934.md | 57 +- test/command/adjacent_latex_blocks.md | 6 +- test/command/cite-in-inline-note.md | 34 +- test/command/citeproc-author-in-text-suffix.md | 46 +- test/command/csv.md | 177 +- test/command/docbook-bibliography.md | 52 +- test/command/dots.md | 5 +- test/command/empty_paragraphs.md | 20 +- test/command/gfm.md | 161 +- test/command/hspace.md | 20 +- test/command/html-read-figure.md | 22 +- test/command/html-trim-definition-list-terms.md | 16 +- test/command/hyphenat.md | 18 +- test/command/ifstrequal.md | 7 +- test/command/indented-fences.md | 6 +- test/command/input-with-endinput.md | 9 +- test/command/latex-center.md | 2 +- test/command/latex-color.md | 124 +- test/command/latex-fontawesome.md | 4 +- test/command/latex-tabular-column-specs.md | 148 +- test/command/lettrine.md | 26 +- test/command/lstlisting.md | 41 +- test/command/macro-defs-in-preamble.md | 11 +- test/command/md-abbrevs.md | 3 +- test/command/multiple-metadata-blocks.md | 8 +- test/command/refs.md | 321 +- test/command/setext-fenced-div.md | 2 +- test/command/shift-heading-level-by.md | 44 +- test/command/sloppypar.md | 408 +- test/command/table-with-cell-align.md | 81 +- test/command/table-with-column-span.md | 325 +- test/command/tabularx.md | 624 +- test/command/translations.md | 2 +- test/command/write18.md | 4 +- test/command/yaml-metadata-blocks.md | 134 +- test/command/yaml-with-chomp.md | 17 +- test/creole-reader.native | 1802 ++-- test/docbook-chapter.native | 320 +- test/docbook-reader.native | 5645 ++++++----- test/docbook-xref.native | 333 +- test/epub/features.native | 3358 +++---- test/epub/formatting.native | 11535 +++++++++++----------- test/epub/wasteland.native | 6946 +++++++------ test/fb2/reader/emphasis.native | 65 +- test/fb2/reader/epigraph.native | 24 +- test/fb2/reader/meta.native | 85 +- test/fb2/reader/notes.native | 44 +- test/fb2/reader/poem.native | 45 +- test/fb2/reader/titles.native | 63 +- test/haddock-reader.native | 777 +- test/html-reader.native | 6217 ++++++------ test/ipynb/simple.out.native | 183 +- test/jats-reader.native | 5389 +++++----- test/jira-reader.native | 1711 ++-- test/latex-reader.native | 4486 ++++----- test/lhs-test-markdown.native | 244 +- test/lhs-test.native | 244 +- test/man-reader.native | 1805 ++-- test/markdown-citations.native | 971 +- test/markdown-reader-more.native | 2353 ++--- test/mediawiki-reader.native | 2613 +++-- test/opml-reader.native | 345 +- test/org-select-tags.native | 196 +- test/pipe-tables.native | 1699 ++-- test/rst-reader.native | 3209 +++--- test/rtf/accent.native | 30 +- test/rtf/bookmark.native | 14 +- test/rtf/footnote.native | 252 +- test/rtf/formatting.native | 88 +- test/rtf/heading.native | 20 +- test/rtf/image.native | 15 +- test/rtf/link.native | 8 +- test/rtf/list_complex.native | 120 +- test/rtf/list_simple.native | 15 +- test/rtf/table_error_codes.native | 783 +- test/rtf/table_simple.native | 133 +- test/rtf/unicode.native | 2 +- test/tables-rstsubset.native | 1824 ++-- test/tables.native | 1795 ++-- test/testsuite.native | 4357 ++++---- test/textile-reader.native | 2345 +++-- test/tikiwiki-reader.native | 1374 +-- test/twiki-reader.native | 1546 ++- test/txt2tags.native | 9873 +++++++++--------- test/vimwiki-reader.native | 4304 ++++---- test/writer.native | 4161 ++++---- 228 files changed, 51712 insertions(+), 53071 deletions(-) (limited to 'test/rtf') diff --git a/pandoc.cabal b/pandoc.cabal index 7003abe2c..f317c3302 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -584,7 +584,8 @@ library unicode-collation >= 0.1.1 && < 0.2, zip-archive >= 0.2.3.4 && < 0.5, zlib >= 0.5 && < 0.7, - pretty-simple >= 4.0 && < 4.1 + pretty-show >= 1.10 && < 1.11, + pretty >= 1.1 && < 1.2 if os(windows) && arch(i386) build-depends: basement >= 0.0.10, foundation >= 0.0.23 diff --git a/src/Text/Pandoc/Writers/Native.hs b/src/Text/Pandoc/Writers/Native.hs index 67af39a31..264b9c498 100644 --- a/src/Text/Pandoc/Writers/Native.hs +++ b/src/Text/Pandoc/Writers/Native.hs @@ -13,23 +13,19 @@ Conversion of a 'Pandoc' document to a string representation. module Text.Pandoc.Writers.Native ( writeNative ) where import Data.Text (Text) -import qualified Data.Text.Lazy as TL +import qualified Data.Text as T import Text.Pandoc.Class.PandocMonad (PandocMonad) import Text.Pandoc.Definition import Text.Pandoc.Options (WriterOptions (..)) -import Text.Pretty.Simple (pShowOpt, defaultOutputOptionsNoColor, - OutputOptions(..), StringOutputStyle(..)) +import Text.Show.Pretty (ppDoc) +import Text.PrettyPrint (renderStyle, Style(..), style, char) -- | Prettyprint Pandoc document. writeNative :: PandocMonad m => WriterOptions -> Pandoc -> m Text writeNative opts (Pandoc meta blocks) = do - let popts = defaultOutputOptionsNoColor{ - outputOptionsIndentAmount = 2, - outputOptionsPageWidth = writerColumns opts, - outputOptionsCompact = True, - outputOptionsCompactParens = False, - outputOptionsStringStyle = Literal } - return $ + let style' = style{ lineLength = writerColumns opts, + ribbonsPerLine = 1.2 } + return $ T.pack $ renderStyle style' $ case writerTemplate opts of - Just _ -> TL.toStrict $ pShowOpt popts (Pandoc meta blocks) <> "\n" - Nothing -> TL.toStrict $ pShowOpt popts blocks + Just _ -> ppDoc (Pandoc meta blocks) <> char '\n' + Nothing -> ppDoc blocks diff --git a/test/command/1390.md b/test/command/1390.md index 1d479dc94..4fea32290 100644 --- a/test/command/1390.md +++ b/test/command/1390.md @@ -4,7 +4,11 @@ Testing: $\mu\foo\eta$. ^D [ Para - [ Str "Testing:", Space, Math InlineMath "\\mu+\\eta", Str "." ] + [ Str "Testing:" + , Space + , Math InlineMath "\\mu+\\eta" + , Str "." + ] ] ``` diff --git a/test/command/1592.md b/test/command/1592.md index 8df5907d4..c3dc933a8 100644 --- a/test/command/1592.md +++ b/test/command/1592.md @@ -51,7 +51,9 @@ % pandoc -f html -t native foo ^D -[ Plain [ Span ( "", [], [ ( "dir", "ltr" ) ] ) [ Str "foo" ] ] ] +[ Plain + [ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ] +] ``` ``` @@ -59,15 +61,13 @@ foobarbaz ^D [ Plain - [ Span - ( "", [], [ ( "dir", "rtl" ) ] ) - [ Str "foo" - , Span - ( "", [], [ ( "dir", "ltr" ) ] ) - [ Str "bar" ] - , Str "baz" + [ Span + ( "" , [] , [ ( "dir" , "rtl" ) ] ) + [ Str "foo" + , Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ] + , Str "baz" + ] ] - ] ] ``` @@ -77,22 +77,22 @@ to left.

^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." + [ 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 bc77117ac..59bd54ab4 100644 --- a/test/command/1608.md +++ b/test/command/1608.md @@ -29,182 +29,177 @@ 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 "." + ( "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." - ] + ( "" , [ "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" + ( "" , [ "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." - ] + ( "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." + ( "" , [ "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 02b426089..acd42b97d 100644 --- a/test/command/168.md +++ b/test/command/168.md @@ -12,23 +12,23 @@ nested div ::::::::::::::::::::::::::::::: ^D [ Div - ( "", [ "warning" ], [] ) - [ Para - [ Str "This" - , Space - , Str "is" - , Space - , Str "the" - , Space - , Str "warning!" + ( "" , [ "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" ] ] ] - , OrderedList - ( 1, Decimal, Period ) - [ [ Plain [ Str "list" ] ], [ Plain [ Str "another" ] ] ] - , Div - ( "myid", [ "class" ], [ ( "key", "val" ) ] ) - [ Para [ Str "nested", Space, Str "div" ] ] - ] ] ``` @@ -38,7 +38,14 @@ foo ::: bar ^D -[ Para [ Str "foo", SoftBreak, Str ":::", SoftBreak, Str "bar" ] ] +[ Para + [ Str "foo" + , SoftBreak + , Str ":::" + , SoftBreak + , Str "bar" + ] +] ``` ``` @@ -50,18 +57,17 @@ And another. ::::: ^D [ Div - ( "", [ "Warning" ], [] ) - [ Para - [ Str "Here" - , Space - , Str "is" - , Space - , Str "a" - , Space - , Str "paragraph." + ( "" , [ "Warning" ] , [] ) + [ Para + [ Str "Here" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "paragraph." + ] + , Para [ Str "And" , Space , Str "another." ] ] - , Para - [ Str "And", Space, Str "another." ] - ] ] ``` diff --git a/test/command/1718.md b/test/command/1718.md index 132c5ba6a..c93067869 100644 --- a/test/command/1718.md +++ b/test/command/1718.md @@ -8,10 +8,12 @@ Note[^1]. ^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 "." - ] + [ 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 ee52ac867..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 92d0317ba..7a2468c1b 100644 --- a/test/command/1881.md +++ b/test/command/1881.md @@ -21,86 +21,90 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing - [ Plain - [ Str "Demonstration" - , Space - , Str "of" - , Space - , Str "simple" - , Space - , Str "table" - , Space - , Str "syntax." - ] + ( "" , [] , [] ) + (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 ) ] - ) - [ - ( 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" ] ] - ] + (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" ] ] + ] + ] ] - ) - [ 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -116,47 +120,48 @@ ^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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/2118.md b/test/command/2118.md index 54eaa2653..8be5c4886 100644 --- a/test/command/2118.md +++ b/test/command/2118.md @@ -8,10 +8,10 @@ \end{figure} ^D [ Para - [ Image - ( "fig:setminus", [], [ ( "width", "80%" ) ] ) - [ Str "Set", Space, Str "subtraction" ] - ( "setminus.png", "fig:" ) - ] + [ 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 4f2e4ff88..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" ] +] ``` ``` @@ -14,8 +16,10 @@ } ^D [ Div - ( "bar", [], [] ) - [ Header 1 ( "foo", [], [] ) [ Str "A", Space, Str "section" ] ] + ( "bar" , [] , [] ) + [ Header + 1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ] + ] ] ``` @@ -23,7 +27,12 @@ % 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" ] + ] +] ``` ``` @@ -34,6 +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 81c3dc95b..7e3f34dbd 100644 --- a/test/command/256.md +++ b/test/command/256.md @@ -3,20 +3,20 @@ 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." - ] + [ Str "Foo.\160bar" + , Space + , Str "baz" + , Space + , Str "h.k.\160and" + , Space + , Str "e.g." + , Space + , Str "and" + , Space + , Str "Mr." + , Space + , Str "Brown." + ] ] ``` ``` @@ -24,19 +24,19 @@ Foo. bar baz h.k. and e.g. and Mr. Brown. 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." - ] + [ 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/3113.md b/test/command/3113.md index 034f1542b..7452995b5 100644 --- a/test/command/3113.md +++ b/test/command/3113.md @@ -9,7 +9,10 @@ E&=&F \end{eqnarray} ^D [ Para - [ Math DisplayMath "\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\\end{aligned}" ] + [ 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 a420d27c5..14f207e39 100644 --- a/test/command/3123.md +++ b/test/command/3123.md @@ -10,6 +10,8 @@ a ^D [ Para - [ Str "a", RawInline ( Format "html" ) "" ] + [ Str "a" + , RawInline (Format "html") "" + ] ] ``` diff --git a/test/command/3236.md b/test/command/3236.md index 856e5f78c..b9a98f160 100644 --- a/test/command/3236.md +++ b/test/command/3236.md @@ -6,16 +6,16 @@ Magnificent \mycolor{} header. ^D [ Para - [ Image - ( "", [], [ ( "width", "17cm" ) ] ) - [ Str "image" ] - ( "red/header", "" ) - , SoftBreak - , Str "Magnificent" - , Space - , Str "red" - , Space - , Str "header." - ] + [ 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 5faabadf8..ef2419481 100644 --- a/test/command/3257.md +++ b/test/command/3257.md @@ -9,5 +9,5 @@ % pandoc -t native ik ^D -[ Para [ Str "ik" ] ] +[ Para [ Str "ik" ] ] ``` diff --git a/test/command/3348.md b/test/command/3348.md index 6f9e18bed..964136086 100644 --- a/test/command/3348.md +++ b/test/command/3348.md @@ -8,60 +8,63 @@ ----- ------------------------------------------------ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignRight, ColWidth 8.333333333333333 e- 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" - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/3401.md b/test/command/3401.md index 0f1e5f18f..3b16e84a4 100644 --- a/test/command/3401.md +++ b/test/command/3401.md @@ -5,7 +5,7 @@ See #3401 and #+MACRO: HELLO /Hello, $1/ {{{HELLO(World)}}} ^D -[ Para [ Emph [ Str "Hello,", Space, Str "World" ] ] ] +[ Para [ Emph [ Str "Hello," , Space , Str "World" ] ] ] ``` Inverted argument order diff --git a/test/command/3407.md b/test/command/3407.md index 551cefd1d..edc1bcb2b 100644 --- a/test/command/3407.md +++ b/test/command/3407.md @@ -10,6 +10,9 @@ :foo:`text` ^D [ Para - [ Code ( "", [ "interpreted-text" ], [ ( "role", "foo" ) ] ) "text" ] + [ Code + ( "" , [ "interpreted-text" ] , [ ( "role" , "foo" ) ] ) + "text" + ] ] ``` diff --git a/test/command/3510.md b/test/command/3510.md index ce4d59e79..48522f7e1 100644 --- a/test/command/3510.md +++ b/test/command/3510.md @@ -10,20 +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." ] +[ 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" ] + ( "" , [ "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 18a5f1641..0fede7a0e 100644 --- a/test/command/3511.md +++ b/test/command/3511.md @@ -11,20 +11,18 @@ not continuation ^D [ BulletList - [ - [ Plain - [ Str "a" ] - , BulletList - [ [ Plain [ Str "b" ], BulletList [ [ Plain [ Str "c" ] ] ] ] ] + [ [ Plain [ Str "a" ] + , BulletList + [ [ Plain [ Str "b" ] + , BulletList [ [ Plain [ Str "c" ] ] ] + ] + ] + ] + , [ CodeBlock ( "" , [] , [] ) "code" ] ] - , - [ CodeBlock ( "", [], [] ) "code" ] - ] , OrderedList - ( 1000, Decimal, Period ) - [ [ Plain [ Str "one" ] ] ] -, CodeBlock - ( "", [], [] ) "not continuation" + ( 1000 , Decimal , Period ) [ [ Plain [ Str "one" ] ] ] +, CodeBlock ( "" , [] , [] ) "not continuation" ] ``` @@ -41,15 +39,14 @@ continuation ^D [ BulletList - [ - [ Plain [ Str "a" ] ] - , - [ Plain [ Str "b" ], BulletList [ [ Plain [ Str "c" ] ] ] ] - , - [ CodeBlock ( "", [], [] ) "not code" ] - ] + [ [ Plain [ Str "a" ] ] + , [ Plain [ Str "b" ] + , BulletList [ [ Plain [ Str "c" ] ] ] + ] + , [ CodeBlock ( "" , [] , [] ) "not code" ] + ] , OrderedList - ( 1000, Decimal, Period ) - [ [ Para [ Str "one" ], Para [ Str "continuation" ] ] ] + ( 1000 , Decimal , Period ) + [ [ Para [ Str "one" ] , Para [ Str "continuation" ] ] ] ] ``` diff --git a/test/command/3516.md b/test/command/3516.md index 83e4cee95..615befb3e 100644 --- a/test/command/3516.md +++ b/test/command/3516.md @@ -25,44 +25,41 @@ on Windows builds. +---+---+ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidth 5.555555555555555 e- 2 ) - , - ( AlignDefault, ColWidth 5.555555555555555 e- 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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 5.555555555555555e-2 ) + , ( AlignDefault , ColWidth 5.555555555555555e-2 ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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/3530.md b/test/command/3530.md index 525c691f8..168cb7067 100644 --- a/test/command/3530.md +++ b/test/command/3530.md @@ -3,52 +3,54 @@ \subfile{command/sub-file-chapter-1} \subfile{command/sub-file-chapter-2} ^D -[ Header 1 - ( "chapter-1", [], [] ) - [ Str "Chapter", Space, Str "1" ] +[ 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" ] + [ 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." - ] + [ 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." + ] ] ``` @@ -58,8 +60,8 @@ \subfile{command/sub-file-chapter-2} ^D [ RawBlock - ( Format "latex" ) "\\subfile{command/sub-file-chapter-1}" + (Format "latex") "\\subfile{command/sub-file-chapter-1}" , RawBlock - ( Format "latex" ) "\\subfile{command/sub-file-chapter-2}" + (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 471bd827e..ed69ca860 100644 --- a/test/command/3533-rst-csv-tables.md +++ b/test/command/3533-rst-csv-tables.md @@ -6,106 +6,119 @@ :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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing [ Plain [ Str "Test" ] ]) + [ ( AlignDefault , ColWidth 0.4 ) + , ( AlignDefault , ColWidth 0.2 ) + , ( AlignDefault , ColWidth 0.4 ) ] - ) - [ 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?" - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -121,78 +134,81 @@ '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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing [ Plain [ Str "Test" ] ]) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -204,33 +220,34 @@ "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 "\"" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/3534.md b/test/command/3534.md index 1be10cf62..8692007d2 100644 --- a/test/command/3534.md +++ b/test/command/3534.md @@ -19,24 +19,23 @@ I want to explain the interface of \lstinline{public class MyClass}. 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 "." - ] + [ 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 "." + ] ] ``` @@ -61,23 +60,22 @@ I want to explain the interface of \mintinline{java}|public class MyClass|. 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 "." - ] + [ 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 934e35836..98704c930 100644 --- a/test/command/3537.md +++ b/test/command/3537.md @@ -7,7 +7,7 @@ Generalized raw attributes. foo bar ``` ^D -[ RawBlock ( Format "ms" ) ".MACRO\nfoo bar" ] +[ RawBlock (Format "ms") ".MACRO\nfoo bar" ] ```` ```` @@ -24,5 +24,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 464df7c91..b2ce5455f 100644 --- a/test/command/3539.md +++ b/test/command/3539.md @@ -5,45 +5,43 @@ 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." - ] + [ 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." + ] ] ``` @@ -52,44 +50,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a \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." - ] + [ 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." + ] ] ``` @@ -98,44 +90,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a \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." - ] + [ 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." + ] ] ``` @@ -144,44 +130,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a \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." - ] + [ 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." + ] ] ``` @@ -190,44 +170,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a \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." - ] + [ 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." + ] ] ``` @@ -238,44 +212,42 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a 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." - ] + [ 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 0da806b1f..c9c782c16 100644 --- a/test/command/3558.md +++ b/test/command/3558.md @@ -6,11 +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/3585.md b/test/command/3585.md index 2cda46993..3f014db94 100644 --- a/test/command/3585.md +++ b/test/command/3585.md @@ -4,29 +4,26 @@ Same but bzip2 it and nice it 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" ^D -[ Para - [ Quoted DoubleQuote [ Str "Hello" ] ] +[ 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\"" - ] + [ 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\"" + ] ] ``` diff --git a/test/command/3587.md b/test/command/3587.md index 402ad7d9f..88f009900 100644 --- a/test/command/3587.md +++ b/test/command/3587.md @@ -3,16 +3,16 @@ \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" - ] + [ Str "1\160m" + , Space + , Str "is" + , Space + , Str "equal" + , Space + , Str "to" + , Space + , Str "1000\160mm" + ] ] ``` @@ -21,16 +21,16 @@ \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" - ] + [ Str "$\160\&1" + , Space + , Str "is" + , Space + , Str "equal" + , Space + , Str "to" + , Space + , Str "0.938094\160\8364" + ] ] ``` @@ -53,7 +53,7 @@ % pandoc -f latex -t native \SI{25}{\square\meter} ^D -[ Para [ Str "25\160m", Superscript [ Str "2" ] ] ] +[ Para [ Str "25\160m" , Superscript [ Str "2" ] ] ] ``` ``` @@ -109,13 +109,11 @@ \SIrange{10}{20}{\square\meter} ^D [ Para - [ Str "10\160m" - , Superscript - [ Str "2" ] - , Str "\8211\&20\160m" - , Superscript - [ Str "2" ] - ] + [ Str "10\160m" + , Superscript [ Str "2" ] + , Str "\8211\&20\160m" + , Superscript [ Str "2" ] + ] ] ``` @@ -139,13 +137,11 @@ \SIrange{10}{20}{\raisetothe{4}\meter} ^D [ Para - [ Str "10\160m" - , Superscript - [ Str "4" ] - , Str "\8211\&20\160m" - , Superscript - [ Str "4" ] - ] + [ Str "10\160m" + , Superscript [ Str "4" ] + , Str "\8211\&20\160m" + , Superscript [ Str "4" ] + ] ] ``` @@ -155,13 +151,11 @@ \SIrange{10}{20}{\meter\squared} ^D [ Para - [ Str "10\160m" - , Superscript - [ Str "2" ] - , Str "\8211\&20\160m" - , Superscript - [ Str "2" ] - ] + [ Str "10\160m" + , Superscript [ Str "2" ] + , Str "\8211\&20\160m" + , Superscript [ Str "2" ] + ] ] ``` @@ -185,13 +179,11 @@ \SIrange{10}{20}{\meter\tothe{4}} ^D [ Para - [ Str "10\160m" - , Superscript - [ Str "4" ] - , Str "\8211\&20\160m" - , Superscript - [ Str "4" ] - ] + [ Str "10\160m" + , Superscript [ Str "4" ] + , Str "\8211\&20\160m" + , Superscript [ Str "4" ] + ] ] ``` diff --git a/test/command/3681.md b/test/command/3681.md index e374f1c35..3e6c71a47 100644 --- a/test/command/3681.md +++ b/test/command/3681.md @@ -5,32 +5,32 @@ 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:" - ] + [ 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:" + ] ] ``` @@ -41,20 +41,20 @@ 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", "" ) - ] + [ 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." ] - , Space - , Str "is" - , Space - , Str "awesome." - ] ] ``` @@ -65,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/3706.md b/test/command/3706.md index 52e1eacbf..fcd95dfdd 100644 --- a/test/command/3706.md +++ b/test/command/3706.md @@ -16,78 +16,84 @@ Results marker can be hidden in block attributes (#3706) | 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" ] ] + ( "tab" , [] , [] ) + [ Table + ( "" , [] , [] ) + (Caption Nothing [ Plain [ Str "Lalelu." ] ]) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "3" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "La" ] ] + (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 ( "" , [] , [] ) []) ] - ( TableFoot ( "", [], [] ) [] ) - ] ] ``` diff --git a/test/command/3708.md b/test/command/3708.md index 435d6940c..e456617de 100644 --- a/test/command/3708.md +++ b/test/command/3708.md @@ -6,41 +6,48 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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 90cdcff6c..0b24d0c1b 100644 --- a/test/command/3733.md +++ b/test/command/3733.md @@ -7,8 +7,7 @@ some: code ``` ^D [ BulletList - [ [ Plain [ Str "Item1" ] ], [ Plain [ Str "Item2" ] ] ] -, CodeBlock - ( "", [ "yaml" ], [] ) "some: code" + [ [ Plain [ Str "Item1" ] ] , [ Plain [ Str "Item2" ] ] ] +, CodeBlock ( "" , [ "yaml" ] , [] ) "some: code" ] ```` diff --git a/test/command/3755.md b/test/command/3755.md index b9f38d441..e89eaec35 100644 --- a/test/command/3755.md +++ b/test/command/3755.md @@ -6,18 +6,17 @@ date: '22. Juni 2017' --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "date" - , MetaInlines - [ Str "22.", Space, Str "Juni", Space, Str "2017" ] - ) - , - ( "title", MetaInlines [ Str "Titel" ] ) - ] + Meta + { unMeta = + fromList + [ ( "date" + , MetaInlines + [ Str "22." , Space , Str "Juni" , Space , Str "2017" ] + ) + , ( "title" , MetaInlines [ Str "Titel" ] ) + ] } - ) [] + [] ``` ``` @@ -29,23 +28,22 @@ date: | --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "date" - , MetaBlocks - [ OrderedList - ( 22, Decimal, Period ) - [ [ Plain [ Str "Juni", Space, Str "2017" ] ] ] + Meta + { unMeta = + fromList + [ ( "date" + , MetaBlocks + [ OrderedList + ( 22 , Decimal , Period ) + [ [ Plain [ Str "Juni" , Space , Str "2017" ] ] ] + ] + ) + , ( "title" + , MetaBlocks + [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ] + ) ] - ) - , - ( "title" - , MetaBlocks - [ Div ( "", [], [] ) [ Plain [ Str "foo" ] ] ] - ) - ] } - ) [] + [] ``` diff --git a/test/command/3779.md b/test/command/3779.md index 45c91a92c..04111c2a6 100644 --- a/test/command/3779.md +++ b/test/command/3779.md @@ -21,39 +21,37 @@ } ^D [ BulletList - [ - [ Para - [ Str "Pandoc" - , Space - , Str "is" - , Space - , Str "100%" - , Space - , Str "awesome." + [ [ 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 "200%" + , Space + , Str "awesome." + ] ] ] - ] , Para - [ Str "Pandoc" - , Space - , Str "is" - , Space - , Str "300%" - , Space - , Str "awesome." - ] + [ Str "Pandoc" + , Space + , Str "is" + , Space + , Str "300%" + , Space + , Str "awesome." + ] ] ``` diff --git a/test/command/3794.md b/test/command/3794.md index 571fb848d..974b7dbe4 100644 --- a/test/command/3794.md +++ b/test/command/3794.md @@ -2,5 +2,5 @@ % pandoc -f html -t native

hello

^D -[ Div ( "", [], [] ) [ Para [ Str "hello" ] ] ] +[ Div ( "" , [] , [] ) [ Para [ Str "hello" ] ] ] ``` diff --git a/test/command/3804.md b/test/command/3804.md index b80b1ce5a..6637b23c7 100644 --- a/test/command/3804.md +++ b/test/command/3804.md @@ -3,6 +3,7 @@ \titleformat{\chapter}[display]{\normalfont\large\bfseries}{第\thechapter{}章}{20pt}{\Huge} ^D [ RawBlock - ( Format "tex" ) "\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}" + (Format "tex") + "\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}" ] ``` diff --git a/test/command/3853.md b/test/command/3853.md index 6b8be15c5..caf21ed54 100644 --- a/test/command/3853.md +++ b/test/command/3853.md @@ -20,11 +20,9 @@ more hello \iftoggle{ebook}{ebook}{noebook} ^D -[ Para - [ Str "ebook", SoftBreak, Str "more" ] +[ Para [ Str "ebook" , SoftBreak , Str "more" ] , Para - [ Str "not", Space, Str "ebook", SoftBreak, Str "more" ] -, Para - [ Str "hello", Space, Str "noebook" ] + [ Str "not" , Space , Str "ebook" , SoftBreak , Str "more" ] +, Para [ Str "hello" , Space , Str "noebook" ] ] ``` diff --git a/test/command/3916.md b/test/command/3916.md index 47cd72861..8775ae7f6 100644 --- a/test/command/3916.md +++ b/test/command/3916.md @@ -5,15 +5,11 @@ # more ^D [ OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "text", Space, Str "text" ] - , CodeBlock - ( "", [], [] ) "blabla" + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "text" , Space , Str "text" ] + , CodeBlock ( "" , [] , [] ) "blabla" + ] + , [ Plain [ Str "more" ] ] ] - , - [ Plain [ Str "more" ] ] - ] ] ``` diff --git a/test/command/3947.md b/test/command/3947.md index 095b26767..68118a9da 100644 --- a/test/command/3947.md +++ b/test/command/3947.md @@ -6,9 +6,8 @@ Another Code block ^D -[ RawBlock - ( Format "tex" ) "\\newpage" +[ RawBlock (Format "tex") "\\newpage" , CodeBlock - ( "", [], [] ) "Code block\n\nAnother Code block" + ( "" , [] , [] ) "Code block\n\nAnother Code block" ] ``` diff --git a/test/command/3958.md b/test/command/3958.md index cf93d0f74..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 013125444..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 4af4bc3eb..c13aea850 100644 --- a/test/command/3983.md +++ b/test/command/3983.md @@ -19,10 +19,8 @@ \DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@} \makeatother ^D -[ RawBlock - ( Format "latex" ) "\\makeatletter" -, RawBlock - ( Format "latex" ) "\\makeatother" +[ RawBlock (Format "latex") "\\makeatletter" +, RawBlock (Format "latex") "\\makeatother" ] ``` @@ -31,5 +29,5 @@ \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 75872a102..647aa355a 100644 --- a/test/command/3989.md +++ b/test/command/3989.md @@ -4,21 +4,19 @@ foo ^D [ Para - [ Span - ( "" - , [] - , - [ ( "title", "1st line of text
2nd line of text" ) ] - ) - [ Str "foo" ] - , SoftBreak - , Span - ( "" - , [] - , - [ ( "title", "1st line of text
2nd line of text" ) ] - ) - [ Str "foo" ] - ] + [ Span + ( "" + , [] + , [ ( "title" , "1st line of text
2nd line of text" ) ] + ) + [ Str "foo" ] + , SoftBreak + , Span + ( "" + , [] + , [ ( "title" , "1st line of text
2nd line of text" ) ] + ) + [ Str "foo" ] + ] ] ``` diff --git a/test/command/4054.md b/test/command/4054.md index 9afef48b5..81c6e4012 100644 --- a/test/command/4054.md +++ b/test/command/4054.md @@ -3,16 +3,19 @@ % Old ^D Pandoc - ( Meta { unMeta = fromList [ ( "title", MetaString "New" ) ] } ) [] + 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" ] ) ] + Meta + { unMeta = + fromList + [ ( "foo" , MetaList [ MetaString "1" , MetaString "2" ] ) ] } - ) [] + [] ``` diff --git a/test/command/4056.md b/test/command/4056.md index 3b2341644..c270d25ca 100644 --- a/test/command/4056.md +++ b/test/command/4056.md @@ -6,7 +6,8 @@ } ^D [ RawBlock - ( Format "tex" ) "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}" + (Format "tex") + "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}" ] ``` @@ -17,39 +18,40 @@ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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 ca7b3007e..29aeae854 100644 --- a/test/command/4063.md +++ b/test/command/4063.md @@ -12,28 +12,33 @@ ^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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.3 ) + , ( AlignDefault , ColWidth 0.7 ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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 53fb660d0..83527a6fd 100644 --- a/test/command/4068.md +++ b/test/command/4068.md @@ -5,24 +5,29 @@ [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", "" ) - ] + [ 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]" - ] + [ 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 e41991874..fcbf79386 100644 --- a/test/command/4119.md +++ b/test/command/4119.md @@ -9,51 +9,55 @@ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "2" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Div - ( "", [ "notes" ], [] ) - [ Para [ Str "not", Space, Str "a", Space, Str "caption!" ] ] + ( "" , [ "notes" ] , [] ) + [ Para + [ Str "not" , Space , Str "a" , Space , Str "caption!" ] + ] ] ``` diff --git a/test/command/4134.md b/test/command/4134.md index d850e5740..195d85129 100644 --- a/test/command/4134.md +++ b/test/command/4134.md @@ -20,5 +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 1451a03df..bea4632c9 100644 --- a/test/command/4159.md +++ b/test/command/4159.md @@ -3,9 +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 ca54cf953..85b48dbdf 100644 --- a/test/command/4162.md +++ b/test/command/4162.md @@ -3,5 +3,5 @@
hi

 there
^D -[ LineBlock [ [ Str "hi" ], [], [ Str "\160there" ] ] ] +[ LineBlock [ [ Str "hi" ] , [] , [ Str "\160there" ] ] ] ``` diff --git a/test/command/4183.md b/test/command/4183.md index cf889af73..0fa940a63 100644 --- a/test/command/4183.md +++ b/test/command/4183.md @@ -18,7 +18,9 @@ ^D -[ Para [ Image ( "", [], [] ) [ Str "baz" ] ( "foo", "fig:" ) ] ] +[ Para + [ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo" , "fig:" ) ] +] ``` ``` @@ -29,6 +31,8 @@ ^D [ Para - [ Image ( "", [], [] ) [ Emph [ Str "baz" ] ] ( "foo", "fig:" ) ] + [ Image + ( "" , [] , [] ) [ Emph [ Str "baz" ] ] ( "foo" , "fig:" ) + ] ] ``` diff --git a/test/command/4186.md b/test/command/4186.md index 9ac457748..90ac1271b 100644 --- a/test/command/4186.md +++ b/test/command/4186.md @@ -5,10 +5,8 @@ #+end_example ^D [ CodeBlock - ( "" - , [ "example" ] - , [] - ) " This should retain the four leading spaces\n" + ( "" , [ "example" ] , [] ) + " This should retain the four leading spaces\n" ] ``` diff --git a/test/command/4193.md b/test/command/4193.md index f659349fd..67ca5a4f7 100644 --- a/test/command/4193.md +++ b/test/command/4193.md @@ -4,5 +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 953917f58..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/4240.md b/test/command/4240.md index 861184728..49585438a 100644 --- a/test/command/4240.md +++ b/test/command/4240.md @@ -26,26 +26,19 @@ header4 ~~~~~~~ ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "subtitle", MetaInlines [ Str "Subtitle" ] ) - , - ( "title", MetaInlines [ Str "Title" ] ) - ] + 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", [], [] ) [] ] + [ 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/4280.md b/test/command/4280.md index 5a198682b..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 db5119a5c..53943e503 100644 --- a/test/command/4281.md +++ b/test/command/4281.md @@ -10,17 +10,12 @@ :::: ^D [ Div - ( "", [ "a" ], [] ) - [ BulletList - [ - [ Div - ( "", [ "b" ], [] ) - [ Para [ Str "text" ] ] - , Div - ( "", [ "c" ], [] ) - [ Para [ Str "text" ] ] - ] + ( "" , [ "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 5c2ad9620..0308f521f 100644 --- a/test/command/4284.md +++ b/test/command/4284.md @@ -8,30 +8,33 @@ ** 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" ] ] + ] ] ``` @@ -41,18 +44,19 @@ * 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" ] ] + ] ] ``` @@ -64,18 +68,19 @@ * 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" ] ] + ] ] ``` @@ -84,29 +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 3f5caa8fc..dcb90e312 100644 --- a/test/command/4306.md +++ b/test/command/4306.md @@ -7,17 +7,16 @@ 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 "." - ] + [ 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 f7587999e..4a0990fff 100644 --- a/test/command/4374.md +++ b/test/command/4374.md @@ -4,17 +4,17 @@ } ^D [ Para - [ Cite - [ Citation - { citationId = "a" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = NormalCitation - , citationNoteNum = 0 - , citationHash = 0 - } + [ Cite + [ Citation + { citationId = "a" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 0 + , citationHash = 0 + } + ] + [ RawInline (Format "latex") "\\cite{a%\n}" ] ] - [ RawInline ( Format "latex" ) "\\cite{a%\n}" ] - ] ] ``` diff --git a/test/command/4382.md b/test/command/4382.md index 1eb9c3b64..847f4732e 100644 --- a/test/command/4382.md +++ b/test/command/4382.md @@ -4,5 +4,5 @@ ===== ^D -[ BulletList [ [] ], HorizontalRule ] +[ BulletList [ [] ] , HorizontalRule ] ``` diff --git a/test/command/4454.md b/test/command/4454.md index 8781b914c..aeb62aabb 100644 --- a/test/command/4454.md +++ b/test/command/4454.md @@ -3,5 +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 7a78860ea..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 a149a699f..1f36d1958 100644 --- a/test/command/4513.md +++ b/test/command/4513.md @@ -3,31 +3,30 @@ |_. 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ] - ( TableFoot ( "", [], [] ) [] ) + (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/4553.md b/test/command/4553.md index 1d7a71cca..0104a08a8 100644 --- a/test/command/4553.md +++ b/test/command/4553.md @@ -2,13 +2,20 @@ % 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 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/4579.md b/test/command/4579.md index f22494e16..353a4a514 100644 --- a/test/command/4579.md +++ b/test/command/4579.md @@ -9,48 +9,50 @@ - 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "spam" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "ham" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/4624.md b/test/command/4624.md index dd46a564b..abbdf61f4 100644 --- a/test/command/4624.md +++ b/test/command/4624.md @@ -23,14 +23,11 @@ code4 code5\end{verbatim} ^D [ CodeBlock - ( "", [], [ ( "key1", "value1" ) ] ) "code1\n" + ( "" , [] , [ ( "key1" , "value1" ) ] ) "code1\n" , CodeBlock - ( "", [], [ ( "key2", "value2" ) ] ) "code2\n " -, CodeBlock - ( "", [], [] ) "code3" -, CodeBlock - ( "", [], [] ) "code4" -, CodeBlock - ( "", [], [] ) "code5" + ( "" , [] , [ ( "key2" , "value2" ) ] ) "code2\n " +, CodeBlock ( "" , [] , [] ) "code3" +, CodeBlock ( "" , [] , [] ) "code4" +, CodeBlock ( "" , [] , [] ) "code5" ] ``` diff --git a/test/command/4635.md b/test/command/4635.md index 4b029604b..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/4669.md b/test/command/4669.md index 20aaaca7e..41f6ae327 100644 --- a/test/command/4669.md +++ b/test/command/4669.md @@ -7,9 +7,8 @@ \end{verbatim} ^D [ Para - [ Span ( "", [], [] ) [ Code ( "", [], [] ) "<-" ] ] -, CodeBlock - ( "", [], [] ) " while (n > 0) {" + [ Span ( "" , [] , [] ) [ Code ( "" , [] , [] ) "<-" ] ] +, CodeBlock ( "" , [] , [] ) " while (n > 0) {" ] ``` @@ -24,16 +23,11 @@ \end{itemize} ^D [ BulletList - [ - [ Para [ Str "one" ] ] - , - [ Para [ Str "two" ] ] - , - [ Para [ Str "three" ] ] - , - [ Para [ Str "four" ] ] - , - [ Para [ Str "five" ] ] - ] + [ [ Para [ Str "one" ] ] + , [ Para [ Str "two" ] ] + , [ Para [ Str "three" ] ] + , [ Para [ Str "four" ] ] + , [ Para [ Str "five" ] ] + ] ] ``` diff --git a/test/command/4715.md b/test/command/4715.md index 58ba70544..f6bf8736d 100644 --- a/test/command/4715.md +++ b/test/command/4715.md @@ -12,25 +12,20 @@ riuso-software.rst ^D [ Div - ( "tree1" - , - [ "toctree", "foo", "bar" ] - , - [ - ( "caption", "Indice dei contenuti" ) - , - ( "numbered", "" ) - , - ( "maxdepth", "3" ) + ( "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" + ] ] - ) - [ 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 2a0ef086d..2b2ceb640 100644 --- a/test/command/4722.md +++ b/test/command/4722.md @@ -7,23 +7,16 @@ *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" ] ] + , [ 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" ] ] ] - , - [ Plain [ Str "Level", Space, Str "1" ] ] - ] ] ``` ``` @@ -35,25 +28,19 @@ #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" ] ] ] - ] + ( 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" ] ] ] - , - [ Plain [ Str "Level", Space, Str "1" ] ] - ] ] ``` diff --git a/test/command/4742.md b/test/command/4742.md index 45f42db5a..f3f4bf7ae 100644 --- a/test/command/4742.md +++ b/test/command/4742.md @@ -26,16 +26,17 @@ 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" + ] ] ``` @@ -45,15 +46,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 08c807c9f..582540736 100644 --- a/test/command/4743.md +++ b/test/command/4743.md @@ -5,15 +5,15 @@ Test that emojis are wrapped in Span 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" ] - ] + [ Str "My" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] ) + [ Str "\128077" ] + , Str "emoji" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] ) + [ Str "\10084\65039" ] + ] ] ``` @@ -22,15 +22,15 @@ My:thumbsup:emoji:heart: 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" ] - ] + [ Str "My" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] ) + [ Str "\128077" ] + , Str "emoji" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] ) + [ Str "\10084\65039" ] + ] ] ``` diff --git a/test/command/4781.md b/test/command/4781.md index 59740373c..e240facf3 100644 --- a/test/command/4781.md +++ b/test/command/4781.md @@ -7,11 +7,17 @@ Markdown parsed *here* *But not here* ^D [ Para - [ Str "Markdown", Space, Str "parsed", Space, Emph [ Str "here" ] ] -, RawBlock - ( Format "tex" ) "\\include{command/bar}" + [ 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" ] ] + [ Emph + [ Str "But" , Space , Str "not" , Space , Str "here" ] + ] ] ``` @@ -22,13 +28,13 @@ Markdown parsed *here* *But not here* ^D [ Para - [ Emph - [ Str "here" ] - , Space - , RawInline - ( Format "tex" ) "\\input{command/bar}" - ] + [ Emph [ Str "here" ] + , Space + , RawInline (Format "tex") "\\input{command/bar}" + ] , Para - [ Emph [ Str "But", Space, Str "not", Space, Str "here" ] ] + [ Emph + [ Str "But" , Space , Str "not" , Space , Str "here" ] + ] ] ``` diff --git a/test/command/4811.md b/test/command/4811.md index 33d49f8c8..4c0b0faa9 100644 --- a/test/command/4811.md +++ b/test/command/4811.md @@ -6,7 +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: @@ -17,10 +17,8 @@ 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" ] ] ``` @@ -30,9 +28,10 @@ Backtick followed by alphanumeric doesn't end the span: `hi`there`:myrole: ^D [ Para - [ Code - ( "", [ "interpreted-text" ], [ ( "role", "myrole" ) ] ) "hi`there" - ] + [ Code + ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] ) + "hi`there" + ] ] ``` @@ -43,9 +42,10 @@ Newline is okay, as long as not blank: there`:myrole: ^D [ Para - [ Code - ( "", [ "interpreted-text" ], [ ( "role", "myrole" ) ] ) "hi\nthere" - ] + [ Code + ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] ) + "hi\nthere" + ] ] ``` @@ -54,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 600266771..84db64b5f 100644 --- a/test/command/4817.md +++ b/test/command/4817.md @@ -6,16 +6,16 @@ foo: ... ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "foo" - , MetaList - [ MetaMap - ( fromList [ ( "bar", MetaInlines [ Str "bam" ] ) ] ) + Meta + { unMeta = + fromList + [ ( "foo" + , MetaList + [ MetaMap + (fromList [ ( "bar" , MetaInlines [ Str "bam" ] ) ]) + ] + ) ] - ) - ] } - ) [] + [] ``` diff --git a/test/command/4819.md b/test/command/4819.md index 5966b14f3..eb964efba 100644 --- a/test/command/4819.md +++ b/test/command/4819.md @@ -5,9 +5,10 @@ foo: 42 ... ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaInlines [ Str "42" ] ) ] } - ) [] + Meta + { unMeta = fromList [ ( "foo" , MetaInlines [ Str "42" ] ) ] + } + [] ``` ``` @@ -17,7 +18,7 @@ foo: true ... ^D Pandoc - ( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) [] + Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } [] ``` ``` @@ -27,7 +28,7 @@ foo: True ... ^D Pandoc - ( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) [] + Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } [] ``` ``` @@ -47,8 +48,9 @@ foo: no ... ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaInlines [ Str "no" ] ) ] } - ) [] + Meta + { unMeta = fromList [ ( "foo" , MetaInlines [ Str "no" ] ) ] + } + [] ``` diff --git a/test/command/4832.md b/test/command/4832.md index 6e8f9401e..5e9f2ac77 100644 --- a/test/command/4832.md +++ b/test/command/4832.md @@ -3,11 +3,11 @@ \url{http://example.com/foo%20bar.htm} ^D [ Para - [ Link - ( "", [], [] ) - [ Str "http://example.com/foo%20bar.htm" ] - ( "http://example.com/foo%20bar.htm", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "http://example.com/foo%20bar.htm" ] + ( "http://example.com/foo%20bar.htm" , "" ) + ] ] ``` @@ -16,11 +16,11 @@ \url{http://example.com/foo{bar}.htm} ^D [ Para - [ Link - ( "", [], [] ) - [ Str "http://example.com/foo{bar}.htm" ] - ( "http://example.com/foo{bar}.htm", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "http://example.com/foo{bar}.htm" ] + ( "http://example.com/foo{bar}.htm" , "" ) + ] ] ``` @@ -29,11 +29,11 @@ \href{http://example.com/foo%20bar}{Foobar} ^D [ Para - [ Link - ( "", [], [] ) - [ Str "Foobar" ] - ( "http://example.com/foo%20bar", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "Foobar" ] + ( "http://example.com/foo%20bar" , "" ) + ] ] ``` diff --git a/test/command/4845.md b/test/command/4845.md index 092c48181..10d11127b 100644 --- a/test/command/4845.md +++ b/test/command/4845.md @@ -3,14 +3,19 @@ x leading trailing space x ^D [ Plain - [ Str "x" - , Space - , Link - ( "", [], [] ) - [ Str "leading", Space, Str "trailing", Space, Str "space" ] - ( "/foo", "" ) - , Space - , Str "x" - ] + [ 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 3110b90cc..54692ff09 100644 --- a/test/command/4848.md +++ b/test/command/4848.md @@ -10,9 +10,10 @@ \foreignquote{italian}{hi} ^D [ Para - [ Quoted DoubleQuote - [ Span ( "", [], [ ( "lang", "it" ) ] ) [ Str "hi" ] ] - ] + [ Quoted + DoubleQuote + [ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ] + ] ] ``` @@ -21,9 +22,10 @@ \hyphenquote*{italian}{hi} ^D [ Para - [ Quoted SingleQuote - [ Span ( "", [], [ ( "lang", "it" ) ] ) [ Str "hi" ] ] - ] + [ Quoted + SingleQuote + [ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ] + ] ] ``` @@ -33,12 +35,12 @@ Lorem ipsum \blockquote{dolor sit amet} consectetuer. ^D -[ Para - [ Str "Lorem", Space, Str "ipsum" ] +[ Para [ Str "Lorem" , Space , Str "ipsum" ] , BlockQuote - [ Para [ Str "dolor", Space, Str "sit", Space, Str "amet" ] ] -, Para - [ Str "consectetuer." ] + [ Para + [ Str "dolor" , Space , Str "sit" , Space , Str "amet" ] + ] +, Para [ Str "consectetuer." ] ] ``` @@ -78,15 +80,15 @@ Lorem ipsum \foreignblockquote{italian}{dolor sit amet} consectetuer. ^D -[ Para - [ Str "Lorem", Space, Str "ipsum" ] +[ Para [ Str "Lorem" , Space , Str "ipsum" ] , BlockQuote - [ Div - ( "", [], [ ( "lang", "it" ) ] ) - [ Para [ Str "dolor", Space, Str "sit", Space, Str "amet" ] ] - ] -, Para - [ Str "consectetuer." ] + [ 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 4fb0c9212..65b6bf65f 100644 --- a/test/command/4860.md +++ b/test/command/4860.md @@ -6,15 +6,15 @@ This is broken_. .. _broken: http://google.com ^D [ Para - [ Str "This" - , Space - , Str "is" - , Space - , Link - ( "", [], [] ) - [ Str "broken" ] - ( "http://google.com", "" ) - , Str "." - ] + [ 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 d442de3b4..ba8acd122 100644 --- a/test/command/4877.md +++ b/test/command/4877.md @@ -2,7 +2,9 @@ % pandoc -f html -t native My ^D -[ Plain [ Str "My", Space, Math InlineMath "\\mathcal{D}" ] ] +[ Plain + [ Str "My" , Space , Math InlineMath "\\mathcal{D}" ] +] ``` ``` diff --git a/test/command/4919.md b/test/command/4919.md index 165f427bb..b8f153848 100644 --- a/test/command/4919.md +++ b/test/command/4919.md @@ -8,8 +8,10 @@ V = \frac{K}{r^2} ^D [ Div - ( "tgtmath", [], [] ) - [ BlockQuote [ Para [ Math DisplayMath "V = \\frac{K}{r^2}" ] ] ] + ( "tgtmath" , [] , [] ) + [ BlockQuote + [ Para [ Math DisplayMath "V = \\frac{K}{r^2}" ] ] + ] ] ``` diff --git a/test/command/4928.md b/test/command/4928.md index c779fb0a4..b35e17d4f 100644 --- a/test/command/4928.md +++ b/test/command/4928.md @@ -3,31 +3,30 @@ \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}" + [ 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}" + ] ] - ] ] ``` @@ -36,31 +35,29 @@ \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}" + [ 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}" + ] ] - ] ] ``` @@ -69,31 +66,30 @@ \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}" + [ 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}" + ] ] - ] ] ``` @@ -102,31 +98,28 @@ \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}" + [ 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}" + ] ] - ] ] ``` @@ -168,22 +161,21 @@ \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}" + [ 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}" + ] ] - ] ] ``` @@ -192,35 +184,39 @@ \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}" + [ 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 "." + ] ] - , Str "." - ] ] - ] ] ``` diff --git a/test/command/4933.md b/test/command/4933.md index 763b49ca3..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 47965830c..8acc55750 100644 --- a/test/command/5014.md +++ b/test/command/5014.md @@ -14,34 +14,36 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ ( AlignDefault, ColWidthDefault ) ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Name" ] ] - ] + ( "" , [] , [] ) + (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" ] ] + ] + ] ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Accounts" ] ] - ] - ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/5079.md b/test/command/5079.md index 28bdf64d0..3eb0628c5 100644 --- a/test/command/5079.md +++ b/test/command/5079.md @@ -11,23 +11,25 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ ( AlignDefault, ColWidthDefault ) ] - ( TableHead ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) ] + (TableHead ( "" , [] , [] ) []) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/5099.md b/test/command/5099.md index 316d021d9..d464f9c8a 100644 --- a/test/command/5099.md +++ b/test/command/5099.md @@ -3,19 +3,19 @@ (@citation ^D [ Para - [ Str "(" - , Cite - [ Citation - { citationId = "citation" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = AuthorInText - , citationNoteNum = 1 - , citationHash = 0 - } + [ Str "(" + , Cite + [ Citation + { citationId = "citation" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 1 + , citationHash = 0 + } + ] + [ Str "@citation" ] ] - [ Str "@citation" ] - ] ] ``` @@ -23,5 +23,7 @@ % pandoc -t native ('asd') ^D -[ Para [ Str "(", Quoted SingleQuote [ Str "asd" ], Str ")" ] ] +[ Para + [ Str "(" , Quoted SingleQuote [ Str "asd" ] , Str ")" ] +] ``` diff --git a/test/command/5178.md b/test/command/5178.md index d74830b17..1c39b5071 100644 --- a/test/command/5178.md +++ b/test/command/5178.md @@ -23,19 +23,17 @@ unsafePerformIO main #+end_src ^D [ CodeBlock - ( "" - , - [ "commonlisp", "numberLines" ] - , - [ ( "org-language", "lisp" ), ( "startFrom", "20" ) ] - ) "(+ 1 1)\n" + ( "" + , [ "commonlisp" , "numberLines" ] + , [ ( "org-language" , "lisp" ) , ( "startFrom" , "20" ) ] + ) + "(+ 1 1)\n" , CodeBlock - ( "" - , - [ "commonlisp", "numberLines", "continuedSourceBlock" ] - , - [ ( "org-language", "lisp" ), ( "startFrom", "10" ) ] - ) "(+ 2 2)\n" + ( "" + , [ "commonlisp" , "numberLines" , "continuedSourceBlock" ] + , [ ( "org-language" , "lisp" ) , ( "startFrom" , "10" ) ] + ) + "(+ 2 2)\n" ] ``` diff --git a/test/command/5182.md b/test/command/5182.md index a26056a0e..5898f9edf 100644 --- a/test/command/5182.md +++ b/test/command/5182.md @@ -3,6 +3,7 @@ .. include:: command/5182.txt ^D [ CodeBlock - ( "", [ "python", "numberLines" ], [] ) "def func(x):\n return y" + ( "" , [ "python" , "numberLines" ] , [] ) + "def func(x):\n return y" ] ``` diff --git a/test/command/5271.md b/test/command/5271.md index e80bc3468..5df3958ef 100644 --- a/test/command/5271.md +++ b/test/command/5271.md @@ -8,34 +8,34 @@ abstract: | ... ^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." - ] + 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 ebad9374e..6c5b7f987 100644 --- a/test/command/5285.md +++ b/test/command/5285.md @@ -8,13 +8,10 @@ - b ^D [ BulletList - [ - [ Para [ Str "a" ], Para [ Str "b" ] ] - , - [ Para [ Str "a" ] ] - , - [ Para [ Str "b" ] ] - ] + [ [ Para [ Str "a" ] , Para [ Str "b" ] ] + , [ Para [ Str "a" ] ] + , [ Para [ Str "b" ] ] + ] ] ``` @@ -28,10 +25,8 @@ > foo ^D [ BulletList - [ - [ Para [ Str "foo" ], Para [ Str "foo" ] ] - , - [ Para [ Str "foo" ], BlockQuote [ Para [ Str "foo" ] ] ] - ] + [ [ 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 b0cfdb1b8..975852482 100644 --- a/test/command/5321.md +++ b/test/command/5321.md @@ -8,7 +8,9 @@ ^D [ Para - [ Image ( "fig-1", [], [] ) [ Str "bar" ] ( "foo.png", "fig:" ) ] + [ Image + ( "fig-1" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:" ) + ] ] ``` @@ -23,10 +25,10 @@ ^D [ Para - [ Image - ( "fig-1", [], [] ) - [ Str "foo", LineBreak, Str "bar" ] - ( "foo.png", "fig:" ) - ] + [ Image + ( "fig-1" , [] , [] ) + [ Str "foo" , LineBreak , Str "bar" ] + ( "foo.png" , "fig:" ) + ] ] ``` diff --git a/test/command/5360.md b/test/command/5360.md index 7aa8adfa3..2250ba9f9 100644 --- a/test/command/5360.md +++ b/test/command/5360.md @@ -9,21 +9,14 @@ ::: ^D [ Div - ( "", [ "foo" ], [] ) - [ RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "
" - , Plain - [ Str "hi" ] - , RawBlock - ( Format "html" ) "
" - ] + ( "" , [ "foo" ] , [] ) + [ RawBlock (Format "html") "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "
" + , Plain [ Str "hi" ] + , RawBlock (Format "html") "
" + ] ] ``` diff --git a/test/command/5368.md b/test/command/5368.md index 16cc4352c..e8b54bf7b 100644 --- a/test/command/5368.md +++ b/test/command/5368.md @@ -13,27 +13,26 @@ Quux. ^D [ OrderedList - ( 1, Decimal, Period ) - [ - [ Para - [ Str "foo" ] - , Para - [ Image ( "", [], [] ) [ Str "bar" ] ( "bar.png", "fig:" ) ] + ( 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 "foo2" ] - , Para - [ Image ( "", [], [] ) [ Str "bar2" ] ( "bar2.png", "fig:" ) ] - ] - , - [ Para - [ Str "foo3" ] - , Para - [ Image ( "", [], [] ) [ Str "foo3" ] ( "foo3.png", "fig:" ) ] - ] - ] -, Para - [ Str "Quux." ] +, Para [ Str "Quux." ] ] ``` diff --git a/test/command/5540.md b/test/command/5540.md index c5157e611..41239020e 100644 --- a/test/command/5540.md +++ b/test/command/5540.md @@ -5,10 +5,10 @@ Stay pure! \end{lstlisting} ^D [ CodeBlock - ( "" - , [ "myfunnylanguage" ] - , - [ ( "language", "myfunnylanguage" ) ] - ) "Stay pure!" + ( "" + , [ "myfunnylanguage" ] + , [ ( "language" , "myfunnylanguage" ) ] + ) + "Stay pure!" ] ``` diff --git a/test/command/5549.md b/test/command/5549.md index 4a17226ef..49d6f168f 100644 --- a/test/command/5549.md +++ b/test/command/5549.md @@ -4,5 +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 dbf82c822..0f612ea67 100644 --- a/test/command/5619.md +++ b/test/command/5619.md @@ -7,31 +7,31 @@ 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}" + [ 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:" ) ] - ( "img1.jpg", "fig:" ) - ] ] ``` diff --git a/test/command/5686.md b/test/command/5686.md index 445b732ed..d669ae49b 100644 --- a/test/command/5686.md +++ b/test/command/5686.md @@ -5,27 +5,27 @@ FOO\t0BAR This part does not make it to the html output. ^D [ Para - [ Str "FOO", RawInline ( Format "tex" ) "\\t0", Str "BAR" ] + [ 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." - ] + [ 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 ca8ab19fd..eae3663e5 100644 --- a/test/command/5700.md +++ b/test/command/5700.md @@ -2,39 +2,38 @@ % 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." + 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" + ] + ) ] - ) - , - ( "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 bb471a734..e97edcf30 100644 --- a/test/command/5708.md +++ b/test/command/5708.md @@ -5,32 +5,33 @@ +--------+----------------+ ^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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.125 ) + , ( AlignDefault , ColWidth 0.2361111111111111 ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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 b7039dc91..131173079 100644 --- a/test/command/5711.md +++ b/test/command/5711.md @@ -8,23 +8,25 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) ] + (TableHead ( "" , [] , [] ) []) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "d" , LineBreak , Str "e" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/5714.md b/test/command/5714.md index a38ec2384..c874f1af7 100644 --- a/test/command/5714.md +++ b/test/command/5714.md @@ -6,15 +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 d40eb8a41..686c8f495 100644 --- a/test/command/5753.md +++ b/test/command/5753.md @@ -11,8 +11,9 @@ end ^D [ Para - [ Math DisplayMath "q_3\n+ 4", Math DisplayMath "- 5 +\nq_5" ] -, Para - [ Str "end" ] + [ 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 d62588d6d..8271e1232 100644 --- a/test/command/5795.md +++ b/test/command/5795.md @@ -10,10 +10,10 @@ foo ^D [ Plain - [ Span - ( "foo", [ "dfn", "dfn" ], [ ( "title", "bax" ) ] ) - [ Span ( "", [], [] ) [ Str "foo" ] ] - ] + [ Span + ( "foo" , [ "dfn" , "dfn" ] , [ ( "title" , "bax" ) ] ) + [ Span ( "" , [] , [] ) [ Str "foo" ] ] + ] ] ``` diff --git a/test/command/5797.md b/test/command/5797.md index c85c76aaf..4be51c629 100644 --- a/test/command/5797.md +++ b/test/command/5797.md @@ -9,7 +9,7 @@ % pandoc -f html -t native Ctrl-C ^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 f08dca96b..03c72bd75 100644 --- a/test/command/5805.md +++ b/test/command/5805.md @@ -9,7 +9,7 @@ % pandoc -f html -t native Ctrl-C ^D -[ Plain [ Span ( "", [ "kbd" ], [] ) [ Str "Ctrl-C" ] ] ] +[ Plain [ Span ( "" , [ "kbd" ] , [] ) [ Str "Ctrl-C" ] ] ] ``` ``` diff --git a/test/command/5845.md b/test/command/5845.md index d551740b1..aac73cf47 100644 --- a/test/command/5845.md +++ b/test/command/5845.md @@ -12,19 +12,14 @@ 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" ] + [ 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 f3259d8fa..06ff29b76 100644 --- a/test/command/5878.md +++ b/test/command/5878.md @@ -4,14 +4,12 @@ Zozime^[], Synésius^[] ^D [ Para - [ Str "Zozime" - , Note - [ Para [] ] - , Str "," - , SoftBreak - , Str "Syn\233sius" - , Note - [ Para [] ] - ] + [ Str "Zozime" + , Note [ Para [] ] + , Str "," + , SoftBreak + , Str "Syn\233sius" + , Note [ Para [] ] + ] ] ``` diff --git a/test/command/6009.md b/test/command/6009.md index c3000af47..b2785dd36 100644 --- a/test/command/6009.md +++ b/test/command/6009.md @@ -9,17 +9,11 @@ x y ^D -[ RawBlock - ( Format "html" ) "" -, RawBlock - ( Format "html" ) "" -, RawBlock - ( Format "html" ) "" -, RawBlock - ( Format "html" ) "" -, Para - [ Str "x" ] -, CodeBlock - ( "", [], [] ) "y" +[ RawBlock (Format "html") "" +, RawBlock (Format "html") "" +, RawBlock (Format "html") "" +, RawBlock (Format "html") "" +, Para [ Str "x" ] +, CodeBlock ( "" , [] , [] ) "y" ] ``` diff --git a/test/command/6026.md b/test/command/6026.md index f900a5295..ae3bfb45c 100644 --- a/test/command/6026.md +++ b/test/command/6026.md @@ -5,32 +5,32 @@ @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 - } + [ Cite + [ Citation + { citationId = "https://openreview.net/forum?id=HkwoSDPgg" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 1 + , citationHash = 0 + } + ] + [ Str "@https://openreview.net/forum?id=HkwoSDPgg" ] ] - [ Str "@https://openreview.net/forum?id=HkwoSDPgg" ] - ] , Para - [ Cite - [ Citation - { citationId = "https://openreview.net/forum?id" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = AuthorInText - , citationNoteNum = 2 - , citationHash = 0 - } + [ Cite + [ Citation + { citationId = "https://openreview.net/forum?id" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 2 + , citationHash = 0 + } + ] + [ Str "@https://openreview.net/forum?id" ] + , Str "=HkwoSDPgg" ] - [ Str "@https://openreview.net/forum?id" ] - , Str "=HkwoSDPgg" - ] ] ``` ``` diff --git a/test/command/6034.md b/test/command/6034.md index 3abf85455..eb8999d11 100644 --- a/test/command/6034.md +++ b/test/command/6034.md @@ -8,6 +8,7 @@ \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*}" + (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 9af798b6b..83d2869bb 100644 --- a/test/command/6114.md +++ b/test/command/6114.md @@ -4,10 +4,10 @@ {pic_M87star.pdf} ^D [ Para - [ Image - ( "", [], [ ( "width", ".85\\textwidth" ) ] ) - [ Str "image" ] - ( "pic_M87star.pdf", "" ) - ] + [ Image + ( "" , [] , [ ( "width" , ".85\\textwidth" ) ] ) + [ Str "image" ] + ( "pic_M87star.pdf" , "" ) + ] ] ``` diff --git a/test/command/6137.md b/test/command/6137.md index d6cd34b92..a58b4876f 100644 --- a/test/command/6137.md +++ b/test/command/6137.md @@ -16,136 +16,142 @@ This reference to Figure \ref{fig:label} works fine. \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 ) + [ 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." ] - ( 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" ] ] +, 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 ) ] - , 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" ] ] + (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 ( "" , [] , [] ) []) ] - ( 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" + [ Str "This" , Space - , Str "numbered" + , Str "reference" , Space - , Str "caption," + , Str "to" , Space - , Str "if" + , Str "Figure" , Space - , Str "I" + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:label" ) + ] + ) + [ Str "1" ] + ( "#fig:label" , "" ) , Space - , Str "use" + , Str "works" , Space - , Str "pandoc-crossref." + , 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:" ) ] - ( "example.png", "fig:" ) - ] ] ``` diff --git a/test/command/6288.md b/test/command/6288.md index 5314499e0..042e0a72e 100644 --- a/test/command/6288.md +++ b/test/command/6288.md @@ -4,5 +4,7 @@ Introduction ^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 758312766..51a22480c 100644 --- a/test/command/6324.md +++ b/test/command/6324.md @@ -13,13 +13,14 @@ Me \end{document} ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "author", MetaList [ MetaInlines [ Str "Me" ] ] ) - , - ( "title", MetaInlines [ Str "Document", Space, Str "title" ] ) - ] + Meta + { unMeta = + fromList + [ ( "author" , MetaList [ MetaInlines [ Str "Me" ] ] ) + , ( "title" + , MetaInlines [ Str "Document" , Space , Str "title" ] + ) + ] } - ) [] + [] ``` diff --git a/test/command/6699.md b/test/command/6699.md index 3f0f129e4..6dfea4ded 100644 --- a/test/command/6699.md +++ b/test/command/6699.md @@ -7,11 +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 7ed5225ab..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 1f9e29cf5..23701c066 100644 --- a/test/command/6719.md +++ b/test/command/6719.md @@ -4,7 +4,7 @@ emphasized text ^D -[ Para [ Emph [ Str "emphasized" ], Space, Str "text" ] ] +[ Para [ Emph [ Str "emphasized" ] , Space , Str "text" ] ] ``` ``` @@ -13,6 +13,6 @@ hi there

^D -[ Para [ Emph [ Str "hi" ], Space, Str "there" ] ] +[ Para [ Emph [ Str "hi" ] , Space , Str "there" ] ] ``` diff --git a/test/command/6791.md b/test/command/6791.md index a515007a1..c35c04eb3 100644 --- a/test/command/6791.md +++ b/test/command/6791.md @@ -15,28 +15,33 @@ ^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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.25 ) + , ( AlignDefault , ColWidth 0.25 ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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/6802.md b/test/command/6802.md index 342d173a6..5e66c1d1b 100644 --- a/test/command/6802.md +++ b/test/command/6802.md @@ -2,6 +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 8c89ee0d2..b8e668a62 100644 --- a/test/command/6836.md +++ b/test/command/6836.md @@ -9,35 +9,33 @@ See @foo. [@buchanan] ^D [ Para - [ Cite - [ Citation - { citationId = "buchanan" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = NormalCitation - , citationNoteNum = 1 - , citationHash = 0 - } + [ Cite + [ Citation + { citationId = "buchanan" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 1 + , citationHash = 0 + } + ] + [ Str "[@buchanan]" ] ] - [ Str "[@buchanan]" ] - ] -, OrderedList - ( 1, Example, TwoParens ) [ [] ] +, OrderedList ( 1 , Example , TwoParens ) [ [] ] +, Para [ Str "See" , Space , Str "1." ] , Para - [ Str "See", Space, Str "1." ] -, Para - [ Cite - [ Citation - { citationId = "buchanan" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = NormalCitation - , citationNoteNum = 2 - , citationHash = 0 - } + [ Cite + [ Citation + { citationId = "buchanan" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 2 + , citationHash = 0 + } + ] + [ Str "[@buchanan]" ] ] - [ Str "[@buchanan]" ] - ] ] ``` diff --git a/test/command/6869.md b/test/command/6869.md index 6e195e944..cbef00f68 100644 --- a/test/command/6869.md +++ b/test/command/6869.md @@ -3,18 +3,17 @@ \cite[„Aber“]{key} ^D [ Para - [ Cite - [ Citation - { citationId = "key" - , citationPrefix = [] - , citationSuffix = - [ Str "\8222Aber\8220" ] - , citationMode = NormalCitation - , citationNoteNum = 0 - , citationHash = 0 - } + [ Cite + [ Citation + { citationId = "key" + , citationPrefix = [] + , citationSuffix = [ Str "\8222Aber\8220" ] + , citationMode = NormalCitation + , citationNoteNum = 0 + , citationHash = 0 + } + ] + [ RawInline (Format "latex") "\\cite[\8222Aber\8220]{key}" ] ] - [ RawInline ( Format "latex" ) "\\cite[\8222Aber\8220]{key}" ] - ] ] ``` diff --git a/test/command/6873.md b/test/command/6873.md index f2d47b5ad..20667d64c 100644 --- a/test/command/6873.md +++ b/test/command/6873.md @@ -4,37 +4,32 @@ ^D [WARNING] Citeproc: citation key not found [ Para - [ Cite - [ Citation - { citationId = "key" - , citationPrefix = [] - , citationSuffix = - [ Str "\8222Etwas" + [ 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 "]" ] + , Span ( "" , [] , [] ) [ Str "]" ] , Space - , Str "auslassen\8220" + , 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 71f53bb13..579342980 100644 --- a/test/command/6890.md +++ b/test/command/6890.md @@ -28,42 +28,15 @@ 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 + [ Cite [ Citation - { citationId = "fruchtel-sozialer-2013a" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = AuthorInText - , citationNoteNum = 2 - , citationHash = 0 - } + { citationId = "fruchtel-sozialer-2013a" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 1 + , citationHash = 0 + } ] [ Str "Fr\252chtel," , Space @@ -75,65 +48,95 @@ Some text.[^1] , 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" + ( "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." + ] ] - , Str "." - , Space - , Str "3rd" - , Space - , Str "ed." - , Space - , Str "Wiesbaden," - , Space - , Str "Germany:" - , Space - , Str "Springer" - , Space - , Str "VS." - ] ] - ] ] ``` diff --git a/test/command/6993.md b/test/command/6993.md index 17a7056e2..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 4f5e18c70..5f88a58a6 100644 --- a/test/command/7003.md +++ b/test/command/7003.md @@ -30,21 +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" ] +[ 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" ] + ( "" , [] , [] ) + "\\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}" + ( "" , [ "latex" ] , [] ) + "\\documentclass{article}\n\\begin{document}\n\\section{Bar}\nThis a Bar section\n\\end{document}" ] ``` diff --git a/test/command/7080.md b/test/command/7080.md index 3f17c6d46..565a6544d 100644 --- a/test/command/7080.md +++ b/test/command/7080.md @@ -5,9 +5,13 @@ [image]: image.png width=100px height=150px ^D [ Para - [ Image - ( "", [], [ ( "width", "100px" ), ( "height", "150px" ) ] ) [] - ( "image.png", "" ) - ] + [ Image + ( "" + , [] + , [ ( "width" , "100px" ) , ( "height" , "150px" ) ] + ) + [] + ( "image.png" , "" ) + ] ] ``` diff --git a/test/command/7092.md b/test/command/7092.md index 0c1d1ae8c..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 caabc99a3..14005f0d1 100644 --- a/test/command/7129.md +++ b/test/command/7129.md @@ -6,44 +6,50 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "foo" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Code ( "", [], [] ) "b&r" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/7134.md b/test/command/7134.md index 24980fabb..041d7ea24 100644 --- a/test/command/7134.md +++ b/test/command/7134.md @@ -9,43 +9,43 @@ 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." + , Str "paragraph." ] - ] , 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 "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 21310ccdf..623f40880 100644 --- a/test/command/7145.md +++ b/test/command/7145.md @@ -9,67 +9,64 @@ empty linebreaks 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" ) "" - , Str "with" - , RawInline - ( Format "html" ) "" - , SoftBreak - , Str "empty" - ] - , Para - [ Str "linebreaks" ] + [ 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") "" + , Str "with" + , RawInline (Format "html") "" + , 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." ] - , 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 5e26e4469..454c387d5 100644 --- a/test/command/7155.md +++ b/test/command/7155.md @@ -4,14 +4,14 @@ \\(x\\) \\[x\\] ^D [ Para - [ Math InlineMath "x" - , Space - , Math DisplayMath "x" - , SoftBreak - , Str "\\(x\\)" - , Space - , Str "\\[x\\]" - ] + [ Math InlineMath "x" + , Space + , Math DisplayMath "x" + , SoftBreak + , Str "\\(x\\)" + , Space + , Str "\\[x\\]" + ] ] ``` @@ -21,13 +21,13 @@ \\(x\\) \\[x\\] ^D [ Para - [ Str "(x)" - , Space - , Str "[x]" - , SoftBreak - , Math InlineMath "x" - , Space - , Math DisplayMath "x" - ] + [ Str "(x)" + , Space + , Str "[x]" + , SoftBreak + , Math InlineMath "x" + , Space + , Math DisplayMath "x" + ] ] ``` diff --git a/test/command/7339.md b/test/command/7339.md index 31bfc7f1c..f8d004f68 100644 --- a/test/command/7339.md +++ b/test/command/7339.md @@ -7,8 +7,9 @@ title: Test Hi ^D Pandoc - ( Meta - { unMeta = fromList [ ( "title", MetaInlines [ Str "Test" ] ) ] } - ) + Meta + { unMeta = + fromList [ ( "title" , MetaInlines [ Str "Test" ] ) ] + } [ Para [ Str "Hi" ] ] ``` diff --git a/test/command/7400.md b/test/command/7400.md index d93c203b2..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/7434.md b/test/command/7434.md index 61740f8fe..e4f2743a1 100644 --- a/test/command/7434.md +++ b/test/command/7434.md @@ -10,14 +10,14 @@ [\*\a](x) ^D [ RawBlock - ( Format "tex" ) "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}" + (Format "tex") + "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}" +, Para [ Str "1234567890abcdefghi" ] , Para - [ Str "1234567890abcdefghi" ] -, Para - [ Link - ( "", [], [] ) - [ Str "*", RawInline ( Format "tex" ) "\\a" ] - ( "x", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "*" , RawInline (Format "tex") "\\a" ] + ( "x" , "" ) + ] ] ``` diff --git a/test/command/7436.md b/test/command/7436.md index 3e1829ca8..c2d434d60 100644 --- a/test/command/7436.md +++ b/test/command/7436.md @@ -9,25 +9,23 @@ .. include:: command/three.txt ^D [ CodeBlock - ( "", [ "" ], [ ( "code", "" ) ] ) "1st line.\n2nd line.\n3rd line.\n" + ( "" , [ "" ] , [ ( "code" , "" ) ] ) + "1st line.\n2nd line.\n3rd line.\n" , CodeBlock - ( "" - , [ "" ] - , - [ ( "literal", "" ) ] - ) "1st line.\n2nd line.\n3rd line.\n" + ( "" , [ "" ] , [ ( "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." - ] + [ Str "1st" + , Space + , Str "line." + , SoftBreak + , Str "2nd" + , Space + , Str "line." + , SoftBreak + , Str "3rd" + , Space + , Str "line." + ] ] ``` diff --git a/test/command/7557.md b/test/command/7557.md index 910761c7e..c837d0b3c 100644 --- a/test/command/7557.md +++ b/test/command/7557.md @@ -3,19 +3,18 @@ - 11. and 12. 09. meeting ^D [ BulletList - [ - [ Plain - [ Str "11." - , Space - , Str "and" - , Space - , Str "12." - , Space - , Str "09." - , Space - , Str "meeting" + [ [ Plain + [ Str "11." + , Space + , Str "and" + , Space + , Str "12." + , Space + , Str "09." + , Space + , Str "meeting" + ] ] ] - ] ] ``` diff --git a/test/command/7589.md b/test/command/7589.md index f9e8fb14f..aff21dad8 100644 --- a/test/command/7589.md +++ b/test/command/7589.md @@ -15,59 +15,58 @@ ^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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ] - ( TableFoot ( "", [], [] ) [] ) + (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/934.md b/test/command/934.md index 195d5602e..3c86a1f26 100644 --- a/test/command/934.md +++ b/test/command/934.md @@ -8,36 +8,37 @@ \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" - ] + [ 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" + [ Strong + [ Str "And" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Str "the" + , Space + , Str "attribution" + ] ] - ] ] ``` diff --git a/test/command/adjacent_latex_blocks.md b/test/command/adjacent_latex_blocks.md index 3d3334424..4483d6e3f 100644 --- a/test/command/adjacent_latex_blocks.md +++ b/test/command/adjacent_latex_blocks.md @@ -4,9 +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/cite-in-inline-note.md b/test/command/cite-in-inline-note.md index 409e389b9..aa61b93e8 100644 --- a/test/command/cite-in-inline-note.md +++ b/test/command/cite-in-inline-note.md @@ -3,24 +3,24 @@ 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 "foo" + , Note + [ Para + [ Str "bar" + , Space + , Cite + [ Citation + { citationId = "doe" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 1 + , citationHash = 0 + } + ] + [ Str "[@doe]" ] + ] ] - [ Str "[@doe]" ] - ] ] - ] ] ``` diff --git a/test/command/citeproc-author-in-text-suffix.md b/test/command/citeproc-author-in-text-suffix.md index 4e511fd1b..df3184aa8 100644 --- a/test/command/citeproc-author-in-text-suffix.md +++ b/test/command/citeproc-author-in-text-suffix.md @@ -3,26 +3,32 @@ @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 - } + [ 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]" + ] ] - [ Str "@a", Space, Str "[p.", Space, Str "33;", Space, Str "@b]" ] - ] ] ``` diff --git a/test/command/csv.md b/test/command/csv.md index d1d92d43e..353512553 100644 --- a/test/command/csv.md +++ b/test/command/csv.md @@ -6,94 +6,97 @@ Apple,25 cents,33 ,,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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/docbook-bibliography.md b/test/command/docbook-bibliography.md index 2709bddd3..6e42732ad 100644 --- a/test/command/docbook-bibliography.md +++ b/test/command/docbook-bibliography.md @@ -13,35 +13,33 @@ ^D -[ Header 1 - ( "", [], [] ) - [ Str "Document", Space, Str "References" ] +[ Header + 1 + ( "" , [] , [] ) + [ Str "Document" , Space , Str "References" ] , Para - [ Span - ( "refTheFirst", [], [] ) [] - , Str "[1]" - , Space - , Str "First" - , Space - , Str "reference" - ] + [ Span ( "refTheFirst" , [] , [] ) [] + , Str "[1]" + , Space + , Str "First" + , Space + , Str "reference" + ] , Para - [ Span - ( "refTheSecond", [], [] ) [] - , Str "[2]" - , Space - , Str "Second" - , Space - , Str "reference" - ] + [ Span ( "refTheSecond" , [] , [] ) [] + , Str "[2]" + , Space + , Str "Second" + , Space + , Str "reference" + ] , Para - [ Span - ( "refTheThird", [], [] ) [] - , Str "[3]" - , Space - , Str "Third" - , Space - , Str "reference" - ] + [ Span ( "refTheThird" , [] , [] ) [] + , Str "[3]" + , Space + , Str "Third" + , Space + , Str "reference" + ] ] ``` diff --git a/test/command/dots.md b/test/command/dots.md index c98a67026..cd9a978cf 100644 --- a/test/command/dots.md +++ b/test/command/dots.md @@ -6,5 +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 1f7c73fae..6efbab9cd 100644 --- a/test/command/empty_paragraphs.md +++ b/test/command/empty_paragraphs.md @@ -2,28 +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" ] +] ``` ``` @@ -51,7 +55,11 @@

lo

^D -[ Para [ Str "hi" ], Para [], Para [], Para [ Str "lo" ] ] +[ Para [ Str "hi" ] +, Para [] +, Para [] +, Para [ Str "lo" ] +] ``` ``` @@ -61,7 +69,7 @@

lo

^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 9822b993d..78736b2d6 100644 --- a/test/command/gfm.md +++ b/test/command/gfm.md @@ -8,58 +8,66 @@ gfm tests: | 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -67,7 +75,8 @@ gfm tests: % pandoc -f gfm -t native ~~stricken out~~ ^D -[ Para [ Strikeout [ Str "stricken", Space, Str "out" ] ] ] +[ Para [ Strikeout [ Str "stricken" , Space , Str "out" ] ] +] ``` ``` @@ -76,15 +85,10 @@ 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" ] ] ``` @@ -93,15 +97,15 @@ gfm tests: 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" ] - ] + [ Str "My" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] ) + [ Str "\128077" ] + , Str "emoji" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] ) + [ Str "\10084\65039" ] + ] ] ``` @@ -180,7 +184,7 @@ The caption. hi hi ^D -[ Para [ Str "hi", LineBreak, Str "hi" ] ] +[ Para [ Str "hi" , LineBreak , Str "hi" ] ] ``` ``` @@ -189,11 +193,9 @@ hi - [x] bar ^D [ BulletList - [ - [ Plain [ Str "\9744", Space, Str "foo" ] ] - , - [ Plain [ Str "\9746", Space, Str "bar" ] ] - ] + [ [ Plain [ Str "\9744" , Space , Str "foo" ] ] + , [ Plain [ Str "\9746" , Space , Str "bar" ] ] + ] ] ``` @@ -203,11 +205,10 @@ hi - [x] bar ^D [ BulletList - [ - [ Plain [ Str "[", Space, Str "]", Space, Str "foo" ] ] - , - [ Plain [ Str "[x]", Space, Str "bar" ] ] - ] + [ [ 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 8e2d19d8b..c011f17fc 100644 --- a/test/command/hspace.md +++ b/test/command/hspace.md @@ -9,7 +9,8 @@ Here they need to be inline: \end{figure} ^D [ RawBlock - ( Format "tex" ) "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}" + (Format "tex") + "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}" ] ``` @@ -35,7 +36,8 @@ 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}" + (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}" ] ``` @@ -44,7 +46,10 @@ F & F &\\ hi\hspace{1em}there ^D [ Para - [ Str "hi", RawInline ( Format "tex" ) "\\hspace{1em}", Str "there" ] + [ Str "hi" + , RawInline (Format "tex") "\\hspace{1em}" + , Str "there" + ] ] ``` @@ -56,11 +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 5b40c8b0d..dd9c8d9d9 100644 --- a/test/command/html-read-figure.md +++ b/test/command/html-read-figure.md @@ -6,7 +6,9 @@ ^D [ Para - [ Image ( "", [], [] ) [ Str "bar" ] ( "foo.png", "fig:voyage" ) ] + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] ] ``` @@ -28,7 +30,9 @@ ^D -[ Para [ Image ( "", [], [] ) [] ( "foo.png", "fig:voyage" ) ] ] +[ Para + [ Image ( "" , [] , [] ) [] ( "foo.png" , "fig:voyage" ) ] +] ``` ``` @@ -39,7 +43,9 @@ ^D [ Para - [ Image ( "", [], [] ) [ Str "bar" ] ( "foo.png", "fig:voyage" ) ] + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] ] ``` @@ -48,10 +54,10 @@
this is ignored
bar baz
^D [ Para - [ Image - ( "", [], [] ) - [ Str "bar", Space, Strong [ Str "baz" ] ] - ( "foo.png", "fig:voyage" ) - ] + [ 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 6733cdd77..d2b019996 100644 --- a/test/command/html-trim-definition-list-terms.md +++ b/test/command/html-trim-definition-list-terms.md @@ -12,12 +12,14 @@ ^D [ DefinitionList - [ - ( - [ Str "foo", SoftBreak, Str "bar", LineBreak, Str "baz" ] - , - [ [ Plain [ Str "test" ] ] ] - ) - ] + [ ( [ Str "foo" + , SoftBreak + , Str "bar" + , LineBreak + , Str "baz" + ] + , [ [ Plain [ Str "test" ] ] ] + ) + ] ] ``` diff --git a/test/command/hyphenat.md b/test/command/hyphenat.md index e584e1608..ca418c111 100644 --- a/test/command/hyphenat.md +++ b/test/command/hyphenat.md @@ -30,7 +30,9 @@ C\colonhyp\bshyp{}Windows\bshyp % pandoc -f latex -t native \nohyphens{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D -[ Para [ Str "Pneumonoultramicroscopicsilicovolcanoconiosis" ] ] +[ Para + [ Str "Pneumonoultramicroscopicsilicovolcanoconiosis" ] +] ``` ``` @@ -38,9 +40,10 @@ C\colonhyp\bshyp{}Windows\bshyp \textnhtt{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D [ Para - [ Code - ( "", [], [] ) "Pneumonoultramicroscopicsilicovolcanoconiosis" - ] + [ Code + ( "" , [] , [] ) + "Pneumonoultramicroscopicsilicovolcanoconiosis" + ] ] ``` @@ -49,9 +52,10 @@ C\colonhyp\bshyp{}Windows\bshyp \nhttfamily{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D [ Para - [ Code - ( "", [], [] ) "Pneumonoultramicroscopicsilicovolcanoconiosis" - ] + [ Code + ( "" , [] , [] ) + "Pneumonoultramicroscopicsilicovolcanoconiosis" + ] ] ``` diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md index 6ced0f016..92fe6bf95 100644 --- a/test/command/ifstrequal.md +++ b/test/command/ifstrequal.md @@ -6,6 +6,11 @@ \h{b} ^D [ Para - [ Emph [ Str "no" ], SoftBreak, Str "\225", SoftBreak, Str "b" ] + [ Emph [ Str "no" ] + , SoftBreak + , Str "\225" + , SoftBreak + , Str "b" + ] ] ``` diff --git a/test/command/indented-fences.md b/test/command/indented-fences.md index 302c54621..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 index b97950d31..55d298bc4 100644 --- a/test/command/input-with-endinput.md +++ b/test/command/input-with-endinput.md @@ -8,11 +8,8 @@ Visible Visible \end{document} ^D -[ Para - [ Str "Visible" ] -, Para - [ Emph [ Str "hi", Space, Str "there" ] ] -, Para - [ Str "Visible" ] +[ Para [ Str "Visible" ] +, Para [ Emph [ Str "hi" , Space , Str "there" ] ] +, Para [ Str "Visible" ] ] ``` diff --git a/test/command/latex-center.md b/test/command/latex-center.md index 71e4fbabc..078a58068 100644 --- a/test/command/latex-center.md +++ b/test/command/latex-center.md @@ -7,6 +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 ad24528ec..a1f2c3f2a 100644 --- a/test/command/latex-color.md +++ b/test/command/latex-color.md @@ -5,12 +5,11 @@ Hello \textcolor{red}{World} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: red" ) ] ) - [ Str "World" ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "World" ] + ] ] ``` @@ -19,12 +18,11 @@ Hello \textcolor{red}{World} \textcolor{red}{Hello} World ^D [ Para - [ Span - ( "", [], [ ( "style", "color: red" ) ] ) - [ Str "Hello" ] - , Space - , Str "World" - ] + [ Span + ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "Hello" ] + , Space + , Str "World" + ] ] ``` @@ -33,12 +31,12 @@ Hello \textcolor{red}{World} Hello \textcolor{blue}{\textbf{World}} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: blue" ) ] ) - [ Strong [ Str "World" ] ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: blue" ) ] ) + [ Strong [ Str "World" ] ] + ] ] ``` @@ -48,13 +46,13 @@ Hello \textcolor{blue}{\textbf{World}} Hello \textcolor{blue}{\textbf{World}}. ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: blue" ) ] ) - [ Strong [ Str "World" ] ] - , Str "." - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: blue" ) ] ) + [ Strong [ Str "World" ] ] + , Str "." + ] ] ``` @@ -68,14 +66,12 @@ Hello \textcolor{blue}{\textbf{World}}. } ^D [ Div - ( "", [], [ ( "style", "color: orange" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "style" , "color: orange" ) ] ) + [ BulletList + [ [ Para [ Str "Item" , Space , Str "1" ] ] + , [ Para [ Str "Item" , Space , Str "2" ] ] + ] ] - ] ] ``` @@ -110,12 +106,12 @@ Hello \textcolor{blue}{\textbf{World}}. Hello \colorbox{red}{World} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: red" ) ] ) - [ Str "World" ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: red" ) ] ) + [ Str "World" ] + ] ] ``` @@ -138,12 +134,12 @@ Hello \colorbox{red}{World} Hello \colorbox{blue}{\textbf{World}} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ Strong [ Str "World" ] ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: blue" ) ] ) + [ Strong [ Str "World" ] ] + ] ] ``` @@ -152,13 +148,13 @@ Hello \colorbox{blue}{\textbf{World}} Hello \colorbox{blue}{\textbf{World}}. ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ Strong [ Str "World" ] ] - , Str "." - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: blue" ) ] ) + [ Strong [ Str "World" ] ] + , Str "." + ] ] ``` @@ -174,14 +170,12 @@ Hello \colorbox{blue}{\textbf{World}}. } ^D [ Div - ( "", [], [ ( "style", "background-color: orange" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "style" , "background-color: orange" ) ] ) + [ BulletList + [ [ Para [ Str "Item" , Space , Str "1" ] ] + , [ Para [ Str "Item" , Space , Str "2" ] ] + ] ] - ] ] ``` @@ -197,15 +191,13 @@ Hello \colorbox{blue}{\textbf{World}}. } some more text ^D [ Div - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "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" ] + [ Str "some" , Space , Str "more" , Space , Str "text" ] ] ``` diff --git a/test/command/latex-fontawesome.md b/test/command/latex-fontawesome.md index e67ed1792..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 a6b820262..586fed3d1 100644 --- a/test/command/latex-tabular-column-specs.md +++ b/test/command/latex-tabular-column-specs.md @@ -12,78 +12,84 @@ f & 0.5 & 5,5 \\ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/lettrine.md b/test/command/lettrine.md index 522e9b2ca..b4a2794d2 100644 --- a/test/command/lettrine.md +++ b/test/command/lettrine.md @@ -5,22 +5,16 @@ \lettrine[lhang=0.17]{A}{category} is ^D [ Para - [ Span - ( "", [ "lettrine" ], [] ) - [ Str "A" ] - , SmallCaps - [ Str "category" ] - , Space - , Str "is" - ] + [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ] + , SmallCaps [ Str "category" ] + , Space + , Str "is" + ] , Para - [ Span - ( "", [ "lettrine" ], [] ) - [ Str "A" ] - , SmallCaps - [ Str "category" ] - , Space - , Str "is" - ] + [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ] + , SmallCaps [ Str "category" ] + , Space + , Str "is" + ] ] ``` diff --git a/test/command/lstlisting.md b/test/command/lstlisting.md index 202a9d524..2ea8b4ba7 100644 --- a/test/command/lstlisting.md +++ b/test/command/lstlisting.md @@ -9,17 +9,14 @@ 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}" + ( "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}" ] ``` @@ -34,18 +31,14 @@ 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}" + ( "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 57aa2cb04..7bd72d140 100644 --- a/test/command/macro-defs-in-preamble.md +++ b/test/command/macro-defs-in-preamble.md @@ -10,12 +10,9 @@ $\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" ] + 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/md-abbrevs.md b/test/command/md-abbrevs.md index 75b34c08d..a3ee6af30 100644 --- a/test/command/md-abbrevs.md +++ b/test/command/md-abbrevs.md @@ -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 d20eecc1f..e117f3784 100644 --- a/test/command/multiple-metadata-blocks.md +++ b/test/command/multiple-metadata-blocks.md @@ -11,7 +11,9 @@ foo: bim ... ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaInlines [ Str "bim" ] ) ] } - ) [] + Meta + { unMeta = + fromList [ ( "foo" , MetaInlines [ Str "bim" ] ) ] + } + [] ``` diff --git a/test/command/refs.md b/test/command/refs.md index 165177175..d89e745ff 100644 --- a/test/command/refs.md +++ b/test/command/refs.md @@ -3,17 +3,18 @@ Figure \ref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -22,17 +23,18 @@ Figure \ref{fig:1} Figure \cref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -41,17 +43,18 @@ Figure \cref{fig:1} Figure \vref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref+page" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref+page" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -65,36 +68,40 @@ Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all \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." - ] + [ 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}" ] + [ Math + DisplayMath + "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}" + ] ] ``` @@ -168,93 +175,90 @@ Figure \ref{fig:Logo2} illustrated the SVG logo Figure \ref{fig:Logo3} illustrated the SVG logo ^D -[ Header 1 - ( "one", [], [] ) - [ Str "One" ] +[ Header 1 ( "one" , [] , [] ) [ Str "One" ] , Para - [ Image - ( "fig:Logo", [], [] ) - [ Str "Logo" ] - ( "command/SVG_logo.svg", "fig:" ) - ] + [ 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" ] + [ 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:" ) - ] + [ 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" - ] + [ 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" - ] + [ 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" - ] + [ 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" + ] ] ``` @@ -264,20 +268,21 @@ Figure \ref{fig:Logo3} illustrated the SVG logo \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", "" ) - ] + [ Span + ( "section" , [] , [ ( "label" , "section" ) ] ) + [ Str "[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 7be49e4a7..3494cbf70 100644 --- a/test/command/setext-fenced-div.md +++ b/test/command/setext-fenced-div.md @@ -4,5 +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 8397e7092..1ce966989 100644 --- a/test/command/shift-heading-level-by.md +++ b/test/command/shift-heading-level-by.md @@ -9,17 +9,19 @@ title: My title ## Second ^D Pandoc - ( Meta - { unMeta = fromList - [ ( "title", MetaInlines [ Str "My", Space, Str "title" ] ) ] + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "title" ] + ) + ] } - ) - [ Header 2 - ( "first-heading", [], [] ) - [ Str "First", Space, Str "heading" ] - , Header 3 - ( "second", [], [] ) - [ Str "Second" ] + [ Header + 2 + ( "first-heading" , [] , [] ) + [ Str "First" , Space , Str "heading" ] + , Header 3 ( "second" , [] , [] ) [ Str "Second" ] ] ``` @@ -36,16 +38,22 @@ title: Old title # Another top-level heading ^D Pandoc - ( Meta - { unMeta = fromList - [ ( "title", MetaInlines [ Str "First", Space, Str "heading" ] ) ] + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "First" , Space , Str "heading" ] + ) + ] } - ) - [ Header 1 - ( "second", [], [] ) - [ Str "Second" ] + [ Header 1 ( "second" , [] , [] ) [ Str "Second" ] , Para - [ Str "Another", Space, Str "top-level", Space, Str "heading" ] + [ Str "Another" + , Space + , Str "top-level" + , Space + , Str "heading" + ] ] ``` diff --git a/test/command/sloppypar.md b/test/command/sloppypar.md index 3ac62bf79..44ec93af3 100644 --- a/test/command/sloppypar.md +++ b/test/command/sloppypar.md @@ -7,109 +7,109 @@ Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio c \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." - ] + [ 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." - ] + [ 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." + ] ] ``` @@ -122,108 +122,108 @@ Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio c \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." - ] + [ 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." - ] + [ 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 9b6e311bd..ccf119cbd 100644 --- a/test/command/table-with-cell-align.md +++ b/test/command/table-with-cell-align.md @@ -14,47 +14,48 @@ ^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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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 ( "" , [] , [] ) []) ] ``` ``` diff --git a/test/command/table-with-column-span.md b/test/command/table-with-column-span.md index 592e6d3da..d4e8bebd4 100644 --- a/test/command/table-with-column-span.md +++ b/test/command/table-with-column-span.md @@ -50,161 +50,180 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 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" ] ] + ( "" , [] , [] ) + (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" ] ] + ] ] - ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` ``` diff --git a/test/command/tabularx.md b/test/command/tabularx.md index a5056f518..399741732 100644 --- a/test/command/tabularx.md +++ b/test/command/tabularx.md @@ -21,97 +21,127 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -138,97 +168,127 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidth 0.25 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -255,96 +315,126 @@ \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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidth 0.25 ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidth 0.25 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/translations.md b/test/command/translations.md index 26d683860..8d1890467 100644 --- a/test/command/translations.md +++ b/test/command/translations.md @@ -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/write18.md b/test/command/write18.md index 45c7e0dd3..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 f782ffe59..d483618d3 100644 --- a/test/command/yaml-metadata-blocks.md +++ b/test/command/yaml-metadata-blocks.md @@ -7,9 +7,9 @@ foo: --- ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaMap ( fromList [] ) ) ] } - ) [] + Meta + { unMeta = fromList [ ( "foo" , MetaMap (fromList []) ) ] } + [] ``` ``` % pandoc -s -t native @@ -35,46 +35,31 @@ nested: --- ^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" ] ) - ] + 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 -s -t native @@ -85,20 +70,19 @@ array: --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "array" - , MetaList - [ MetaMap - ( fromList [ ( "foo", MetaInlines [ Str "bar" ] ) ] ) - , MetaMap - ( fromList [ ( "bool", MetaBool True ) ] ) + 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 @@ -107,33 +91,31 @@ title: document --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "other" - , MetaInlines - [ Emph [ Str "markdown" ], Space, Str "value" ] - ) - , - ( "title", MetaInlines [ Str "document" ] ) - ] + 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" ) - ] + 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 94a736ab5..98cc76e18 100644 --- a/test/command/yaml-with-chomp.md +++ b/test/command/yaml-with-chomp.md @@ -8,14 +8,13 @@ ml: |- ... ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "ml" - , MetaBlocks - [ Para [ Str "TEST" ], Plain [ Str "BLOCK" ] ] - ) - ] + Meta + { unMeta = + fromList + [ ( "ml" + , MetaBlocks [ Para [ Str "TEST" ] , Plain [ Str "BLOCK" ] ] + ) + ] } - ) [] + [] ``` diff --git a/test/creole-reader.native b/test/creole-reader.native index 0c8fc3677..5590a14d1 100644 --- a/test/creole-reader.native +++ b/test/creole-reader.native @@ -1,992 +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)" ] + 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 "." - ] + [ 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 "Character" - , Space - , Str "formatting" - , Space - , Str "extends" - , Space - , Str "across" - , Space - , Str "line" - , Space - , Str "breaks:" - , Space - , Strong - [ Str "bold," + [ Str "You" , Space - , Str "this" + , Str "can" , Space - , Str "is" + , Str "make" , Space - , Str "still" + , Str "things" , Space - , Str "bold." + , Strong [ Str "bold" ] , Space - , Str "This" + , 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 "deliberately" + , 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 "end" + , Str "cross" , Space - , Str "in" + , Str "paragraph" , Space - , Str "star-star." + , Str "boundaries." ] - ] - , 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." - ] + [ 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 "." - ] + [ 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", "" ) - ] + [ 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/", "" ) - ] - ] + [ 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 "." - ] + [ 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" + [ 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 "as" + , Str "italic," , Space - , Str "italic." + , 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:" - ] + [ 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..." - ] + [ 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" - ] + [ 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" ] ] - ] - ] + [ [ 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:" - ] + [ 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" ] ] ] - ] - ] + [ [ 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" - ] + [ 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 - ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Link ( "" , [] , [] ) [ Str "item 1" ] ( "item 1" , "" ) ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "item", Space, Str "3.1" ] ] - , - [ Plain [ Str "item", Space, Str "3.2" ] ] + , [ 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" - ] + [ Str "up" + , Space + , Str "to" + , Space + , Str "five" + , Space + , Str "levels" + ] , BulletList - [ - [ Plain - [ Str "1" ] - , BulletList - [ - [ Plain - [ Str "2" ] - , BulletList - [ - [ Plain - [ Str "3" ] + [ [ Plain [ Str "1" ] + , BulletList + [ [ Plain [ Str "2" ] , BulletList - [ - [ Plain - [ Str "4" ] - , BulletList - [ [ Plain [ Str "5" ] ] ] + [ [ 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 "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" + , [ 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:" - ] + [ 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||---|---|---|" + ( "" , [] , [] ) + "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" ] + [ 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/" - ] + [ 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**" - ] + [ Str "Normal" + , Space + , Str "asterisks:" + , Space + , Str "**not" + , Space + , Str "bold**" + ] , Para - [ Str "a", Space, Str "tilde", Space, Str "alone:", Space, Str "~" ] + [ 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" ] + [ 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:" - ] + [ 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" ] + [ 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:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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." ] ] - ] + (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 ( "", [], [] ) [] ) + (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:" - ] + [ 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" ] + [ 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" ] - ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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 ] ] + (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" ] + (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 "." - ] + [ 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 "." - ] + [ 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 "." - ] + [ 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 0aed171de..c77867ad9 100644 --- a/test/docbook-chapter.native +++ b/test/docbook-chapter.native @@ -1,167 +1,173 @@ Pandoc - ( Meta { unMeta = fromList [] } ) - [ Header 1 - ( "", [], [] ) - [ Str "Test", Space, Str "Chapter" ] + 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" ] + [ 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" ] + [ 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" ] + [ 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" ] + [ 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" ] + [ 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" - ] + [ 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" - ] + [ 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." - ] + [ 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.native b/test/docbook-reader.native index d23ade4e1..c8d59ca82 100644 --- a/test/docbook-reader.native +++ b/test/docbook-reader.native @@ -1,561 +1,467 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", SoftBreak, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" + ] + ) ] - ) - , - ( "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" + , Str "set" , Space - , Str "quote." + , Str "of" , Space - , Str "It" + , Str "tests" , Space - , Str "is" + , Str "for" + , Space + , Str "pandoc." + , Space + , Str "Most" + , Space + , Str "of" + , Space + , Str "them" + , Space + , Str "are" , Space - , Str "pretty" + , Str "adapted" , Space - , Str "short." + , Str "from" + , Space + , Str "John" + , SoftBreak + , Str "Gruber\8217s" + , Space + , Str "markdown" + , Space + , Str "test" + , Space + , Str "suite." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , 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." ] - , 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:" ] + [ 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:" ] + ( "" , [] , [] ) + " 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:" ] + [ [ 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:" ] + [ [ 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" ] + [ [ 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:" ] + ( 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:" ] + ( 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." + ( 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." ] ] ] - , - [ Para [ Str "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ] , BulletList - [ - [ Para - [ Str "Tab" ] - , BulletList - [ - [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ] + [ [ Para [ Str "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -567,16 +473,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -588,2468 +491,2440 @@ Pandoc , 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" ] + , 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" + ( 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 "with" + , Str "a" , Space - , Str "4" + , Str "continuation" ] - ] - , - [ Para - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, DefaultDelim ) - [ - [ Para [ Str "a", Space, Str "subsublist" ] ] - , - [ Para [ Str "a", Space, Str "subsublist" ] ] + , 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:" ] + , 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" - ] + ( 1 , UpperAlpha , DefaultDelim ) + [ [ Para [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , DefaultDelim ) + [ [ Para [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, DefaultDelim ) - [ - [ Para - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , 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 "." + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "Autonumber." ] ] + , [ Para [ Str "More." ] + , OrderedList + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "Nested." ] ] ] ] ] - , - [ 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." - ] + , Para + [ Str "Should" + , Space + , Str "not" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "list" + , Space + , Str "item:" ] - ] - , 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" + , 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 - , Str "seeds," + , Code ( "" , [] , [] ) "__letrec" , Space - , Str "crisp," + , Str "is" , Space - , Str "pleasant" + , Str "equivalent" , Space , Str "to" , Space - , Str "taste" + , Str "a" + , Space + , Str "normal" + , SoftBreak + , Str "Haskell" + , Space + , Str "LET." ] - ] ] - ) - , - ( - [ Emph [ Str "orange" ] ] - , - [ + , [ 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 ( "" , [] , [] ) "" + , 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 ( "" , [] , [] ) "" + ] + , CodeBlock + ( "" , [] , [] ) "or here: " + , 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 "orange", Space, Str "fruit" ] - , CodeBlock - ( "", [], [] ) "{ orange code block }" - , BlockQuote - [ Para - [ Str "orange", Space, Str "block", Space, Str "quote" ] - ] + [ 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." + ] ] - ] - ) - ] - , 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" ] - , - [ + , Space + , Str "and" + , Space + , Str "another." + , Note [ Para - [ Str "orange", Space, Str "fruit" ] - , OrderedList - ( 1, Decimal, DefaultDelim ) - [ [ Para [ Str "sublist" ] ], [ Para [ Str "sublist" ] ] ] + [ 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 ( "" , [] , [] ) " { }" + , 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." + ] ] - ] - ) - ] - , 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 - ( "", [], [] ) "" - , 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" + , Str "This" + , Space + , Str "should" + , Space + , Emph [ Str "not" ] + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "footnote" + , Space + , Str "reference," , 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" ] + , 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 "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." - ] + , 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]." + ] + ] ] - , 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" ] ] - , + , BlockQuote [ Para - [ Str "set", Space, Str "membership:", Space, Str "\8712" ] + [ 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 "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" + [ Str "This" , Space - , Str "with" + , Str "paragraph" , Space - , Str "an" - , SoftBreak - , Str "ampersand" + , Str "should" , Space - , Str "in" + , Str "not" , Space - , Str "the" + , Str "be" , 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" + , Str "part" , Space - , Str "link" + , Str "of" , Space - , Str "in" + , Str "the" , 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 - ( "", [], [] ) "" - ] - , CodeBlock - ( "", [], [] ) "or here: " - , 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" + , Str "note," , Space - , Str "no" + , Str "as" + , Space + , Str "it" , Space - , Str "figure" + , Str "is" , Space - , Str "alt" + , Str "not" , Space - , Str "text" + , Str "indented." ] - ( "lalune.jpg", "" ) - ] - , Header 1 - ( "footnotes", [], [] ) - [ Str "Footnotes" ] + , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ] , 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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - , 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 - ( "", [], [] ) " { }" - , 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." - ] + , 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 ) ] - , 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]." - ] + (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" ] ] + ] + ] ] - ] - , BlockQuote - [ Para - [ Str "Notes" - , Space - , Str "can" + (TableFoot ( "" , [] , [] ) []) + , Para + [ Str "Simple" , Space - , Str "go" + , Str "table" , Space - , Str "in" + , Str "without" , Space - , Str "quotes." - , Note - [ Para [ Str "In", Space, Str "quote." ] ] + , Str "caption:" ] - ] - , 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." - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ - ( 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" ] ] - ] + (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" ] ] + ] + ] ] - ) - [ 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:" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (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 ) ] - ) - [ 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" ] ] - ] + (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:" ] - ] - ( 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." - ] + ( "" , [] , [] ) + (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 ) ] - ) - [ - ( 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" ] ] - ] + (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." + ] + ] + ] + ] ] - ) - [ 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 "caption:" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidth 0.1 ) + , ( AlignLeft , ColWidth 0.2 ) + , ( AlignRight , ColWidth 0.3 ) + , ( AlignLeft , ColWidth 0.4 ) ] - ) - [ 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." - ] + (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:" - ] + (TableFoot ( "" , [] , [] ) []) + , Para + [ Str "Table" + , Space + , Str "without" + , Space + , Str "column" + , Space + , Str "headers:" + ] , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ) - [ 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." - ] + (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 "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:" ] - ] - ( 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." - ] + ( "" , [] , [] ) + (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." + ] + ] + ] ] - ] - , 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" + ] + (TableFoot ( "" , [] , [] ) []) + , BulletList + [ [ Para [ Str "A" , Space , Str "Step" ] ] + , [ Para [ Str "Another" , Space , Str "Step" ] + , Para + [ Str "Substeps" , Space - , Str "the" + , Str "can" , Space - , Str "blank" + , Str "be" , Space - , Str "line" + , Str "nested" , Space - , Str "between" + , Str "indefinitely" , Space - , Str "rows." + , Str "deep." ] - ] ] - ] - ] - ( 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" ] ] ] - , - [ Para [ Str "A", Space, Str "Final", Space, Str "Step" ] ] - ] ] diff --git a/test/docbook-xref.native b/test/docbook-xref.native index 16113d50b..1b4ced24e 100644 --- a/test/docbook-xref.native +++ b/test/docbook-xref.native @@ -1,184 +1,177 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "title" - , MetaInlines - [ Str "An", Space, Str "Example", Space, Str "Book" ] - ) - ] + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines + [ Str "An" + , Space + , Str "Example" + , Space + , Str "Book" + ] + ) + ] } - ) - [ Header 1 - ( "ch01", [], [] ) - [ Str "XRef", Space, Str "Samples" ] + [ 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." - ] + [ 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 "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 "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 "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 "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 "." + , [ 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" ] + , 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" ] + [ 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" ] + [ 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" ] + [ 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/epub/features.native b/test/epub/features.native index cac926088..61d0f8ba9 100644 --- a/test/epub/features.native +++ b/test/epub/features.native @@ -1,1744 +1,1676 @@ -[ Para - [ Span ( "front.xhtml", [], [] ) [] ] +[ 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" ) "" - , 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" + ( "" , [ "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") "" + , 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 "are" + , Str "suite" , SoftBreak - , Str "preceded" - , Space - , Str "by" + , 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 "the" + , Str "Locating" , Space - , Str "label:" + , Str "a" , Space - , Span - ( "" - , [ "nature" ] - , - [ ( "style", "display: inline; font-size: 100%" ) ] - ) - [ Str "[REQUIRED]" ] + , Str "test" ] - ] - , Div - ( "", [ "otest" ], [] ) - [ Para - [ Str "Tests" - , Space - , Str "for" - , Space - , Emph - [ Str "optional" ] + , [ [ 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 "Reading" + , Str "Performing" , Space - , Str "System" + , Str "the" , Space - , Str "functionality" + , 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 "are" - , SoftBreak - , Str "preceded" + , Str "Scoring" , Space - , Str "by" + , Str "in" , Space , Str "the" , Space - , Str "label:" + , Str "results" , Space - , Span - ( "" - , [ "nature" ] - , - [ ( "style", "display: inline; font-size: 100%" ) ] - ) - [ Str "[OPTIONAL]" ] + , 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" ] + , [] ) - , - ( - [ 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\"." - ] + [ 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" ] + , [] ) - , - ( - [ 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" - ] + [ 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" ] + , [] ) - ] - ] - ] -, 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" ) ] + [ 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" ] + , [] ) - [ 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 + [ 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 - [ 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", [], [] ) [] ] +, 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" ] + ( "content-switch-001.xhtml#epub-switch" + , [ "section" ] , [] ) - [ 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 "." - ] + [ 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.native b/test/epub/formatting.native index 6ffd5b8dd..cab9e40fa 100644 --- a/test/epub/formatting.native +++ b/test/epub/formatting.native @@ -1,3462 +1,1890 @@ -[ Para - [ Span ( "front.xhtml", [], [] ) [] ] +[ 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" ) "" - , 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" + ( "" , [ "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") "" + , 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 "are" + , Str "suite" , SoftBreak - , Str "preceded" - , Space - , Str "by" - , Space - , Str "the" - , Space - , Str "label:" - , Space - , Span - ( "" - , [ "nature" ] - , - [ ( "style", "display: inline; font-size: 100%" ) ] - ) - [ Str "[REQUIRED]" ] + , Str "wiki" ] - ] - , Div - ( "", [ "otest" ], [] ) - [ Para - [ Str "Tests" - , Space - , Str "for" - , Space - , Emph - [ Str "optional" ] - , Space - , Str "Reading" + ( "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 "System" + , Str "Locating" , Space - , Str "functionality" + , Str "a" , Space - , Str "are" - , SoftBreak - , Str "preceded" + , 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 "by" + , Str "Performing" , Space , Str "the" , Space - , Str "label:" - , Space - , Span - ( "" - , [ "nature" ] - , - [ ( "style", "display: inline; font-size: 100%" ) ] - ) - [ Str "[OPTIONAL]" ] + , Str "test" ] - ] - ] - ] - ) - , - ( - [ 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" + , [ [ 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 "evaluated" + , Str "Scoring" , Space - , Str "to" + , Str "in" , Space - , Str "true" + , Str "the" , Space - , Str "or" + , Str "results" , Space - , Str "false" + , Str "form" ] - , 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" - ] + , [ [ 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", [], [] ) [] ] +, Para [ Span ( "styling-xhtml-001.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." - ] + ( "styling-xhtml-001.xhtml#epub-css" , [ "section" ] , [] ) + [ Header + 1 + ( "" , [] , [] ) + [ Str "EPUB" , Space , Str "Style" , Space , Str "Sheets" ] , 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" + [ Str "This" , Space - , Str "to" + , Str "section" , Space - , Code - ( "", [], [] ) "decimal" + , Str "contains" , Space - , Str "is" - , Space - , Str "supported" + , Str "tests" , Space - , Str "on" + , Str "for" , Space - , Str "a" + , Str "styling" , Space - , Code - ( "", [], [] ) "ol" + , Str "and" , Space - , Str "element." - ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "Lorem" ] ] - , - [ Plain [ Str "Ipsum" ] ] - , - [ Plain [ Str "Dolor" ] ] - , - [ Plain [ Str "Sit" ] ] - , - [ Plain [ Str "Amet" ] ] + , Str "layout." ] - , 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" + ] +, Para [ Span ( "styling-xhtml-003.xhtml" , [] , [] ) [] ] +, Div + ( "styling-xhtml-003.xhtml#style-110" + , [ "section" , "ctest" ] + , [] + ) + [ Header + 2 + ( "" , [] , [] ) + [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ] , Space - , Str "passes." - ] - ] - , Div - ( "styling-xhtml-002.xhtml#style-010" - , - [ "section", "ctest" ] - , [] - ) - [ Header 4 - ( "", [], [] ) - [ Span - ( "", [ "nature" ], [] ) - [ Str "[REQUIRED]" ] + , Span ( "" , [ "test-id" ] , [] ) [ Str "style-110" ] , Space - , Span - ( "", [ "test-id" ], [] ) - [ Str "style-010" ] + , Str "Multi-Column" , Space - , Code - ( "", [], [] ) "circle" + , Str "Layouts" ] - , Para + , Para [ Str "Tests" , Space , Str "whether" , Space , Str "the" , Space - , Code - ( "", [], [] ) "list-style-type" - , Space - , Str "property" - , Space - , Str "set" + , Code ( "" , [] , [] ) "CSS Multi-Column Layout" , Space - , Str "to" + , Str "properties" , Space - , Code - ( "", [], [] ) "circle" + , Str "are" , 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." + , Str "supported." ] - ] , 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" ] ] + ( "" , [ "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 + , Para [ Str "If" , Space , Str "the" , Space , Str "preceding" , Space - , Str "list" - , Space - , Str "has" + , Str "text" , Space - , Str "cjk-ideographic" + , Str "is" , Space - , Str "markers" + , Str "rendered" , Space , Str "in" , Space - , Str "ascending" + , Str "three" , Space - , Str "order," + , Str "columns," , Space , Str "the" , Space @@ -3464,550 +1892,3233 @@ , 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-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." + ( "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." + ] + ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "Lorem" ] ] - , - [ Plain [ Str "Ipsum" ] ] - , - [ Plain [ Str "Dolor" ] ] - , - [ Plain [ Str "Sit" ] ] - , - [ Plain [ Str "Amet" ] ] + , 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." + ] + ] ] - , 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-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-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." + ( "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-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." + ( "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-002.xhtml#style-029" - , - [ "section", "ctest" ] - , [] - ) - [ Header 4 - ( "", [], [] ) - [ Span - ( "", [ "nature" ], [] ) - [ Str "[REQUIRED]" ] - , Space - , Span - ( "", [ "test-id" ], [] ) - [ Str "style-029" ] - , Space - , Code - ( "", [], [] ) "none" + ( "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." + ] ] - , 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." + , 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." + ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "Lorem" ] ] - , - [ Plain [ Str "Ipsum" ] ] - , - [ Plain [ Str "Dolor" ] ] - , - [ Plain [ Str "Sit" ] ] - , - [ Plain [ Str "Amet" ] ] + , 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." + ] ] - , 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-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-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" + ( "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." + ] ] - , 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." + , 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." + ] ] - , BulletList - [ - [ Plain [ Str "Lorem" ] ] - , - [ Plain [ Str "Ipsum" ] ] - , - [ Plain [ Str "Dolor" ] ] - , - [ Plain [ Str "Sit" ] ] - , - [ Plain [ Str "Amet" ] ] + , 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." + ] ] - , 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-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." + ] ] - ] ] - , Div - ( "styling-xhtml-002.xhtml#style-list-style-position" +, Para [ Span ( "styling-xhtml-005.xhtml" , [] , [] ) [] ] +, Div + ( "styling-xhtml-005.xhtml#style-text-xform" , [ "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" + [ Header + 2 + ( "" , [] , [] ) + [ Str "The" , Space - , Str "the" - , Space - , Code - ( "", [], [] ) "list-style-position" + , Code ( "" , [] , [] ) "text-transform" , 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 + , 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" @@ -4079,85 +5190,133 @@ , Str "commodo" , Space , Str "consequat." - ] - ] - , - [ Plain - [ Str "Lorem" , Space - , Str "ipsum" + , Str "Duis" + , Space + , Str "aute" + , Space + , Str "irure" , Space , Str "dolor" , Space - , Str "sit" + , Str "in" , Space - , Str "amet," + , Str "reprehenderit" , Space - , Str "consectetur" + , Str "in" , Space - , Str "adipisicing" + , Str "voluptate" , Space - , Str "elit," + , Str "velit" , Space - , Str "sed" + , Str "esse" , Space - , Str "do" + , Str "cillum" , Space - , Str "eiusmod" + , Str "dolore" , Space - , Str "tempor" + , Str "eu" , Space - , Str "incididunt" + , Str "fugiat" , Space - , Str "ut" + , Str "nulla" , Space - , Str "labore" + , Str "pariatur." , Space - , Str "et" + , Str "Excepteur" , Space - , Str "dolore" + , Str "sint" , Space - , Str "magna" + , Str "occaecat" , Space - , Str "aliqua." + , Str "cupidatat" , Space - , Str "Ut" + , Str "non" , Space - , Str "enim" + , Str "proident," , Space - , Str "ad" + , Str "sunt" , Space - , Str "minim" + , Str "in" , Space - , Str "veniam," + , Str "culpa" , Space - , Str "quis" + , Str "qui" , Space - , Str "nostrud" + , Str "officia" , Space - , Str "exercitation" + , Str "deserunt" , Space - , Str "ullamco" + , Str "mollit" , Space - , Str "laboris" + , Str "anim" , Space - , Str "nisi" + , Str "id" , Space - , Str "ut" + , Str "est" , Space - , Str "aliquip" + , Str "laborum." + ] + , Para + [ Str "If" , Space - , Str "ex" + , Str "the" , Space - , Str "ea" + , Str "preceding" , Space - , Str "commodo" + , Str "paragraph" , Space - , Str "consequat." + , 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." ] - ] - , - [ Plain + , Para [ Str "Lorem" , Space , Str "ipsum" @@ -4229,96 +5388,147 @@ , 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." ] - ] - ] - , 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 + ( "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" @@ -4390,2000 +5600,385 @@ , Str "commodo" , Space , Str "consequat." - ] - ] - , - [ Plain - [ Str "Lorem" , Space - , Str "ipsum" + , Str "Duis" + , Space + , Str "aute" + , Space + , Str "irure" , Space , Str "dolor" , Space - , Str "sit" + , Str "in" , Space - , Str "amet," + , Str "reprehenderit" , Space - , Str "consectetur" + , Str "in" , Space - , Str "adipisicing" + , Str "voluptate" , Space - , Str "elit," + , 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") "" + , Strong [ Str "Lorem" , Space , Str "Ipsum" ] + , Space + , RawInline (Format "html") "" + , Str "(" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str "Lorem" + , Space + , Str "Ipsum" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str ")" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + ] + , 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 "sed" + , Link + ( "" , [] , [] ) + [ Str "over" ] + ( "http://www.w3.org/TR/css3-writing-modes/#over" , "" ) , Space - , Str "do" + , Str "side" , Space - , Str "eiusmod" + , Str "of" , Space - , Str "tempor" + , Str "the" , Space - , Str "incididunt" + , Str "ruby" , Space - , Str "ut" + , Str "base," , Space - , Str "labore" + , Str "the" , Space - , Str "et" + , Str "test" , Space - , Str "dolore" + , Str "passes." + ] + ] + , Div + ( "styling-xhtml-006.xhtml#style-411" + , [ "section" , "ctest" ] + , [] + ) + [ Header + 2 + ( "" , [] , [] ) + [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ] , Space - , Str "magna" + , Span ( "" , [ "test-id" ] , [] ) [ Str "style-411" ] , Space - , Str "aliqua." + , Code ( "" , [] , [] ) "under" + ] + , Para + [ Str "Tests" , Space - , Str "Ut" + , Str "whether" , Space - , Str "enim" + , Str "the" , Space - , Str "ad" + , Code ( "" , [] , [] ) "-epub-ruby-position" , Space - , Str "minim" + , Str "property" , Space - , Str "veniam," + , Str "set" , Space - , Str "quis" + , Str "to" , Space - , Str "nostrud" + , Str "under" , Space - , Str "exercitation" + , Str "is" , Space - , Str "ullamco" + , Str "supported." + ] + , Plain + [ RawInline (Format "html") "" + , Strong [ Str "Lorem" , Space , Str "Ipsum" ] + , Space + , RawInline (Format "html") "" + , Str "(" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str "Lorem" + , Space + , Str "Ipsum" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str ")" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + ] + , Para + [ Str "If" , Space - , Str "laboris" + , Str "the" , Space - , Str "nisi" + , Str "Ruby" , Space - , Str "ut" + , Str "text" , Space - , Str "aliquip" + , Str "is" , Space - , Str "ex" + , Str "positioned" , Space - , Str "ea" + , Str "on" , Space - , Str "commodo" + , Str "the" , Space - , Str "consequat." - ] - ] - , - [ Plain - [ Str "Lorem" + , Link + ( "" , [] , [] ) + [ Str "under" ] + ( "http://www.w3.org/TR/css3-writing-modes/#under" + , "" + ) , Space - , Str "ipsum" + , Str "side" , Space - , Str "dolor" + , Str "of" , Space - , Str "sit" + , Str "the" , Space - , Str "amet," + , Str "ruby" , Space - , Str "consectetur" + , Str "base," , Space - , Str "adipisicing" + , Str "the" , Space - , Str "elit," + , Str "test" , Space - , Str "sed" + , Str "passes." + ] + ] + , Div + ( "styling-xhtml-006.xhtml#style-412" + , [ "section" , "ctest" ] + , [] + ) + [ Header + 2 + ( "" , [] , [] ) + [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ] , Space - , Str "do" + , Span ( "" , [ "test-id" ] , [] ) [ Str "style-412" ] , Space - , Str "eiusmod" + , Code ( "" , [] , [] ) "inter-character" + ] + , Para + [ Str "Tests" , Space - , Str "tempor" + , Str "whether" , Space - , Str "incididunt" + , Str "the" , Space - , Str "ut" + , Code ( "" , [] , [] ) "-epub-ruby-position" , Space - , Str "labore" + , Str "property" , Space - , Str "et" + , Str "set" , Space - , Str "dolore" + , Str "to" , Space - , Str "magna" + , Str "inter-caracter" , Space - , Str "aliqua." + , Str "is" , Space - , Str "Ut" + , Str "supported." + ] + , Plain + [ RawInline + (Format "html") "" + , Strong [ Str "Lorem" , Space , Str "Ipsum" ] + , Space + , RawInline (Format "html") "" + , Str "(" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str "Lorem" + , Space + , Str "Ipsum" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + , Str ")" + , RawInline (Format "html") "" + , RawInline (Format "html") "" + ] + , Para + [ Str "If" , Space - , Str "enim" + , Str "the" , Space - , Str "ad" + , Str "Ruby" , Space - , Str "minim" + , Str "text" , Space - , Str "veniam," + , Str "is" , Space - , Str "quis" + , Str "positioned" , Space - , Str "nostrud" + , Str "on" , Space - , Str "exercitation" + , Str "the" , Space - , Str "ullamco" + , Str "right" , Space - , Str "laboris" + , Str "side" , Space - , Str "nisi" + , Str "of" , Space - , Str "ut" + , Str "the" , Space - , Str "aliquip" + , Str "base" , Space - , Str "ex" + , Str "text," , Space - , Str "ea" + , Str "the" , Space - , Str "commodo" + , Str "test" , Space - , Str "consequat." + , Str "passes." ] - ] - ] - , 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" ) "" - , Strong - [ Str "Lorem", Space, Str "Ipsum" ] - , Space - , RawInline - ( Format "html" ) "" - , Str "(" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str "Lorem" - , Space - , Str "Ipsum" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str ")" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - ] - , 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" ) "" - , Strong - [ Str "Lorem", Space, Str "Ipsum" ] - , Space - , RawInline - ( Format "html" ) "" - , Str "(" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str "Lorem" - , Space - , Str "Ipsum" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str ")" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - ] - , 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" ) "" - , Strong - [ Str "Lorem", Space, Str "Ipsum" ] - , Space - , RawInline - ( Format "html" ) "" - , Str "(" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str "Lorem" - , Space - , Str "Ipsum" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - , Str ")" - , RawInline - ( Format "html" ) "" - , RawInline - ( Format "html" ) "" - ] - , 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/wasteland.native b/test/epub/wasteland.native index 17b2a875e..eb0c1d2e7 100644 --- a/test/epub/wasteland.native +++ b/test/epub/wasteland.native @@ -1,3509 +1,3493 @@ [ Para - [ Image ( "", [], [] ) [] ( "wasteland-cover.jpg", "" ) ] -, Para - [ Span ( "wasteland-content.xhtml", [], [] ) [] ] + [ Image ( "" , [] , [] ) [] ( "wasteland-cover.jpg" , "" ) ] +, Para [ Span ( "wasteland-content.xhtml" , [] , [] ) [] ] , Div - ( "wasteland-content.xhtml#frontmatter" - , - [ "section", "frontmatter" ] - , [] - ) [] + ( "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," - , Str "" - , 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," - , Str "" - ] - ] - , 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" - , Str "" - ] - ] - , 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 "." - , Str "" - ] - ] - ] - , 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," - , Str "" - ] - ] - , 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," - , Str "" - , 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." - , Str "" - ] - ] - , Div - ( "wasteland-content.xhtml#ln64", [], [] ) - [ Plain - [ Str "Sighs," - , Space - , Str "short" - , Space - , Str "and" - , Space - , Str "infrequent," - , Space - , Str "were" - , Space - , Str "exhaled," - , Str "" - ] - ] - , 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." - , Str "" - ] - ] - , 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," - , 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!" + ( "wasteland-content.xhtml#bodymatter" + , [ "section" , "bodymatter" ] + , [] + ) + [ Div + ( "wasteland-content.xhtml#ch1" , [ "section" ] , [] ) + [ Header + 2 + ( "" , [] , [] ) + [ Str "I." , Space - , Str "-" + , Str "THE" , Space - , Str "mon" + , Str "BURIAL" , Space - , Str "semblable," + , Str "OF" , Space - , Str "-" - , SoftBreak - , Str "mon" + , Str "THE" , Space - , Str "frere" + , 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," + , Str "" + , 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," + , Str "" + ] + ] + , 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" + , Str "" + ] + ] + , 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 "." + , Str "" + ] + ] + ] + , 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," + , Str "" + ] + ] + , 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," + , Str "" + , 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." + , Str "" + ] + ] + , Div + ( "wasteland-content.xhtml#ln64" , [] , [] ) + [ Plain + [ Str "Sighs," + , Space + , Str "short" + , Space + , Str "and" + , Space + , Str "infrequent," + , Space + , Str "were" + , Space + , Str "exhaled," + , Str "" + ] + ] + , 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." + , Str "" + ] + ] + , 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," + , 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 "!\"" + , Str "" + ] + ] ] - , Space - , Str "!\"" - , Str "" - ] - ] - ] - ] - , 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," - , Str "" - ] - ] - , 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," - , Str "" - ] - ] - , 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" - , Str "" - ] - ] - , 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" - , Str "" - ] - ] - , 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" - , Str "" - , 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," + ( "wasteland-content.xhtml#ch2" , [ "section" ] , [] ) + [ Header + 2 + ( "" , [] , [] ) + [ Str "II." , Space - , Str "bad." + , Str "A" , Space - , Str "Stay" + , Str "GAME" , Space - , Str "with" + , Str "OF" , Space - , Str "me." + , Str "CHESS" ] - ] , 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." + ( "" , [ "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," + , Str "" + ] + ] + , 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," + , Str "" + ] + ] + , 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" + , Str "" + ] + ] + , 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" + , Str "" + ] + ] + , 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" + , Str "" + , 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 - ( "", [], [] ) - [ Plain - [ Str "\"What" - , Space - , Str "are" - , Space - , Str "you" - , Space - , Str "thinking" - , Space - , Str "of?" - , Space - , Str "What" - , Space - , Str "thinking?" - , Space - , Str "What?" + ( "" , [ "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" + , Str "" + ] + ] + , Div + ( "" , [] , [] ) + [ Plain + [ Str "Where" + , Space + , Str "the" + , Space + , Str "dead" + , Space + , Str "men" + , Space + , Str "lost" + , Space + , Str "their" + , Space + , Str "bones." + ] + ] + ] ] - ] , 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.\"" + ( "" , [ "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." + , Str "" + ] + ] + , 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 - ( "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" - , Str "" + , 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 - ( "", [], [] ) - [ Plain - [ Str "Where" - , Space - , Str "the" - , Space - , Str "dead" - , Space - , Str "men" - , Space - , Str "lost" - , Space - , Str "their" - , Space - , Str "bones." + ( "" , [ "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?\"" + , Str "" + ] + ] + , 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." + , Str "" + ] + ] + ] + , 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 - ( "", [ "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." - , Str "" - ] - ] - , 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?\"" - , Str "" - ] - ] - , 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." - , Str "" - ] - ] - ] - , 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." - ] ] - ] ] - ] ] diff --git a/test/fb2/reader/emphasis.native b/test/fb2/reader/emphasis.native index 18fa49a8b..a3f4cdeb6 100644 --- a/test/fb2/reader/emphasis.native +++ b/test/fb2/reader/emphasis.native @@ -1,38 +1,35 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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 "." + ( "" , [ "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" ] ] - , 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 2eaa6da41..eb11c1d79 100644 --- a/test/fb2/reader/epigraph.native +++ b/test/fb2/reader/epigraph.native @@ -1,18 +1,18 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Div - ( "", [ "epigraph" ], [] ) - [ Para [ Str "Body", Space, Str "epigraph" ] ] + ( "" , [ "epigraph" ] , [] ) + [ Para [ Str "Body" , Space , Str "epigraph" ] ] , Div - ( "", [ "section" ], [] ) - [ Div - ( "", [ "epigraph" ], [] ) - [ Para [ Str "Section", Space, Str "epigraph" ] ] - , Div - ( "", [ "section" ], [] ) + ( "" , [ "section" ] , [] ) [ Div - ( "", [ "epigraph" ], [] ) - [ Para [ Str "Subsection", Space, Str "epigraph" ] ] + ( "" , [ "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 37d229755..851250296 100644 --- a/test/fb2/reader/meta.native +++ b/test/fb2/reader/meta.native @@ -1,43 +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" - ] + 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" ] + ) ] - ) - , - ( "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" ] ] + [ Header + 1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ] + ] diff --git a/test/fb2/reader/notes.native b/test/fb2/reader/notes.native index 6ff16e701..56fa3873f 100644 --- a/test/fb2/reader/notes.native +++ b/test/fb2/reader/notes.native @@ -1,24 +1,28 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Div - ( "", [ "section" ], [] ) - [ Para - [ Str "Note" - , Space - , Note - [ Para [ Str "Note", Space, Str "contents" ] ] - , Str "." + ( "" , [ "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 "." + ] ] - , 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 a43466b16..2b45347e8 100644 --- a/test/fb2/reader/poem.native +++ b/test/fb2/reader/poem.native @@ -1,26 +1,25 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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" ] - ] + ( "" , [ "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 f98d0b00c..74669d848 100644 --- a/test/fb2/reader/titles.native +++ b/test/fb2/reader/titles.native @@ -1,33 +1,38 @@ Pandoc - ( Meta { unMeta = fromList [] } ) - [ Header 1 - ( "", [], [] ) - [ Str "Body", Space, Str "title" ] + 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" - ] + ( "" , [ "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" + ] + ] ] - , 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 2d61cb0b8..619a52fea 100644 --- a/test/haddock-reader.native +++ b/test/haddock-reader.native @@ -1,432 +1,401 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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 "." - ] + [ 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." - ] + [ 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." - ] + [ 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." - ] + [ 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:" - ] + [ 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" + ( "" , [] , [] ) + "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:" - ] + [ 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\"" - ] + [ 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:" - ] + [ Str "Haddock" + , Space + , Str "supports" + , Space + , Str "REPL" + , Space + , Str "examples:" + ] , Para - [ Code - ( "", [ "prompt" ], [] ) ">>>" - , Space - , Code - ( "", [ "haskell", "expr" ], [] ) "fib 10" - , LineBreak - , Code - ( "", [ "result" ], [] ) "55" - ] + [ 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" - ] + [ 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 "." - ] + [ 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." - ] + [ 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:" - ] + [ 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 "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:" - ] + [ 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" ] ] - ] + ( 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:" - ] + [ 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 ( "" , [] , [] ) "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 "." + ) + , ( [ 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" ) - ] + [ 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!" - ] + [ 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" ) - ] + [ 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 20f45c873..dba1cb85f 100644 --- a/test/html-reader.native +++ b/test/html-reader.native @@ -1,729 +1,601 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "generator", MetaInlines [ Str "pandoc" ] ) - , - ( "title" - , MetaInlines - [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ] - ) - ] + 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" ] + [ Header + 1 + ( "pandoc-test-suite" , [ "title" ] , [] ) + [ Str "Pandoc" , Space , Str "Test" , Space , Str "Suite" ] , Para - [ Str "E-mail", Space, Str "style:" ] - , BlockQuote - [ Para [ Str "This" , Space , Str "is" , Space , Str "a" , Space - , Str "block" + , Str "set" , Space - , Str "quote." + , Str "of" , Space - , Str "It" + , Str "tests" , Space - , Str "is" + , Str "for" + , Space + , Str "pandoc." + , Space + , Str "Most" , Space - , Str "pretty" + , Str "of" , Space - , Str "short." + , 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." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , 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 "block" + , Str "paragraph" , Space - , Str "quote:" + , 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." ] - , 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:" ] + , HorizontalRule + , Header + 1 + ( "block-quotes" , [] , [] ) + [ Str "Block" , Space , Str "Quotes" ] + , Para [ Str "E-mail" , Space , Str "style:" ] , BlockQuote - [ Para - [ Str "Example:" ] - , CodeBlock - ( "", [], [] ) "sub status {\n print \"working\";\n}" - ] + [ 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 - [ OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "do", Space, Str "laundry" ] ] - , - [ Plain - [ Str "take" + [ Para + [ Str "Code" , Space - , Str "out" + , Str "in" , Space - , Str "the" + , Str "a" + , Space + , Str "block" , Space - , Str "trash" + , 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 "Here's" - , Space - , Str "a" - , Space - , Str "nested" - , Space - , Str "one:" - ] + [ 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 "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" - ) + [ 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" + ] + ] ] - ) - [ Str "inline", Space, Str "quote" ] ] - , Str "." - ] , Para - [ Quoted DoubleQuote - [ Str "Missing" + [ Str "Here's" , Space , Str "a" , Space - , Str "cite" - , Space - , Str "attribute" + , Str "nested" , Space - , Str "means" + , 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 "its" + , Str "a" , Space - , Str "just" + , Str "following" , Space - , Str "normal" + , 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 "." ] - ] - , HorizontalRule - , Header 1 - ( "code-blocks", [], [] ) - [ Str "Code", Space, Str "Blocks" ] , Para - [ Str "Code:" ] + [ 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:" ] + ( "" , [] , [] ) + "---- (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: \\$ \\\\ \\> \\[ \\{" + ( "" , [] , [] ) + " 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:" ] + , 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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 "One" ] ] - , - [ Para [ Str "Two" ] ] - , - [ Para [ Str "Three" ] ] - ] - , Para - [ Str "Multiple", Space, Str "paragraphs:" ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "First" ] ] + , [ Plain [ Str "Second" ] ] + , [ Plain [ Str "Third" ] ] + ] + , Para [ Str "and:" ] , 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." - ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "One" ] ] + , [ Plain [ Str "Two" ] ] + , [ Plain [ Str "Three" ] ] ] - , - [ 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 ) [] + [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) [] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second" ] ] + , [ Para [ Str "Third" ] ] + ] + , Para + [ Str "and" , Space , Str "using" , Space , Str "spaces:" ] , OrderedList - ( 1, LowerRoman, DefaultDelim ) [] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "One" ] ] + , [ Para [ Str "Two" ] ] + , [ Para [ Str "Three" ] ] + ] + , Para [ Str "Multiple" , Space , Str "paragraphs:" ] , OrderedList - ( 1, LowerRoman, DefaultDelim ) [] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + ( 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" ] ] ] - ] + [ [ Plain [ Str "Tab" ] + , BulletList + [ [ Plain [ Str "Tab" ] + , BulletList [ [ Plain [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here's", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Plain [ Str "Fee" ] ] + , [ Plain [ Str "Fie" ] ] + , [ Plain [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -735,16 +607,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -756,2610 +625,2660 @@ Pandoc , 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" + , 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 "with" + , Str "a" , Space - , Str "4" + , Str "continuation" ] - ] - , - [ Plain - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, DefaultDelim ) - [ - [ Plain [ Str "a", Space, Str "subsublist" ] ] - , - [ Plain [ Str "a", Space, Str "subsublist" ] ] + , 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:" ] + , 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" - ] + ( 1 , UpperAlpha , DefaultDelim ) + [ [ Plain [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , DefaultDelim ) + [ [ Plain [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, DefaultDelim ) - [ - [ Plain - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , Para [ Str "Autonumbering:" ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "Autonumber." ] ] - , - [ Plain - [ Str "More." ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ [ Plain [ Str "Nested." ] ] ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "Autonumber." ] ] + , [ Plain [ Str "More." ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "Nested." ] ] ] + ] ] - ] , HorizontalRule - , Header 2 - ( "definition", [], [] ) - [ Str "Definition" ] + , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ] , DefinitionList - [ - ( - [ Str "Violin" ] - , - [ - [ Plain - [ Str "Stringed" - , Space - , Str "musical" - , Space - , Str "instrument." + [ ( [ Str "Violin" ] + , [ [ Plain + [ Str "Stringed" + , Space + , Str "musical" + , Space + , Str "instrument." + ] ] + , [ Plain [ Str "Torture" , Space , Str "device." ] ] ] - , - [ Plain [ Str "Torture", Space, Str "device." ] ] - ] - ) - , - ( - [ Str "Cello", LineBreak, Str "Violoncello" ] - , - [ - [ Plain - [ Str "Low-voiced" - , Space - , Str "stringed" - , Space - , Str "instrument." + ) + , ( [ 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 - ( "", [], [] ) "" - , 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$." - ] + , 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 "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 "." - ] + [ Str "This" + , Space + , Str "is" + , Space + , Strong [ Str "strong" ] + , Str "," + , Space + , Str "and" + , Space + , Str "so" + , Space + , Strong [ Str "is" , Space , Str "this" ] + , 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.)" - ] + , Para + [ Str "Empty" + , Space + , Strong [] + , Space + , Str "and" + , Space + , Emph [] + , Str "." ] - , - [ Plain - [ Str "Escaped" - , Space - , Code - ( "", [], [] ) "$" - , Str ":" - , Space - , Str "$73" - , Space - , Emph - [ Str "this" - , Space - , Str "should" - , Space - , Str "be" - , Space - , Str "emphasized" + , 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." + ] ] - , 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." ] + [ 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 "6", Space, Str ">", Space, Str "5." ] + [ Str "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." + ] , Para - [ Str "Backslash:", Space, Str "\\" ] + [ Str "This" + , Space + , Str "is" + , Space + , Str "code:" + , Space + , Code ( "" , [] , [] ) ">" + , Str "," + , Space + , Code ( "" , [] , [] ) "$" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\$" + , Str "," + , Space + , Code ( "" , [] , [] ) "" + , Str "." + ] , Para - [ Str "Backtick:", Space, Str "`" ] + [ Str "This" + , Space + , Str "is" + , Space + , SmallCaps [ Str "small" , Space , Str "caps" ] + , Str "." + ] , Para - [ Str "Asterisk:", Space, Str "*" ] + [ 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 "Underscore:", Space, Str "_" ] + [ 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 "Left", Space, Str "brace:", Space, Str "{" ] + [ 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 "Right", Space, Str "brace:", Space, Str "}" ] + [ Str "'A'," + , Space + , Str "'B'," + , Space + , Str "and" + , Space + , Str "'C'" + , Space + , Str "are" + , Space + , Str "letters." + ] , Para - [ Str "Left", Space, Str "bracket:", Space, Str "[" ] + [ 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 "Right", Space, Str "bracket:", Space, Str "]" ] + [ 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 "Left", Space, Str "paren:", Space, Str "(" ] + [ 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 "Right", Space, Str "paren:", Space, Str ")" ] + [ Str "Some" + , Space + , Str "dashes:" + , Space + , Str "one---two" + , Space + , Str "---" + , Space + , Str "three--four" + , Space + , Str "--" + , Space + , Str "five." + ] , Para - [ Str "Greater-than:", Space, Str ">" ] + [ Str "Dashes" + , Space + , Str "between" + , Space + , Str "numbers:" + , Space + , Str "5-7," + , Space + , Str "255-66," + , Space + , Str "1987-1999." + ] , Para - [ Str "Hash:", Space, Str "#" ] + [ 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 "Period:", Space, Str "." ] + [ 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 ( "" , [] , [] ) "" + ] + , CodeBlock + ( "" , [] , [] ) "or here: " + , 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 - [ Str "Bang:", Space, Str "!" ] + [ 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 "Plus:", Space, Str "+" ] + [ 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 ( "" , [] , [] ) " { }" , 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" + [ 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 "an" + , Str "blockquotes," , Space - , Str "ampersand" + , Str "but" , Space - , Str "in" + , 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 "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" + , Str "beginning" , Space - , Str "link" + , Str "of" , Space - , Str "in" + , Str "the" , 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:" + , Str "first" , 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 - ( "", [], [] ) "" - ] - , CodeBlock - ( "", [], [] ) "or here: " - , 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 - ( "", [], [] ) " { }" - , 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" ] ] - ] + , 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." ] - ) - [ 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" ] ] - ] + , Para + [ Str "text" + , Space + , Emph [ Str "Leading" , Space , Str "space" ] ] - ] - ( 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" ] ] - ] + , Para + [ Emph [ Str "Trailing" , Space , Str "space" ] + , Space + , Str "text" ] - ) - [ 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" ] ] - ] + , Para + [ Str "text" + , Space + , Emph [ Str "Leading" , Space , Str "spaces" ] ] - ] - ( 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" ] ] - ] + [ Emph [ Str "Trailing" , Space , Str "spaces" ] + , Space + , Str "text" ] - ) - [ 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" ] ] - ] + , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ] + , Header + 2 + ( "tables-with-headers" , [] , [] ) + [ Str "Tables" + , Space + , Str "with" + , Space + , Str "Headers" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , HorizontalRule + , Para [ Str "Row" , 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 "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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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" ] ] + ] + ] ] - ) - [ 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 ( "" , [] , [] ) []) + , 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" ] ] + ] + ] ] - , 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 ( "" , [] , [] ) []) + [ 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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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" ] ] + ] + ] ] - ) - [ 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" ] ] - ] + (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" ] ] + ] + ] ] - , 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" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , HorizontalRule , Para - [ Str "tbody", Space, Str "tags", Space, Str "omitted" ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , HorizontalRule - , Para - [ Str "empty", Space, Str "head" ] + , 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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , HorizontalRule , Para - [ Str "explicit" - , Space - , Str "body" - , Space - , Str "and" - , Space - , Str "foot" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (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" ] ] - ] + (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" ] - ) - , 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" - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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" ] + (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" ] ] - ] + ( "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" ] ] - ] + (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" ] - ) - , 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" ] ] - ] + ( "" , [] , [] ) + (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" ] ] - ] + (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." ] - ) - , 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/simple.out.native b/test/ipynb/simple.out.native index 43b170a3a..0f243ca48 100644 --- a/test/ipynb/simple.out.native +++ b/test/ipynb/simple.out.native @@ -1,106 +1,103 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "jupyter" - , MetaMap - ( fromList - [ - ( "nbformat", MetaString "4" ) - , - ( "nbformat_minor", MetaString "5" ) - ] - ) - ) - ] + 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." + ( "" , [ "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\")" ] + ( "" , [ "cell" , "code" ] , [] ) + [ CodeBlock ( "" , [ "python" ] , [] ) "print(\"hello\")" ] , Div - ( "", [ "cell", "markdown" ], [] ) - [ Header 2 ( "pyout", [], [] ) [ Str "Pyout" ] ] + ( "" , [ "cell" , "markdown" ] , [] ) + [ Header 2 ( "pyout" , [] , [] ) [ Str "Pyout" ] ] , Div - ( "", [ "cell", "code" ], [ ( "execution_count", "2" ) ] ) - [ CodeBlock - ( "" - , [ "python" ] - , [] - ) "from IPython.display import HTML\nHTML(\"\"\"\n\nHTML\n\"\"\")" - , Div ( "" - , - [ "output", "execute_result" ] - , - [ ( "execution_count", "2" ) ] + , [ "cell" , "code" ] + , [ ( "execution_count" , "2" ) ] ) - [ RawBlock - ( Format "html" ) "\nHTML\nhello" + [ CodeBlock + ( "" , [ "python" ] , [] ) + "from IPython.display import HTML\nHTML(\"\"\"\n\nHTML\n\"\"\")" + , Div + ( "" + , [ "output" , "execute_result" ] + , [ ( "execution_count" , "2" ) ] + ) + [ RawBlock + (Format "html") + "\nHTML\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." + ( "" + , [ "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 b9b1a95ba..02439ce31 100644 --- a/test/jats-reader.native +++ b/test/jats-reader.native @@ -1,665 +1,541 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + Meta + { unMeta = + fromList + [ ( "author" + , MetaList + [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ] + , MetaInlines [ Str "Anonymous" ] + ] + ) + , ( "title" + , MetaInlines + [ Str "Pandoc" + , Space + , Str "Test" + , Space + , Str "Suite" + ] + ) ] - ) - , - ( "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" + , Str "set" , Space - , Str "quote." + , Str "of" , Space - , Str "It" + , Str "tests" , Space - , Str "is" + , 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 "pretty" + , Str "markdown" , Space - , Str "short." + , Str "test" + , Space + , Str "suite." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , 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 "block" + , Str "paragraph" , Space - , Str "quote:" + , 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." ] - , 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:" ] + , Header + 1 + ( "block-quotes" , [] , [] ) + [ Str "Block" , Space , Str "Quotes" ] + , Para [ Str "E-mail" , Space , Str "style:" ] , BlockQuote - [ Para - [ Str "Example:" ] - , CodeBlock - ( "", [], [] ) "sub status {\n print \"working\";\n}" - ] + [ 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 - [ OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Para [ Str "do", Space, Str "laundry" ] ] - , - [ Para - [ Str "take" + [ Para + [ Str "Code" , Space - , Str "out" + , Str "in" , Space - , Str "the" + , Str "a" + , Space + , Str "block" , Space - , Str "trash" + , 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:" - ] + [ 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 "Joe" , Space , Str "said:" ] + , BlockQuote + [ Para + [ Str "Don't" , Space , Str "quote" , Space , Str "me." ] + ] + ] , Para - [ Str "And:" ] + [ Str "And" + , Space + , Str "a" + , Space + , Str "following" + , Space + , Str "paragraph." + ] + , Header + 1 + ( "code-blocks" , [] , [] ) + [ Str "Code" , Space , Str "Blocks" ] + , Para [ Str "Code:" ] , 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:" ] + ( "" , [] , [] ) + "---- (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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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", Space, Str "using", Space, Str "spaces:" ] + ( 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 "Multiple", Space, Str "paragraphs:" ] + ( 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 "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." - ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second" ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] , Para - [ Str "List", Space, Str "styles:" ] + [ Str "and" , Space , Str "using" , Space , Str "spaces:" ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) [] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "One" ] ] + , [ Para [ Str "Two" ] ] + , [ Para [ Str "Three" ] ] + ] + , Para [ Str "Multiple" , Space , Str "paragraphs:" ] , OrderedList - ( 1, LowerRoman, DefaultDelim ) [] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + ( 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 "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here's", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -671,16 +547,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -692,2202 +565,2246 @@ Pandoc , 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:" ] + , 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." ] ] ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "Autonumber." ] ] + , [ Para [ Str "More." ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "Nested." ] ] ] + ] ] - ] - , Header 2 - ( "definition", [], [] ) - [ Str "Definition" ] + , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ] , DefinitionList - [ - ( - [ Str "Violin" ] - , - [ - [ Para - [ Str "Stringed" - , Space - , Str "musical" - , Space - , Str "instrument." + [ ( [ Str "Violin" ] + , [ [ Para + [ Str "Stringed" + , Space + , Str "musical" + , Space + , Str "instrument." + ] + , Para [ Str "Torture" , Space , Str "device." ] ] - , Para - [ Str "Torture", Space, Str "device." ] ] - ] - ) - , - ( - [ Str "Cello", LineBreak, Str "Violoncello" ] - , - [ - [ Para - [ Str "Low-voiced" - , Space - , Str "stringed" - , Space - , Str "instrument." + ) + , ( [ 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 - ( "", [], [] ) "" - , 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$." - ] + , 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 "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 "." + [ 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 ( "" , [] , [] ) "" + , 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 "$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 "An" + , Space + , Str "e-mail" + , Space + , Str "address:" + , Space + , Str "nobody" + , Space + , Str "[at]" + , Space + , Str "nowhere.net" ] - , + , BlockQuote [ Para - [ Str "Escaped" - , Space - , Code - ( "", [], [] ) "$" - , Str ":" - , Space - , Str "$73" - , Space - , Emph - [ Str "this" - , Space - , Str "should" - , Space - , Str "be" + [ Str "Blockquoted:" , SoftBreak - , Str "emphasized" + , Link + ( "" , [] , [] ) + [ Str "http://example.com/" ] + ( "http://example.com/" , "" ) ] - , 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." - ] + [ Str "Auto-links" + , Space + , Str "should" + , Space + , Str "not" + , Space + , Str "occur" + , Space + , Str "here:" + , SoftBreak + , Code ( "" , [] , [] ) "" + ] , 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" + ( "" , [] , [] ) "or here: " + , 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 - , Str "with" + , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" ) + , SoftBreak + , Str "icon." + ] + , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ] + , Para + [ Str "Here" , Space - , Str "an" + , Str "is" , Space - , Str "ampersand" + , Str "a" , Space - , Str "in" + , 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 "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" + , Str "footnote." + , Space + , Str "It" + , Space + , Str "can" , SoftBreak - , Str "link" + , Str "go" + , Space + , Str "anywhere" , 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/", "" ) - ] + , Str "the" + , Space + , Str "document," + , Space + , Str "not" + , Space + , Str "just" + , Space + , Str "at" + , Space + , Str "the" + , Space + , Str "end." ] - , - [ 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:" + , Para + [ Link + ( "" , [] , [] ) + [ Str "(longnote)" ] + ( "#ref_longnote" , "" ) + , Space + , Str "Here's" , 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 - ( "", [], [] ) "" - ] - , CodeBlock - ( "", [], [] ) "or here: " - , 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 - ( "", [], [] ) " { }" - , 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" ] + , 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 ( "" , [] , [] ) " { }" + , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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." ] - ] - ( 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 7de455cbe..5cb00a929 100644 --- a/test/jira-reader.native +++ b/test/jira-reader.native @@ -1,887 +1,844 @@ 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" + 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 "block" + , Str "header." + ] + , HorizontalRule + , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ] + , Para + [ Str "Here\8217s" , Space - , Str "quote." + , Str "a" , Space - , Str "It" + , Str "regular" , Space - , Str "is" + , Str "paragraph." + ] + , Para + [ Str "Here\8217s" , Space - , Str "pretty" + , Str "one" , Space - , Str "short." + , Str "with" + , Space + , Str "a" + , Space + , Str "bullet." + , Space + , Str "*" + , Space + , Str "criminey." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , Para + [ Str "There" , Space - , Str "in" + , Str "should" + , Space + , Str "be" , Space , Str "a" , Space - , Str "block" + , Str "hard" + , Space + , Str "line" , Space - , Str "quote:" + , Str "break" + , LineBreak + , Str "here." ] - , 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" ] ] + , 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." ] + [ Str "A" + , Space + , Str "following" + , Space + , Str "paragraph." + ] , HorizontalRule - , Header 1 - ( "", [], [] ) - [ Str "Code", Space, Str "Blocks" ] - , Para - [ Str "Code:" ] + , 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:" ] + ( "" , [ "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" + ( "" , [ "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:" ] + , 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:" ] + [ [ 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" ] + [ [ 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" ] ] - ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second" ] ] + , [ Para [ Str "Third" ] ] + ] , Para - [ Str "Linebreak", Space, Str "in", Space, Str "paragraph:" ] + [ 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." + ( 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." ] ] ] - , - [ Para [ Str "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "", [], [] ) - [ Str "Nested" ] + , Header 2 ( "" , [] , [] ) [ Str "Nested" ] , BulletList - [ - [ Para - [ Str "Tab" ] - , BulletList - [ - [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ] + [ [ Para [ Str "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , 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" ] ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Para - [ Str "Nested", Space, Str "enumerations:" ] + , 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" ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "Essential" ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Para [ Str "Important" ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ [ Para [ Str "Insignificant" ] ] ] + ( 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" - ] + , 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 "apple" ] + , LineBreak + , Str "red" + , Space + , Str "fruit" + ] ] - ] - , - [ Para - [ Strong - [ Str "orange" ] - , LineBreak - , Str "orange" - , Space - , Str "fruit" + , [ Para + [ Strong [ Str "orange" ] + , LineBreak + , Str "orange" + , Space + , Str "fruit" + ] ] - ] - , - [ Para - [ Strong - [ Str "banana" ] - , LineBreak - , Str "yellow" - , 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" - ] + [ Str "Multiple" + , Space + , Str "blocks" + , Space + , Str "with" + , Space + , Str "italics:" ] - , - [ Para - [ Strong - [ Emph [ Str "orange" ] ] - , LineBreak - , Str "orange" - , Space - , Str "fruit" + , 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" + ] ] - , CodeBlock - ( "", [ "java" ], [] ) "{ orange code block }\n" - , BlockQuote - [ Para - [ Str "orange", Space, Str "block", Space, Str "quote" ] + , [ 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" ] + , 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" ] + ( "" , [] , [ ( "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" ] ] + ( "" , [] , [ ( "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 "." - ] + , Header + 1 ( "" , [] , [] ) [ Str "Inline" , Space , Str "Markup" ] , 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 "." - ] + [ 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 "An" - , Space - , Emph - [ Link - ( "", [], [] ) - [ Str "emphasized", Space, Str "link" ] - ( "https://my.example/url", "" ) + [ Str "This" + , Space + , Str "is" + , Space + , Strong [ Str "strong" ] + , Str "," + , Space + , Str "and" + , Space + , Str "so" + , Space + , Strong [ Str "is" , Space , Str "this" ] + , Str "." ] - , Str "." - ] , Para - [ Strong - [ Emph - [ Str "This" - , Space - , Str "is" - , Space - , Str "strong" - , Space - , Str "and" - , Space - , Str "em." - ] + [ Str "An" + , Space + , Emph + [ Link + ( "" , [] , [] ) + [ Str "emphasized" , Space , Str "link" ] + ( "https://my.example/url" , "" ) + ] + , Str "." ] - ] , Para - [ Str "So" - , Space - , Str "is" - , Space - , Strong - [ Emph [ Str "this" ] ] - , Space - , Str "word." - ] + [ Strong + [ Emph + [ Str "This" + , Space + , Str "is" + , Space + , Str "strong" + , Space + , Str "and" + , Space + , Str "em." + ] + ] + ] , Para - [ Str "This" - , Space - , Str "is" - , Space - , Str "code:" - , Space - , Code - ( "", [], [] ) ">" - , Str "," - , Space - , Code - ( "", [], [] ) "$" - , Str "," - , Space - , Code - ( "", [], [] ) "\\" - , Str "," - , Space - , Code - ( "", [], [] ) "\\$" - , Str "," - , Space - , Code - ( "", [], [] ) "" - , Str "." - ] + [ Str "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." + ] , Para - [ Strikeout [ Str "This" , Space , Str "is" , Space - , Emph - [ Str "strikeout" ] + , Str "code:" + , Space + , Code ( "" , [] , [] ) ">" + , Str "," + , Space + , Code ( "" , [] , [] ) "$" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\$" + , Str "," + , Space + , Code ( "" , [] , [] ) "" , 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 "." - ] + [ Strikeout + [ Str "This" + , Space + , Str "is" + , Space + , Emph [ Str "strikeout" ] + , 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" ] + [ 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 "Some" - , Space - , Str "dashes:" - , Space - , Str "one" - , Space - , Str "\8211" - , Space - , Str "two" - , Space - , Str "\8212" - , Space - , Str "three." - ] + [ 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 "Sure" - , Space - , Str "\10004" - , LineBreak - , Str "Nope" - , Space - , Str "\10060" - ] + [ 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 "Nice", Space, Str "\128515" ] + [ Str "Some" + , Space + , Str "dashes:" + , Space + , Str "one" + , Space + , Str "\8211" + , Space + , Str "two" + , Space + , Str "\8212" + , Space + , Str "three." + ] , Para - [ Str "Capital", Space, Str "d:D" ] + [ 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" ] + , 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 [ Str "2\8197+\8197\&2\8196=\8196\&4" ] ] + , [ Para + [ Emph [ Str "x" ] + , Str "\8196\8712\8196" + , Emph [ Str "y" ] + ] ] - ] - , - [ 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 "." + , [ 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" ] + , Header + 1 + ( "" , [] , [] ) + [ Str "Special" , Space , Str "Characters" ] , Para - [ Str "Here" - , Space - , Str "is" - , Space - , Str "some" - , Space - , Str "unicode:" - ] + [ 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 "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 "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 "]" ] + [ Str "AT&T" + , Space + , Str "has" + , Space + , Str "an" + , Space + , Str "ampersand" + , Space + , Str "in" + , Space + , Str "their" + , Space + , Str "name." + ] , Para - [ Str "Left", Space, Str "paren:", Space, Str "(" ] + [ Str "AT&T" + , Space + , Str "is" + , Space + , Str "another" + , Space + , Str "way" + , Space + , Str "to" + , Space + , Str "write" + , Space + , Str "it." + ] , Para - [ Str "Right", Space, Str "paren:", Space, Str ")" ] + [ 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 "Greater-than:", Space, Str ">" ] + [ Str "Left" , Space , Str "brace:" , Space , Str "{" ] , Para - [ Str "Hash:", Space, Str "#" ] + [ Str "Right" , Space , Str "brace:" , Space , Str "}" ] , Para - [ Str "Period:", Space, Str "." ] + [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ] , Para - [ Str "Bang:", Space, Str "!" ] + [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ] , Para - [ Str "Plus:", Space, Str "+" ] + [ Str "Left" , Space , Str "paren:" , Space , Str "(" ] , Para - [ Str "Minus:", Space, Str "-" ] + [ 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" ] + , Header 1 ( "" , [] , [] ) [ Str "Links" ] + , Header 2 ( "" , [] , [] ) [ Str "Explicit" ] , Para - [ Str "Just" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "URL" ] - ( "https://example.org/url", "" ) - , Str "." - ] + [ 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 "." - ] + [ Link + ( "" , [] , [] ) + [ Str "File" , Space , Str "URL" ] + ( "file://some/file/name/" , "" ) + , Str "." + ] , Para - [ Link - ( "", [], [] ) - [ Str "IRC", Space, Str "link" ] - ( "irc://example.org/pandoc", "" ) - , Str "." - ] + [ Link + ( "" , [] , [] ) + [ Str "IRC" , Space , Str "link" ] + ( "irc://example.org/pandoc" , "" ) + , Str "." + ] , Para - [ Link - ( "", [], [] ) - [ Str "Email", Space, Str "link" ] - ( "mailto:nobody@nowhere.invalid", "" ) - ] + [ 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 "[Not" - , Space - , Str "a" - , Space - , Str "link|not" - , Space - , Str "a" - , Space - , Str "URL]." - ] - , Header 2 - ( "", [], [] ) - [ Str "Reference" ] + [ Str "With" + , Space + , Link + ( "" , [] , [] ) + [ Str "embedded" , Space , Str "[brackets]" ] + ( "https://example.net/url/" , "" ) + , Str "." + ] , Para - [ Str "With" - , Space - , Link - ( "", [], [] ) - [ Str "embedded", Space, Str "[brackets]" ] - ( "https://example.net/url/", "" ) - , Str "." - ] + [ 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 - [ 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" ] + [ 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 - , Link - ( "", [], [] ) - [ Str "link" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "link" , Space , Str "with" , Space @@ -893,132 +850,98 @@ Pandoc , Space , Str "the" , Space - , Str "URL" + , Str "link" + , Space + , Str "text:" + , Space + , Link + ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" ) + , Str "." ] - ( "http://example.com/?foo=1&bar=2", "" ) - , Str "." - ] + , Header 2 ( "" , [] , [] ) [ Str "Autolinks" ] , 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", "" ) - ] + [ 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 "In" , Space , Str "a" , Space , Str "list?" ] + ] + , [ Para + [ Link + ( "" , [] , [] ) + [ Str "http://example.com/" ] + ( "http://example.com/" , "" ) + ] ] + , [ Para [ Str "It" , Space , Str "should." ] ] ] - , - [ 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:" + [ Str "An" + , Space + , Str "e-mail" + , Space + , Str "address:" , Space , Link - ( "", [], [] ) - [ Str "http://example.com/" ] - ( "http://example.com/", "" ) + ( "" , [] , [] ) + [ 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: \n" + ( "" , [ "java" ] , [] ) + "Autolink should not occur here: \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):" - ] + , Header 1 ( "" , [] , [] ) [ Str "Images" ] , Para - [ Image ( "", [], [] ) [] ( "lalune.jpg", "" ) ] + [ 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." - ] + [ 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 82ef0506e..2be447c0d 100644 --- a/test/latex-reader.native +++ b/test/latex-reader.native @@ -1,682 +1,558 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" + ] + ) ] - ) - , - ( "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 + [ RawBlock (Format "latex") "\\maketitle" + , Para [ Str "This" , Space , Str "is" , Space , Str "a" , Space - , Str "block" + , Str "set" , Space - , Str "quote." + , Str "of" , Space - , Str "It" + , Str "tests" , Space - , Str "is" + , Str "for" + , Space + , Str "pandoc." + , Space + , Str "Most" + , Space + , Str "of" + , Space + , Str "them" , Space - , Str "pretty" + , Str "are" , Space - , Str "short." + , Str "adapted" + , Space + , Str "from" + , SoftBreak + , Str "John" + , Space + , Str "Gruber\8217s" + , Space + , Str "markdown" + , Space + , Str "test" + , Space + , Str "suite." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , 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 "block" + , Str "paragraph" + , SoftBreak + , Str "looked" , Space - , Str "quote:" + , 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." ] - , 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:" ] + , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ] + , Header + 1 + ( "block-quotes" , [] , [] ) + [ Str "Block" , Space , Str "Quotes" ] + , Para [ Str "E-mail" , Space , Str "style:" ] , BlockQuote - [ Para - [ Str "Example:" ] - , CodeBlock - ( "", [], [] ) "sub status {\n print \"working\";\n}" - ] + [ 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 - [ OrderedList - ( 1, Decimal, Period ) - [ - [ Para [ Str "do", Space, Str "laundry" ] ] - , - [ Para - [ Str "take" + [ Para + [ Str "Code" , Space - , Str "out" + , Str "in" , Space - , Str "the" + , Str "a" + , Space + , Str "block" , Space - , Str "trash" + , 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:" - ] + [ 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 "Joe" , Space , Str "said:" ] + , BlockQuote + [ Para + [ Str "Don\8217t" + , Space + , Str "quote" + , Space + , Str "me." + ] + ] + ] , Para - [ Str "And:" ] + [ 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:" ] + ( "" , [] , [] ) + " 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + ( 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:" ] + ( 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:" ] + ( 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:" ] + ( 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." + ( 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 "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ] , BulletList - [ - [ Para - [ Str "Tab" ] - , BulletList - [ - [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ] + [ [ Para [ Str "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -688,16 +564,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -709,1811 +582,1710 @@ Pandoc , 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" ] + , 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" + ( 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 "with" + , Str "a" , Space - , Str "4" + , Str "continuation" ] - ] - , - [ Para - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, TwoParens ) - [ - [ Para [ Str "a", Space, Str "subsublist" ] ] - , - [ Para [ Str "a", Space, Str "subsublist" ] ] + , 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:" ] + , 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" - ] + ( 1 , UpperAlpha , Period ) + [ [ Para [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , Period ) + [ [ Para [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, OneParen ) - [ - [ Para - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , 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:" ] + ( 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:" ] + [ ( [ 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:" ] + [ ( [ 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:" - ] + [ ( [ 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 "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" ] + ) + , ( [ 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 - ( "", [], [] ) "
\n foo\n
" + ) + ] + , Header + 1 + ( "html-blocks" , [] , [] ) + [ Str "HTML" , Space , Str "Blocks" ] , Para - [ Str "As", Space, Str "should", Space, Str "this:" ] - , CodeBlock - ( "", [], [] ) "
foo
" - , 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 - ( "", [], [] ) "" - , 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 - ( "", [], [] ) "
" - , 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." - ] + [ Str "Simple" + , Space + , Str "block" + , Space + , Str "on" + , Space + , Str "one" + , Space + , Str "line:" ] - ] - , 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 "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 "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 - ( "", [], [] ) "" - , Str "." - ] - , Para - [ Strikeout + , Para [ Str "This" , Space , Str "is" , Space - , Emph - [ Str "strikeout" ] + , 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 ( "" , [] , [] ) "
\n foo\n
" + , Para + [ Str "As" , Space , Str "should" , Space , Str "this:" ] + , CodeBlock ( "" , [] , [] ) "
foo
" + , 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 ( "" , [] , [] ) "" + , 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 ( "" , [] , [] ) "
" + , 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 "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" ] + , Para + [ Str "This" , Space , Str "is" , Space - , Str "my" + , Strong [ Str "strong" ] + , Str "," , Space - , Str "name." + , Str "and" + , Space + , Str "so" + , Space + , Strong [ Str "is" , Space , Str "this" ] + , Str "." ] - ] - , 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 - } + , Para + [ Str "An" + , Space + , Emph + [ Link + ( "" , [] , [] ) + [ Str "emphasized" , Space , Str "link" ] + ( "/url" , "" ) ] - [ RawInline ( Format "latex" ) "\\cite[22-23]{smith.1899}" ] - ] + , Str "." ] - , - [ 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 + [ Strong + [ Emph + [ Str "This" + , Space + , Str "is" + , Space + , Str "strong" + , Space + , Str "and" + , Space + , Str "em." + ] + ] ] - , - [ 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 "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." ] - ] , 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 "." - ] + [ Strong + [ Emph + [ Str "This" + , Space + , Str "is" + , Space + , Str "strong" + , Space + , Str "and" + , Space + , Str "em." + ] + ] ] - , - [ 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 "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." ] - , - [ Para - [ Str "Escaped" - , Space - , Code - ( "", [], [] ) "$" - , Str ":" - , Space - , Str "$73" - , Space - , Emph - [ Str "this" - , Space - , Str "should" + , Para + [ Str "This" + , Space + , Str "is" + , Space + , Str "code:" + , Space + , Code ( "" , [] , [] ) ">" + , Str "," + , Space + , Code ( "" , [] , [] ) "$" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\$" + , Str "," + , SoftBreak + , Code ( "" , [] , [] ) "" + , Str "." + ] + , Para + [ Strikeout + [ Str "This" , Space - , Str "be" + , Str "is" , Space - , Str "emphasized" + , Emph [ Str "strikeout" ] + , Str "." ] - , 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" ] ] - ] + [ 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 "." ] - ] - ( 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 "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 "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" + , Para + [ Str "These" , Space - , Str "with" + , Str "should" , Space - , Str "an" + , Str "not" , Space - , Str "ampersand" + , Str "be" , Space - , Str "in" + , Str "superscripts" + , Space + , Str "or" + , Space + , Str "subscripts," + , Space + , Str "because" + , Space + , Str "of" , Space , Str "the" + , SoftBreak + , Str "unescaped" , 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" + , Str "spaces:" , Space - , Str "link" + , Str "a^b" , Space - , Str "in" + , Str "c^d," , 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/", "" ) - ] + , Str "a" + , Math InlineMath "\\sim" + , Str "b" + , SoftBreak + , Str "c" + , Math InlineMath "\\sim" + , Str "d." ] - , - [ 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:" + , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ] + , Header + 1 + ( "smart-quotes-ellipses-dashes" , [] , [] ) + [ Str "Smart" , 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 - ( "", [], [] ) "" - ] - , CodeBlock - ( "", [], [] ) "or here: " - , 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 - ( "", [], [] ) " { }" - , 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]." - ] + , Str "quotes," + , Space + , Str "ellipses," + , Space + , Str "dashes" ] - ] - , BlockQuote - [ Para - [ Str "Notes" + , Para + [ Quoted DoubleQuote [ Str "Hello," ] , Space - , Str "can" + , Str "said" , Space - , Str "go" + , Str "the" , Space - , Str "in" + , Str "spider." , Space - , Str "quotes." - , Note - [ Para [ Str "In", Space, Str "quote." ] ] + , Quoted + DoubleQuote + [ Str "\8198" + , Quoted SingleQuote [ Str "Shelob" ] + , Space + , Str "is" + , Space + , Str "my" + , Space + , Str "name." + ] ] - ] - , OrderedList - ( 1, Decimal, Period ) - [ + , 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 "And" - , Space - , Str "in" - , Space - , Str "list" - , Space - , Str "items." - , Note - [ Para [ Str "In", Space, Str "list." ] ] + [ 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 ( "" , [] , [] ) "" + ] + , CodeBlock + ( "" , [] , [] ) "or here: " + , 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 ( "" , [] , [] ) " { }" + , 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 "}" - ] + , 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 db2acd318..42a32697b 100644 --- a/test/lhs-test-markdown.native +++ b/test/lhs-test-markdown.native @@ -1,130 +1,124 @@ -[ Header 1 - ( "lhs-test", [], [] ) - [ Str "lhs", Space, Str "test" ] +[ 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:" - ] + [ 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)" + ( "" , [ "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)." - ] + [ 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" ] ] + ( "" , [] , [] ) "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 db2acd318..42a32697b 100644 --- a/test/lhs-test.native +++ b/test/lhs-test.native @@ -1,130 +1,124 @@ -[ Header 1 - ( "lhs-test", [], [] ) - [ Str "lhs", Space, Str "test" ] +[ 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:" - ] + [ 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)" + ( "" , [ "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)." - ] + [ 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" ] ] + ( "" , [] , [] ) "f *** g = first f >>> second g" +, Para [ Str "Block" , Space , Str "quote:" ] +, BlockQuote [ Para [ Str "foo" , Space , Str "bar" ] ] ] diff --git a/test/man-reader.native b/test/man-reader.native index f8341fb84..1fe99ae35 100644 --- a/test/man-reader.native +++ b/test/man-reader.native @@ -1,986 +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" ] - ) - ] + 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" ] + [ 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 "Paragraphs" ] + [ 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 "Here's" - , Space - , Str "a" - , Space - , Str "regular" - , Space - , Str "paragraph." - ] + [ Str "*" + , Space + , Str "*" + , Space + , Str "*" + , Space + , Str "*" + , Space + , Str "*" + ] + , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ] , 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." - ] + [ Str "Here's" + , Space + , Str "a" + , Space + , Str "regular" + , Space + , Str "paragraph." + ] , Para - [ Str "There" - , Space - , Str "should" - , Space - , Str "be" - , Space - , Str "a" - , Space - , Str "hard" - , Space - , Str "line" - , Space - , Str "break" - ] + [ 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 "here." ] + [ 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" ] + [ 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:" - ] + [ 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:" ] + [ 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:" ] + ( 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:" ] + ( "" , [] , [] ) + "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n" + , Para [ Str "And:" ] , CodeBlock - ( "", [], [] ) "\tthis code line is indented by one tab" + ( "" , [] , [] ) "\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:" ] + [ 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" ] + [ [ 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" ] + ( 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 "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here's", Space, Str "another:" ] + , 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" ] ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Para - [ Str "Same", Space, Str "thing:" ] + , 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" ] ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "", [], [] ) - [ Str "different", Space, Str "styles:" ] + , 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" - ] + ( 1 , UpperAlpha , Period ) + [ [ Para [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , Period ) + [ [ Para [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, OneParen ) - [ - [ Para - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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" ] + , 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 "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 "*" + ) + , ( [ 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 "(" ] + ) + ] + , Header + 1 + ( "" , [] , [] ) + [ Str "Special" , Space , Str "Characters" ] , Para - [ Str "Right", Space, Str "paren:", Space, Str ")" ] + [ 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 "Greater-than:", Space, Str ">" ] + [ Str "Left" , Space , Str "brace:" , Space , Str "{" ] , Para - [ Str "Hash:", Space, Str "#" ] + [ Str "Right" , Space , Str "brace:" , Space , Str "}" ] , Para - [ Str "Period:", Space, Str "." ] + [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ] , Para - [ Str "Bang:", Space, Str "!" ] + [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ] , Para - [ Str "Plus:", Space, Str "+" ] + [ Str "Left" , Space , Str "paren:" , Space , Str "(" ] , Para - [ Str "Minus:", Space, Str "-" ] - , Header 1 - ( "", [], [] ) - [ Str "Links" ] + [ 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 "." - ] + [ 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" ] + [ 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" + [ Strong [ Str "Me" , Space , Str "Myself" ] , Space - , Str "is" + , Str "and" + , Space + , Str "I." + , Space + , Emph + [ Str "The" + , Space + , Str "author" + , Space + , Str "is" + , Space + , Str "John" + , Space + , Str "Jones." + ] , Space - , Str "John" - , Space - , Str "Jones." - ] - , Space - , Str "It's" - , Space - , Str "The" - , Space - , Strong - [ Str "Author" ] - , Str "." - ] - , Header 1 - ( "", [], [] ) - [ Str "Tables" ] + , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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." - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Table" - , Space - , Str "without" - , Space - , Str "column" - , Space - , Str "headers:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] diff --git a/test/markdown-citations.native b/test/markdown-citations.native index bafdb0bbf..f37fd82fb 100644 --- a/test/markdown-citations.native +++ b/test/markdown-citations.native @@ -1,539 +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]" ] - ] +[ Header + 1 + ( "pandoc-with-citeproc-hs" , [] , [] ) + [ Str "Pandoc" + , Space + , Str "with" + , Space + , Str "citeproc-hs" ] - , - [ Para - [ Cite - [ Citation - { citationId = "nonexistent" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = AuthorInText - , citationNoteNum = 2 - , citationHash = 0 - } - ] - [ Str "@nonexistent" ] +, BulletList + [ [ Para + [ Cite + [ Citation + { citationId = "nonexistent" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 1 + , 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 = "nonexistent" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 2 + , citationHash = 0 + } + ] + [ Str "@nonexistent" ] + ] ] - ] - , - [ 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 = [] + , 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," - , 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 = [ 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 = [] - , 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 + [ 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 - [ Str "In" - , Space - , Str "a" - , Space - , Str "note." - , Note - [ Para + , [ 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]" - ] + [ 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 "and" + , Str "says" + , Space + , Str "blah." + ] + ] + , [ Para + [ Str "In" , Space , Str "a" , Space - , Str "citation" + , 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 "without" + , Str "citation" , Space - , Str "locators" + , Str "group" , 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]" ] + [ 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 "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" + , [ Para + [ Str "Another" + , Space + , Str "one" , 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]" - ] + [ 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 "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" + , [ Para + [ Str "And" + , Space + , Str "another" + , Space + , Str "one" + , Space + , Str "in" , Space , Str "a" , Space - , Str "citation" + , 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 "without" + , Str "with" , Space - , Str "author:" + , Str "a" , Space - , Cite - [ Citation - { citationId = "item1" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = SuppressAuthor - , citationNoteNum = 13 - , citationHash = 0 - } - ] - [ Str "[-@item1]" ] - , Str "," + , Str "suffix" , Space , Str "and" , Space - , Str "now" + , Str "locator" , Space - , Str "Doe" + , 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 "a" + , Str "suffix" , Space - , Str "locator" + , Str "only" , 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]" ] + [ 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 "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 "." + , [ 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 ( "references" , [] , [] ) [ Str "References" ] ] diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native index 99ab260ba..7c15f627a 100644 --- a/test/markdown-reader-more.native +++ b/test/markdown-reader-more.native @@ -1,501 +1,406 @@ 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" ] + 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" + ] + ) ] - ) - , - ( "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" - ] + [ 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" + [ 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" - ] + [ 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" ] + (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" - ] + (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" ) - ] + [ 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" ) - ] + [ 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" - ] + [ 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" ) "" - , RawInline - ( Format "html" ) "" - ] - , Header 3 - ( "my-header", [], [] ) - [ Str "my", Space, Str "header" ] - , Header 2 - ( "in-math", [], [] ) - [ Str "$", Space, Str "in", Space, Str "math" ] + , Header + 2 + ( "raw-html-before-header" , [] , [] ) + [ Str "Raw" + , Space + , Str "HTML" + , Space + , Str "before" + , Space + , Str "header" + ] , Para - [ Math InlineMath "\\$2 + \\$3" ] + [ RawInline (Format "html") "" + , RawInline (Format "html") "" + ] + , 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$}" ] + [ 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:" - ] + [ 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" ] + [ 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" ) "" + [ [ Plain + [ Str "one" + , SoftBreak + , RawInline (Format "html") "" + ] ] + , [ 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" ] - , - [ 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" ] ] + [ [ 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" ] + , 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 - [ 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", "" ) - ] + [ Link + ( "" , [ "uri" ] , [] ) + [ Str "http://\27979.com?\27979=\27979" ] + ( "http://\27979.com?\27979=\27979" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "foo" ] - ( "/bar/\27979?x=\27979", "title" ) - ] + [ 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" ] + [ 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." ] ] - ] + ( 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)." - ] + [ 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" ] + ( 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" ] + (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", "" ) ] + [ Link ( "" , [] , [] ) [ Str "Fum" ] ( "/fum" , "" ) ] , Para - [ Link ( "", [], [] ) [ Str "FUM" ] ( "/fum", "" ) ] + [ 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" ] + [ 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" ] ] ] + [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ] , OrderedList - ( 1, Decimal, Period ) - [ [ Plain [ Str "one" ] ], [ Plain [ Str "two" ] ] ] + ( 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" + ( 1 , LowerAlpha , Period ) + [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ] + , Header + 2 + ( "implicit-header-references" , [] , [] ) + [ Str "Implicit" , Space - , Str "block" + , Str "header" , Space - , Str "quote" + , Str "references" ] - ] - , Header 2 - ( "line-blocks", [], [] ) - [ Str "Line", Space, Str "blocks" ] - , LineBlock - [ - [ Str "But" - , Space - , Str "can" - , Space - , Str "a" - , Space - , Str "bee" - , Space - , Str "be" + , 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 "said" + , Str "link" , Space , Str "to" , Space - , Str "be" + , Link + ( "" , [] , [] ) + [ Str "My" , Space , Str "header" ] + ( "#my-header-1" , "" ) + , Str "." ] - , - [ Str "\160\160\160\160or" + , Para + [ Str "Another" , Space - , Str "not" + , Str "link" , Space , Str "to" , Space - , Str "be" - , Space - , Str "an" + , Link ( "" , [] , [] ) [ Str "it" ] ( "#my-header-1" , "" ) + , Str "." + ] + , Para + [ Str "Should" , Space - , Str "entire" + , Str "be" , Space - , Str "bee," + , Link + ( "" , [] , [] ) + [ Str "case" , Space , Str "insensitive" ] + ( "#my-header-1" , "" ) + , Str "." ] - , - [ Str "\160\160\160\160\160\160\160\160when" + , Para + [ Str "Link" , Space - , Str "half" + , Str "to" , Space - , Str "the" + , Link + ( "" , [] , [] ) + [ Str "Explicit" + , Space + , Str "header" + , Space + , Str "attributes" + ] + ( "#foobar" , "" ) + , Str "." + ] + , Para + [ Str "But" , Space - , Str "bee" + , Str "this" , Space , Str "is" , Space @@ -503,725 +408,937 @@ Pandoc , Space , Str "a" , Space - , Str "bee," - ] - , - [ Str "\160\160\160\160\160\160\160\160\160\160\160\160due" + , Str "link" , Space , Str "to" , Space - , Str "some" + , Link + ( "" , [] , [] ) + [ Str "My" , Space , Str "other" , Space , Str "header" ] + ( "/foo" , "" ) + , Str "," , Space - , Str "ancient" + , Str "since" , Space - , Str "injury?" + , Str "the" + , Space + , Str "reference" + , Space + , Str "is" + , Space + , Str "defined." ] - , [] - , - [ 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" ] ] - ] + , Header + 2 + ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] ) + [ Str "Explicit" + , Space + , Str "header" + , Space + , Str "attributes" ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "r1" - , Space - , Str "a" - , SoftBreak - , Str "r1" - , Space - , Str "bis" - ] + , BlockQuote + [ Header + 2 + ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] ) + [ Str "Header" + , Space + , Str "attributes" + , Space + , Str "inside" + , Space + , Str "block" + , Space + , Str "quote" ] - , 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" ] ] + ] + , 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" ] - , 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" ] ] + , [ 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" ] ] - ] - ( TableFoot ( "", [], [] ) [] ) - , Para - [ Str "Headless" ] + , 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 ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "r1" - , Space - , Str "a" - , SoftBreak - , Str "r1" - , Space - , Str "bis" - ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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" ] + (TableFoot ( "" , [] , [] ) []) + , Para [ Str "Headless" ] , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.2638888888888889 ) + , ( AlignDefault , ColWidth 0.16666666666666666 ) + , ( AlignDefault , ColWidth 0.18055555555555555 ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "r1" - , Space - , Str "a" - , SoftBreak - , Str "r1" - , Space - , Str "bis" - ] + (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" ] ] + ] ] - , 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" ] + (TableFoot ( "" , [] , [] ) []) + , Para [ 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" - ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Spaces" - , Space - , Str "at" - , Space - , Str "ends" - , Space - , Str "of" - , Space - , Str "lines" - ] + [ Str "Headless" + , Space + , Str "with" + , Space + , Str "alignments" + ] , 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" - ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Multiple" - , Space - , Str "blocks" - , Space - , Str "in" - , Space - , Str "a" - , Space - , Str "cell" - ] + [ 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 ) - [ 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" - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Empty", Space, Str "cells" ] + [ Str "Multiple" + , Space + , Str "blocks" + , Space + , Str "in" + , Space + , Str "a" + , Space + , Str "cell" + ] , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidth 5.555555555555555 e- 2 ) - , - ( AlignDefault, ColWidth 5.555555555555555 e- 2 ) - ] - ( TableHead ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - ] + ( "" , [] , [] ) + (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" ] - ] - ( 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" ] + [ Link + ( "" , [] , [] ) [ Str "link" ] ( "/\252rl" , "\246\246!" ) + ] , Para - [ Link ( "", [], [] ) [ Str "link" ] ( "/hi(there)", "" ) ] + [ Link + ( "" , [ "uri" ] , [] ) + [ Str "http://g\246\246gle.com" ] + ( "http://g\246\246gle.com" , "" ) + ] , Para - [ Link ( "", [], [] ) [ Str "link" ] ( "/hithere)", "" ) ] + [ Link + ( "" , [ "email" ] , [] ) + [ Str "me@ex\228mple.com" ] + ( "mailto:me@ex\228mple.com" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "linky" ] - ( "hi_(there_(nested))", "" ) - ] - , Header 2 - ( "backslashes-in-link-references", [], [] ) - [ Str "Backslashes" - , Space - , Str "in" - , Space - , Str "link" - , Space - , Str "references" - ] + [ Link + ( "" , [] , [] ) + [ Str "foobar" ] + ( "/\252rl" , "\246\246!" ) + ] + , Header + 2 + ( "parentheses-in-urls" , [] , [] ) + [ Str "Parentheses" + , Space + , Str "in" + , Space + , Str "URLs" + ] , Para - [ Link - ( "", [], [] ) - [ Str "*", RawInline ( Format "tex" ) "\\a" ] - ( "b", "" ) - ] - , Header 2 - ( "reference-link-fallbacks", [], [] ) - [ Str "Reference", Space, Str "link", Space, Str "fallbacks" ] + [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hi(there)" , "" ) + ] , 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" - ] + [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hithere)" , "" ) + ] , 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" ] + [ Link + ( "" , [] , [] ) + [ Str "linky" ] + ( "hi_(there_(nested))" , "" ) + ] + , Header + 2 + ( "backslashes-in-link-references" , [] , [] ) + [ Str "Backslashes" + , Space + , Str "in" + , Space + , Str "link" + , Space + , Str "references" + ] , Para - [ Str "bar" ] + [ Link + ( "" , [] , [] ) + [ Str "*" , RawInline (Format "tex") "\\a" ] + ( "b" , "" ) + ] + , Header + 2 + ( "reference-link-fallbacks" , [] , [] ) + [ Str "Reference" + , Space + , Str "link" + , Space + , Str "fallbacks" + ] , 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." - ] + [ 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" ] - ] - , Header 2 - ( "bracketed-spans", [], [] ) - [ Str "Bracketed", Space, Str "spans" ] , Para - [ Span - ( "id", [ "class" ], [ ( "key", "val" ) ] ) - [ Emph - [ Str "foo" ] + [ Str "MapReduce" , Space - , Str "bar" + , Str "is" , Space - , Str "baz" + , Str "a" + , Space + , Str "paradigm" + , Space + , Str "popularized" + , Space + , Str "by" , Space , Link - ( "", [], [] ) - [ Str "link" ] - ( "url", "" ) + ( "" , [] , [] ) + [ 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 0a1e1c29d..184809ea6 100644 --- a/test/mediawiki-reader.native +++ b/test/mediawiki-reader.native @@ -1,1444 +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" ] + 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 - [ Emph [ Str "emph" ], Space, Strong [ Str "strong" ] ] + [ Code ( "" , [] , [] ) "==\160not\160a\160header\160==" ] + , Header + 2 + ( "emph_and_strong" , [] , [] ) + [ Str "emph" , Space , Str "and" , Space , Str "strong" ] , Para - [ Strong - [ Emph [ Str "strong", Space, Str "and", Space, Str "emph" ] ] - ] + [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ] , Para - [ Strong - [ Emph [ Str "emph", Space, Str "inside" ], Space, Str "strong" ] - ] + [ Strong + [ Emph + [ Str "strong" , Space , Str "and" , Space , Str "emph" ] + ] + ] , Para - [ Strong - [ Str "strong", Space, Str "with", Space, Emph [ Str "emph" ] ] - ] + [ Strong + [ Emph [ Str "emph" , Space , Str "inside" ] + , Space + , Str "strong" + ] + ] , Para - [ Emph [ Strong - [ Str "strong", Space, Str "inside" ] - , Space - , Str "emph" + [ Str "strong" + , Space + , Str "with" + , Space + , Emph [ Str "emph" ] + ] ] - ] - , Header 2 - ( "horizontal_rule", [], [] ) - [ Str "horizontal", Space, Str "rule" ] , Para - [ Str "top" ] + [ 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" ] + , Para [ Str "bottom" ] , HorizontalRule - , Header 2 - ( "nowiki", [], [] ) - [ Str "nowiki" ] + , 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") "" + , Emph [ Str "there" ] + , RawInline (Format "html") "" + , Str "." + ] , Para - [ Str "''not", Space, Str "emph''" ] - , Header 2 - ( "strikeout", [], [] ) - [ Str "strikeout" ] + [ RawInline (Format "html") "" + , Str "inserted" + , RawInline (Format "html") "" + ] + , RawBlock (Format "html") "
" + , Para [ Str "hi" , Space , Emph [ Str "there" ] ] + , RawBlock (Format "html") "
" + , 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 - [ Strikeout - [ Str "This" + [ Code ( "" , [] , [] ) "*\8594*" , Space - , Str "is" + , Code ( "" , [] , [] ) "typed" , Space - , Emph - [ Str "struck", Space, Str "out" ] + , Code ( "" , [ "haskell" ] , [] ) ">>=" ] - ] - , 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" ) "" - , Emph - [ Str "there" ] - , RawInline - ( Format "html" ) "" - , Str "." - ] - , Para - [ RawInline - ( Format "html" ) "" - , Str "inserted" - , RawInline - ( Format "html" ) "" - ] - , RawBlock - ( Format "html" ) "
" - , Para - [ Str "hi", Space, Emph [ Str "there" ] ] - , RawBlock - ( Format "html" ) "
" - , 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" ] + , Header + 2 + ( "code_blocks" , [] , [] ) + [ Str "code" , Space , Str "blocks" ] , CodeBlock - ( "" - , [] - , [] - ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']" + ( "" , [] , [] ) + "case xs of\n (_:_) -> reverse xs\n [] -> ['*']" , CodeBlock - ( "" - , [ "haskell" ] - , [] - ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']" + ( "" , [ "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" ] + ( "" + , [ "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 "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 - [ Str "With", Space, Str "two", Space, Str "paragraphs." ] - ] , Para - [ Str "Nother", Space, Str "paragraph." ] - , Header 2 - ( "external_links", [], [] ) - [ Str "external", Space, Str "links" ] + [ Link + ( "" , [] , [] ) + [ Str "http://pandoc.org" ] + ( "http://pandoc.org" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Emph - [ Str "Google" ] - , Space - , Str "search" + [ Link + ( "" , [] , [] ) [ Str "1" ] ( "http://google.com" , "" ) , Space - , Str "engine" + , Link + ( "" , [] , [] ) [ Str "2" ] ( "http://yahoo.com" , "" ) ] - ( "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" ] + [ 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" ) ] + [ Link + ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "the", Space, Str "help", Space, Str "page" ] - ( "Help", "wikilink" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "the" , Space , Str "help" , Space , Str "page" ] + ( "Help" , "wikilink" ) + ] , Para - [ Link ( "", [], [] ) [ Str "Helpers" ] ( "Help", "wikilink" ) ] + [ Link + ( "" , [] , [] ) [ Str "Helpers" ] ( "Help" , "wikilink" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "Help" ] - ( "Help", "wikilink" ) - , Str "ers" - ] + [ Link + ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" ) + , Str "ers" + ] , Para - [ Link - ( "", [], [] ) - [ Str "Contents" ] - ( "Help:Contents", "wikilink" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "Contents" ] + ( "Help:Contents" , "wikilink" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "#My", Space, Str "anchor" ] - ( "#My_anchor", "wikilink" ) - ] + [ 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" ] + [ Link + ( "" , [] , [] ) + [ Str "and" , Space , Str "text" ] + ( "Page#with_anchor" , "wikilink" ) + ] + , Header 2 ( "images" , [] , [] ) [ Str "images" ] , Para - [ Image - ( "", [], [] ) - [ Str "caption" ] - ( "example.jpg", "fig:caption" ) - ] + [ 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", "" ) + [ 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" ) ] - ( "example.jpg", "fig:the caption with external link" ) - ] , Para - [ Image - ( "", [], [ ( "width", "30" ), ( "height", "40" ) ] ) - [ Str "caption" ] - ( "example.jpg", "fig:caption" ) - ] + [ Image + ( "" , [] , [ ( "width" , "30" ) , ( "height" , "40" ) ] ) + [ Str "caption" ] + ( "example.jpg" , "fig:caption" ) + ] , Para - [ Image - ( "", [], [ ( "width", "30" ) ] ) - [ Str "caption" ] - ( "example.jpg", "fig:caption" ) - ] + [ Image + ( "" , [] , [ ( "width" , "30" ) ] ) + [ Str "caption" ] + ( "example.jpg" , "fig:caption" ) + ] , Para - [ Image - ( "", [], [ ( "width", "30" ) ] ) - [ Str "caption" ] - ( "example.jpg", "fig:caption" ) - ] + [ Image + ( "" , [] , [ ( "width" , "30" ) ] ) + [ Str "caption" ] + ( "example.jpg" , "fig:caption" ) + ] , Para - [ Image - ( "", [], [] ) - [ Str "example.jpg" ] - ( "example.jpg", "fig:example.jpg" ) - ] + [ 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" ] + [ 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 "(*)." + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , BulletList - [ - [ Plain - [ Str "More" + , [ Plain + [ Str "with" , Space - , Str "asterisks" + , Str "an" , Space - , Str "gives" + , Str "asterisk" , Space - , Str "deeper" + , Str "(*)." ] - , BulletList - [ - [ Plain - [ Str "and", Space, Str "deeper", Space, Str "levels." ] + , 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." - ] + , [ 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." - ] + [ 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" ] ] - ] + [ [ 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 "(#)." + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "More" + , [ Plain + [ Str "with" , Space - , Str "number" + , Str "a" , Space - , Str "signs" + , Str "number" , Space - , Str "gives" + , Str "sign" , Space - , Str "deeper" + , Str "(#)." ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "and", Space, Str "deeper" ] ] - , - [ Plain [ Str "levels." ] ] + , 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 "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" ] ] ] - , - [ 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." + ( 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." - ] + [ 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" ] ] - ] + [ ( [ 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" ] ] + ] + ) ] - , - [ Plain - [ Str "three" ] - , DefinitionList - [ - ( - [ Str "three", Space, Str "item", Space, Str "one" ] - , - [ - [ Plain - [ Str "three", Space, Str "def", Space, Str "one" ] + , 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 "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 "three" ] + , DefinitionList + [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ] + , [ [ Plain + [ Str "three" + , Space + , Str "def" + , Space + , Str "one" + ] + ] ] - ] - , - [ Plain - [ Str "instead" - , LineBreak - , Str "of" - , Space - , Str "
" - ] - ] + ) ] - ) - ] - ] - , - [ 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 "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 "
" + ] + ] ] + ) + ] + ] + , [ 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" ] ] ] - ] - , - [ 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" ] ] + ( 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" + ] ] - , Para - [ Str "continuing" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "A1" + , [ Plain + [ Str "list" , Space , Str "item" , Space , Str "A2" ] ] ] - , - [ Plain [ Str "list", Space, Str "item", Space, Str "A2" ] ] - ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "abc" ] ] - , - [ Plain [ Str "def" ] ] - , - [ Plain [ Str "ghi" ] ] - ] + ( 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)." - , 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" - ] + ( 9 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "Amsterdam" ] ] + , [ Plain [ Str "Rotterdam" ] ] + , [ Plain [ Str "The" , Space , Str "Hague" ] ] + ] + , Header 2 ( "math" , [] , [] ) [ Str "math" ] , Para - [ Str "Not" ] - , RawBlock - ( Format "html" ) "
" + [ Str "Here" + , Space + , Str "is" + , Space + , Str "some" + , Space + , Math InlineMath "x=\\frac{y^\\pi}{z}" + , Str "." + ] , Para - [ Str "preformatted" ] + [ 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 - [ Str "Don't", Space, Str "need" ] + [ Code + ( "" , [] , [] ) "\160hell\160\160\160\160\160\160yeah" + ] , Para - [ Code ( "", [], [] ) "a\160blank\160line" ] + [ Code + ( "" , [] , [] ) + "Start\160with\160a\160space\160in\160the\160first\160column," + , LineBreak + , Code ( "" , [] , [] ) "(before\160the\160)." + , 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") "
" + , 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}}" + [ 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}}" + (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" ] + [ 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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption + Nothing + [ Plain [ Str "Food" , Space , Str "complements" ] ]) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption + Nothing + [ Plain [ Str "Food" , Space , Str "complements" ] ]) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] ] + (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 ( "", [], [] ) [] ) + (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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidth 0.25 ) + , ( AlignRight , ColWidth 0.125 ) + , ( AlignCenter , ColWidth 0.125 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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" ] ] ] - ) - [ 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" ] ] - ] + , 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 ( "", [], [] ) [] ) ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "Butter" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "Ice", Space, Str "cream" ] ] - ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Paragraph" - , Space - , Str "after" - , Space - , Str "the" - , Space - , Str "table." - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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" ] + (TableFoot ( "" , [] , [] ) []) + , Header 2 ( "notes" , [] , [] ) [ Str "notes" ] , Para - [ Str "My", Space, Str "note!", Note [ Plain [ Str "This." ] ] ] + [ 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", "" ) - ] + [ 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 bbb54e068..29623d1fc 100644 --- a/test/opml-reader.native +++ b/test/opml-reader.native @@ -1,232 +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" + 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" ] ) ] - ) - , - ( "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 "." - ] + [ 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 "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" ] + [ 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 a94c70abe..9f2d84a9f 100644 --- a/test/org-select-tags.native +++ b/test/org-select-tags.native @@ -1,99 +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" - ] + 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" - ] + ( 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 e678053d2..886a7e343 100644 --- a/test/pipe-tables.native +++ b/test/pipe-tables.native @@ -1,850 +1,927 @@ [ Para - [ Str "Simplest" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Simple" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + [ Str "Headerless" + , Space + , Str "table" + , Space + , Str "without" + , Space + , Str "caption:" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "One-column:" ] + [ Str "Table" , Space , Str "without" , Space , Str "sides:" ] , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ ( AlignDefault, ColWidthDefault ) ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "hi" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "lo" ] ] - ] + (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 "Header-less", Space, Str "one-column:" ] + (TableFoot ( "" , [] , [] ) []) +, Para [ Str "One-column:" ] , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ ( AlignCenter, ColWidthDefault ) ] - ( TableHead ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "hi" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Indented", Space, Str "left", Space, Str "column:" ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Long" - , Space - , Str "pipe" - , Space - , Str "table" - , Space - , Str "with" - , Space - , Str "relative" - , Space - , Str "widths:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.15517241379310345 ) + , ( AlignDefault , ColWidth 0.1724137931034483 ) + , ( AlignDefault , ColWidth 0.6724137931034483 ) ] - ) - [ 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" - ] + (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" ] ] + ] ] - , 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 ( "", [], [] ) [] ) + (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" ] ] - ] + [ Str "Pipe" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "no" + , Space + , Str "body:" ] - ) - [ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ] - ( TableFoot ( "", [], [] ) [] ) +, 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):" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] diff --git a/test/rst-reader.native b/test/rst-reader.native index 7a5c3d812..d3e7f6caa 100644 --- a/test/rst-reader.native +++ b/test/rst-reader.native @@ -1,267 +1,181 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" ] + ) ] - ) - , - ( "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." - ] + [ Header + 1 + ( "level-one-header" , [] , [] ) + [ Str "Level" , Space , Str "one" , Space , Str "header" ] , 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" + , 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 "quote." + , Str "are" + , Space + , Str "adapted" + , Space + , Str "from" , SoftBreak - , Str "It" + , Str "John" , Space - , Str "is" + , Str "Gruber\8217s" + , Space + , Str "markdown" , Space - , Str "pretty" + , Str "test" , Space - , Str "short." + , Str "suite." ] - ] - , Para - [ Str "Here\8217s" - , Space - , Str "another," - , Space - , Str "differently" - , Space - , Str "indented:" - ] - , BlockQuote - [ Para - [ Str "This" + , 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 "is" + , 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 "block" + , Str "regular" + , Space + , Str "paragraph." + ] + , Para + [ Str "In" + , Space + , Str "Markdown" + , Space + , Str "1.0.0" + , Space + , Str "and" , Space - , Str "quote." + , Str "earlier." + , Space + , Str "Version" , SoftBreak - , Str "It\8217s" + , Str "8." , Space - , Str "indented" + , Str "This" , Space - , Str "with" + , Str "line" + , Space + , Str "turns" + , Space + , Str "into" , Space , Str "a" , Space - , Str "tab." - ] - , Para - [ Str "Code" + , 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 "block" + , Str "paragraph" , Space - , Str "quote:" + , Str "looked" + , Space + , Str "like" + , Space + , Str "a" + , SoftBreak + , Str "list" + , Space + , Str "item." ] - , CodeBlock - ( "", [], [] ) "sub status {\n print \"working\";\n}" - , Para - [ Str "List" + , Para + [ Str "Here\8217s" , Space - , Str "in" + , 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 @@ -269,755 +183,564 @@ Pandoc , 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" ] + , 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 "Code:" ] + [ 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}" + ( "" , [] , [] ) + "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}" , CodeBlock - ( "", [], [] ) "this code block is indented by one tab" - , Para - [ Str "And:" ] + ( "" , [] , [] ) "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:" ] + ( "" , [] , [] ) + "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" + ( "" , [ "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." - ] + [ 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" + ( "" , [ "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" + ( "" , [ "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:" ] + ( "" , [ "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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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 "One" ] ] - , - [ Plain [ Str "Two" ] ] - , - [ Plain [ Str "Three" ] ] - ] - , Para - [ Str "Multiple", Space, Str "paragraphs:" ] + ( 1 , Decimal , Period ) + [ [ Plain [ Str "First" ] ] + , [ Plain [ Str "Second" ] ] + , [ Plain [ Str "Third" ] ] + ] + , Para [ Str "and:" ] , 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." - ] + ( 1 , Decimal , Period ) + [ [ Plain [ Str "One" ] ] + , [ Plain [ Str "Two" ] ] + , [ Plain [ Str "Three" ] ] ] - , - [ 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 "Loose" , Space , Str "using" , Space , Str "tabs:" ] + , OrderedList + ( 1 , Decimal , Period ) + [ [ Plain [ Str "First" ] ] + , [ Plain [ Str "Second" ] ] + , [ Plain [ Str "Third" ] ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ] , OrderedList - ( 1, Decimal, Period ) - [ - [ Para [ Str "First" ] ] - , - [ Para - [ Str "Second:" ] - , BlockQuote - [ BulletList - [ - [ Plain [ Str "Fee" ] ] - , - [ Plain [ Str "Fie" ] ] - , - [ Plain [ Str "Foe" ] ] - ] - ] + ( 1 , Decimal , Period ) + [ [ Plain [ Str "One" ] ] + , [ Plain [ Str "Two" ] ] + , [ Plain [ Str "Three" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "fancy-list-markers", [], [] ) - [ Str "Fancy", Space, Str "list", Space, Str "markers" ] + , Para [ Str "Multiple" , Space , Str "paragraphs:" ] , 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" + ( 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 "with" + , Str "The" , Space - , Str "roman" + , Str "quick" , Space - , Str "numerals," + , Str "brown" , Space - , Str "starting" + , Str "fox" , Space - , Str "with" + , Str "jumped" , Space - , Str "4" + , Str "over" + , Space + , Str "the" + , Space + , Str "lazy" + , Space + , Str "dog\8217s" + , SoftBreak + , Str "back." ] - ] - , - [ Plain - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, TwoParens ) - [ - [ Plain [ Str "a", Space, Str "subsublist" ] ] - , - [ Plain [ Str "a", Space, Str "subsublist" ] ] + ] + , [ 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 "Nesting:" ] + , Para [ Str "Here\8217s" , Space , Str "another:" ] , 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" + ( 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 - ( 3, LowerAlpha, OneParen ) - [ - [ Plain - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , Para [ Str "Autonumbering:" ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "Autonumber." ] ] - , - [ Plain - [ Str "More." ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ [ Plain [ Str "Nested." ] ] ] + ( 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:" - ] + [ 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" ] + ( 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 "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 "term" + , Space + , Str "with" + , Space + , Emph [ Str "emphasis" ] ] + , [ [ Para [ Str "Definition" , Space , Str "3." ] ] ] ) - , - ( [ Str "phone" ], [ [ Para [ Str "123-4567" ] ] ] ) ] - ] + , 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 "address" ] + , [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ] ] - ] - ) - , - ( [ 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" ) "
foo
" + ) + , ( [ 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 "Now,", Space, Str "nested:" ] + [ Str "Simple" + , Space + , Str "block" + , Space + , Str "on" + , Space + , Str "one" + , Space + , Str "line:" + ] + , RawBlock (Format "html") "
foo
" + , Para [ Str "Now," , Space , Str "nested:" ] , RawBlock - ( Format "html" ) "
\n
\n
\n foo\n
\n
\n
" - , Header 1 - ( "latex-block", [], [] ) - [ Str "LaTeX", Space, Str "Block" ] + (Format "html") + "
\n
\n
\n foo\n
\n
\n
" + , 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 - ( "", [], [] ) "" - , 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." ] + (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 "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 "." - ] + [ Str "This" + , Space + , Str "is" + , Space + , Emph [ Str "emphasized" ] + , Str "." + , Space + , Str "This" + , Space + , Str "is" + , Space + , Strong [ Str "strong" ] + , 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/", "" ) - ] + [ Str "This" + , Space + , Str "is" + , Space + , Str "code:" + , Space + , Code ( "" , [] , [] ) ">" + , Str "," + , Space + , Code ( "" , [] , [] ) "$" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\$" + , Str "," + , Space + , Code ( "" , [] , [] ) "" + , Str "." + ] , 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." - ] + [ 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 "Another" - , Space - , Link - ( "", [], [] ) - [ Str "style" + [ Str "Here" , Space - , Str "of" + , Str "is" , Space - , Str "reference" + , Str "some" , Space - , Str "link" + , 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" ] ] ] - ( "/url1/", "" ) - , Str "." - ] , Para - [ Str "Here\8217s" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "link" + [ Str "AT&T" , Space - , Str "with" + , Str "has" , Space , Str "an" , Space @@ -1025,850 +748,978 @@ Pandoc , Space , Str "in" , Space - , Str "the" + , Str "their" , Space - , Str "URL" + , 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 "." ] - ( "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." - ] + [ Str "Explicit" + , Space + , Str "with" + , Space + , Str "no" + , Space + , Str "label:" + , Space + , Link ( "" , [] , [] ) [ Str "foo" ] ( "foo" , "" ) + , Str "." + ] , Para - [ Str "And" - , Space - , Str "an" - , Space - , Link - ( "", [], [] ) - [ Image ( "", [], [] ) [ Str "A movie" ] ( "movie.jpg", "" ) ] - ( "/url", "" ) - , Str "." - ] - , Header 1 - ( "comments", [], [] ) - [ Str "Comments" ] + [ 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 "First", Space, Str "paragraph" ] + [ 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, Str "paragraph" ] + [ Str "Another" + , Space + , Link + ( "" , [] , [] ) + [ Str "style" + , Space + , Str "of" + , Space + , Str "reference" + , Space + , Str "link" + ] + ( "/url1/" , "" ) + , Str "." + ] , Para - [ Str "A", Space, Str "third", Space, Str "paragraph" ] - , Header 1 - ( "line-blocks", [], [] ) - [ Str "Line", Space, Str "blocks" ] - , LineBlock - [ - [ Str "But" + [ Str "Here\8217s" , Space - , Str "can" + , 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 "bee" + , Str "link" , Space - , Str "be" + , Str "with" , Space - , Str "said" + , Str "an" , Space - , Str "to" + , Str "amersand" , Space - , Str "be" - ] - , - [ Str "\160\160\160\160or" + , Str "in" , Space - , Str "not" + , Str "the" , Space - , Str "to" + , Str "link" , Space - , Str "be" + , Str "text:" , Space - , Str "an" + , 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 "entire" + , Str "and" , Space - , Str "bee," + , Link + ( "" , [] , [] ) + [ Str "nobody@nowhere.net" ] + ( "mailto:nobody@nowhere.net" , "" ) + , Str "." ] - , - [ Str "\160\160\160\160\160\160\160\160when" + , Para [ Str "But" , Space , Str "not" , Space , Str "here:" ] + , CodeBlock ( "" , [] , [] ) "http://example.com/" + , Header 1 ( "images" , [] , [] ) [ Str "Images" ] + , Para + [ Str "From" , Space - , Str "half" + , Quoted + DoubleQuote + [ Str "Voyage" + , Space + , Str "dans" + , Space + , Str "la" + , Space + , Str "Lune" + ] , Space - , Str "the" + , Str "by" , Space - , Str "bee" + , Str "Georges" , Space - , Str "is" + , Str "Melies" , Space - , Str "not" + , 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 "bee," - ] - , - [ Str "\160\160\160\160\160\160\160\160\160\160\160\160due" + , Str "movie" , Space - , Str "to" + , Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" ) , Space - , Str "some" + , Str "icon." + ] + , Para + [ Str "And" , Space - , Str "ancient" + , Str "an" , Space - , Str "injury?" + , Link + ( "" , [] , [] ) + [ Image ( "" , [] , [] ) [ Str "A movie" ] ( "movie.jpg" , "" ) ] + ( "/url" , "" ) + , Str "." ] - , [] - , - [ 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" ] ] + , 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" ] - ] - ) - [ 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" ] ] + , [ 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," ] - , 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" ] ] + , [ 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" ] ] - ] - ( TableFoot ( "", [], [] ) [] ) - , Para - [ Str "Headless" ] + , 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 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) - , Header 1 - ( "grid-tables", [], [] ) - [ Str "Grid", Space, Str "Tables" ] + (TableFoot ( "" , [] , [] ) []) + , Para [ Str "Headless" ] , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "r1", Space, Str "a", SoftBreak, Str "r1", Space, Str "bis" ] + (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" ] ] + ] ] - , 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" ] + (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 ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "r1", Space, Str "a", SoftBreak, Str "r1", Space, Str "bis" ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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" - ] + (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" ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Multiple" - , Space - , Str "blocks" - , Space - , Str "in" - , Space - , Str "a" - , Space - , Str "cell" - ] + [ 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 ) - [ 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" - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) - , Header 1 - ( "footnotes", [], [] ) - [ Str "Footnotes" ] + (TableFoot ( "" , [] , [] ) []) , Para - [ Note - [ Para - [ Str "Note", Space, Str "with", Space, Str "one", Space, Str "line." ] + [ Str "Multiple" + , Space + , Str "blocks" + , Space + , Str "in" + , Space + , Str "a" + , Space + , Str "cell" ] - ] - , Para - [ Note - [ Para - [ Str "Note" - , Space - , Str "with" - , SoftBreak - , Str "continuation" - , Space - , Str "line." - ] + , Table + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.2375 ) + , ( AlignDefault , ColWidth 0.15 ) + , ( AlignDefault , ColWidth 0.1625 ) ] - ] - , Para - [ Note - [ Para - [ Str "Note", Space, Str "with" ] - , Para - [ Str "continuation", Space, Str "block." ] + (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" - , SoftBreak - , Str "continuation" - , Space - , Str "line" - ] - , Para - [ Str "and", Space, Str "a", Space, Str "second", Space, Str "para." ] + [ Note + [ Para + [ Str "Note" + , Space + , Str "with" + , Space + , Str "one" + , Space + , Str "line." + ] + ] ] - ] - , 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" ] + [ Note + [ Para + [ Str "Note" + , Space + , Str "with" + , SoftBreak + , Str "continuation" + , Space + , Str "line." + ] + ] + ] , Para - [ Math DisplayMath "E = mc^2" ] + [ Note + [ Para [ Str "Note" , Space , Str "with" ] + , Para [ Str "continuation" , Space , Str "block." ] + ] + ] , Para - [ Math DisplayMath "E = mc^2", Math DisplayMath "\\alpha = \\beta" ] + [ 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 - [ Math DisplayMath "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}" - , Math DisplayMath "F &= \\gamma \\alpha^2" - ] + [ 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 - [ Str "All", Space, Str "done." ] - , Header 1 - ( "default-role", [], [] ) - [ Str "Default-Role" ] + [ Math DisplayMath "E = mc^2" + , Math DisplayMath "\\alpha = \\beta" + ] , 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" - ] + [ 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 "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 "." - ] + [ 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 - [ Math DisplayMath "\\alpha = beta", Math DisplayMath "E = mc^2" ] + [ 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 - [ Str "Some" - , Space - , Superscript - [ Str "of" ] - , Space - , Str "these" - , Space - , Superscript - [ Str "words" ] - , Space - , Str "are" - , Space - , Str "in" - , Space - , Superscript - [ Str "superscript" ] - , Str "." - ] + [ Math DisplayMath "\\alpha = beta" , Math DisplayMath "E = mc^2" ] , Para - [ Str "Reset" - , Space - , Str "default-role" - , Space - , Str "to" - , Space - , Str "the" - , Space - , Str "default" - , Space - , Str "default." - ] + [ 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 "And" - , Space - , Str "now" - , Space - , Span - ( "", [ "title-ref" ], [] ) - [ Str "some-invalid-string-3231231" ] - , Space - , Str "is" - , Space - , Str "nonsense." - ] + [ 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 - , Str "with" - , Space - , RawInline - ( Format "html" ) "inline HTML" - , Str "." - ] + [ 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 "some" - , Space - , Str "inline" - , Space - , Str "haskell" - , Space - , Code - ( "", [ "haskell" ], [] ) "fmap id [1,2..10]" - , Str "." - ] + [ Str "And" + , Space + , Str "now" + , Space + , Str "with" + , Space + , RawInline + (Format "html") "inline HTML" + , 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 "." - ] + [ Str "And" + , Space + , Str "some" + , Space + , Str "inline" + , Space + , Str "haskell" + , Space + , Code ( "" , [ "haskell" ] , [] ) "fmap id [1,2..10]" + , 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" ] + [ 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 "2*2", Space, Str "=", Space, Str "4*1" ] + [ 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 index 67eb654fe..115620aff 100644 --- a/test/rtf/accent.native +++ b/test/rtf/accent.native @@ -1,18 +1,18 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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" - ] + [ 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/bookmark.native b/test/rtf/bookmark.native index 765bf29d0..8f6df567c 100644 --- a/test/rtf/bookmark.native +++ b/test/rtf/bookmark.native @@ -1,11 +1,11 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Para - [ Span ( "bookmark_1", [], [] ) [ Str "Bookmark_1" ] ] + [ Span ( "bookmark_1" , [] , [] ) [ Str "Bookmark_1" ] ] , Para - [ Link - ( "", [], [] ) - [ Str "click", Space, Str "me" ] - ( "#bookmark_1", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "click" , Space , Str "me" ] + ( "#bookmark_1" , "" ) + ] ] diff --git a/test/rtf/footnote.native b/test/rtf/footnote.native index cfea5f4a1..70f8453a9 100644 --- a/test/rtf/footnote.native +++ b/test/rtf/footnote.native @@ -1,130 +1,130 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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." - ] + [ 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." ] - , 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/formatting.native b/test/rtf/formatting.native index 6e5001de3..7035ccb91 100644 --- a/test/rtf/formatting.native +++ b/test/rtf/formatting.native @@ -1,51 +1,45 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "operator" - , MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - ) - ] + 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" ] ] + [ 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/heading.native b/test/rtf/heading.native index 27d5d455e..5a076424b 100644 --- a/test/rtf/heading.native +++ b/test/rtf/heading.native @@ -1,14 +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" ] + 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/image.native b/test/rtf/image.native index 551a0f95c..1efe9d4aa 100644 --- a/test/rtf/image.native +++ b/test/rtf/image.native @@ -1,9 +1,12 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Para - [ Image - ( "", [], [ ( "width", "2.0in" ), ( "height", "2.0in" ) ] ) - [ Str "image" ] - ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg", "" ) - ] + [ Image + ( "" + , [] + , [ ( "width" , "2.0in" ) , ( "height" , "2.0in" ) ] + ) + [ Str "image" ] + ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg" , "" ) + ] ] diff --git a/test/rtf/link.native b/test/rtf/link.native index 9902760e1..63a0d19ff 100644 --- a/test/rtf/link.native +++ b/test/rtf/link.native @@ -1,5 +1,9 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Para - [ Link ( "", [], [] ) [ Str "pandoc" ] ( "http://pandoc.org", "" ) ] + [ Link + ( "" , [] , [] ) + [ Str "pandoc" ] + ( "http://pandoc.org" , "" ) + ] ] diff --git a/test/rtf/list_complex.native b/test/rtf/list_complex.native index 73e2e14f8..9dfd17755 100644 --- a/test/rtf/list_complex.native +++ b/test/rtf/list_complex.native @@ -1,84 +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" ] - ) - ] + 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" ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "One" ] ] + , [ Para [ Str "Two" ] + , OrderedList + ( 1 , LowerAlpha , Period ) + [ [ Para [ Str "Three" ] ] + , [ Para [ Str "Four" ] , 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" ] ] + ( 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" ] + [ 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" ] ] - ] + ( 7 , Decimal , Period ) + [ [ Para [ Str "Seven" , Space , Str "Start" ] ] + , [ Para [ Str "Eight" , Space , Str "Continue" ] ] + ] ] diff --git a/test/rtf/list_simple.native b/test/rtf/list_simple.native index dc5b65b97..10d9dede2 100644 --- a/test/rtf/list_simple.native +++ b/test/rtf/list_simple.native @@ -1,11 +1,10 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ BulletList - [ - [ Para [ Str "one" ] ] - , - [ Para [ Str "two" ], BulletList [ [ Para [ Str "sub" ] ] ] ] - ] - , BulletList - [ [ Para [ Str "new", Space, Str "list" ] ] ] + [ [ Para [ Str "one" ] ] + , [ Para [ Str "two" ] + , BulletList [ [ Para [ Str "sub" ] ] ] + ] + ] + , BulletList [ [ Para [ Str "new" , Space , Str "list" ] ] ] ] diff --git a/test/rtf/table_error_codes.native b/test/rtf/table_error_codes.native index 35d774065..33c143933 100644 --- a/test/rtf/table_error_codes.native +++ b/test/rtf/table_error_codes.native @@ -1,369 +1,422 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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_simple.native b/test/rtf/table_simple.native index 05e736829..dce03cf25 100644 --- a/test/rtf/table_simple.native +++ b/test/rtf/table_simple.native @@ -1,68 +1,73 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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/unicode.native b/test/rtf/unicode.native index 4e2340b84..ed21b4f47 100644 --- a/test/rtf/unicode.native +++ b/test/rtf/unicode.native @@ -1,3 +1,3 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + Meta { unMeta = fromList [] } [ Para [ Str "\8220hi\8221\8216hi\8217\61623\945\228" ] ] diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native index dce2c9406..ba3fb211a 100644 --- a/test/tables-rstsubset.native +++ b/test/tables-rstsubset.native @@ -1,913 +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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Simple" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "indented" + , Space + , Str "two" + , Space + , Str "spaces:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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." - ] + [ Str "Multiline" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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." - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Multiline" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 0.15 ) + , ( AlignDefault , ColWidth 0.1375 ) + , ( AlignDefault , ColWidth 0.1625 ) + , ( AlignDefault , ColWidth 0.35 ) ] - ) - [ 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." - ] + (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." + ] + ] + ] ] - ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Table" - , Space - , Str "without" - , Space - , Str "column" - , Space - , Str "headers:" - ] + [ 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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Multiline" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "column" - , Space - , Str "headers:" - ] + [ 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." - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] diff --git a/test/tables.native b/test/tables.native index c3a2537cb..de46ce368 100644 --- a/test/tables.native +++ b/test/tables.native @@ -1,891 +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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Simple" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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." - ] + [ Str "Simple" + , Space + , Str "table" + , Space + , Str "indented" + , Space + , Str "two" + , Space + , Str "spaces:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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." - ] + [ Str "Multiline" + , Space + , Str "table" + , Space + , Str "with" + , Space + , Str "caption:" ] - ) - [ - ( 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" ] ] - ] +, 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 ) ] - ) - [ 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." - ] + (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." + ] + ] + ] ] - ] - , 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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Multiline" - , Space - , Str "table" - , Space - , Str "without" - , Space - , Str "caption:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidth 0.15 ) + , ( AlignLeft , ColWidth 0.1375 ) + , ( AlignRight , ColWidth 0.1625 ) + , ( AlignLeft , ColWidth 0.35 ) ] - ) - [ 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." - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "Table" - , Space - , Str "without" - , Space - , Str "column" - , Space - , Str "headers:" - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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:" - ] + [ 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." - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] diff --git a/test/testsuite.native b/test/testsuite.native index d6b91ca69..5f9be452f 100644 --- a/test/testsuite.native +++ b/test/testsuite.native @@ -1,632 +1,509 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" + ] + ) ] - ) - , - ( "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" - ] + [ 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 - ( "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." - ] + , 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 - ( "block-quotes", [], [] ) - [ Str "Block", Space, Str "Quotes" ] + , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ] , Para - [ Str "E-mail", Space, Str "style:" ] - , BlockQuote - [ Para - [ Str "This" + [ Str "Here\8217s" , Space - , Str "is" + , 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 "block" + , Str "list" , Space - , Str "quote." + , Str "item." , SoftBreak - , Str "It" + , Str "Because" , Space - , Str "is" + , 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 "pretty" + , 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 "short." + , 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" + [ 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 "in" + , 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." ] - , 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:" ] + [ 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:" ] + ( "" , [] , [] ) + "---- (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: \\$ \\\\ \\> \\[ \\{" + ( "" , [] , [] ) + " 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:" ] + , 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + ( 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:" ] + ( 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:" ] + ( 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:" ] + ( 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." + ( 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 "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ] , BulletList - [ - [ Plain - [ Str "Tab" ] - , BulletList - [ - [ Plain - [ Str "Tab" ] - , BulletList - [ [ Plain [ Str "Tab" ] ] ] - ] + [ [ Plain [ Str "Tab" ] + , BulletList + [ [ Plain [ Str "Tab" ] + , BulletList [ [ Plain [ Str "Tab" ] ] ] + ] + ] ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Plain [ Str "Fee" ] ] + , [ Plain [ Str "Fie" ] ] + , [ Plain [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -638,16 +515,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -659,1833 +533,1702 @@ Pandoc , 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" ] + , 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" + ( 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 "with" + , Str "a" , Space - , Str "4" + , Str "continuation" ] - ] - , - [ Plain - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, TwoParens ) - [ - [ Plain [ Str "a", Space, Str "subsublist" ] ] - , - [ Plain [ Str "a", Space, Str "subsublist" ] ] + , 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:" ] + , 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" - ] + ( 1 , UpperAlpha , Period ) + [ [ Plain [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , Period ) + [ [ Plain [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, OneParen ) - [ - [ Plain - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , 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" ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "Autonumber." ] ] + , [ Plain [ Str "More." ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "Nested." ] ] ] + ] + ] , 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:" - ] + [ 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 - [ - ( - [ 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" + [ ( [ 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" ] + ) + , ( [ 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:" ] + [ 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" ] ] - ] - ) - ] + [ ( [ 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:" ] + [ 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:" - ] + [ ( [ 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" ] ] ] + [ ( [ Str "apple" ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] ] + , [ Para [ Str "computer" ] ] ] - ] - ) - ] - , 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:" - ] + ) + , ( [ 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" ) "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "
" + ( "" , [] , [] ) + [ 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") "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "" - , RawBlock - ( Format "html" ) "" + , RawBlock (Format "html") "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "
" , Plain - [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ] - , RawBlock - ( Format "html" ) "" + [ Str "This" + , Space + , Str "is" + , Space + , Emph [ Str "emphasized" ] + ] + , RawBlock (Format "html") "" , Plain - [ Str "And" - , Space - , Str "this" - , Space - , Str "is" - , Space - , Strong - [ Str "strong" ] - ] - , RawBlock - ( Format "html" ) "
" + [ Str "And" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Strong [ Str "strong" ] + ] + , RawBlock (Format "html") "
" , RawBlock - ( Format "html" ) "" - , 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 - ( "", [], [] ) "
\n foo\n
" + (Format "html") + "" , Para - [ Str "As", Space, Str "should", Space, Str "this:" ] - , CodeBlock - ( "", [], [] ) "
foo
" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "simple" + , Space + , Str "block:" + ] + , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] , Para - [ Str "Now,", Space, Str "nested:" ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "code" + , Space + , Str "block," + , Space + , Str "though:" + ] + , CodeBlock ( "" , [] , [] ) "
\n foo\n
" + , Para + [ Str "As" , Space , Str "should" , Space , Str "this:" ] + , CodeBlock ( "" , [] , [] ) "
foo
" + , 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" ) "" + ( "" , [] , [] ) + [ Div + ( "" , [] , [] ) + [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ] + ] , Para - [ Str "Multiline:" ] - , RawBlock - ( Format "html" ) "" + [ Str "This" + , Space + , Str "should" + , Space + , Str "just" + , Space + , Str "be" + , Space + , Str "an" + , Space + , Str "HTML" + , Space + , Str "comment:" + ] + , RawBlock (Format "html") "" + , Para [ Str "Multiline:" ] + , RawBlock (Format "html") "" , RawBlock - ( Format "html" ) "" + (Format "html") "" + , Para [ Str "Code" , Space , Str "block:" ] + , CodeBlock ( "" , [] , [] ) "" , Para - [ Str "Code", Space, Str "block:" ] - , CodeBlock - ( "", [], [] ) "" - , 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" ) "" + [ 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") "" + , Para [ Str "Code:" ] + , CodeBlock ( "" , [] , [] ) "
" + , Para [ Str "Hr\8217s:" ] + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , HorizontalRule + , Header + 1 + ( "inline-markup" , [] , [] ) + [ Str "Inline" , Space , Str "Markup" ] , Para - [ Str "Code:" ] - , CodeBlock - ( "", [], [] ) "
" + [ 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 "Hr\8217s:" ] - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" + [ 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 ( "" , [] , [] ) "" + , 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 "html" ) "
" + (Format "tex") + "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}" , 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 + , 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 "emphasized", Space, Str "link" ] - ( "/url", "" ) - ] - , Str "." - ] - , Para - [ Strong - [ Emph - [ Str "This" - , Space - , Str "is" - , Space - , Str "strong" - , Space - , Str "and" - , Space - , Str "em." - ] + ( "" , [] , [] ) + [ Str "with_underscore" ] + ( "/url/with_underscore" , "" ) ] - ] - , 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 + [ Link + ( "" , [] , [] ) + [ Str "Email" , Space , Str "link" ] + ( "mailto:nobody@nowhere.net" , "" ) ] - ] - , 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 - ( "", [], [] ) "" - , Str "." - ] - , Para - [ Strikeout - [ Str "This" + , Para + [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" ) + , Str "." + ] + , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ] + , Para + [ Str "Foo" , Space - , Str "is" + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] + , Para + [ Str "With" , Space - , Emph - [ Str "strikeout" ] + , Link + ( "" , [] , [] ) + [ Str "embedded" , Space , Str "[brackets]" ] + ( "/url/" , "" ) , 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" ] + , Para + [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" ) , Space - , Str "is" + , Str "by" , Space - , Str "my" + , Str "itself" , Space - , Str "name." + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." ] - ] - , 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." - ] + , Para + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" ) + , Str "." ] - , 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}" - ] + , Para + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" ) + , Str "." ] - , - [ 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 "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" ) + , 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 "." - ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "[not][]" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." ] - , - [ 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.)" - ] + , CodeBlock ( "" , [] , [] ) "[not]: /url" + , Para + [ Str "Foo" + , Space + , Link + ( "" , [] , [] ) + [ Str "bar" ] + ( "/url/" , "Title with \"quotes\" inside" ) + , Str "." ] - , - [ Plain - [ Str "Shoes" - , Space - , Str "($20)" - , Space - , Str "and" - , Space - , Str "socks" - , Space - , Str "($5)." - ] + , Para + [ Str "Foo" + , Space + , Link + ( "" , [] , [] ) + [ Str "biz" ] + ( "/url/" , "Title with \"quote\" inside" ) + , Str "." ] - , - [ Plain - [ Str "Escaped" - , Space - , Code - ( "", [], [] ) "$" - , Str ":" - , Space - , Str "$73" - , Space - , Emph - [ Str "this" + , 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 "should" + , Str "ampersand" , Space - , Str "be" + , Str "in" , Space - , Str "emphasized" + , Str "the" + , Space + , Str "URL" ] - , 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" ] + ( "http://example.com/?foo=1&bar=2" , "" ) + , Str "." ] - , - [ 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" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "link" , Space , Str "with" , Space , Str "an" , Space - , Str "ampersand" + , Str "amersand" , 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" + , 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 - , 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", "" ) - ] + , 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 "In" , Space , Str "a" , Space , Str "list?" ] + ] + , [ Plain + [ Link + ( "" , [ "uri" ] , [] ) + [ Str "http://example.com/" ] + ( "http://example.com/" , "" ) + ] ] + , [ Plain [ Str "It" , Space , Str "should." ] ] ] - , - [ 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:" + , Para + [ Str "An" + , Space + , Str "e-mail" + , Space + , Str "address:" , 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 - ( "", [], [] ) "" - ] + ( "" , [ "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 ( "" , [] , [] ) "" + ] , CodeBlock - ( "", [], [] ) "or here: " - , 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." - ] + ( "" , [] , [] ) "or here: " , 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." - ] + , 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):" ] - , 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 - ( "", [], [] ) " { }" - , 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." - ] + , Para + [ Image + ( "" , [] , [] ) + [ Str "lalune" ] + ( "lalune.jpg" , "fig:Voyage dans la Lune" ) ] - , 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]." - ] + , Para + [ Str "Here" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "movie" + , Space + , Image + ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" ) + , Space + , Str "icon." ] - ] - , BlockQuote - [ Para - [ Str "Notes" + , HorizontalRule + , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ] + , Para + [ Str "Here" + , Space + , Str "is" , Space - , Str "can" + , Str "a" , Space - , Str "go" + , Str "footnote" , Space - , Str "in" + , 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 "quotes." + , Str "another." , Note - [ Para [ Str "In", Space, Str "quote." ] ] + [ 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 ( "" , [] , [] ) " { }" + , 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." ] ] + ( 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." - ] + , 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 34dfa7ca3..a9c78ec8f 100644 --- a/test/textile-reader.native +++ b/test/textile-reader.native @@ -1,1317 +1,1260 @@ Pandoc - ( Meta { unMeta = fromList [] } ) + 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" + , Str "set" , Space - , Str "quote" + , Str "of" , Space - , Str "from" + , Str "tests" , Space - , Str "somebody." + , Str "for" , Space - , Str "He" + , Str "pandoc" , Space - , Str "had" + , Str "Textile" , Space - , Str "a" + , Str "Reader." , Space - , Str "lot" + , Str "Part" , Space , Str "of" , Space - , Str "things" + , Str "it" , Space - , Str "to" + , Str "comes" , LineBreak - , Str "say," + , 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 "the" + , Str "you" , Space - , Str "text" + , Str "can" , Space - , Str "is" + , Str "not" , Space - , Str "really" + , Str "wrap" , Space - , Str "really" + , 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 "spans" + , Str "have" , Space - , Str "on" + , Str "it" , Space - , Str "multiple" + , Str "rendered" + , LineBreak + , Str "with" + , Space + , Str "no" , Space - , Str "lines." + , Str "break." ] - ] , Para - [ Str "And" - , Space - , Str "a" - , Space - , Str "following" - , Space - , Str "paragraph." - ] - , Header 1 - ( "code-blocks", [], [] ) - [ Str "Code", Space, Str "Blocks" ] + [ Str "Here\8217s" + , Space + , Str "one" + , Space + , Str "with" + , Space + , Str "a" + , Space + , Str "bullet." + ] + , BulletList [ [ Plain [ Str "criminey." ] ] ] , 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" + [ 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 "And:" ] + [ 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 - ( "" - , [] - , [] - ) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{" + ( "" , [] , [] ) + " ---- (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 - ( "", [], [] ) "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 - ( "", [], [] ) "" - , Str "," - , Space - , Code - ( "", [], [] ) "@" - , Str "." - ] - , Header 1 - ( "notextile", [], [] ) - [ Str "Notextile" ] + ( "" , [] , [] ) + "Code block with .bc\n continued\n @" + , Str "," + , Space + , Code ( "" , [] , [] ) "@" + , Str "." + ] + , Header 1 ( "notextile" , [] , [] ) [ Str "Notextile" ] , 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" ] + [ 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 "Asterisks", Space, Str "tight:" ] + [ 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" ] ] - ] + [ [ 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:" ] + [ Str "With" , Space , Str "line" , Space , Str "breaks:" ] , BulletList - [ - [ Plain - [ Str "asterisk", Space, Str "1", LineBreak, Str "newline" ] + [ [ Plain + [ Str "asterisk" + , Space + , Str "1" + , LineBreak + , Str "newline" + ] + ] + , [ Plain [ Str "asterisk" , Space , Str "2" ] ] ] - , - [ Plain [ Str "asterisk", Space, Str "2" ] ] - ] - , Header 2 - ( "ordered", [], [] ) - [ Str "Ordered" ] - , Para - [ Str "Tight:" ] + , 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" ] + ( 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" ] + , 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 "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" ] ] + , [ 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" ] + , Header + 2 + ( "issue-1500" , [] , [] ) + [ Str "Issue" , Space , Str "#1500" ] , BulletList - [ - [ Plain [ Str "one" ] ] - , - [ Plain - [ Str "two" - , LineBreak - , Str "->" - , Space - , Str "and" - , Space - , Str "more" + [ [ 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:" ] + , 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" ] + [ [ 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 "coffee" ] + , [ [ Plain + [ Str "Hot" , Space , Str "and" , Space , Str "black" ] ] ] - ] - ) - , - ( - [ Str "milk" ] - , - [ - [ Para - [ Str "Nourishing" - , Space - , Str "beverage" - , Space - , Str "for" - , Space - , Str "baby" - , Space - , Str "cows." + ) + , ( [ Str "tea" ] + , [ [ Plain + [ Str "Also" + , Space + , Str "hot," + , Space + , Str "but" + , Space + , Str "a" + , Space + , Str "little" + , Space + , Str "less" + , Space + , Str "black" + ] ] - , Para - [ Str "Cold" - , Space - , Str "drink" - , Space - , Str "that" - , Space - , Str "goes" - , Space - , Str "great" - , Space - , Str "with" - , Space - , Str "cookies." + ] + ) + , ( [ 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" ] + ) + , ( [ 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 + , Header + 1 + ( "inline-markup" , [] , [] ) + [ Str "Inline" , Space , Str "Markup" ] + , Para [ Str "This" , Space , Str "is" , Space - , Str "strikeout" + , Emph [ Str "emphasized" ] + , Str "," , Space , Str "and" , Space - , Strong - [ Str "strong" ] + , 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." - ] + [ 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." - ] + [ 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." - ] + [ 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" + [ Str "Quotes" , Space - , Str "like" + , Str "and" , Space - , Str "to" + , Str "apostrophes" , Space - , Str "thank" + , Str ":" , Space - , Str "you" + , Quoted + DoubleQuote + [ Str "I\8217d" + , Space + , Str "like" + , Space + , Str "to" + , Space + , Str "thank" + , Space + , Str "you" + ] + , Space + , Str "for" + , Space + , Str "example." ] - , Space - , Str "for" - , Space - , Str "example." - ] - , Header 1 - ( "links", [], [] ) - [ Str "Links" ] - , Header 2 - ( "explicit", [], [] ) - [ Str "Explicit" ] + , Header 1 ( "links" , [] , [] ) [ Str "Links" ] + , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ] , Para - [ Str "Just" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "url" ] - ( "http://www.url.com", "" ) - ] + [ Str "Just" + , Space + , Str "a" + , Space + , Link + ( "" , [] , [] ) [ Str "url" ] ( "http://www.url.com" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "Email", Space, Str "link" ] - ( "mailto:nobody@nowhere.net", "" ) - ] + [ 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" - ] + [ 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 "." - ] + [ 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." - ] + [ 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" ] + [ 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" ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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" ] + (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 "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." ] - ) - [ Str "Justified" ] + , 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" ] + [ 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" ] ] - , 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." - ] + [ 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ] - ( 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" ) "" - , Space - , Str "raw" - , Space - , Str "HTML" - , Space - , Str "inlines" - , Space - , RawInline - ( Format "html" ) "" - , Space - , Str "are" - , Space - , Str "accepted," - , Space - , Str "as" - , Space - , Str "well" - , Space - , Str "as" - , Space - , Str ":" - ] - , RawBlock - ( Format "html" ) "
" - , Para - [ Str "any" - , Space - , Strong - [ Str "Raw", Space, Str "HTML", Space, Str "Block" ] - , Space - , Str "with" - , Space - , Str "bold" - ] - , RawBlock - ( Format "html" ) "
" - , Para - [ Str "Html", Space, Str "blocks", Space, Str "can" ] - , RawBlock - ( Format "html" ) "
" - , Para - [ Str "interrupt", Space, Str "paragraphs" ] - , RawBlock - ( Format "html" ) "
" - , Para - [ Str "as", Space, Str "well." ] + (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 - [ 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" ] + [ 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 "PBS (Public Broadcasting System)" ] + [ Str "However," + , Space + , RawInline (Format "html") "" + , Space + , Str "raw" + , Space + , Str "HTML" + , Space + , Str "inlines" + , Space + , RawInline (Format "html") "" + , Space + , Str "are" + , Space + , Str "accepted," + , Space + , Str "as" + , Space + , Str "well" + , Space + , Str "as" + , Space + , Str ":" + ] + , RawBlock (Format "html") "
" , Para - [ Str "Hi\8482" ] + [ Str "any" + , Space + , Strong + [ Str "Raw" , Space , Str "HTML" , Space , Str "Block" ] + , Space + , Str "with" + , Space + , Str "bold" + ] + , RawBlock (Format "html") "
" , Para - [ Str "Hi", Space, Str "\8482" ] + [ Str "Html" , Space , Str "blocks" , Space , Str "can" ] + , RawBlock (Format "html") "
" + , Para [ Str "interrupt" , Space , Str "paragraphs" ] + , RawBlock (Format "html") "
" + , Para [ Str "as" , Space , Str "well." ] , Para - [ Str "\174", Space, Str "Hi\174" ] + [ 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" ] + [ 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!" - ] + [ 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 "." ] - , Space - , Str "Another" - , Space - , Str "note" - , Note - [ Para [ Str "Other", Space, Str "note." ] ] - , Str "." - ] - , Header 1 - ( "comment-blocks", [], [] ) - [ Str "Comment", Space, Str "blocks" ] + , Header + 1 + ( "comment-blocks" , [] , [] ) + [ Str "Comment" , Space , Str "blocks" ] , Para - [ Str "not", Space, Str "a", Space, Str "comment." ] + [ Str "not" , Space , Str "a" , Space , Str "comment." ] ] diff --git a/test/tikiwiki-reader.native b/test/tikiwiki-reader.native index eb10421da..3a3f1038f 100644 --- a/test/tikiwiki-reader.native +++ b/test/tikiwiki-reader.native @@ -1,761 +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" ] + 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 - [ Emph [ Str "emph" ], Space, Strong [ Str "strong" ] ] + [ Str "!!!!!!!" + , Space + , Str "not" + , Space + , Str "a" + , Space + , Str "header" + ] , Para - [ Emph - [ Strong - [ Str "strong" - , Space - , Str "and" - , Space - , Str "emph" - , Space - , Str "1" - ] + [ 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 - [ Strong [ Emph - [ Str "strong" - , Space - , Str "and" - , Space - , Str "emph" - , Space - , Str "2" - ] + [ Strong + [ Str "strong" + , Space + , Str "and" + , Space + , Str "emph" + , Space + , Str "1" + ] + ] ] - ] , Para - [ Strong - [ Emph [ Str "emph", Space, Str "inside" ], Space, Str "strong" ] - ] + [ Strong + [ Emph + [ Str "strong" + , Space + , Str "and" + , Space + , Str "emph" + , Space + , Str "2" + ] + ] + ] , Para - [ Strong - [ Str "strong", Space, Str "with", Space, Emph [ Str "emph" ] ] - ] + [ Strong + [ Emph [ Str "emph" , Space , Str "inside" ] + , Space + , Str "strong" + ] + ] , Para - [ Emph [ Strong - [ Str "strong", Space, Str "inside" ] - , Space - , Str "emph" + [ Str "strong" + , Space + , Str "with" + , Space + , Emph [ Str "emph" ] + ] ] - ] - , Header 1 - ( "horizontal-rule", [], [] ) - [ Str "horizontal", Space, Str "rule" ] , Para - [ Str "top" ] + [ 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" ] + , 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" ] + , 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 - [ Link - ( "", [], [] ) - [ Emph - [ Str "Google" ] + [ Code ( "" , [] , [] ) "*\8594*" , Space - , Str "search" + , Code ( "" , [] , [] ) "typed" , Space - , Str "engine" + , Code ( "" , [] , [] ) ">>=" ] - ( "http://google.com", "" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "http://pandoc.org" ] - ( "http://pandoc.org", "" ) - ] + , 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 - ( "", [], [] ) - [ Str "http://google.com" ] - ( "http://google.com", "" ) - , Space - , Link - ( "", [], [] ) - [ Str "http://yahoo.com" ] - ( "http://yahoo.com", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Emph [ Str "Google" ] + , Space + , Str "search" + , Space + , Str "engine" + ] + ( "http://google.com" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "email", Space, Str "me" ] - ( "mailto:info@example.org", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "http://pandoc.org" ] + ( "http://pandoc.org" , "" ) + ] , Para - [ Str "http://google.com" ] + [ Link + ( "" , [] , [] ) + [ Str "http://google.com" ] + ( "http://google.com" , "" ) + , Space + , Link + ( "" , [] , [] ) + [ Str "http://yahoo.com" ] + ( "http://yahoo.com" , "" ) + ] , Para - [ Str "info@example.org" ] - , Header 1 - ( "lists", [], [] ) - [ Str "lists" ] + [ 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 "(*)." + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , BulletList - [ - [ Plain - [ Str "More" + , [ Plain + [ Str "with" , Space - , Str "asterisks" + , Str "an" , Space - , Str "gives" + , Str "asterisk" , Space - , Str "deeper" + , Str "(*)." ] - , BulletList - [ - [ Plain - [ Str "and", Space, Str "deeper", Space, Str "levels." ] + , 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" + , [ Plain + [ Str "Line" , Space - , Str "do" - , Space - , Str "not" + , Str "breaks" + , LineBreak + , Str "don't" , Space , Str "break" , Space - , Str "the" + , Str "levels." + ] + ] + , [ Plain + [ Str "Continuations" , Space - , Str "list" + , Str "are" + , Space + , Str "also" , Space - , Str "flow" + , 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" ] ] ] - , - [ Plain [ Str "Level", Space, Str "one" ] ] - ] , Para - [ Str "Any" - , Space - , Str "other" - , Space - , Str "start" - , Space - , Str "ends" - , Space - , Str "the" - , Space - , Str "list." - ] + [ 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.)." + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "More" - , Space - , Str "number" + , [ Plain + [ Str "with" , Space - , Str "signs" + , Str "a" , Space - , Str "gives" + , Str "number" , Space - , Str "deeper" + , Str "(1.)." ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "and", Space, Str "deeper" ] ] - , - [ Plain [ Str "levels." ] ] + , 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 "Line" + , Space + , Str "breaks" + , LineBreak + , Str "don't" + , Space + , Str "break" + , Space + , Str "levels." + ] ] + , [ Plain [ Str "Blank" , Space , Str "lines" ] ] ] - , - [ 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" + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "end" , Space - , Str "2-1" + , Str "the" , Space - , Str "definition" + , Str "list" , Space - , Str "2-2" + , Str "and" + , Space + , Str "start" + , Space + , Str "another." ] - ] - ] - ) - , - ( - [ 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" + , 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 "1" + , Str "2-1" , Space - , Str "sub" + , Str "definition" , Space - , Str "1" + , Str "2-2" ] - ] ] ] - , - [ 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 "" ] ] - ] + ) + , ( [ Str "item" , Space , Emph [ Str "3" ] ] + , [ [ Plain [ Str "definition" , Space , Emph [ Str "3" ] ] + ] + ] + ) ] - ) - [ 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" ] ] + , 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" + ] + ] + ] ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Butter" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Ice", Space, Str "cream" ] ] + , [ 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" ] + ] + ] ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + , 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 "" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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 "" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" - ] + (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" ] ] + ] ] - , 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 ) + ] + (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 ( "", [], [] ) [] ) + (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 "" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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 ] ] - ] + (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 ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] diff --git a/test/twiki-reader.native b/test/twiki-reader.native index d0a225712..e41301966 100644 --- a/test/twiki-reader.native +++ b/test/twiki-reader.native @@ -1,875 +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" ] + 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 "emph" + , Str "four" ] - ] - , 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" + , 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 "is" + , Str "not" , Space , Str "a" , Space - , Str "block" - , Space - , Str "quote." + , Str "header" ] - , 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" ] + [ Str "--++" + , Space + , Str "not" , Space - , Str "search" + , Str "a" , Space - , Str "engine" + , Str "header" ] - ( "http://google.com", "" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "http://pandoc.org" ] - ( "http://pandoc.org", "" ) - ] + , Header + 1 + ( "emph-and-strong" , [] , [] ) + [ Str "emph" , Space , Str "and" , Space , Str "strong" ] , Para - [ Link - ( "", [], [] ) - [ Str "http://google.com" ] - ( "http://google.com", "" ) - , Space - , Link - ( "", [], [] ) - [ Str "http://yahoo.com" ] - ( "http://yahoo.com", "" ) - ] + [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ] , Para - [ Link - ( "", [], [] ) - [ Str "email", Space, Str "me" ] - ( "mailto:info@example.org", "" ) - ] + [ Emph + [ Strong + [ Str "strong" , Space , Str "and" , Space , Str "emph" ] + ] + ] , Para - [ Str "http://google.com" ] + [ Strong + [ Emph [ Str "emph" , Space , Str "inside" ] + , Space + , Str "strong" + ] + ] , Para - [ Str "http://google.com" ] + [ Strong + [ Str "strong" + , Space + , Str "with" + , Space + , Emph [ Str "emph" ] + ] + ] , Para - [ Str "http://google.com" ] + [ 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 - [ Str "info@example.org" ] + [ Link + ( "" , [] , [] ) + [ Str "http://pandoc.org" ] + ( "http://pandoc.org" , "" ) + ] , Para - [ Str "info@example.org" ] + [ Link + ( "" , [] , [] ) + [ Str "http://google.com" ] + ( "http://google.com" , "" ) + , Space + , Link + ( "" , [] , [] ) + [ Str "http://yahoo.com" ] + ( "http://yahoo.com" , "" ) + ] , Para - [ Str "info@example.org" ] - , Header 1 - ( "lists", [], [] ) - [ Str "lists" ] + [ 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 "(*)." + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , BulletList - [ - [ Plain - [ Str "More" + , [ Plain + [ Str "with" , Space - , Str "asterisks" + , Str "an" , Space - , Str "gives" + , Str "asterisk" , Space - , Str "deeper" + , Str "(*)." ] - , BulletList - [ - [ Plain - [ Str "and", Space, Str "deeper", Space, Str "levels." ] + , 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" + , [ Plain + [ Str "Line" , Space - , Str "not" + , Str "breaks" + , LineBreak + , Str "don't" , Space , Str "break" , Space - , Str "the" + , Str "levels." + ] + ] + , [ Plain + [ Str "Continuations" , Space - , Str "list" + , Str "are" + , Space + , Str "also" , Space - , Str "flow" + , 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" ] ] ] - , - [ Plain [ Str "Level", Space, Str "one" ] ] - ] , Para - [ Str "Any" - , Space - , Str "other" - , Space - , Str "start" - , Space - , Str "ends" - , Space - , Str "the" - , Space - , Str "list." - ] + [ 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.)." + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "Start" , Space , Str "each" , Space , Str "line" ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "More" + , [ Plain + [ Str "with" , Space - , Str "number" - , Space - , Str "signs" + , Str "a" , Space - , Str "gives" + , Str "number" , Space - , Str "deeper" + , Str "(1.)." ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "and", Space, Str "deeper" ] ] - , - [ Plain [ Str "levels." ] ] + , 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 "Line" + , Space + , Str "breaks" + , LineBreak + , Str "don't" + , Space + , Str "break" + , Space + , Str "levels." + ] ] + , [ Plain [ Str "Blank" , Space , Str "lines" ] ] ] - , - [ 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" + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "end" , Space - , Str "2-1" + , Str "the" , Space - , Str "definition" + , Str "list" , Space - , Str "2-2" + , Str "and" + , Space + , Str "start" + , Space + , Str "another." ] - ] - ] - ) - , - ( - [ 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" ] - ] - ] - ) - ] + , Para + [ Str "Any" + , Space + , Str "other" + , Space + , Str "start" + , Space + , Str "also" + , Space + , Str "ends" + , Space + , Str "the" + , Space + , Str "list." ] - , - [ Plain - [ Str "four" ] - , DefinitionList - [ - ( - [ Str "four", Space, Str "def", Space, Str "one" ] - , - [ - [ Plain - [ Str "this" + , DefinitionList + [ ( [ Str "item" , Space , Str "1" ] + , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ] + ) + , ( [ Str "item" , Space , Str "2" ] + , [ [ Plain + [ Str "definition" , Space - , Str "is" + , Str "2-1" , Space - , Str "a" + , Str "definition" , Space - , Str "continuation" + , 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 "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 "three" ] + , DefinitionList + [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ] + , [ [ Plain + [ Str "three" + , Space + , Str "def" + , Space + , Str "one" + ] + ] ] - ] + ) ] - ] - , - [ 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 "four" ] + , DefinitionList + [ ( [ Str "four" , Space , Str "def" , Space , Str "one" ] + , [ [ Plain + [ Str "this" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "continuation" + ] + ] + ] + ) + ] ] - ] - , - [ Plain - [ Str "are" ] - , OrderedList - ( 1, UpperAlpha, DefaultDelim ) - [ - [ Plain [ Str "implemented" ] ] - , - [ Plain [ Str "and" ] ] - , - [ Plain [ Str "supported" ] ] + , [ 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 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "other" ] + , OrderedList + ( 1 , UpperRoman , DefaultDelim ) + [ [ Plain [ Str "list" ] ] , [ Plain [ Str "styles" ] ] ] ] - ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Orange" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Apple" ] ] + , [ Plain [ Str "are" ] + , OrderedList + ( 1 , LowerRoman , DefaultDelim ) + [ [ Plain [ Str "also" ] ] , [ Plain [ Str "possible" ] ] ] ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Bread" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Pie" ] ] + , [ Plain [ Str "all" ] + , OrderedList + ( 1 , LowerAlpha , DefaultDelim ) + [ [ Plain [ Str "the" ] ] + , [ Plain [ Str "different" ] ] + , [ Plain [ Str "styles" ] ] + ] ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Butter" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Ice", Space, Str "cream" ] ] + , [ Plain [ Str "are" ] + , OrderedList + ( 1 , UpperAlpha , DefaultDelim ) + [ [ Plain [ Str "implemented" ] ] + , [ Plain [ Str "and" ] ] + , [ Plain [ Str "supported" ] ] + ] ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + , Header 1 ( "tables" , [] , [] ) [ Str "tables" ] , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "Bread" - , LineBreak - , LineBreak - , Str "and" - , Space - , Str "cheese" - ] + (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" ] ] + ] ] - , 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 []) + [ ( 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 ( "", [], [] ) [] ) + (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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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" ] ] - ] + (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" ], [] ) [] ] + (TableFoot ( "" , [] , [] ) []) + , Header 1 ( "macros" , [] , [] ) [ Str "macros" ] + , Para [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [] ] , Para - [ Span ( "", [ "twiki-macro", "TEST" ], [] ) [ Str "" ] ] + [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [ Str "" ] ] , Para - [ Span - ( "", [ "twiki-macro", "TEST" ], [] ) - [ Str "content with spaces" ] - ] + [ Span + ( "" , [ "twiki-macro" , "TEST" ] , [] ) + [ Str "content with spaces" ] + ] , Para - [ Span - ( "", [ "twiki-macro", "TEST" ], [] ) - [ Str "content with spaces" ] - ] + [ Span + ( "" , [ "twiki-macro" , "TEST" ] , [] ) + [ Str "content with spaces" ] + ] , Para - [ Span - ( "", [ "twiki-macro", "TEST" ], [ ( "ARG1", "test" ) ] ) - [ Str "content with spaces" ] - ] + [ Span + ( "" + , [ "twiki-macro" , "TEST" ] + , [ ( "ARG1" , "test" ) ] + ) + [ Str "content with spaces" ] + ] , Para - [ Span - ( "", [ "twiki-macro", "TEST" ], [] ) - [ Str "content with spaces ARG1=test" ] - ] + [ Span + ( "" , [ "twiki-macro" , "TEST" ] , [] ) + [ Str "content with spaces ARG1=test" ] + ] , Para - [ Span - ( "", [ "twiki-macro", "TEST" ], [ ( "ARG1", "test" ) ] ) - [ Str "content with spaces" ] - ] + [ Span + ( "" + , [ "twiki-macro" , "TEST" ] + , [ ( "ARG1" , "test" ) ] + ) + [ Str "content with spaces" ] + ] , Para - [ Span - ( "" - , - [ "twiki-macro", "TEST" ] - , - [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ] - ) - [ Str "" ] - ] + [ Span + ( "" + , [ "twiki-macro" , "TEST" ] + , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ] + ) + [ Str "" ] + ] , Para - [ Span - ( "" - , - [ "twiki-macro", "TEST" ] - , - [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ] - ) - [ Str "" ] - ] + [ Span + ( "" + , [ "twiki-macro" , "TEST" ] + , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ] + ) + [ Str "" ] + ] , Para - [ Span - ( "" - , - [ "twiki-macro", "TEST" ] - , - [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ] - ) - [ Str "multiline\ndoes also work" ] - ] + [ Span + ( "" + , [ "twiki-macro" , "TEST" ] + , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ] + ) + [ Str "multiline\ndoes also work" ] + ] ] diff --git a/test/txt2tags.native b/test/txt2tags.native index ccc8dd36e..5c60fbb4d 100644 --- a/test/txt2tags.native +++ b/test/txt2tags.native @@ -1,2244 +1,322 @@ 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" ] - ) - ] + 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" + [ Str "This" , Space - , Str "quote" + , Str "document" , Space - , Str "a" + , Str "describes" , Space - , Str "paragraph," + , Str "all" , Space - , Str "just" + , Str "the" , Space - , Str "prefix" + , Str "details" , Space - , Str "it" + , Str "about" , Space - , Str "by" + , Str "each" , Space - , Str "a" + , Str "txt2tags" , Space - , Str "TAB" + , Str "mark." , SoftBreak - , Str "character." - , Space - , Str "All" + , Str "The" , Space - , Str "the" + , Str "target" , Space - , Str "lines" + , Str "audience" , Space - , Str "of" + , Str "are" , Space - , Str "the" + , Strong [ Str "experienced" ] , Space - , Str "paragraph" + , Str "users." , Space - , Str "must" - , SoftBreak - , Str "begin" + , Str "You" , Space - , Str "with" + , Str "may" , Space - , Str "a" + , Str "find" , 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" + , Str "it" + , SoftBreak + , Str "useful" , Space - , Str "number" + , Str "if" , Space - , Str "of" + , Str "you" , Space - , Str "leading" + , Str "want" , Space - , Str "TABs" + , Str "to" , Space - , Str "identifies" + , Str "master" , Space , Str "the" , Space - , Str "quote" - , SoftBreak - , Str "block" + , Str "marks" , Space - , Str "depth." + , Str "or" , Space - , Str "This" + , Str "solve" , Space - , Str "is" + , Str "a" , Space - , Str "quote" + , Str "specific" , Space - , Str "level" + , Str "problem" + , SoftBreak + , Str "about" , 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." - ] + , Str "a" + , Space + , Str "mark." ] - , Para - [ Str "Until" + , Para + [ Str "If" , Space - , Str "the" + , Str "you" , Space - , Str "level" + , Str "are" , 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" + , Str "new" , Space - , Str "TAB" + , Str "to" , Space - , Str "count" + , Str "txt2tags" , Space - , Str "don't" + , Str "or" , Space - , Str "need" + , Str "just" , Space - , Str "to" + , Str "want" , Space - , Str "be" + , Str "to" , Space - , Str "incremental" - , SoftBreak - , Str "by" + , Str "know" , 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" + , Str "which" , Space - , Str "targets" + , Str "are" , Space - , Str "(as" + , Str "the" + , SoftBreak + , Str "available" , Space - , Str "sgml)" + , Str "marks," , Space - , Str "don't" + , Str "please" , Space - , Str "support" + , Str "read" , Space , Str "the" - , SoftBreak - , Str "nesting" , Space - , Str "of" + , Link + ( "" , [] , [] ) + [ Str "Markup" , Space , Str "Demo" ] + ( "MARKUPDEMO" , "" ) + , Str "." + ] + , Para + [ Str "Note" , Space - , Str "quotes." + , Str "1:" , Space - , Str "There" + , Str "This" + , Space + , Str "document" , Space , Str "is" , Space - , Str "only" + , Str "generated" , Space - , Str "one" + , Str "directly" , Space - , Str "quote" + , Str "from" + , Space + , Str "the" + , Space + , Str "txt2tags" , 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" + , Str "test-suite." , Space - , Str "AFTER" + , Str "All" , Space , Str "the" , Space - , Str "TAB" + , Str "rules" , Space - , Str "character" + , Str "mentioned" + , Space + , Str "here" , Space , Str "are" , Space - , Str "allowed." - , SoftBreak - , Str "But" + , Str "100%" , Space - , Str "be" + , Str "in" , Space - , Str "careful," + , Str "sync" , Space - , Str "it" + , Str "with" , Space - , Str "can" + , Str "the" + , SoftBreak + , Str "current" , Space - , Str "be" + , Str "program" , Space - , Str "confusing." + , Str "code." ] - ] , 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" + [ Str "Note" , Space - , Str "breaks" - , Space - , Str "inside" + , Str "2:" , Space - , Str "a" + , Str "A" , Space - , Str "quote" + , Str "good" , Space - , Str "aren't" - , SoftBreak - , Str "possible." - ] - , Para - [ Str "This" + , Str "practice" , Space - , Str "sample" + , Str "is" , Space - , Str "are" + , Str "to" , Space - , Str "two" + , Str "consult" , Space - , Str "separated" + , Link + ( "" , [] , [] ) + [ Str "the" , Space , Str "sources" ] + ( "rules.t2t" , "" ) , Space - , Str "quoted" + , Str "when" , SoftBreak - , Str "paragraphs," + , Str "reading," , Space - , Str "not" + , Str "to" , Space - , Str "a" + , Str "see" , Space - , Str "quote" + , Str "how" , Space - , Str "block" + , Str "the" , Space - , Str "with" - , SoftBreak - , Str "two" + , Str "texts" , Space - , Str "paragraphs" + , Str "were" , Space - , Str "inside." + , Str "made." ] - ] - , BlockQuote - [ Para + , 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" @@ -2259,2942 +337,4963 @@ Pandoc , Space , Str "open" , Space - , Str "quote" - , Space - , Str "block." + , Str "paragraph." ] - ] - , Header 1 - ( "raw", [], [] ) - [ Str "Raw" ] + , Header 1 ( "comment" , [] , [] ) [ Str "Comment" ] , Para - [ Str "A raw line.\n" ] - , Para - [ Str " Another raw line, with leading spaces.\n" ] + [ 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 "A raw area delimited\n by lines with marks.\n" ] + [ 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 - [ Str "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n" ] + [ Strikeout [ Str "-----" ] + , SoftBreak + , Strikeout [ Str "-------" , Space , Str "--------" ] + ] + , Para [ Strikeout [ Str "-------+--------" ] ] , 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." - ] + [ Str "(" + , Space + , Strikeout [ Str "----------------" ] + , Space + , Str ")" + ] + , Header 1 ( "inline" , [] , [] ) [ Str "Inline" ] , 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 "\"\"\"" - ] + [ 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 "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" + [ 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 "```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." - ] + [ 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 "```" - , 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 "```" - ] + [ 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" ] + ( "" , [] , [] ) + "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" + [ ( [ 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 "terms" + , 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." + ] + ] + ] + ] + ] + ] ] - ] ] - ) - , - ( - [ Str "Start" - , Space - , Str "term" - , Space - , Str "with" - , Space - , Str "colon" + ] + , 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 "And" + , [ Plain + [ Str "You" , Space - , Str "its" + , Str "can" + , Space + , Str "add" , Space - , Str "definition" + , Str "just" , Space - , Str "follows" + , 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." + ] + ] + ] + ] ] - ] - ] - ) - ] - , 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" + [ [ Plain + [ Str "There" , Space , Str "is" , Space + , Str "not" + , Space , Str "a" , Space - , Str "list" + , 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." + ] + ] + ] + ] + ] + ] ] - ] ] ] - , - [ OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "This" + , BulletList + [ [ Plain + [ Str "Reverse" , Space - , Str "is" + , Str "nesting" , Space - , Str "a" + , Str "doesn't" , Space - , Str "list" + , Str "work." ] - ] ] - ] - , - [ DefinitionList - [ - ( - [ Str "This" + , [ Plain + [ Str "Because" , Space - , Str "is" + , Str "a" + , Space + , Str "sublist" + , Space + , Str "*must*" + , Space + , Str "have" , Space , Str "a" , Space - , Str "list" + , Str "mother" + , 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" + , [ Plain + [ Str "It's" , Space - , Str "is" + , Str "the" , Space - , Str "a" + , Str "list" , Space - , Str "sublist," + , Str "concept," , Space - , Str "with" + , Str "not" , Space - , Str "its" + , Str "a" , Space - , Str "own" + , Str "txt2tags" , Space - , Str "items." + , Str "limitation." ] - ] - , - [ Plain - [ Str "Note" + ] + , [ Plain + [ Str "All" , Space - , Str "that" + , Str "this" , Space - , Str "the" + , Str "sublists" , Space - , Str "items" + , Str "will" , Space - , Str "of" + , Str "be" , Space - , Str "the" + , Str "bumped" , Space - , Str "same" + , Str "to" , Space - , Str "sublist" + , Str "mother" + , Space + , Str "lists." ] - ] - , - [ Plain - [ Str "must" + ] + , [ Plain + [ Str "At" , Space - , Str "have" + , Str "level" , Space - , Str "the" + , Str "1," , Space - , Str "same" + , Str "like" , Space - , Str "indentation." + , Str "this" + , Space + , Str "one." ] - , 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 "Level" , Space , Str "1" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "2" ] , 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 "Level" , Space , Str "3" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "4" ] ] ] ] - ] - , - [ Plain - [ Str "The" - , Space - , Str "two" - , Space - , Str "blank" - , Space - , Str "lines" - , Space - , Str "closes" - , Space - , Str "them" - , Space - , Str "all." + , [ Plain + [ Str "Level" + , Space + , Str "3" + , Space + , Str "--" + , Space + , Str "(closed" + , Space + , Str "Level" + , Space + , Str "4)" + ] ] ] - ] - ] - ] - ] - ] - ] - ] - , 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." - ] + , [ Plain + [ Str "Level" + , Space + , Str "2" + , Space + , Str "--" + , Space + , Str "(closed" + , Space + , Str "Level" + , Space + , Str "3)" + ] ] ] - ] - ] - ] - ] - , BulletList - [ - [ Plain - [ Str "There" - , Space - , Str "is" - , Space - , Str "not" - , Space - , Str "a" - , Space - , Str "depth" - , Space - , Str "limit," ] - , BulletList - [ - [ Plain - [ Str "you" + , [ Plain + [ Str "Level" , Space - , Str "can" + , Str "1" , Space - , Str "go" + , Str "--" , Space - , Str "deeper" + , Str "(closed" , Space - , Str "and" + , Str "Level" , Space - , Str "deeper." + , Str "2)" ] - , BulletList - [ - [ Plain - [ Str "But" - , Space - , Str "some" - , Space - , Str "targets" - , Space - , Str "may" - , Space - , Str "have" - , Space - , Str "restrictions." - ] + ] + ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "1" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "2" ] , BulletList - [ - [ Plain - [ Str "The" - , Space - , Str "LaTeX" - , Space - , Str "maximum" - , Space - , Str "is" - , Space - , Str "here," - , Space - , Str "4" - , Space - , Str "levels." + [ [ Plain [ Str "Level" , Space , Str "3" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "4" ] ] ] ] ] - ] ] ] - ] ] - ] - ] - , 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." + , [ 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 - [ - [ Plain - [ Str "Level", Space, Str "1" ] - , BulletList - [ - [ Plain - [ Str "Level", Space, Str "2" ] - , BulletList - [ - [ Plain - [ Str "Level", Space, Str "3" ] + [ [ 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 "4" ] ] ] - ] - , - [ Plain - [ Str "Level" - , Space - , Str "3" - , Space - , Str "--" - , Space - , Str "(closed" - , Space - , Str "Level" - , Space - , Str "4)" - ] + [ [ Plain [ Str "Level" , Space , Str "3" ] ] ] ] ] - ] - , - [ Plain + ] + ] + , BulletList [ [ Plain [ Str "Level" , Space , Str "4" ] ] ] + , BulletList + [ [ Para [ Str "Level" , Space , Str "3" ] ] + , [ Para [ Str "Level" , Space , Str "2" , Space , Str "--" , Space - , Str "(closed" + , Str "blank" , Space - , Str "Level" + , Str "BEFORE" + , Space + , Str "and" + , Space + , Str "AFTER" , Space - , Str "3)" + , Str "(out)" ] - ] ] - ] - , - [ Plain - [ Str "Level" - , Space - , Str "1" - , Space - , Str "--" - , Space - , Str "(closed" - , Space - , Str "Level" - , Space - , Str "2)" + , [ 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" ] + [ [ Plain [ Str "Level" , Space , Str "1" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "2" ] , BulletList - [ [ Plain [ Str "Level", Space, Str "4" ] ] ] + [ [ 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" - , 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)" + ] + , [ 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 - [ - [ Para - [ Str "Level", Space, Str "1" ] - , BulletList - [ - [ Para - [ Str "Level" + [ [ Plain + [ Str "This" , Space - , Str "2" + , Str "list" , Space - , Str "--" + , Str "is" , Space - , Str "blank" + , Str "NOT" , Space - , Str "BEFORE" + , Str "closed" , Space - , Str "and" + , Str "by" , Space - , Str "AFTER" + , Str "two" + , Space + , Str "comment" , Space - , Str "(in)" + , Str "lines" ] - , 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" + [ [ Plain + [ Str "This" , Space - , Str "2" + , Str "list" , Space - , Str "--" + , Str "is" , Space - , Str "blank" + , Str "closed" , Space - , Str "BEFORE" + , Str "by" + , Space + , Str "a" + , Space + , Str "line" , Space - , Str "(spaces)" + , Str "with" + , Space + , Str "spaces" , Space , Str "and" , Space - , Str "AFTER" + , 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 "(TAB)" + , Str "line." ] - , 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" ] + [ [ Plain [ Str "Level" , Space , Str "1" ] + , BulletList + [ [ Plain [ Str "Level" , Space , Str "2" ] , BulletList - [ - [ Plain [ Str "Level", Space, Str "4" ] ] - , - [ Plain - [ Str "Level", Space, Str "3.5", Space, Str "???" ] + [ [ Plain [ Str "Level" , Space , Str "3" ] ] ] + , Plain + [ Str "-" + , SoftBreak + , Str "Level" + , Space + , Str "2" ] - ] - ] - , - [ 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." + , Plain + [ Str "-" , SoftBreak , Str "Level" , Space , Str "1" ] ] ] - ] + , Para [ Str "-" ] , 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." + [ [ Plain + [ Str "Empty" + , Space + , Str "item" + , Space + , Str "with" + , Space + , Str "trailing" + , Space + , Str "spaces." + ] ] ] - ] - , Para - [ Str "-" ] + , Para [ Str "-" ] , BulletList - [ - [ Plain - [ Str "Empty" - , Space - , Str "item" - , Space - , Str "with" - , Space - , Str "trailing" - , Space - , Str "TAB." + [ [ Plain + [ Str "Empty" + , Space + , Str "item" + , Space + , Str "with" + , Space + , Str "trailing" + , Space + , Str "TAB." + ] ] ] - ] - , Para - [ Str "-" ] + , 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" + [ [ Plain + [ Str "If" , Space , Str "the" , Space - , Str "currently" + , Str "end" , Space - , Str "opened" + , Str "of" , Space - , Str "list" + , Str "the" , Space - , Str "are" + , Str "file" , Space - , Str "closed," + , Str "(EOF)" + , Space + , Str "is" + , Space + , Str "hit," ] - , 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." - ] + , 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" ] + , 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignRight , ColWidthDefault ) ] + (TableHead ( "" , [] , [] ) []) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] ] - ] + [ 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 "|" ] - ] - ( 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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ) - [ 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 "<-" ] ] - ] + (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 ( "", [], [] ) [] ) + (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 ) [] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ 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 ) [] - ] + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ] - ( 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" ] ] - ] + (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 ( "", [], [] ) [] ) + (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%" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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 "/" - ] + ( "" , [] , [] ) + (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" ] ] + ] ] - , 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 "/" - ] + ] + (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%" ] ] + ] ] - , 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 "=" ] + ] + (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) + [] + ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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" ] ] - ] + ( "" , [] , [] ) + (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 ( "", [], [] ) [] ) + (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 ) [] - ] + ( "" , [] , [] ) + (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|" ] + (TableFoot ( "" , [] , [] ) []) + , Para [ Str "|this|is|not|a|table|" ] , Para - [ Str "|this|" - , Space - , Str "is|" - , Space - , Str "not|" - , Space - , Str "a|" - , Space - , Str "table|" - ] + [ 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 "|" - ] + [ 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|" - ] + [ 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." ] + , Para [ Str "The" , Space , Str "End." ] ] diff --git a/test/vimwiki-reader.native b/test/vimwiki-reader.native index 356d1b949..b8f853ce0 100644 --- a/test/vimwiki-reader.native +++ b/test/vimwiki-reader.native @@ -1,2419 +1,2429 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "date", MetaInlines [ Str "2017-05-01" ] ) - , - ( "title", MetaInlines [ Str "title" ] ) - ] + 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" ] + [ Header + 1 + ( "implemented" , [] , [] ) + [ Emph + [ Span ( "implemented" , [] , [] ) [] + , Strong [ Str "implemented" ] + ] ] - ] - , 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" ] + , 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 "emph" + , Str "3" ] - ] - , Para - [ Emph - [ Strikeout - [ Str "strikeout" ] + , Header + 4 + ( "header level four" , [] , [] ) + [ Str "header" , Space - , Str "inside" + , Strikeout [ Str "level" ] , Space - , Str "emph" + , Str "four" ] - ] - , Para - [ Strikeout - [ Str "This" - , Space - , Str "is" + , Header + 5 + ( "header level 5" , [] , [] ) + [ Str "header" , Space , Emph - [ Str "struck", Space, Str "out" ] - , Space - , Str "with" - , Space - , Str "emph" + [ Span ( "level" , [] , [] ) [] + , Strong [ Str "level" ] + , Space + , Str "5" + ] ] - ] - , 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" ] + , Header + 6 + ( "header level 6" , [] , [] ) + [ Str "header" , Space , Str "level" , Space , Str "6" ] , 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" + [ Str "=======" , Space - , Str "4" + , Str "not" , Space - , Str "spaces)" + , Str "a" , Space - , Str "This" + , Str "header" , Space - , Str "would" + , Str "========" + ] + , Para + [ Str "hi==" , Space - , Str "be" + , Str "not" , Space , Str "a" , Space - , Str "blockquote" - , Space - , Str "in" - , Space - , Str "Vimwiki." - , Space - , Str "It" + , Str "header" , Space - , Str "is" + , Str "==" + ] + , Para + [ Str "===" , Space , Str "not" , Space - , Span - ( "highlighted", [], [] ) [] - , Strong - [ Str "highlighted" ] + , Str "a" , Space - , Str "in" + , Str "header" , Space - , Str "Vim" + , Str "==" + ] + , Para + [ Str "===" , Space - , Str "but" - , SoftBreak - , Str "(indentation" + , Str "not" , Space - , Str "1" + , Str "a" , Space - , Str "space" + , Str "header" + , Space + , Str "===-" + ] + , Para + [ Str "not" , Space , Str "a" , Space , Str "header:" ] + , Para [ Str "=n=" ] + , Para + [ Str "===" , Space - , Str "followed" + , Str "not" , Space - , Str "by" + , Str "a" , Space - , Str "1" + , Str "header" , Space - , Str "tab" + , Str "====" + ] + , Header + 2 + ( "centred header" , [ "justcenter" ] , [] ) + [ Str "centred" , Space , Str "header" ] + , Header + 2 + ( "header with some == in between" , [] , [] ) + [ Str "header" , Space - , Str "of" + , Str "with" , Space - , Str "width" + , Str "some" , Space - , Str "4)" + , Code ( "" , [] , [] ) "==" , Space - , Str "could" + , Str "in" , Space - , Str "be" + , Str "between" + ] + , Header + 2 + ( "header with some == in between" , [] , [] ) + [ Str "header" , Space - , Str "styled" + , Str "with" , Space - , Str "by" + , Str "some" , Space - , Str "CSS" + , Str "==" , Space , Str "in" , Space - , Str "HTML." + , Str "between" + ] + , Header + 2 + ( "header with some ==in between" , [] , [] ) + [ Str "header" , Space - , Str "Blockquotes" + , Str "with" , Space - , Str "are" + , Str "some" , Space - , Str "usually" + , Str "==in" , Space - , Str "used" + , Str "between" + ] + , Header + 2 + ( "emph strong and strikeout" , [] , [] ) + [ Str "emph" , Space - , Str "to" + , Str "strong" , Space - , Str "quote" + , Str "and" , Space - , Str "a" - , SoftBreak - , Str "(indentation" + , Str "strikeout" + ] + , Para + [ Emph [ Str "emph" ] , Space - , Str "1" + , 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 "tab" + , Str "two" , Space - , Str "of" + , Str "stars:" , Space - , Str "width" + , Str "**" + ] + , Para + [ Str "just" , Space - , Str "4)" + , Str "two" , Space - , Str "long" + , Str "underscores:" , Space - , Str "piece" + , Str "__" + ] + , Para + [ Str "just" , Space - , Str "of" + , Str "four" , Space - , Str "text" + , Str "~s:" , Space - , Str "from" + , 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 "another" + , Str "a" , Space - , Str "source." + , Str "rule" , Space - , Strikeout - [ Str "blah", Space, Str "blah" ] + , Str "(trailing" , Space - , Span - ( "-blockquote", [], [] ) - [ Str "" ] - , Span - ( "blockquote", [ "tag" ], [] ) - [ Str "blockquote" ] + , Str "spaces):" + , SoftBreak + , Str "-----" ] - ] - , Header 2 - ( "external links", [], [] ) - [ Str "external", Space, Str "links" ] , Para - [ Link - ( "", [], [] ) - [ Emph - [ Str "Google" ] + [ Str "not" + , Space + , Str "a" + , Space + , Str "rule" , Space - , Str "search" + , Str "(leading" , Space - , Str "engine" + , Str "spaces):" + , SoftBreak + , Str "----" ] - ( "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", "" ) - ] + , Header 2 ( "comments" , [] , [] ) [ Str "comments" ] , 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" + [ Str "this" + , SoftBreak + , Str "is" , Space - , Str "of" + , Str "%%" , Space - , Str "the" + , Str "not" , Space - , Str "link" + , Str "secret" ] - ( "This is a link source", "wikilink" ) - ] + , Header + 2 + ( "inline code" , [] , [] ) + [ Str "inline" , Space , Str "code" ] , 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" + [ Str "Here" , Space - , Str "to" - , Space - , Str "test" + , Str "is" , Space - , Str "tag" + , Str "some" , Space - , Str "anchors" + , Code ( "" , [] , [] ) "inline code" + , Str "." ] - ( "#tag-one", "wikilink" ) - ] , Para - [ Link - ( "", [], [] ) - [ Str "try" + [ Str "Just" , Space - , Str "me" + , Str "two" , Space - , Str "to" + , Str "backticks:" , Space - , Str "test" + , 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 "header" + , Str "text" + , Space + , Str "with" , Space - , Str "anchors" + , Str "attributes" ] - ( "#block quotes", "wikilink" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "try" + , 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 "me" + , Str "with" , Space - , Str "to" + , Str "nested" , Space - , Str "test" + , Str "syntax" + ] + , CodeBlock ( "" , [ "sql" ] , [] ) "SELECT * FROM table" + , Header + 3 + ( "empty preformatted text" , [] , [] ) + [ Str "empty" , Space - , Str "strong" + , Str "preformatted" , Space - , Str "anchors" + , 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" , "" ) ] - ( "#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" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "http://pandoc.org" ] + ( "http://pandoc.org" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Str "Important", Space, Str "Data" ] - ( "file:../assets/data.csv", "" ) - ] - , Header 3 - ( "links with thumbnails", [], [] ) - [ Str "links", Space, Str "with", Space, Str "thumbnails" ] + [ Link + ( "" , [] , [] ) + [ Str "ftp://vim.org" ] + ( "ftp://vim.org" , "" ) + ] , Para - [ Link - ( "", [], [] ) - [ Image ( "", [], [] ) [ Str "" ] ( "./movie.jpg", "" ) ] - ( "http://www.google.com", "" ) - ] - , Header 2 - ( "images", [], [] ) - [ Str "images" ] + [ Link + ( "" , [] , [] ) + [ Str "http://google.com" ] + ( "http://google.com" , "" ) + ] , Para - [ Image ( "", [], [] ) [ Str "" ] ( "file:./lalune.jpg", "" ) ] + [ Link + ( "" , [] , [] ) + [ Str "email" , Space , Str "me" ] + ( "mailto:info@example.org" , "" ) + ] , 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" ] + [ Link + ( "" , [] , [] ) + [ Str "mailto:hello@bye.com" ] + ( "mailto:hello@bye.com" , "" ) + ] + , Header + 2 + ( "internal links" , [] , [] ) + [ Str "internal" , Space , Str "links" ] , Para - [ Image - ( "", [], [ ( "style", "width:150px;height:120px;" ) ] ) - [ Emph [ Str "cool", Space, Str "stuff" ] ] - ( "lalune.jpg", "" ) - ] + [ Link + ( "" , [] , [] ) + [ Str "This is a link" ] + ( "This is a link" , "wikilink" ) + ] , Para - [ Image - ( "", [], [ ( "style", "font-color:red" ) ] ) - [ Span - ( "Non-existing", [], [] ) [] - , Strong - [ Str "Non-existing" ] - , Space - , Str "image" + [ Link + ( "" , [] , [] ) + [ Str "Description" + , Space + , Str "of" + , Space + , Str "the" + , Space + , Str "link" + ] + ( "This is a link source" , "wikilink" ) ] - ( "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 ) [] - ] + [ 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" ] - ) - [ 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" ] ] - ] + ( "#tag-one" , "wikilink" ) + ] + , Para + [ Link + ( "" , [] , [] ) + [ Str "try" + , Space + , Str "me" + , Space + , Str "to" + , Space + , Str "test" + , Space + , Str "header" + , Space + , Str "anchors" ] - ] - ( 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." - ] + ( "#block quotes" , "wikilink" ) + ] + , Para + [ Link + ( "" , [] , [] ) + [ Str "try" + , Space + , Str "me" + , Space + , Str "to" + , Space + , Str "test" + , Space + , Str "strong" + , Space + , Str "anchors" + ] + ( "#strong" , "wikilink" ) ] - , - [ Plain - [ Str "ordered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "2" - ] + , Para + [ Link + ( "" , [] , [] ) + [ Str "Tasks" , Space , Str "for" , Space , Str "tomorrow" ] + ( "Todo List#Tomorrow" , "wikilink" ) ] - ] - , BulletList - [ - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" - ] + , Para + [ Link + ( "" , [] , [] ) + [ Str "diary:2017-05-01" ] + ( "diary/2017-05-01" , "wikilink" ) ] - , - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "2" - ] + , Para + [ Link + ( "" , [] , [] ) + [ Str "Important" , Space , Str "Data" ] + ( "file:../assets/data.csv" , "" ) ] - ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" - ] + , Header + 3 + ( "links with thumbnails" , [] , [] ) + [ Str "links" + , Space + , Str "with" + , Space + , Str "thumbnails" ] - , - [ Plain - [ Str "the" - , Space - , Str "#" - , Space - , Str "become" - , Space - , Str "numbers" - , Space - , Str "when" - , Space - , Str "converted" - , Space - , Str "to" - , Space - , Str "HTML" - ] + , Para + [ Link + ( "" , [] , [] ) + [ Image ( "" , [] , [] ) [ Str "" ] ( "./movie.jpg" , "" ) ] + ( "http://www.google.com" , "" ) ] - ] - , BulletList - [ - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" - ] + , Header 2 ( "images" , [] , [] ) [ Str "images" ] + , Para + [ Image + ( "" , [] , [] ) [ Str "" ] ( "file:./lalune.jpg" , "" ) ] - , - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "2" - ] + , Para + [ Image + ( "" , [] , [] ) + [ Str "Vimwiki" ] + ( "http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png" + , "" + ) + , SoftBreak + , Image + ( "" , [] , [] ) [ Str "" ] ( "file:./movie.jpg" , "" ) ] - ] - , BulletList - [ - [ Plain [ Str "Item", Space, Str "1" ] ] - , - [ Plain - [ Str "Item", Space, Str "2" ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "Sub" + , 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 "item" + , Str "list" , Space - , Str "1" + , Str "item" , Space - , Str "(indentation" + , Str "1," , Space - , Str "4" + , Str "and" , Space - , Str "spaces)" - , SoftBreak - , Str "Sub" + , Str "here" , Space - , Str "item" + , Str "is" , Space - , Str "1" + , Str "some" + , Space + , Str "math" + , Space + , Str "belonging" , Space - , Str "continued" + , Str "to" , Space - , Str "line." - , SoftBreak - , Str "Sub" + , Str "list" , Space , Str "item" , Space , Str "1" + ] + , Para [ Math DisplayMath "a^2 + b^2 = c^2" ] + , Plain + [ Str "and" , Space - , Str "next" + , Str "some" , Space - , Str "continued" + , Str "preformatted" , Space - , Str "line." - ] - ] - , - [ Plain - [ Str "Sub" + , Str "and" + , Space + , Str "tables" + , Space + , Str "belonging" + , Space + , Str "to" , Space , Str "item" , Space - , Str "2," + , Str "1" , Space , Str "as" , Space - , Str "an" - , Space - , Str "ordered" + , 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 "list" + , Str "some" , Space - , Str "item" + , Str "more" , Space - , Str "even" + , Str "text" , Space - , Str "though" + , Str "belonging" , Space - , Str "the" + , Str "to" , Space - , Str "identifier" + , Str "item" , Space - , Str "is" + , Str "1." + ] + ] + , [ Plain + [ Str "ordered" , Space - , Code - ( "", [], [] ) "*" + , Str "list" , Space - , Str "(indentation" + , Str "item" , Space , Str "2" + ] + ] + ] + , BulletList + [ [ Plain + [ Str "Bulleted" + , Space + , Str "list" , Space - , Str "spaces" + , Str "item" , Space - , Str "followed" + , Str "1" + ] + ] + , [ Plain + [ Str "Bulleted" , Space - , Str "by" + , Str "list" , Space - , Str "one" + , Str "item" , Space - , Str "tab" + , Str "2" + ] + ] + ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Str "Bulleted" , Space - , Str "of" + , Str "list" , Space - , Str "width" + , Str "item" , Space - , Str "4)" + , Str "1" ] - ] - , - [ Plain - [ Str "etc." - , SoftBreak - , Str "Continuation" + ] + , [ Plain + [ Str "the" , Space - , Str "of" + , Str "#" , Space - , Str "Item" + , Str "become" , Space - , Str "2" - , SoftBreak - , Str "Next" + , Str "numbers" , Space - , Str "continuation" + , Str "when" , Space - , Str "of" + , Str "converted" , Space - , Str "Item" + , Str "to" , Space - , Str "2" + , Str "HTML" ] - ] ] ] - ] - , 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" + [ [ Plain + [ Str "Bulleted" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "1" + ] ] - ] - ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" + , [ Plain + [ Str "Bulleted" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "2" + ] ] ] - , - [ Plain - [ Str "Numbered" - , 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" + ] + ] + ] ] ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "3" - ] + , Para + [ Str "But" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "new" + , Space + , Str "paragraph." ] - ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "1" ] + , BulletList [ [ Plain [ Code ( "" , [] , [] ) "1.1" ] ] ] ] - ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "2" + , [ Plain [ Str "2" ] + , BulletList [ [ Plain [ Str "2.1" ] ] ] ] ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "3" - ] + , 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" + ( 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 "2" + ] ] - ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "3" + , [ 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" + ( 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 "2" + ] ] - ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "3" + , [ 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" + ( 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 "2" + ] ] - ] - , - [ Plain - [ Str "Numbered" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "3" + , [ 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" + ( 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 "3" + , [ Plain + [ Str "Numbered" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "2" + ] ] - ] - ] - , BulletList - [ - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "1" + , [ Plain + [ Str "Numbered" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "3" + ] ] ] - , - [ Plain - [ Str "Bulleted" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "2" - ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain + , 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 + ] + , [ Plain [ Str "Numbered" , Space , Str "list" , Space - , Str "sub" + , 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 "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" - ] - ] + ] + ] + , 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" ] - ] - , - [ Plain [ Str "etc." ] ] ] ] - , - [ Plain - [ Str "Bulleted" - , 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" + ] ] ] - ] - , 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 "Bulleted" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "1" + ] ] - ] - , - [ Plain - [ Str "[" - , Space - , Str "]not" - , Space - , Str "a" - , Space - , Str "todo" - , Space - , Str "item" + , [ 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 "[r]" - , Space - , Str "not" - , Space - , Str "a" - , Space - , Str "todo" - , Space - , Str "item" + , [ Plain + [ Str "Bulleted" + , Space + , Str "list" + , Space + , Str "item" + , Space + , Str "3" + ] ] ] - , - [ Plain - [ Str "[" - , Space - , Str "]" - , Space - , Str "not" - , Space - , Str "a" - , Space - , Str "todo" - , Space - , Str "item" + , 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 "a" - , Space - , Str "tab" - , Space - , Str "in" - , Space - , Str "the" - , Space - , Str "todo" - , Space - , Str "list" - , Space - , Str "marker" - , Space - , Code - ( "", [], [] ) "[ ]" + , [ Plain [ Span ( "" , [ "done2" ] , [] ) [] , Str "3" ] ] + , [ Plain + [ Str "[]" + , Space + , Str "not" + , Space + , Str "a" + , Space + , Str "todo" + , Space + , Str "item" + ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Span - ( "", [ "done3" ], [] ) [] - , Str "4" - , SoftBreak - , Str "5" + , [ Plain + [ Str "[" + , Space + , Str "]not" + , Space + , Str "a" + , Space + , Str "todo" + , Space + , Str "item" ] - ] - , - [ Plain - [ Span ( "", [ "done4" ], [] ) [] ] - , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) + ] + , [ Plain + [ Str "[r]" + , Space + , Str "not" + , Space + , Str "a" + , Space + , Str "todo" + , Space + , Str "item" ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) [] - ] + ] + , [ 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" + ] ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "a" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "b" ] ] - ] + , [ 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 ( "" , [] , [] ) []) ] ] - ( TableFoot ( "", [], [] ) [] ) - ] + ] + , [ Plain + [ Span ( "" , [ "done4" ] , [] ) [] + , Str "task" + , Space + , Str "2" + ] ] ] - , - [ 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" ] + , 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}" ] + [ 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):" - ] + [ 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}" ] + [ 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 ")" - ] + [ 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}" ] + [ 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 "$$" - ] + [ 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" ] + [ 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" ] + [ 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)" ] ] - ] + ( "" , [] , [] ) + (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" ] ] + ] + ] ] - ) - [ 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" ] - ] - ( 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" ] ] + ( "" , [ "center" ] , [] ) + [ Table + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "c" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "d" ] ] + (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 ( "" , [] , [] ) []) ] - ( TableFoot ( "", [], [] ) [] ) - ] - , Header 2 - ( "paragraphs", [], [] ) - [ Str "paragraphs" ] + , 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." - ] + [ 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" ] + [ 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 "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" + ) + , ( [ 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" ] ] ] - , - [ Plain - [ Str "Definition" - , Space - , Str "2" - , Space - , Str "without" - , Space - , Str "a" - , Space - , Str "term" + ) + ] + , 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" ] + [ ( [ 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" ] + [ ( [ 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" ] ] + [ 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" ] ] + [ Plain + [ Str "block" , Space , Str "::" , Space , Str "quote" ] + ] + , Header + 2 + ( "metadata placeholders" , [] , [] ) + [ Str "metadata" , Space , Str "placeholders" ] , Para - [ Str "sub", Subscript [ Str "script" ] ] - , Header 2 - ( "the todo mark", [], [] ) - [ Str "the", Space, Str "todo", Space, Str "mark" ] + [ Str "%this" + , Space + , Str "is" + , Space + , Str "not" + , Space + , Str "a" + , Space + , Str "placeholder" + ] , Para - [ Span ( "", [ "todo" ], [] ) [ Str "TODO:" ] ] - , Header 1 - ( "not implemented yet", [], [] ) - [ Emph - [ Span - ( "not implemented yet", [], [] ) [] - , Strong - [ Str "not", Space, Str "implemented", Space, Str "yet" ] + [ 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" ] + , 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 ) [] - ] + ( "" , [] , [] ) + (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 ">" ] ] + ] + ] ] - ) - [ 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" ] - ] - ( 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 ) [] - ] + ( "" , [] , [] ) + (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 "---" ] ] + ] + ] ] - ) - [ 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" ] - ] - ( 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." - ] + [ Code ( "" , [] , [] ) "template" + , Space + , Str "placeholder" + , Space + , Str "is" + , Space + , Str "ignored." + ] , Para - [ Code - ( "", [], [] ) "nohtml" - , Space - , Str "placeholder" - , Space - , Str "is" - , Space - , Str "ignored." - ] + [ Code ( "" , [] , [] ) "nohtml" + , Space + , Str "placeholder" + , Space + , Str "is" + , Space + , Str "ignored." + ] ] diff --git a/test/writer.native b/test/writer.native index e86464f3e..15971bfff 100644 --- a/test/writer.native +++ b/test/writer.native @@ -1,599 +1,493 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", Space, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" ] + ) ] - ) - , - ( "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" ] + [ 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 - ( "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." - ] + , 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 - ( "block-quotes", [], [] ) - [ Str "Block", Space, Str "Quotes" ] + , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ] , Para - [ Str "E-mail", Space, Str "style:" ] - , BlockQuote - [ Para - [ Str "This" + [ Str "Here\8217s" , Space - , Str "is" + , 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 "block" + , Str "list" , Space - , Str "quote." + , Str "item." , SoftBreak - , Str "It" + , Str "Because" , Space - , Str "is" + , 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 "pretty" + , Str "one" , Space - , Str "short." + , 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" + [ 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 "in" + , 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." ] - , 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:" ] + [ 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:" ] + ( "" , [] , [] ) + "---- (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: \\$ \\\\ \\> \\[ \\{" + ( "" , [] , [] ) + " 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:" ] + , 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + [ [ 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:" ] + ( 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:" ] + ( 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:" ] + ( 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:" ] + ( 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." + ( 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 "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] + , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ] , BulletList - [ - [ Plain - [ Str "Tab" ] - , BulletList - [ [ Plain [ Str "Tab" ], BulletList [ [ Plain [ Str "Tab" ] ] ] ] ] + [ [ Plain [ Str "Tab" ] + , BulletList + [ [ Plain [ Str "Tab" ] , BulletList [ [ Plain [ Str "Tab" ] ] ] ] + ] + ] ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , 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" ] ] + ( 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:" ] - , - [ 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" ] ] + ( 1 , Decimal , Period ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Plain [ Str "Fee" ] ] + , [ Plain [ Str "Fie" ] ] + , [ Plain [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , 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 + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -605,16 +499,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -626,1760 +517,1650 @@ Pandoc , 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" ] + , 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" ] ] + ( 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:" ] + , 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" - ] + ( 1 , UpperAlpha , Period ) + [ [ Plain [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , Period ) + [ [ Plain [ Str "Upper" , Space , Str "Roman." ] , OrderedList - ( 3, LowerAlpha, OneParen ) - [ - [ Plain - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" + ( 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:" ] + , 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" ] + ( 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" ] + , 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:" ] + [ 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 "Multiple" - , Space - , Str "blocks" - , Space - , Str "with" - , Space - , Str "italics:" - ] + [ ( [ 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 - [ - ( - [ 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" + [ ( [ 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" ] ] + ) + , ( [ 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:" ] + [ 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" ] ] - ] - ) - ] + [ ( [ 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:" ] + [ 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:" - ] + [ ( [ 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" ] ] ] + [ ( [ Str "apple" ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] ] + , [ Para [ Str "computer" ] ] ] - ] - ) - ] - , 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:" - ] + ) + , ( [ 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" ) "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "
" + ( "" , [] , [] ) + [ 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") "" + , RawBlock (Format "html") "" + , RawBlock (Format "html") "" - , RawBlock - ( Format "html" ) "" + , RawBlock (Format "html") "" - , RawBlock - ( Format "html" ) "" - , RawBlock - ( Format "html" ) "
" , Plain - [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ] - , RawBlock - ( Format "html" ) "" + [ Str "This" + , Space + , Str "is" + , Space + , Emph [ Str "emphasized" ] + ] + , RawBlock (Format "html") "" , Plain - [ Str "And" - , Space - , Str "this" - , Space - , Str "is" - , Space - , Strong - [ Str "strong" ] - ] - , RawBlock - ( Format "html" ) "
" + [ Str "And" + , Space + , Str "this" + , Space + , Str "is" + , Space + , Strong [ Str "strong" ] + ] + , RawBlock (Format "html") "
" , RawBlock - ( Format "html" ) "" - , 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 - ( "", [], [] ) "
\n foo\n
" + (Format "html") + "" , Para - [ Str "As", Space, Str "should", Space, Str "this:" ] - , CodeBlock - ( "", [], [] ) "
foo
" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "simple" + , Space + , Str "block:" + ] + , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] , Para - [ Str "Now,", Space, Str "nested:" ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "code" + , Space + , Str "block," + , Space + , Str "though:" + ] + , CodeBlock ( "" , [] , [] ) "
\n foo\n
" + , Para [ Str "As" , Space , Str "should" , Space , Str "this:" ] + , CodeBlock ( "" , [] , [] ) "
foo
" + , 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" ) "" + ( "" , [] , [] ) + [ Div + ( "" , [] , [] ) [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ] + ] , Para - [ Str "Multiline:" ] - , RawBlock - ( Format "html" ) "" + [ Str "This" + , Space + , Str "should" + , Space + , Str "just" + , Space + , Str "be" + , Space + , Str "an" + , Space + , Str "HTML" + , Space + , Str "comment:" + ] + , RawBlock (Format "html") "" + , Para [ Str "Multiline:" ] + , RawBlock (Format "html") "" , RawBlock - ( Format "html" ) "" + (Format "html") "" + , Para [ Str "Code" , Space , Str "block:" ] + , CodeBlock ( "" , [] , [] ) "" , Para - [ Str "Code", Space, Str "block:" ] - , CodeBlock - ( "", [], [] ) "" - , 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" ) "" + [ 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") "" + , Para [ Str "Code:" ] + , CodeBlock ( "" , [] , [] ) "
" + , Para [ Str "Hr\8217s:" ] + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , RawBlock (Format "html") "
" + , HorizontalRule + , Header + 1 + ( "inline-markup" , [] , [] ) + [ Str "Inline" , Space , Str "Markup" ] , Para - [ Str "Code:" ] - , CodeBlock - ( "", [], [] ) "
" + [ 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 "Hr\8217s:" ] - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , RawBlock - ( Format "html" ) "
" - , 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." - ] + [ 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 "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 "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 ( "" , [] , [] ) "" + , 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." ] - ] - , 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 - ( "", [], [] ) "" - , 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" ] + , 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 - , Str "my" + , 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 "name." + , Str "Were" + , Space + , Str "you" + , Space + , Str "alive" + , Space + , Str "in" + , Space + , Str "the" + , SoftBreak + , Str "70\8217s?" ] - ] - , 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." ] + , 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" ] + , 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 [ 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 "." + ] ] ] - , - [ 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:" ] - ] - , 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 "I" , Space , Str "hat:" , Space , Str "\206" ] ] + , [ Plain [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ] ] - ] - , - [ Plain - [ Str "Shoes" - , Space - , Str "($20)" - , Space - , Str "and" - , Space - , Str "socks" - , Space - , Str "($5)." + , [ Plain [ Str "section:" , Space , Str "\167" ] ] + , [ Plain + [ Str "set" , Space , Str "membership:" , Space , Str "\8712" ] ] + , [ Plain [ Str "copyright:" , Space , Str "\169" ] ] ] - , - [ 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 "AT&T" + , Space + , Str "has" + , Space + , Str "an" + , Space + , Str "ampersand" + , Space + , Str "in" + , Space + , Str "their" + , Space + , Str "name." ] - ] , 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}" + [ 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 - ( "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." - ] + , Header 1 ( "links" , [] , [] ) [ Str "Links" ] + , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ] , Para - [ Str "AT&T" - , Space - , Str "is" - , Space - , Str "another" - , Space - , Str "way" - , Space - , Str "to" - , Space - , Str "write" - , Space - , Str "it." - ] + [ Str "Just" + , Space + , Str "a" + , Space + , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "This", Space, Str "&", Space, Str "that." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "title" ) + , Str "." + ] , Para - [ Str "4", Space, Str "<", Space, Str "5." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "title preceded by two spaces" ) + , Str "." + ] , Para - [ Str "6", Space, Str ">", Space, Str "5." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "title preceded by a tab" ) + , Str "." + ] , Para - [ Str "Backslash:", Space, Str "\\" ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "title with \"quotes\" in it" ) + ] , Para - [ Str "Backtick:", Space, Str "`" ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "title with single quotes" ) + ] , Para - [ Str "Asterisk:", Space, Str "*" ] + [ Link + ( "" , [] , [] ) + [ Str "with_underscore" ] + ( "/url/with_underscore" , "" ) + ] , Para - [ Str "Underscore:", Space, Str "_" ] + [ Link + ( "" , [] , [] ) + [ Str "Email" , Space , Str "link" ] + ( "mailto:nobody@nowhere.net" , "" ) + ] , Para - [ Str "Left", Space, Str "brace:", Space, Str "{" ] + [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" ) , Str "." ] + , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ] , Para - [ Str "Right", Space, Str "brace:", Space, Str "}" ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Left", Space, Str "bracket:", Space, Str "[" ] + [ Str "With" + , Space + , Link + ( "" , [] , [] ) + [ Str "embedded" , Space , Str "[brackets]" ] + ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Right", Space, Str "bracket:", Space, Str "]" ] + [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" ) + , Space + , Str "by" + , Space + , Str "itself" + , Space + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." + ] , Para - [ Str "Left", Space, Str "paren:", Space, Str "(" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Right", Space, Str "paren:", Space, Str ")" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Greater-than:", Space, Str ">" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Hash:", Space, Str "#" ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "[not][]" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." + ] + , CodeBlock ( "" , [] , [] ) "[not]: /url" , Para - [ Str "Period:", Space, Str "." ] + [ Str "Foo" + , Space + , Link + ( "" , [] , [] ) + [ Str "bar" ] + ( "/url/" , "Title with \"quotes\" inside" ) + , Str "." + ] , Para - [ Str "Bang:", Space, Str "!" ] + [ Str "Foo" + , Space + , Link + ( "" , [] , [] ) + [ Str "biz" ] + ( "/url/" , "Title with \"quote\" inside" ) + , Str "." + ] + , Header + 2 + ( "with-ampersands" , [] , [] ) + [ Str "With" , Space , Str "ampersands" ] , Para - [ Str "Plus:", Space, Str "+" ] + [ 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 "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" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "link" , Space , Str "with" , Space , Str "an" , Space - , Str "ampersand" + , Str "amersand" , 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" + , 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 - , 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", "" ) - ] + , 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 "In" , Space , Str "a" , Space , Str "list?" ] ] + , [ Plain + [ Link + ( "" , [ "uri" ] , [] ) + [ Str "http://example.com/" ] + ( "http://example.com/" , "" ) + ] ] + , [ Plain [ Str "It" , Space , Str "should." ] ] ] - , - [ 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:" + , Para + [ Str "An" + , Space + , Str "e-mail" + , Space + , Str "address:" , 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 - ( "", [], [] ) "" - ] - , CodeBlock - ( "", [], [] ) "or here: " - , 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." - ] + ( "" , [ "email" ] , [] ) + [ Str "nobody@nowhere.net" ] + ( "mailto:nobody@nowhere.net" , "" ) ] - , Space - , Str "and" - , Space - , Str "another." - , Note + , BlockQuote [ 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 - ( "", [], [] ) " { }" - , 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." - ] + [ Str "Blockquoted:" + , Space + , Link + ( "" , [ "uri" ] , [] ) + [ Str "http://example.com/" ] + ( "http://example.com/" , "" ) + ] ] - , 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]." - ] + , Para + [ Str "Auto-links" + , Space + , Str "should" + , Space + , Str "not" + , Space + , Str "occur" + , Space + , Str "here:" + , Space + , Code ( "" , [] , [] ) "" ] - ] - , BlockQuote - [ Para - [ Str "Notes" + , CodeBlock ( "" , [] , [] ) "or here: " + , HorizontalRule + , Header 1 ( "images" , [] , [] ) [ Str "Images" ] + , Para + [ Str "From" , Space - , Str "can" + , Quoted + DoubleQuote + [ Str "Voyage" + , Space + , Str "dans" + , Space + , Str "la" + , Space + , Str "Lune" + ] , Space - , Str "go" + , Str "by" , Space - , Str "in" + , 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 "quotes." + , Str "another." , Note - [ Para [ Str "In", Space, Str "quote." ] ] + [ 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 ( "" , [] , [] ) " { }" + , 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." ] ] + ( 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." - ] + , 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." + ] ] -- cgit v1.2.3