pandoc-citeproc-0.17.0.2: Supports using pandoc with citeproc

Copyright(c) John MacFarlane
LicenseBSD-style (see LICENSE)
MaintainerJohn MacFarlane <fiddlosopher@gmail.com>
Stabilityunstable-- Portability : unportable
Safe HaskellNone
LanguageHaskell2010

Text.CSL.Input.Bibtex

Description

 
Synopsis

Documentation

readBibtex :: (Text -> Bool) -> Bool -> Bool -> FilePath -> IO [Reference] Source #

Parse a BibTeX or BibLaTeX file into a list of References. The first parameter is a predicate to filter identifiers. If the second parameter is true, the file will be treated as BibTeX; otherwise as BibLaTeX. If the third parameter is true, an "untitlecase" transformation will be performed.

readBibtexString :: (Text -> Bool) -> Bool -> Bool -> Text -> IO [Reference] Source #

Like readBibtex but operates on Text rather than a file.

data Lang Source #

A representation of a language and localization.

Constructors

Lang Text Text 

langToLocale :: Lang -> Text Source #

Prints a Lang in BCP 47 format.

getLangFromEnv :: IO Lang Source #

Get Lang from the environment variable LANG, defaulting to en-US.