Files
John MacFarlane f4eca1f3fb Use latest dev citeproc and update the default CSL...
from the latest chicago-author-date.csl. (Note that this goes
from the 17th to the 18th edition.)

Update tests.
2025-07-20 00:12:15 -07:00

4.1 KiB

% pandoc -f rst -t native --citeproc --bibliography command/biblio.bib
The axioms were introduced by :cite:t:`{see}item1`.
The axioms were introduced by :cite:t:`item1{p. 1166}`.
The axioms were introduced by :cite:t:`{see}item1{p. 1166}`.
Axioms were introduced :cite:`{see}item1`.
Axioms were introduced :cite:p:`item1{p. 1166}`.
Axioms were introduced :cite:p:`{see}item1{p. 1166}`.

.. bibliography::
^D
[ Para
    [ Str "The"
    , Space
    , Str "axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Str "by"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = [ Str "see" ]
            , citationSuffix = []
            , citationMode = AuthorInText
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "(see" , Space , Str "Doe;" , Space , Str "2005)" ]
    , Str "."
    , SoftBreak
    , Str "The"
    , Space
    , Str "axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Str "by"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = []
            , citationSuffix = [ Str "p." , Space , Str "1166" ]
            , citationMode = AuthorInText
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "Doe" , Space , Str "(2005," , Space , Str "1166)" ]
    , Str "."
    , SoftBreak
    , Str "The"
    , Space
    , Str "axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Str "by"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = [ Str "see" ]
            , citationSuffix = [ Str "p." , Space , Str "1166" ]
            , citationMode = AuthorInText
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "(see"
        , Space
        , Str "Doe;"
        , Space
        , Str "2005,"
        , Space
        , Str "1166)"
        ]
    , Str "."
    , SoftBreak
    , Str "Axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = [ Str "see" ]
            , citationSuffix = []
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "(see" , Space , Str "Doe" , Space , Str "2005)" ]
    , Str "."
    , SoftBreak
    , Str "Axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = []
            , citationSuffix = [ Str "p." , Space , Str "1166" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "(Doe" , Space , Str "2005," , Space , Str "1166)" ]
    , Str "."
    , SoftBreak
    , Str "Axioms"
    , Space
    , Str "were"
    , Space
    , Str "introduced"
    , Space
    , Cite
        [ Citation
            { citationId = "item1"
            , citationPrefix = [ Str "see" ]
            , citationSuffix = [ Str "p." , Space , Str "1166" ]
            , citationMode = NormalCitation
            , citationNoteNum = 0
            , citationHash = 0
            }
        ]
        [ Str "(see"
        , Space
        , Str "Doe"
        , Space
        , Str "2005,"
        , Space
        , Str "1166)"
        ]
    , Str "."
    ]
, Div
    ( "refs"
    , [ "references" , "csl-bib-body" , "hanging-indent" ]
    , []
    )
    [ Div
        ( "ref-item1" , [ "csl-entry" ] , [] )
        [ Para
            [ Str "Doe,"
            , Space
            , Str "John."
            , Space
            , Str "2005."
            , Space
            , Emph [ Str "First" , Space , Str "Book" ]
            , Str "."
            , Space
            , Str "Cambridge"
            , Space
            , Str "University"
            , Space
            , Str "Press."
            ]
        ]
    ]
]