pandoc-citeproc-0.10.2: Supports using pandoc with citeproc

Copyright(C) 2014 John MacFarlane
LicenseBSD-style (see LICENSE)
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Text.CSL.Parser

Description

Parser for CSL XML files.

Synopsis

Documentation

readCSLFile :: Maybe String -> FilePath -> IO Style Source #

Read and parse a CSL style file into a localized sytle.

parseCSL :: String -> Style Source #

Parse a String into a Style (with default locale).

parseLocale :: String -> IO Locale Source #

Parse locale. Raises CSLLocaleException on error.

localizeCSL :: Maybe String -> Style -> IO Style Source #

Merge locale into a CSL style.