You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/hyphenate
Matthew Butterick 32964949a1 start xexpr function 11 years ago
..
scribblings update docs with ligature example 11 years ago
.gitignore update gitignore 11 years ago
LICENSE Initial commit 11 years ago
README.md Update README.md 11 years ago
exceptions.rkt split hyphenation-patterns into patterns file and exceptions file 11 years ago
info.rkt improvements 11 years ago
main.rkt refinements 11 years ago
patterns.rkt split hyphenation-patterns into patterns file and exceptions file 11 years ago
tests.rkt add tests module 11 years ago
xexpr.rkt start xexpr function 11 years ago

README.md

hyphenate

Racket implementation of the KnuthLiang hyphenation algorithm.

Install from the command line like so:

raco pkg install hyphenate

Then require it in your Racket file:

(require hyphenate)

And enjoy:

(hyphenate "Hyphenation algorithm" #\-)

> "Hy-phen-ation al-go-rithm"