| Copyright | (c) Andrea Rossato | 
|---|---|
| License | BSD-style (see LICENSE) | 
| Maintainer | Andrea Rossato <andrea.rossato@unitn.it> | 
| Stability | unstable | 
| Portability | unportable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Text.CSL.Proc
Description
This module provides functions for processing the evaluated
 Output for disambiguation and citation collapsing.
Synopsis
- data ProcOpts = ProcOpts {- bibOpts :: BibOpts
- linkCitations :: Bool
 
- data BibOpts
- newtype FieldVal = FieldVal {- unFieldVal :: (String, String)
 
- procOpts :: ProcOpts
- processCitations :: ProcOpts -> Style -> [Reference] -> Citations -> [Formatted]
- processBibliography :: ProcOpts -> Style -> [Reference] -> [Formatted]
- citeproc :: ProcOpts -> Style -> [Reference] -> Citations -> BiblioData
- procRefs :: Style -> [Reference] -> [Reference]
- sortItems :: Show a => [(a, [Sorting])] -> [a]
- procBiblio :: BibOpts -> Style -> [Reference] -> [[Output]]
- subsequentAuthorSubstitute :: Bibliography -> [[Output]] -> [[Output]]
- filterRefs :: BibOpts -> [Reference] -> [Reference]
- procGroup :: Style -> [(Cite, Maybe Reference)] -> CitationGroup
- formatBiblioLayout :: Formatting -> Delimiter -> [Output] -> [Output]
- formatCitLayout :: Style -> CitationGroup -> Formatted
- addAffixes :: Formatting -> [Output] -> [Output]
- localModifiers :: Style -> Bool -> Cite -> Output -> Output
- contribOnly :: Style -> Output -> Output
Documentation
Constructors
| ProcOpts | |
| Fields 
 | |
Constructors
| Select [(String, String)] [(String, String)] | |
| Include [(String, String)] [(String, String)] | |
| Exclude [(String, String)] [(String, String)] | 
Constructors
| FieldVal | |
| Fields 
 | |
subsequentAuthorSubstitute :: Bibliography -> [[Output]] -> [[Output]] Source #
procGroup :: Style -> [(Cite, Maybe Reference)] -> CitationGroup Source #
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 -> Formatted Source #
addAffixes :: Formatting -> [Output] -> [Output] Source #