Am 06.07.2025 um 16:19 schrieb John Was:
Hello

Is there a way in ConTeXt to allow line-breaking by default after an en or em dash (-- or ---)?  The equivalent of \XeTeXdashbreakstate=1

I couldn't see anything after trying various searches.

Conversely, is there a way of inhibiting ConTeXt from hyphenating an already hyphenated expression (great-grandfather etc.)?  That is usually seen as a desperate last resort (which the user can invoke manually with \-).

\setbreakpoints[compound]

\starttext

\hsize\emwidth

old-fashioned

old+fashioned

old-\unhyphenated{fashioned}

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to