pandoc-citeproc-0.3: Supports using pandoc with citeproc

Safe HaskellNone

Text.CSL.Pandoc

Synopsis

Documentation

processCites :: Style -> [Reference] -> Pandoc -> PandocSource

Process a Pandoc document by adding citations formatted according to a CSL style. Add a bibliography (if one is called for) at the end of the document.

processCites' :: Pandoc -> IO PandocSource

Process a Pandoc document by adding citations formatted according to a CSL style. The style filename is derived from the csl field of the metadata, and the references are taken from the references field or read from a file in the bibliography field.