Am Freitag, 23. Juli 2004 20:58 schrieb Ansgar Hoffmann:
> In my german document I use several english words like "Transport
> Stream", "eventIn" and so on.
> Now unfortunately LaTex breaks these like "QuickTi-me" or "even-tIn"
> which is, well, let's say debatable ;-)
If you change the language of the word to english (Format->Character), the
english hyphenation rules will be used.
> In the preamble, using the -> Layout -> Document dialog, I put e.g.
>
> \hyphenation{event-In},
>
> but that doesn't help. Why? Besides I rather wouldn't break that word at
> all.
See http://bugzilla.lyx.org/show_bug.cgi?id=1503 for the reason.
It works if you put a \usepackage{babel} before the \hyphenation command.
> Is there a way to suppress hyphenation for specific words?
Put the word without hyphens in the \hyphenation command.
Georg