| citeproc-hs-0.2: A Citation Style Language implementation in Haskell | Source code | Contents | Index
Text.CSL.Proc |
Portability | unportable
Stability | unstable
Maintainer | Andrea Rossato <andrea.rossato@unitn.it>
Description
This module provides functions for processing the evaluated `Output` for disambiguation and citation collapsing.
Synopsis
processCitations :: Style -> [Reference] -> [[(String, String)]] -> [[FormattedOutput]]
processBibliography :: Style -> [Reference] -> [[FormattedOutput]]
citeproc :: Style -> [Reference] -> [[(String, String)]] -> BiblioData
procBiblio :: Style -> [Reference] -> [[Output]]
procRefs :: Style -> [Reference] -> [Reference]
refsYSuffix :: [Reference] -> [Reference]
suffixes :: [String]
Documentation
processCitations :: Style -> [Reference] -> [[(String, String)]] -> [[FormattedOutput]] | Source
With a `Style`, a list of `Reference`s and the list of citation groups (the list of citations with their locator), produce the `FormattedOutput` for each citation group.
processBibliography :: Style -> [Reference] -> [[FormattedOutput]] | Source
With a `Style` and the list of `Reference`s produce the `FormattedOutput` for the bibliography.
citeproc :: Style -> [Reference] -> [[(String, String)]] -> BiblioData | Source
With a `Style`, a list of `Reference`s and the list of citation groups (the list of citations with their locator), produce the `FormattedOutput` for each citation group and the bibliography.
procBiblio :: Style -> [Reference] -> [[Output]] | Source
With a `Style` and a sorted list of `Reference`s produce the evaluated output for the bibliography.
procRefs :: Style -> [Reference] -> [Reference] | Source
Given the CSL `Style` and the list of `Reference`s sort the list according to the `Style` and assign the citation number to each `Reference`.
refsYSuffix :: [Reference] -> [Reference] | Source
Given the list of `Reference`s, compare year and contributors' names and, when they collide, generate a suffix to append to the year for disambiguation.
suffixes :: [String] | Source
Produced by Haddock version 2.4.2