summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-badhyph.html
diff options
context:
space:
mode:
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.html35
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-&gt;{
+ \accent 19 #1}
+&lt;*&gt; \hyphenation{Ji-m\'e
+ -nez}
+</pre>
+(in Plain TeX) or
+<pre>
+! Improper \hyphenation will be flushed.
+\leavevmode -&gt;\unhbox
+ \voidb@x
+&lt;*&gt; \hyphenation{Ji-m\'e
+ -nez}
+</pre>
+in LaTeX.
+<p/>As mentioned in <a href="FAQ-nohyph.html">&ldquo;hyphenation failures&rdquo;</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 &ldquo;hides&rdquo; 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>\&rsquo;</code><code>e</code> in
+<code>\hyphenation{Ji-m\&rsquo;</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>