[NTG-context] Hyphenation in multi-language projects
Steffen Wolfrum
context at st.estfiles.de
Mon Sep 12 17:11:55 CEST 2022
Hi,
please have a look at this minimal example.
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)?
Best,
Steffen
—
\starttext
\setuppapersize[A6][A6]
\mainlanguage[en]
\startexceptions
steff-en
\stopexceptions
english text english text english teste: steffen
\start\language[it]
italian text italian text italian teste: steffen
\stop
\start\language[it]\hyphenation{steff-en}
italian text italian text italian teste: steffen
\stop
\stoptext
More information about the ntg-context
mailing list