pandoc-citeproc-0.17.0.2: Supports using pandoc with citeproc

Copyright(c) Andrea Rossato
LicenseBSD-style (see LICENSE)
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Text.CSL.Eval.Names

Description

The CSL implementation

Synopsis

Documentation

formatNames :: Bool -> Delimiter -> Text -> Text -> [Agent] -> Name -> State EvalState [Output] Source #

The Bool is True when formatting a name with a final "et-al". The first Text represents the position and the second the role (e.i. editor, translator, etc.).

isEtAl :: Bool -> [Option] -> Text -> [Agent] -> (Bool, Int) Source #

The first Bool is True if we are evaluating the bibliography. The Text is the cite position. The function also returns the number of contributors to be displayed.

formatName :: EvalMode -> Bool -> Form -> Formatting -> [Option] -> [NamePart] -> Agent -> [Output] Source #

Generate the Agents names applying et-al options, with all possible permutations to disambiguate colliding citations. The Bool indicate whether we are formatting the first name or not.