14 Sep
2022
14 Sep
'22
8:35 a.m.
Hi Steffen,
The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs.
In this example it should stay: «steff-en»
How do i set this to all non-english paragraphs (without using \hyphenation on each language-switch)?
You can use \replaceword: \starttext \setuppapersize[A6][A6] \mainlanguage[en] \replaceword[hyphenations][steffen][steff{-}{}{}en] \setreplacements[hyphenations] english text english text english teste: steffen steffen \start\language[it] italian text italian text italian teste: steffen steffen \stop \stoptext -- Max