HPDF-1.4: Generation of PDF documentsSource codeContentsIndex
Graphics.PDF.Hyphenate
Portabilityportable
Stabilityexperimental
Maintainermisc@NOSPAMalpheccar.org
Contents
Type
Hyphenation databases
Hyphenation
Description
Hyphenate a string
Synopsis
data HyphenationDatabase
= English (Maybe (MapString [Int]))
| CustomLanguage (MapString [Int]) (MapString [Int])
data MapString v
mkCustomLanguage :: [String] -> [String] -> HyphenationDatabase
mkExceptions :: [String] -> MapString [Int]
hyphenate :: HyphenationDatabase -> String -> [String]
Type
data HyphenationDatabase Source
Hyphenation databases
Constructors
English (Maybe (MapString [Int]))
CustomLanguage (MapString [Int]) (MapString [Int])
data MapString v Source
show/hide Instances
Eq v => Eq (MapString v)
Show v => Show (MapString v)
Hyphenation databases
mkCustomLanguageSource
:: [String]Exceptions
-> [String]Patterns
-> HyphenationDatabase
Create a custom language for hyphenation
mkExceptions :: [String] -> MapString [Int]Source
Hyphenation
hyphenateSource
:: HyphenationDatabaseHyphenation database to use to hyphenate the word
-> StringWord to hyphenate
-> [String]
Hyphenate a string
Produced by Haddock version 2.3.0