[Dev-luatex] Problem with complex discretionaries in \hyphenation

Jonathan Sauer Jonathan.Sauer at silverstroke.com
Tue Sep 30 10:16:11 CEST 2008


Hello,

the following PlainTeX file demonstrates my problem:

%&luatex

\hyphenation{De{k-}{k}{ck}en-licht}

\showhyphens{Deckenlicht} % A


\hyphenation{Dec-ken-licht}

\showhyphens{Deckenlicht} % B


\hyphenation{Schne{k-}{k}{ck}en-haus-bau-mei-ster}

\showhyphens{Schneckenhausbaumeister} % C

\bye


This results in:

This is LuaTeX, Version snapshot-0.29.1-2008092618 (Web2C 7.5.7)
(HyphenationProblem.tex
Underfull \hbox (badness 10000) in paragraph at lines 21--21
[][] \tenrm Dek-ke-nlicht

Underfull \hbox (badness 10000) in paragraph at lines 25--25
[][] \tenrm Dec-ken-licht

Underfull \hbox (badness 10000) in paragraph at lines 30--30
[][] \tenrm Schnek-ke-nhau-sba-ume-ister
 )
(see the transcript file for additional information)
No pages of output.
Transcript written on HyphenationProblem.log.


B is correct, but A (should be `Dek-ken-licht' instead of
`Dek-ke-nlicht' and C (should be `Schnek-ken-haus-bau-mei-ster'
instead of `Schnek-ke-nhau-sba-ume-ister') are not: All hyphenation
points after the complex discretionary seem to be shifted one
character to the left.

I'm using the trunk as of friday. What am I doing wrong?


Thanks, Jonathan



More information about the dev-luatex mailing list