[tex-hyphen] [lltx] [luatex] towards non-standard hyphenation support in LuaTeX

Taco Hoekwater taco at elvenkind.com
Thu Jan 30 09:15:33 CET 2014


On 29 Jan 2014, at 19:47, Stephan Hennig <mailing_list at arcor.de> wrote:

> Thanks, that is similar to the one currently implemented in
> lua-modules/pdnm_nl_iterate_words.lua, except for the lccode checking.
> But this iterator doesn't fully cover TeX's rules with regards to
> hyphenation.  E.g., words with a leading or trailing \hbox aren't
> hyphenated by TeX.  If anyone feels like it …

… then, the C version of the algorithm is in this file:

https://foundry.supelec.fr/scm/viewvc.php/trunk/source/texk/web2c/luatexdir/lang/texlang.w?root=luatex&view=markup

find_next_wordstart() and valid_wordend() are the most important tests, but there
are a few extra inline tests done in hnj_hyphenation().

Best wishes,
Taco





More information about the tex-hyphen mailing list