[Dev-luatex] Problem using umlaut in hyphenation

Taco Hoekwater taco at elvenkind.com
Tue Apr 1 10:47:50 CEST 2008



Jonathan Sauer wrote:
> Hello,
> --------------------------------------------------------------------
> 
> As you can see, I explicitly specify the hyphenation points for
> "Streifzüge", but for some reason LuaTeX does not hyphenate it
> automatically. Only when I specify the hyphenation points in the
> text, does the word get hyphenated.
> 
> Am I doing something wrong?

You are missing two things:

* the \lccode of ü has to be nonzero for it to be a valid
   word constituent
* The font cmr10 doesn't have an ü glyph

With the addition of

   \lccode`ü=`ü
   \font\tenrm=ec-lmr10 \tenrm

I get proper typesetting (with hyphenation) of your test file.

Best wishes,
Taco




More information about the dev-luatex mailing list