Hyphenation exception syntax for LuaLaTeX

by JayStrictor   Last Updated July 12, 2019 10:23 AM - source

I want to hyphenate some German words. As an example, for the word Erb-b2-Familie, I want

  • the first hyphen sign to be non-breakable
  • the second hyphen sign to be breakable
  • the rest of the word (Familie) to be hyphenated as ususal.
% !TeX program = lualatex
\setmainfont{Linux Libertine O}


    Tyrosin"-kinase, Erb"~b2-Familie

\hyphenation{Tyrosin-kinase}    % <- this works
\hyphenation{Erb=b2=Fa-mi-lie}  % <- this does not?
    Tyrosinkinase, Erb-b2-Familie


I cannot find a good reference for how to use the \hyphenation{} command, in particular what the syntax of the exception word lists is. In a different question I found the option to use a = character to denote a breakable hyphen sign, but even that does not seem to work in my example.

Related Questions

polyglossia in TeX Live 2017: Bug for `latesthyphen`?

Updated October 09, 2017 15:23 PM

Russian hyphenation with polyglossia

Updated June 12, 2017 21:23 PM

Change hyphenation rules in polyglossia

Updated November 30, 2018 20:23 PM