[Dev-luatex] Hyphenation/lccode

Taco Hoekwater taco at elvenkind.com
Thu Jun 23 12:00:55 CEST 2011



On 06/23/11 11:35, Patrick Gundlach wrote:
> Before I ask my second question, I ask a third:
> 
> I load German hyphenation patterns and want to hyphenate a word. Before that I use
> 
> for i in string.utfvalues("äÄöÖüÜß") do
>   tex.lccode[i] = i
> end
> 
> and then I hyphenate for example "Krönung", which gets (if I understand TeX) translated to lowercase characters (with lccode) and then gets hyphenated. Works fine.
> 
> Now I want to hyphenate the word "KRÖNUNG" (the same word, only all upper case letters), and I wonder why that works. The lowercase equivalent would be "krÖnung" (according to the lccode setting above), and I wonder why this gets hyphenated. Just luck? Good weather? 

Can you give an actual source file please?


More information about the dev-luatex mailing list