# [texhax] Hyphenation problem

Karl Berry karl at freefriends.org
Fri Jun 4 17:11:31 CEST 2004

    but  putting \hyphenation{3-pent-a-none} in the preamble does not work

Use 3-pent\-a\-none in the text.  (Or make a macro that inserts it.)

<dangerous bend>
If there are many words like this, and thus it's not practical to insert
the hyphenations explicitly every time, I think you could disable
\hyphenchar for the main font, i.e.,
\hyphenchar\font = -1
as the first line after the \begin{document} (or maybe in the preamble,
I'm not sure).  Then I think \hyphenation{3-pent-a-none} would be active.
It will also disable breaks at any explicit hyphen!
(Anyway, I haven't tried it, and more would probably be needed; consider
it a starting clue, not a recipe.)

Inserting explicit hyphenation points is the way to go, if feasible.

Best,
karl