smallcaps-0.6.0.6: Flatten camel case text in LaTeX files

Copyright(c) Stefan Berthold 2014-2015
LicenseBSD3-style (see LICENSE)
Maintainerstefan.berthold@gmx.net
Stabilityunstable
PortabilityGHC
Safe HaskellSafe
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
Default ParserState Source # 
Instance details

Defined in Text.SmallCaps.Config

Methods

def :: ParserState #

Configuration data type

data Config Source #

Constructors

Config 

Fields

Instances
Default Config Source # 
Instance details

Defined in Text.SmallCaps.Config

Methods

def :: Config #

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

Instances
Eq StopState Source # 
Instance details

Defined in Text.SmallCaps.Config

Show StopState Source # 
Instance details

Defined in Text.SmallCaps.Config

Default StopState Source # 
Instance details

Defined in Text.SmallCaps.Config

Methods

def :: StopState #

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

Pattern search and replace (exceptions from processing)