[NTG-context] No hypenation on words like e-book

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Mar 1 16:42:50 CET 2011


Am 01.03.2011 um 16:39 schrieb Florian Wobbe:

>>> I am trying to make an e-book with ConTeXt. The word e-book is used in this e-book. ;-} Sometimes e- comes on the end of the line and book at the beginning of the next. Is there a way to circumvent this?
>>> 
>>> I could ofcourse change all occurences with \hbox{e-book} (and the same for e-mail, ...), but I was hoping there is a better solution.
>> 
>> \setbreakpoints[compound]
> 
> But isn't this supposed to do exactly the opposite of what Cecil wants (http://wiki.contextgarden.net/Composed_words)? Also she probably wants to keep hyphenation on hyphens for composed words in general and only disable this for the compound "e-book".

You can control how many characters are allowed on the left/right side of the sign before the word is hyphenated.

Wolfgang



More information about the ntg-context mailing list