Text.CSL.Eval

pandoc-citeproc-0.9: Supports using pandoc with citeproc

Copyright | (c) Andrea Rossato
License | BSD-style (see LICENSE)
Maintainer | Andrea Rossato <andrea.rossato@unitn.it>
Stability | unstable
Portability | unportable
Safe Haskell | None
Language | Haskell98

Text.CSL.Eval

Description

The CSL implementation

Synopsis

- evalLayout :: Layout -> EvalMode -> Bool -> [Locale] -> [MacroMap] -> [Option] -> Abbreviations -> Maybe Reference -> [Output]
- evalSorting :: EvalMode -> [Locale] -> [MacroMap] -> [Option] -> [Sort] -> Abbreviations -> Maybe Reference -> [Sorting]
- module Text.CSL.Eval.Common
- module Text.CSL.Eval.Output

# Documentation

evalLayout :: Layout -> EvalMode -> Bool -> [Locale] -> [MacroMap] -> [Option] -> Abbreviations -> Maybe Reference -> [Output]

Produce the output with a `Layout`, the `EvalMode`, a `Bool` `True` if the evaluation happens for disambiguation purposes, the `Locale`, the `MacroMap`, the position of the cite and the `Reference`.

evalSorting :: EvalMode -> [Locale] -> [MacroMap] -> [Option] -> [Sort] -> Abbreviations -> Maybe Reference -> [Sorting]

module Text.CSL.Eval.Common

module Text.CSL.Eval.Output