text-hyphen version 1.3 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[1] and the
Ruby port[2]. The language hyphenation pattern files are based on the sources
available from CTAN[3] as of 2004.12.19 and have been manually translated by
Austin Ziegler.
This is a small feature release adding support for custom hyphens and fixing a
bug in ruby-hyphen. This release provides both Ruby 1.8.7 and Ruby 1.9.2
support. This is the last major release supporting Ruby 1.8 interpreters.
Future versions will only work with Ruby 1.9 or later interpreters.
Changes:
## 1.3 / 2012.06.20
* Feature:
* Cezary Baginsky (https://github.com/e2) added the ability to specify a
hyphen character (such as the HTML soft-hyphen entity) instead of always
using the dash-hyphen.
* Added a new option to bin/ruby-hyphen to support the new feature.
* Bug Fix:
* bin/ruby-hyphen didn't work when visualizing to a size. Fixed.
1: http://search.cpan.org/author/JANPAZ/TeX-Hyphen-0.140/lib/TeX/Hyphen.pm
2: http://rubyforge.org/projects/text-format
3: http://www.ctan.org
···
--
Austin Ziegler • halostatue@gmail.com • austin@halostatue.ca
http://www.halostatue.ca/ • http://twitter.com/halostatue