[luatex] fontspec prevents German hyphenation
Stephan Hennig
mailing_list at arcor.de
Mon Aug 2 16:07:18 CEST 2010
Am 02.08.2010 12:58, schrieb Manuel Pégourié-Gonnard:
> \documentclass{article}
> \makeatletter
> \newcommand\try[1]{\showhyphens{\bbl at patterns{#1} Andenken}}
> \makeatother
> \begin{document}
> \try{german}
> \try{ngerman}
> \try{german-x-latest}
> \try{ngerman-x-latest}
> \end{document}
>
> With lualatex:
>
> [][] \OT1/cmr/m/n/10 An-denken
> [][] \OT1/cmr/m/n/10 An-denken
> [][] \OT1/cmr/m/n/10 An-denken
> [][] \OT1/cmr/m/n/10 An-denken
>
> With pdflatex:
>
> [] []\OT1/cmr/m/n/10 An-den-ken
> [] []\OT1/cmr/m/n/10 An-den-ken
> [] []\OT1/cmr/m/n/10 An-denken
> [] []\OT1/cmr/m/n/10 An-denken
This is intentional. Anden is the German name for Andes (mountains).
The hyphenation Anden-ken therefore belongs to the class of
(potentially) misleading hyphenations and is suppressed. This behaviour
is documented in package dehyph-exptl (with other examples).
Note, when LuaTeX is able to weight hyphenations, we can put a huge
penalty upon such hyphenations instead of suppressing them completely.
Best regards,
Stephan Hennig
More information about the luatex
mailing list