text-hyphen version 1.4 has been released!
Text::Hyphen is a Ruby library to hyphenate words in various languages using
Ruby-fied versions of TeX hyphenation patterns. It will properly hyphenate
various words according to the rules of the language the word is written in.
The algorithm is based on that of the TeX typesetting system by Donald E.
Knuth.
This is originally based on the Perl implementation of
{TeX::Hyphen}[http://search.cpan.org/author/JANPAZ/TeX-Hyphen-0.140/lib/TeX/Hyphen.pm]
and the {Ruby port}[http://rubyforge.org/projects/text-format]. The language
hyphenation pattern files are based on the sources available from
{CTAN}[http://www.ctan.org] as of 2004.12.19 and have been manually translated
by Austin Ziegler.
This is a small feature release adding Russian language support and fixing a
bug in the custom hyphen support introduced last version. This release provides
both Ruby 1.8.7 and Ruby 1.9.2 support (but please read below). In short, Ruby
1.8 support is deprecated and I will not be providing any bug fixes related to
Ruby 1.8. New features will be developed and tested against Ruby 1.9 only.
Changes:
## 1.4 / 2012.08.25
* Feature:
* Kirill Maksimov (https://github.com/netoneko) added Russian-language
hyphenation, complete with test. Thanks! In Ruby 1.8, the encoding is
KOI8-R. Also submitted by Dmitry Lihachev (https://github.com/lda).
* Bug Fix:
* Visualization with hyphens larger than one character (such as the HTML
soft-hyphen entity) would not be correct; this has been resolved. Thanks to
hadmut (https://github.com/hadmut) for reporting this issue.
···
--
Austin Ziegler • halostatue@gmail.com • austin@halostatue.ca
http://www.halostatue.ca/ • http://twitter.com/halostatue