bibtex-0.0.1: Parse, format and processing BibTeX files

Text.BibTeX.Parse

Contents

Synopsis

Documentation

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.