Improper `\hyphenation` will be flushed

For example

! Improper \hyphenation will be flushed.
       \accent 19 #1}
<*> \hyphenation{Ji-m\'e

(in Plain TeX) or

! Improper \hyphenation will be flushed.
\leavevmode ->\unhbox 
<*> \hyphenation{Ji-m\'e

in LaTeX.

As mentioned in

"[[FAQ-nohyph|hyphenation failures]]",

“words” containing \accent commands may not be hyphenated. As a result, any such word is deemed improper in a \hyphenation command.

Hyphenation happens as paragraphs are laid out; by this time, TeX knows what font is used for each glyph; thus it knows the encoding being used. So the solution to the problem is to use a font that contains the accented character; doing this this “hides” the accent from the hyphenation mechanisms.

For LaTeX users, this is quite an easy task; they select an 8-bit font with the package, as in \usepackage[T1]{fontenc}, and accented-letter commands such as the \'e in \hyphenation{Ji-m\'e-nez} automatically become the single accented character by the time the hyphenation gets to look at it.

Source: Improper `\hyphenation` will be flushed

generalites/erreurs/improper_hyphenation_will_be_flushed.txt · Dernière modification: 2018/12/04 01:30 par jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0