Am 2019-04-24 um 19:47 schrieb Wolfgang Schuster <wolfgang.schuster.li...@gmail.com>:
> 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 Shouldn’t that be \starttext English ... {\language[de]Deutsch} \stoptext ? For most languages you can also use their shortcut, e.g. \de, \ru, \en – but not \it (italic, not Italian) or \sl (slanted, not Slowenian). Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___________________________________________________________________________________ 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 ___________________________________________________________________________________