pandoc/test/command/4928.md
2021-09-29 08:28:54 -07:00

5.7 KiB

% pandoc -f latex -t native
\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
            , citationSuffix = [ Str "42" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        , Citation
            { citationId = "Nie72"
            , citationPrefix = []
            , citationSuffix =
                [ Str "65" , Str "," , Space , Str "multipostnote" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex")
            "\\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
        ]
    ]
]
% pandoc -f latex -t native
\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
            , citationSuffix = [ Str "42" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        , Citation
            { citationId = "Nie72"
            , citationPrefix = []
            , citationSuffix = [ Str "65" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex")
            "\\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}"
        ]
    ]
]
% pandoc -f latex -t native
\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "23" ]
            , citationSuffix = [ Str "42" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        , Citation
            { citationId = "Nie72"
            , citationPrefix = []
            , citationSuffix =
                [ Str "65" , Str "," , Space , Str "multipostnote" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex")
            "\\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}"
        ]
    ]
]
% pandoc -f latex -t native
\cites()()[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "23" ]
            , citationSuffix = [ Str "42" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        , Citation
            { citationId = "Nie72"
            , citationPrefix = []
            , citationSuffix = [ Str "65" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex") "\\cites()()[23][42]{Knu86}[65]{Nie72}"
        ]
    ]
]
% pandoc -f latex -t native
\cites(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "23" ]
            , citationSuffix = [ Str "42" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        , Citation
            { citationId = "Nie72"
            , citationPrefix = []
            , citationSuffix =
                [ Str "65" , Str "," , Space , Str "multipostnote" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex")
            "\\cites(multipostnote)[23][42]{Knu86}[65]{Nie72}"
        ]
    ]
]
% pandoc -f latex -t native
\cites(Multiprenote)(multipostnote){Knu86}
^D
[ Para
    [ Cite
        [ Citation
            { citationId = "Knu86"
            , citationPrefix = [ Str "Multiprenote" ]
            , citationSuffix = [ Str "," , Space , Str "multipostnote" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ RawInline
            (Format "latex")
            "\\cites(Multiprenote)(multipostnote){Knu86}"
        ]
    ]
]
% pandoc -f latex -t native
\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
^D
[ Para
    [ Note
        [ Para
            [ Cite
                [ Citation
                    { citationId = "Knu86"
                    , citationPrefix =
                        [ Str "Multiprenote" , Space , Str "23" ]
                    , citationSuffix = [ Str "42" ]
                    , citationMode = NormalCitation
                    , citationNoteNum = 0
                    , citationHash = 0
                    }
                , Citation
                    { citationId = "Nie72"
                    , citationPrefix = []
                    , citationSuffix =
                        [ Str "65"
                        , Str ","
                        , Space
                        , Str "multipostnote"
                        ]
                    , citationMode = NormalCitation
                    , citationNoteNum = 0
                    , citationHash = 0
                    }
                ]
                [ RawInline
                    (Format "latex")
                    "\\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
                ]
            , Str "."
            ]
        ]
    ]
]