Pablo Rodriguez schrieb am 30.11.2020 um 17:16:
On 11/30/20 4:48 PM, Bruce Horrocks wrote:
The word "re-implementation" refuses to hyphenate and consequently
stick outs into the right margin.

I've tried using \hyphenation but it makes no difference.
[...]
Any suggestions, please?
Hi Bruce,

here you have a sample:

   \setuphyphenation[method=traditional]
   \registerhyphenationexception[en][re-im-ple-men-ta-tion]
   \starttext
   \startTEXpage[offset=1em]
   \hyphenatedword{re-implementation}\\
   \hyphenatedword{re||implementation}\\
   \hyphenatedword{re--implementation}\\
   \hyphenatedword{reimplementation}
   \stopTEXpage
   \stoptext

If you comment the first line, only "||" allows hyphenation.

Another option is to add \setbreakpoints[compound] to the 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to