Copyright | (c) Stefan Berthold 2014-2015 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | stefan.berthold@gmx.net |
Stability | unstable |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
This module specifies the parsers that change uppercase letters in smaller uppercase letters. It calls the functions from Text.SmallCaps.PrintableParser.
- type Parser = Parser ParserState
- runDocument :: Config -> Profile -> LaTeX -> Either String LaTeX
- runDocument' :: Map FilePath (FilePath, LaTeX) -> Config -> Profile -> LaTeX -> Either String (LaTeX, Map FilePath (FilePath, LaTeX))
- runDocumentWith :: SubParser LaTeX
- runSubDocument :: SubParser a -> a -> Parser a
- isolateSubDocument :: Config -> SubParser a -> a -> Parser a
- decideSub :: LaTeXElement -> SubParser a -> a -> Parser a
- document :: Parser LaTeX
- documentElement :: Parser LaTeXElement
- printable :: Parser LaTeXElement
- macro :: Parser LaTeXElement
- environment :: Parser LaTeXElement
- block :: Parser LaTeXElement
- bblock :: Parser LaTeXElement
- math :: Parser LaTeXElement
- comment :: Parser LaTeXElement
- implySkip :: LaTeXElement -> Parser ()
- implyInput :: LaTeXElement -> Parser ()
- implyEos :: LaTeXElement -> Parser ()
- resetNewLine :: Parser ()
Documentation
type Parser = Parser ParserState Source
Documents
runDocument' :: Map FilePath (FilePath, LaTeX) -> Config -> Profile -> LaTeX -> Either String (LaTeX, Map FilePath (FilePath, LaTeX)) Source
Subdocument
runSubDocument :: SubParser a -> a -> Parser a Source
isolateSubDocument :: Config -> SubParser a -> a -> Parser a Source
decideSub :: LaTeXElement -> SubParser a -> a -> Parser a Source
Parsers
implySkip :: LaTeXElement -> Parser () Source
implyInput :: LaTeXElement -> Parser () Source
implyEos :: LaTeXElement -> Parser () Source
resetNewLine :: Parser () Source