[NTG-context] Fwd: Hyphenation in multi-language projects
Pablo Rodriguez
oinos at gmx.es
Mon Oct 24 18:15:40 CEST 2022
On 10/24/22 17:09, Hans Hagen via ntg-context wrote:
>> [...]
>> Hans, is there any news regarding Pablos wish?
> no, because I'm in a different tex mode ...
Steffen,
meanwhile, a way of crappy cheating...
\setuphyphenation[method=traditional]
\doloopoverlist{en,nl,de,es,it,fr,da,fi}
{\registerhyphenationexception[\recursestring][Joha-nnes]}
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{Johannes}\\
\nl \hyphenatedword{Johannes}\\
\de \hyphenatedword{Johannes}\\
\es \hyphenatedword{Johannes}\\
\language[it] \hyphenatedword{Johannes}\\
\language[fi] \hyphenatedword{Johannes}\\
\fr \hyphenatedword{Johannes}\\
\da \hyphenatedword{Johannes}\\
\stopTEXpage
\stoptext
Ugly code, but it might do the trick in some scenarios.
Just in case it might work,
Pablo
More information about the ntg-context
mailing list