smallcaps-0.6.0.4: Flatten camel case text in LaTeX files

Copyright(c) Stefan Berthold 2014-2015
LicenseBSD3-style (see LICENSE)
Maintainerstefan.berthold@gmx.net
Stabilityunstable
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Text.SmallCaps.Config

Contents

Description

This module specifies the default configuration values for SmallCaps.

Synopsis

Parser user state

data ParserState Source #

Constructors

ParserState 

Fields

Instances

Configuration data type

data Config Source #

Constructors

Config 

Fields

Instances

Configuration presets

(&&&) :: (LaTeXElement -> Bool) -> (LaTeXElement -> Bool) -> LaTeXElement -> Bool Source #

combinator for plugin construction

clean :: Config Source #

clean configuration, all substitutions off

conservative :: Config Source #

conservative configuration

busy :: Config Source #

busy configuration

small :: Config Source #

abstract/small font configuration

footnote :: Config Source #

footnote font configuration

Profile data type

Subparser data type

Stop state

data StopState Source #

Constructors

None

within a sentence

NewLine

one newline read

Stop

stop character read

NewSentence

begin of a new sentence

newSentence :: (Text -> Text) -> (Text -> Text) -> StopState -> Text -> Text Source #

Pattern search and replace (exceptions from processing)