* Composed words: a simple way without a global replacement to |-|? @ 2010-11-27 15:35 Marco Pessotto 2010-11-27 16:04 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Marco Pessotto @ 2010-11-27 15:35 UTC (permalink / raw) To: ntg-context Dear list, today I was reviewing the hyphenation and stumbled on the composed word problem, as explained at http://wiki.contextgarden.net/Composed_words and in the ref-manual. Now, the trivial question sounds: is there a way to say to TeX "hey, consider the hyphen inside words a good breakpoint"? If not, I'm going to do a global replacement of ([a-z])-([a-z]) to $1|-|$2 , but somehow I feel I'm doing this wrong (because this will harm to the readability of the source). Any idea? Thanks in advance. -- Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Composed words: a simple way without a global replacement to |-|? 2010-11-27 15:35 Composed words: a simple way without a global replacement to |-|? Marco Pessotto @ 2010-11-27 16:04 ` Wolfgang Schuster 2010-11-27 16:36 ` Marco 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2010-11-27 16:04 UTC (permalink / raw) To: mailing list for ConTeXt users Am 27.11.2010 um 16:35 schrieb Marco Pessotto: > > Dear list, > > today I was reviewing the hyphenation and stumbled on the composed word > problem, as explained at http://wiki.contextgarden.net/Composed_words > and in the ref-manual. > > Now, the trivial question sounds: is there a way to say to TeX "hey, > consider the hyphen inside words a good breakpoint"? For MkIV you can add „\setbreakpoints[compound]“ to your document. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Composed words: a simple way without a global replacement to |-|? 2010-11-27 16:04 ` Wolfgang Schuster @ 2010-11-27 16:36 ` Marco 0 siblings, 0 replies; 3+ messages in thread From: Marco @ 2010-11-27 16:36 UTC (permalink / raw) To: ntg-context Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes: > Am 27.11.2010 um 16:35 schrieb Marco Pessotto: > >> >> Dear list, >> >> today I was reviewing the hyphenation and stumbled on the composed word >> problem, as explained at http://wiki.contextgarden.net/Composed_words >> and in the ref-manual. >> >> Now, the trivial question sounds: is there a way to say to TeX "hey, >> consider the hyphen inside words a good breakpoint"? > > For MkIV you can add „\setbreakpoints[compound]“ to your document. > Thanks a lot, you saved my day. I've added the solution to http://wiki.contextgarden.net/Composed_words -- Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-27 16:36 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-11-27 15:35 Composed words: a simple way without a global replacement to |-|? Marco Pessotto 2010-11-27 16:04 ` Wolfgang Schuster 2010-11-27 16:36 ` Marco
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).