The pandoc-citeproc library supports automatic generation of citations and a bibliography in pandoc documents using the Citation Style Language (CSL) macro language. More details on CSL can be found at http://citationstyles.org/. In addition to a library, the package includes an executable, pandoc-citeproc, which works as a pandoc filter and also has a mode for converting bibliographic databases into CSL JSON and pandoc YAML metadata formats. pandoc-citeproc originated as a fork of Andrea Rossato's citeproc-hs.


Keywords
deprecated, library, program, text, Propose Tags, http://citationstyles.org/, Skip to Readme, Index, Quick Jump, Text.CSL, Text.CSL.Data, Text.CSL.Eval, Text.CSL.Eval.Common, Text.CSL.Eval.Date, Text.CSL.Eval.Names, Text.CSL.Eval.Output, Text.CSL.Exception, Text.CSL.Input.Bibtex, Text.CSL.Input.Bibutils, Text.CSL.Output.Pandoc, Text.CSL.Output.Plain, Text.CSL.Pandoc, Text.CSL.Parser, Text.CSL.Proc, Text.CSL.Proc.Collapse, Text.CSL.Proc.Disamb, Text.CSL.Reference, Text.CSL.Style, More info, pandoc-citeproc-0.17.0.2.tar.gz, browse, Package description, Package maintainers, JohnMacFarlane, edit package information , 0.14.4, 0.14.5, 0.16.2, pandoc-citeproc man page
License
BSD-3-Clause
Install
cabal install pandoc-citeproc-0.17.0.2

Documentation

pandoc-citeproc

Note: This package is no longer maintained. Pandoc now uses the citeproc library, and no external filter is needed.

CI tests

This package provides a library and executable to facilitate the use of citeproc with pandoc 1.12 and greater. (Earlier versions of pandoc have integrated citeproc support.)

pandoc-citeproc

The pandoc-citeproc executable can be used as a filter with pandoc to resolve and format citations using a bibliography file and a CSL stylesheet. It can also be used (with --bib2yaml or --bib2json options) to convert a bibliography to a YAML format that can be put directly into a pandoc markdown document or to CSL JSON. Bibliographies can be in any of several formats, but bibtex and biblatex are the best supported.

For usage and further details, see the pandoc-citeproc man page.

The current version of the package includes code from citeproc-hs, which has not been updated for some time. When citeproc-hs is brought up to date, this code can be removed and this package will depend on citeproc-hs.

Text.CSL.Pandoc

Those who use pandoc as a library (e.g. in a web application) will need to use this module to process citations.

The module exports two functions, processCites, which is pure and accepts a style and a list of references as arguments, and processCites', which lives in the IO monad and derives the style and references from the document's metadata.