On Thu, Mar 11, 2010 at 03:32:53PM +0200, Élie Roux wrote:
> > Alternative: Using a lua file, included via \directlua.
> > It's more robust and more efficient. But the lua files
> > must be generated somehow.
> 
> This seems like the best solution.
> 
> > It's probably possible to use the hyph-utf8 project for this.
> 
> I'll ask them... I hope they'll be responsive...

What about the approach we used in etex.src; redefining \patterns and
\hyphenation to use corresponding lua functions, so we don't need to
duplicate hyphenation files and, AFAIU, solves the catcode issue.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer