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.) --- test/command/4513.md | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'test/command/4513.md') diff --git a/test/command/4513.md b/test/command/4513.md index 88b0b672a..a149a699f 100644 --- a/test/command/4513.md +++ b/test/command/4513.md @@ -2,19 +2,32 @@ % pandoc -f textile -t native |_. heading 1 |_. heading 2| ^D -[Table ("",[],[]) (Caption Nothing - []) - [(AlignDefault,ColWidthDefault) - ,(AlignDefault,ColWidthDefault)] - (TableHead ("",[],[]) - [Row ("",[],[]) - [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) - [Plain [Str "heading",Space,Str "1"]] - ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) - [Plain [Str "heading",Space,Str "2"]]]]) - [(TableBody ("",[],[]) (RowHeadColumns 0) - [] - [])] - (TableFoot ("",[],[]) - [])] +[ Table + ( "", [], [] ) + ( Caption Nothing [] ) + [ + ( AlignDefault, ColWidthDefault ) + , + ( AlignDefault, ColWidthDefault ) + ] + ( TableHead + ( "", [], [] ) + [ Row + ( "", [], [] ) + [ Cell + ( "", [], [] ) AlignDefault + ( RowSpan 1 ) + ( ColSpan 1 ) + [ Plain [ Str "heading", Space, Str "1" ] ] + , Cell + ( "", [], [] ) AlignDefault + ( RowSpan 1 ) + ( ColSpan 1 ) + [ Plain [ Str "heading", Space, Str "2" ] ] + ] + ] + ) + [ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ] + ( TableFoot ( "", [], [] ) [] ) +] ``` -- 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/command/4513.md') 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