ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Greek hyphenation patterns
@ 2006-06-29 21:43 Peter Heslin
  2006-06-29 22:06 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Heslin @ 2006-06-29 21:43 UTC (permalink / raw)



A few weeks ago, I looked at Context, because I wanted utf-8 hyphenation
patterns for ancient Greek, but then I saw that the patterns shipped
with Context have serious bugs.  I had hoped to patch ctxtools, but the
required changes went beyond my knowledge of Ruby.

I recently posted a Perl script to the xetex mailing list that should
perform the conversion to utf-8 correctly.  I would be happy to modify
the script to make the output more useful to Context users, but I don't
use Context myself.  Feedback is welcome.

The essential problem with the patterns shipped with Context is that it
is the result of a simple conversion, but the hyphenation rules in Greek
are based on the definition of vowels and consonants, which changes in
utf-8.  The original 8-bit patterns of Dimitrios Filippou depend on the
fact that in the Babel encoding accents come before the vowel (except
for iota subscript), whereas in Unicode they are either combined with
the vowel or come after it, depending on whether you use precomposed
characters or not.

-- 
Peter Heslin (http://www.dur.ac.uk/p.j.heslin)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-30 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-29 21:43 Greek hyphenation patterns Peter Heslin
2006-06-29 22:06 ` Hans Hagen
2006-06-30  7:14   ` Thomas A. Schmitz
2006-06-30  7:50     ` Hans Hagen
2006-06-30 10:51       ` Peter Heslin
2006-06-30 17:23         ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).