[luatex] get the hyphenation patterns matching a word
Taco Hoekwater
taco at elvenkind.com
Tue Feb 23 08:42:32 CET 2010
Stephan Hennig wrote:
> Hi,
>
> is there any way to get the hyphenation patterns matching a word handed
> on a silver platter by luatex? Seeing callback hyphenate() and function
> lang.hyphenate() as the only related API parts, I assume the answer is no.
No. The best luatex can do is give you all the patterns for a language
as a space-delimited string:
<string> s = lang.patterns(<number> l)
but you will have to extract the ones that fit a particular word
yourself.
Best wishes,
Taco
More information about the luatex
mailing list