From ddc77c560834122fcdc0219f01977cb830a7a6f5 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 25 May 2021 18:41:45 +0200 Subject: 2021-05-25 17:56:00 --- tex/context/base/mkxl/lang-hyp.mkxl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'tex/context/base/mkxl/lang-hyp.mkxl') 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,14 +62,28 @@ \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 -- cgit v1.2.3