| Portability | unportable |
|---|---|
| Stability | unstable |
| Maintainer | Andrea Rossato <andrea.rossato@unitn.it> |
| Safe Haskell | Safe-Infered |
Text.CSL.Proc
Description
This module provides functions for processing the evaluated
Output for disambiguation and citation collapsing.
- data ProcOpts = ProcOpts {}
- data BibOpts
- procOpts :: ProcOpts
- processCitations :: ProcOpts -> Style -> [Reference] -> Citations -> [[FormattedOutput]]
- processBibliography :: ProcOpts -> Style -> [Reference] -> [[FormattedOutput]]
- citeproc :: ProcOpts -> Style -> [Reference] -> Citations -> BiblioData
- procRefs :: Style -> [Reference] -> [Reference]
- sortItems :: Show a => [(a, [Sorting])] -> [a]
- procBiblio :: BibOpts -> Style -> [Reference] -> [[Output]]
- filterRefs :: BibOpts -> [Reference] -> [Reference]
- procGroup :: Style -> [(Cite, Reference)] -> CitationGroup
- formatBiblioLayout :: Formatting -> Delimiter -> [Output] -> [Output]
- formatCitLayout :: Style -> CitationGroup -> [FormattedOutput]
- addAffixes :: Formatting -> [Output] -> [Output]
- localModifiers :: Style -> Bool -> Cite -> Output -> Output
Documentation
processCitations :: ProcOpts -> Style -> [Reference] -> Citations -> [[FormattedOutput]]Source
With a Style, a list of References and the list of citation
groups (the list of citations with their locator), produce the
FormattedOutput for each citation group.
processBibliography :: ProcOpts -> Style -> [Reference] -> [[FormattedOutput]]Source
With a Style and the list of References produce the
FormattedOutput for the bibliography.
citeproc :: ProcOpts -> Style -> [Reference] -> Citations -> BiblioDataSource
With a Style, a list of References and the list of
Citations, produce the FormattedOutput for each citation group
and the bibliography.
filterRefs :: BibOpts -> [Reference] -> [Reference]Source
procGroup :: Style -> [(Cite, Reference)] -> CitationGroupSource
Given the CSL Style and the list of Cites coupled with their
References, generate a CitationGroup. The citations are sorted
according to the Style.
formatBiblioLayout :: Formatting -> Delimiter -> [Output] -> [Output]Source
formatCitLayout :: Style -> CitationGroup -> [FormattedOutput]Source
addAffixes :: Formatting -> [Output] -> [Output]Source