[ Header 1 ( "citations" , [] , [] ) [ Str "Citations" ]
, Para
    [ Str "Introductory"
    , Space
    , Str "text"
    , Space
    , Str "to"
    , Space
    , Str "ensure"
    , Space
    , Str "wrapping"
    , Space
    , Str "and"
    , Space
    , Str "keep"
    , Space
    , Str "these"
    , Space
    , Str "sentences"
    , Space
    , Str "long"
    , Space
    , Str "enough"
    , Space
    , Str "to"
    , Space
    , Str "reflow"
    , Space
    , Str "around"
    , Space
    , Str "citations."
    ]
, Para
    [ Str "Blah"
    , Space
    , Str "blah"
    , Space
    , Cite
        [ Citation
            { citationId = "doe99"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 1
            , citationHash = 0
            }
        , Citation
            { citationId = "smith2000"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 1
            , citationHash = 0
            }
        , Citation
            { citationId = "smith2004"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 1
            , citationHash = 0
            }
        ]
        [ Str "[@doe99;"
        , Space
        , Str "@smith2000;"
        , Space
        , Str "@smith2004]"
        ]
    , Space
    , Str "with"
    , Space
    , Str "extra"
    , Space
    , Str "words"
    , Space
    , Str "to"
    , Space
    , Str "exercise"
    , Space
    , Str "wrapping"
    , Space
    , Str "behavior."
    ]
, Para
    [ Str "Blah"
    , Space
    , Str "blah"
    , Space
    , Cite
        [ Citation
            { citationId = "doe99"
            , citationPrefix = [ Str "see" ]
            , citationSuffix =
                [ Str ","
                , Space
                , Str "pp.\160\&33-35"
                , Space
                , Str "and"
                , Space
                , Emph [ Str "passim" ]
                ]
            , citationMode = NormalCitation
            , citationNoteNum = 2
            , citationHash = 0
            }
        , Citation
            { citationId = "smith04"
            , citationPrefix = []
            , citationSuffix = [ Str "," , Space , Str "chap.\160\&1" ]
            , citationMode = NormalCitation
            , citationNoteNum = 2
            , citationHash = 0
            }
        ]
        [ Str "[see"
        , Space
        , Str "@doe99,"
        , Space
        , Str "pp."
        , Space
        , Str "33-35"
        , Space
        , Str "and"
        , Space
        , Str "*passim*;"
        , Space
        , Str "@smith04,"
        , Space
        , Str "chap."
        , Space
        , Str "1]"
        ]
    , Space
    , Str "in"
    , Space
    , Str "a"
    , Space
    , Str "longer"
    , Space
    , Str "sentence"
    , Space
    , Str "for"
    , Space
    , Str "reflow."
    ]
, Para
    [ Str "Smith"
    , Space
    , Str "says"
    , Space
    , Str "blah"
    , Space
    , Cite
        [ Citation
            { citationId = "smith04"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = SuppressAuthor
            , citationNoteNum = 3
            , citationHash = 0
            }
        ]
        [ Str "[-@smith04]" ]
    , Space
    , Str "when"
    , Space
    , Str "the"
    , Space
    , Str "author"
    , Space
    , Str "appears"
    , Space
    , Str "in"
    , Space
    , Str "the"
    , Space
    , Str "prose"
    , Space
    , Str "already."
    ]
, Para
    [ Cite
        [ Citation
            { citationId = "smith04"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = AuthorInText
            , citationNoteNum = 4
            , citationHash = 0
            }
        ]
        [ Str "@smith04" ]
    , Space
    , Str "says"
    , Space
    , Str "blah"
    , Space
    , Str "in"
    , Space
    , Str "a"
    , Space
    , Str "sentence"
    , Space
    , Str "that"
    , Space
    , Str "should"
    , Space
    , Str "reflow"
    , Space
    , Str "nicely"
    , Space
    , Str "with"
    , Space
    , Str "the"
    , Space
    , Str "author-in-text"
    , Space
    , Str "citation."
    ]
, Para
    [ Cite
        [ Citation
            { citationId = "smith04"
            , citationPrefix = []
            , citationSuffix = [ Str "p.\160\&33" ]
            , citationMode = AuthorInText
            , citationNoteNum = 5
            , citationHash = 0
            }
        ]
        [ Str "@smith04" , Space , Str "[p." , Space , Str "33]" ]
    , Space
    , Str "says"
    , Space
    , Str "blah"
    , Space
    , Str "with"
    , Space
    , Str "a"
    , Space
    , Str "locator"
    , Space
    , Str "in"
    , Space
    , Str "brackets"
    , Space
    , Str "to"
    , Space
    , Str "match"
    , Space
    , Str "pandoc"
    , Space
    , Str "behavior."
    ]
, Para
    [ Str "Citation"
    , Space
    , Str "with"
    , 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 = 6
            , citationHash = 0
            }
        ]
        [ Str "[@item1"
        , Space
        , Str "pp."
        , Space
        , Str "33,"
        , Space
        , Str "35-37,"
        , Space
        , Str "and"
        , Space
        , Str "nowhere"
        , Space
        , Str "else]"
        ]
    , Space
    , Str "in"
    , Space
    , Str "a"
    , Space
    , Str "longer"
    , Space
    , Str "line."
    ]
, 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 = 7
            , citationHash = 0
            }
        ]
        [ Str "[@item1"
        , Space
        , Str "and"
        , Space
        , Str "nowhere"
        , Space
        , Str "else]"
        ]
    , Space
    , Str "followed"
    , Space
    , Str "by"
    , Space
    , Str "more"
    , Space
    , Str "explanatory"
    , Space
    , Str "words."
    ]
, 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 = 8
            , citationHash = 0
            }
        ]
        [ Str "[*see*"
        , Space
        , Str "@item1"
        , Space
        , Str "p."
        , Space
        , Str "**32**]"
        ]
    , Space
    , Str "in"
    , Space
    , Str "a"
    , Space
    , Str "sentence"
    , Space
    , Str "that"
    , Space
    , Str "should"
    , Space
    , Str "still"
    , Space
    , Str "reflow."
    ]
, Para
    [ Str "Citation"
    , Space
    , Str "group"
    , Space
    , Str "with"
    , Space
    , Str "unicode"
    , Space
    , Str "key"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = [ Str "see" ]
            , citationSuffix = [ Space , Str "chap.\160\&3" ]
            , citationMode = NormalCitation
            , citationNoteNum = 9
            , citationHash = 0
            }
        , Citation
            { citationId = "\1087\1091\1085\1082\1090\&3"
            , citationPrefix = [ Str "also" ]
            , citationSuffix = [ Space , Str "p.\160\&34-35" ]
            , citationMode = NormalCitation
            , citationNoteNum = 9
            , 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]"
        ]
    , Space
    , Str "for"
    , Space
    , Str "UTF-8"
    , Space
    , Str "handling."
    ]
, Para
    [ Str "Braced"
    , Space
    , Str "keys"
    , Space
    , Str "and"
    , Space
    , Str "punctuation"
    , Space
    , Cite
        [ Citation
            { citationId = "Foo_bar.baz."
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 10
            , citationHash = 0
            }
        , Citation
            { citationId =
                "https://example.com/bib?name=foobar&date=2000"
            , citationPrefix = []
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 10
            , citationHash = 0
            }
        ]
        [ Str "[@{Foo_bar.baz.};"
        , Space
        , Str "@{https://example.com/bib?name=foobar&date=2000}]"
        ]
    , Space
    , Str "in"
    , Space
    , Str "a"
    , Space
    , Str "long"
    , Space
    , Str "sentence."
    ]
, Para
    [ Str "Repeated"
    , Space
    , Str "punctuation"
    , Space
    , Str "terminates"
    , Space
    , Str "key"
    , Space
    , Cite
        [ Citation
            { citationId = "Foo_bar"
            , citationPrefix = []
            , citationSuffix = [ Str "\8211baz" ]
            , citationMode = NormalCitation
            , citationNoteNum = 11
            , citationHash = 0
            }
        ]
        [ Str "[@Foo_bar--baz]" ]
    , Space
    , Str "with"
    , Space
    , Str "extra"
    , Space
    , Str "text"
    , Space
    , Str "to"
    , Space
    , Str "ensure"
    , Space
    , Str "wrapping."
    ]
, Para
    [ Str "Complex"
    , Space
    , Str "locator"
    , Space
    , Str "braces"
    , Space
    , Cite
        [ Citation
            { citationId = "smith"
            , citationPrefix = []
            , citationSuffix =
                [ Str "{ii,"
                , Space
                , Str "A,"
                , Space
                , Str "D-Z},"
                , Space
                , Str "with"
                , Space
                , Str "a"
                , Space
                , Str "suffix"
                ]
            , citationMode = NormalCitation
            , citationNoteNum = 12
            , citationHash = 0
            }
        ]
        [ Str "[@smith{ii,"
        , Space
        , Str "A,"
        , Space
        , Str "D-Z},"
        , Space
        , Str "with"
        , Space
        , Str "a"
        , Space
        , Str "suffix]"
        ]
    , Space
    , Str "and"
    , Space
    , Str "additional"
    , Space
    , Str "text"
    , Space
    , Str "to"
    , Space
    , Str "reflow."
    ]
, Para
    [ Str "Locator"
    , Space
    , Str "braces"
    , Space
    , Cite
        [ Citation
            { citationId = "smith"
            , citationPrefix = []
            , citationSuffix =
                [ Str ","
                , Space
                , Str "{pp.\160iv,"
                , Space
                , Str "vi-xi,"
                , Space
                , Str "(xv)-(xvii)}"
                , Space
                , Str "with"
                , Space
                , Str "suffix"
                , Space
                , Str "here"
                ]
            , citationMode = NormalCitation
            , citationNoteNum = 13
            , citationHash = 0
            }
        ]
        [ Str "[@smith,"
        , Space
        , Str "{pp."
        , Space
        , Str "iv,"
        , Space
        , Str "vi-xi,"
        , Space
        , Str "(xv)-(xvii)}"
        , Space
        , Str "with"
        , Space
        , Str "suffix"
        , Space
        , Str "here]"
        ]
    , Space
    , Str "and"
    , Space
    , Str "more"
    , Space
    , Str "text"
    , Space
    , Str "for"
    , Space
    , Str "wrapping."
    ]
, Para
    [ Str "Empty"
    , Space
    , Str "locator"
    , Space
    , Cite
        [ Citation
            { citationId = "smith"
            , citationPrefix = []
            , citationSuffix =
                [ Str "{},"
                , Space
                , Str "99"
                , Space
                , Str "years"
                , Space
                , Str "later"
                ]
            , citationMode = NormalCitation
            , citationNoteNum = 14
            , citationHash = 0
            }
        ]
        [ Str "[@smith{},"
        , Space
        , Str "99"
        , Space
        , Str "years"
        , Space
        , Str "later]"
        ]
    , Space
    , Str "with"
    , Space
    , Str "additional"
    , Space
    , Str "words"
    , Space
    , Str "to"
    , Space
    , Str "wrap."
    ]
, Para
    [ Str "Reference"
    , Space
    , Str "link"
    , Space
    , Str "followed"
    , Space
    , Str "by"
    , Space
    , Str "citation:"
    , SoftBreak
    , 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 = 15
            , citationHash = 0
            }
        ]
        [ Str "[@mapreduce]" ]
    , Space
    , Str "as"
    , Space
    , Str "its"
    , Space
    , Str "most"
    , Space
    , Str "vocal"
    , Space
    , Str "proponent"
    , Space
    , Str "in"
    , Space
    , Str "this"
    , Space
    , Str "longer"
    , Space
    , Str "sentence."
    ]
, Para
    [ Str "Footnote"
    , Space
    , Str "with"
    , Space
    , Str "citations."
    , Note
        [ Para
            [ Cite
                [ Citation
                    { citationId = "\1087\1091\1085\1082\1090\&3"
                    , citationPrefix = []
                    , citationSuffix = [ Str "p.\160\&12" ]
                    , citationMode = AuthorInText
                    , citationNoteNum = 16
                    , 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 = 16
                    , citationHash = 0
                    }
                ]
                [ Str "[@\1087\1091\1085\1082\1090\&3]" ]
            , Space
            , Str "in"
            , Space
            , Str "a"
            , Space
            , Str "longer"
            , Space
            , Str "note"
            , Space
            , Str "sentence."
            ]
        ]
    ]
]
