[NTG-context] Hyphenation questions

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Apr 24 19:47:42 CEST 2019


Dmitry Starostin schrieb am 24.04.2019 um 19:34:
> 1. is there an analog to \hyp{} command from the 'hyphenat' package? 
> Double words with a dash happen all too often.

1. Add \setbreakpoints[compound] to enable a line break at a hyphen.

\setbreakpoints[compound]

\starttext
electromagnetic-endioscopy
\stoptext

2. Use || to insert a breakable hyphen.

\starttext
electromagnetic||endioscopy
\stoptext

> 2. how to switch language for just three words for correct hyphenation?

\starttext
English ... \language[de]{Deutsch}
\stoptext

Wolfgang



More information about the ntg-context mailing list