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
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
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
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
\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
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