bibtex-0.0.1: Parse, format and processing BibTeX filesSource codeContentsIndex
Text.BibTeX.Parse
Contents
Convert contents of BibTeX fields into lists
Synopsis
file :: Parser [T]
comment :: Parser String
entry :: Parser T
assignment :: Parser (String, String)
value :: Parser String
texSequence :: Char -> Parser String
texBlock :: Char -> Parser String
identifier :: Parser String
bibIdentifier :: Parser String
skippingSpace :: Parser a -> Parser a
splitCommaSepList :: String -> [String]
splitAuthorList :: String -> [String]
splitSepList :: Char -> String -> [String]
Documentation
file :: Parser [T]Source
comment :: Parser StringSource
entry :: Parser TSource
assignment :: Parser (String, String)Source
value :: Parser StringSource
texSequence :: Char -> Parser StringSource
texBlock :: Char -> Parser StringSource
identifier :: Parser StringSource
bibIdentifier :: Parser StringSource
skippingSpace :: Parser a -> Parser aSource
Extends a parser, such that all trailing spaces are skipped. It might be more comfortable to skip all leading zeros, but parser written that way are hard to combine. This is so, since if you run two parsers in parallel and both of them expect leading spaces, then the parser combinator does not know which one of the parallel parsers to choose.
Convert contents of BibTeX fields into lists
splitCommaSepList :: String -> [String]Source
Split a string at the commas and remove leading spaces.
splitAuthorList :: String -> [String]Source
Split a string containing a list of authors in BibTeX notation.
splitSepList :: Char -> String -> [String]Source
Produced by Haddock version 2.6.0