pandoc-citeproc: Supports using pandoc with citeproc

[ bsd3, deprecated, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated in favor of citeproc

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.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
bibutils

Use Chris Putnam's Bibutils.

Enabled
embed_data_files

Embed locale files into the library (needed for windows packaging)

Disabled
unicode_collation

Use Haskell bindings to the International Components for Unicode (ICU) libraries

Disabled
test_citeproc

Build the test-citeproc program

Disabled
debug

Turn on debug tracing.

Disabled
static

Use static linking.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.1.1.1, 0.1.1.2, 0.1.2, 0.1.2.1, 0.2, 0.3, 0.3.0.1, 0.3.1, 0.4, 0.4.0.1, 0.5, 0.6, 0.6.0.1, 0.7, 0.7.0.1, 0.7.0.2, 0.7.1, 0.7.1.1, 0.7.2, 0.7.3, 0.7.3.1, 0.7.4, 0.8, 0.8.0.1, 0.8.1, 0.8.1.1, 0.8.1.2, 0.8.1.3, 0.9, 0.9.1, 0.9.1.1, 0.10, 0.10.1, 0.10.1.1, 0.10.1.2, 0.10.1.3, 0.10.1.4, 0.10.2, 0.10.2.1, 0.10.2.2, 0.10.3, 0.10.4, 0.10.4.1, 0.10.5, 0.10.5.1, 0.11, 0.11.1, 0.11.1.1, 0.11.1.2, 0.11.1.3, 0.12, 0.12.1, 0.12.1.1, 0.12.2, 0.12.2.1, 0.12.2.2, 0.12.2.3, 0.12.2.4, 0.12.2.5, 0.13, 0.13.0.1, 0.14, 0.14.1, 0.14.1.1, 0.14.1.2, 0.14.1.3, 0.14.1.4, 0.14.1.5, 0.14.2, 0.14.3, 0.14.3.1, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.8.1, 0.15, 0.15.0.1, 0.16, 0.16.0.1, 0.16.0.2, 0.16.1, 0.16.1.1, 0.16.1.2, 0.16.1.3, 0.16.2, 0.16.3, 0.16.3.1, 0.16.4, 0.16.4.1, 0.17, 0.17.0.1, 0.17.0.2
Change log changelog
Dependencies aeson (>=0.7 && <1.6), aeson-pretty (>=0.8), attoparsec, base (>=4 && <5), base-compat (>=0.9), bytestring, containers (>=0.4), data-default, directory, file-embed (>=0.0 && <0.1), filepath, hs-bibutils (>=6.4), HsYAML (>=0.2 && <0.3), HsYAML-aeson (>=0.2 && <0.3), libyaml, mtl, network (<3.2), old-locale, pandoc (>=2.8 && <2.11), pandoc-citeproc, pandoc-types (>=1.20 && <1.22), parsec, pretty-show, process, rfc5051 (>=0.2 && <0.3), safe, semigroups (>=0.18 && <0.19), setenv (>=0.1 && <0.2), split, syb, tagsoup, temporary (>=1.1), text, text-icu, time, unordered-containers (>=0.2 && <0.3), vector (>=0.10), xml-conduit (>=1.2 && <1.10), yaml (>=0.11) [details]
Tested with ghc ==8.0.1, ghc ==8.2.2, ghc ==8.4.3, ghc ==8.6.3
License BSD-3-Clause
Author John MacFarlane, Andrea Rossato
Maintainer jgm@berkeley.edu
Category Text
Home page https://github.com/jgm/pandoc-citeproc
Source repo head: git clone git://github.com/jgm/pandoc-citeproc.git
Uploaded by JohnMacFarlane at 2020-08-02T06:10:33Z
Distributions Debian:0.17.0.1, FreeBSD:0.7.3.1
Reverse Dependencies 3 direct, 30 indirect [details]
Executables test-citeproc, pandoc-citeproc
Downloads 105095 total (130 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for pandoc-citeproc-0.17.0.2

[back to package description]

pandoc-citeproc

CItests

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.