![](https://secure.gravatar.com/avatar/3b89ade8854fe10b5e3f8c87c6fa82f5.jpg?s=120&d=mm&r=g)
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. -- Cecil Westerhof
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 01.03.2011 um 16:08 schrieb Cecil Westerhof:
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] Wolfgang
![](https://secure.gravatar.com/avatar/5705290add533907ed4869f7e9f586c3.jpg?s=120&d=mm&r=g)
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". Florian
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/5705290add533907ed4869f7e9f586c3.jpg?s=120&d=mm&r=g)
\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.
Thanks for pointing out. I was not aware of \installbreakpoint[compound]. Florian
![](https://secure.gravatar.com/avatar/36a7c1a25aadb9a4218af43f54d0e2bb.jpg?s=120&d=mm&r=g)
On Tue 01 Mar 2011, Cecil Westerhof wrote:
You need MkIV!
I just installed the default version from my distribution (openSuse). What is the best way to upgrade?
I think the usual recommended approach is to install the minimals: http://wiki.contextgarden.net/ConTeXt_Minimals . Pont
participants (4)
-
Cecil Westerhof
-
Florian Wobbe
-
Pontus Lurcock
-
Wolfgang Schuster