BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:hyphenation-0.4@sha256:34652679e048b98735680d86fce5dd4c0bb93540a51e08647718bf331d56ccfc,2060

Module documentation for 0.4

  • Text
    • Text.Hyphenation
      • Text.Hyphenation.Exception
      • Text.Hyphenation.Hyphenator
      • Text.Hyphenation.Language
      • Text.Hyphenation.Pattern

Configurable Knuth-Liang hyphenation

Uses the UTF8 encoded hyphenation patterns provided by hyph-utf8 from http://www.ctan.org/tex-archive/language/hyph-utf8

Usage:

hyphenate english_US "supercalifragilisticexpialadocious"
["su","per","cal","ifrag","ilis","tic","ex","pi","al","ado","cious"]
hyphenate english_US "hyphenation"
["hy","phen","ation"]
hyphenate icelandic "va\240lahei\240avegavinnuverkf\230rageymslusk\250r"
["va\240la","hei\240a","vega","vinnu","verk","f\230ra","geymslu","sk\250r"]

Changes

0.4

  • Removed Farsi. We had no pattern files.

0.3

  • Added Friulan, Piedmontese, Romansh and Thai language hyphenations.

0.2.2

  • Flagged Text.Hyphenation.Language as Trustworthy. It has benign side-effects that cause it to read hyphenation files lazily from the installed data-dir but nothing else.