| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Text.Pandoc.Citeproc
Synopsis
- processCitations :: PandocMonad m => Pandoc -> m Pandoc
 - getReferences :: PandocMonad m => Maybe Locale -> Pandoc -> m [Reference Inlines]
 - getStyle :: PandocMonad m => Pandoc -> m (Style Inlines)
 
Documentation
processCitations :: PandocMonad m => Pandoc -> m Pandoc Source #
getReferences :: PandocMonad m => Maybe Locale -> Pandoc -> m [Reference Inlines] Source #
Get references defined inline in the metadata and via an external
 bibliography.  Only references that are actually cited in the document
 (either with a genuine citation or with nocite) are returned.
 URL variables are converted to links.
getStyle :: PandocMonad m => Pandoc -> m (Style Inlines) Source #
Retrieve the CSL style specified by the csl or citation-style metadata field in a pandoc document, or the default CSL style if none is specified. Retrieve the parent style if the style is a dependent style. Add abbreviations defined in an abbreviation file if one has been specified.