diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html new file mode 100644 index 00000000000..4ca66686b50 --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html @@ -0,0 +1,35 @@ +<head> +<title>UK TeX FAQ -- question label badhyph</title> +</head><body> +<h3>Improper <code>\</code><code>hyphenation</code> will be flushed</h3> +<p/>For example +<pre> +! Improper \hyphenation will be flushed. +\'#1->{ + \accent 19 #1} +<*> \hyphenation{Ji-m\'e + -nez} +</pre> +(in Plain TeX) or +<pre> +! Improper \hyphenation will be flushed. +\leavevmode ->\unhbox + \voidb@x +<*> \hyphenation{Ji-m\'e + -nez} +</pre> +in LaTeX. +<p/>As mentioned in <a href="FAQ-nohyph.html">“hyphenation failures”</a>, +words with accents in them may not be hyphenated. As a result, any +such word is deemed improper in a <code>\</code><code>hyphenation</code> command. +<p/>The solution is to use a font that contains the character in question, +and to express the <code>\</code><code>hyphenation</code> command in terms of that +character; this “hides” the accent from the hyphenation mechanisms. +LaTeX users can be achieved this by use of the <i>fontenc</i> +package (part of the LaTeX distribution). If you select an 8-bit +font with the package, as in <code>\</code><code>usepackage[T1]{fontenc}</code>, +accented-letter commands such as the <code>\’</code><code>e</code> in +<code>\hyphenation{Ji-m\’</code><code>e-nez}</code> automatically become the single accented +character by the time the hyphenation gets to look at it. +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=badhyph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=badhyph</a> +</body> |