[texhax] German hyphenation

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Jun 27 21:14:05 CEST 2015


On 27.06.2015 20:34, Uwe Ziegenhagen wrote:
> How about writing ä.ü and ö directly?
> ​\usepackage[utf8]{inputenc}
> ​provides the necessary logic.

No, the input encoding is not relevant for the hyphenation.
The words in `\hyphenation' must consists entirely of letters
and hyphens. In OT1 encoding the umlauts are not available
as letters and are constructs with accents.

An encoding, which contains the umlauts as letters helps, such
as the T1 font encoding:


Then all of `ä', `\"a', and the babel shorthand version `"a'
will work. (Babel shorthands are not active in the preamble,
there \shorthandon{"}\hyphenation{"a}\shorthandoff{"} can
be used.

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list