summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lang-hyp.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-05-25 18:41:45 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-05-25 18:41:45 +0200
commitddc77c560834122fcdc0219f01977cb830a7a6f5 (patch)
tree71df057ec2dfbb5f51091baa96b2671ad62c1580 /tex/context/base/mkxl/lang-hyp.mkxl
parent7fd782dace8f90e7e032ca8f449f8ca4eada450b (diff)
downloadcontext-ddc77c560834122fcdc0219f01977cb830a7a6f5.tar.gz
2021-05-25 17:56:00
Diffstat (limited to 'tex/context/base/mkxl/lang-hyp.mkxl')
-rw-r--r--tex/context/base/mkxl/lang-hyp.mkxl18
1 files changed, 16 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/lang-hyp.mkxl b/tex/context/base/mkxl/lang-hyp.mkxl
index bf3e253dc..ae8b84dcb 100644
--- a/tex/context/base/mkxl/lang-hyp.mkxl
+++ b/tex/context/base/mkxl/lang-hyp.mkxl
@@ -62,15 +62,29 @@
\installcorenamespace{hyphenation}
\installcorenamespace{hyphenationfeatures}
-\installparameterhandler \??hyphenation {hyphenation}
-\installsetuphandler \??hyphenation {hyphenation}
+\installparameterhandler \??hyphenation {hyphenation}
+\installrootparameterhandler \??hyphenation {hyphenation}
+\installsetuphandler \??hyphenation {hyphenation}
+
+% \installbasicsetuphandler \??hyphenation {hyphenation}
\setuphyphenation
[\c!method=\s!default,
+ \c!hyphens=\v!yes,
\s!righthyphenchar=0, % number tzt g: etc
\s!lefthyphenchar=0] % number
\appendtoks
+ % \edef\p_hyphens{\roothyphenationparameter\c!hyphens}%
+ \edef\p_hyphens{\hyphenationparameter\c!hyphens}%
+ \ifx\p_hyphens\v!no
+ \nohyphencollapsing
+ \else
+ \dohyphencollapsing
+ \fi
+\to \everysetuphyphenation
+
+\appendtoks
\clf_sethyphenationmethod{\hyphenationparameter\c!method}%
\to \everysetuphyphenation