
On 7/6/2025 4:19 PM, John Was wrote:
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.
Just try: \starttext \hsize1mm test-test\par test---test\par test---test\par test+test\par \hccode`+=`+ test+test\par \hccode`+=`- test+test\par {great|-|\nohyphens grandfather}\par \stoptext
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 \-).
Best wishes
John *🇪🇺 * Слава Україні!*🇺🇦 *
<http://www.avg.com/email-signature? utm_medium=email&utm_source=link&utm_campaign=sig- email&utm_content=webmail> Virus-free.www.avg.com <http://www.avg.com/ email-signature?utm_medium=email&utm_source=link&utm_campaign=sig- email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------