diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv b/Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv index 9301fd1d873..d8fbb0b229a 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv +++ b/Master/texmf-dist/tex/context/base/mkiv/lang-hyp.mkiv @@ -30,8 +30,8 @@ \writestatus{loading}{ConTeXt Language Macros / Initialization} -\registerctxluafile{lang-dis}{} -\registerctxluafile{lang-hyp}{} +\registerctxluafile{lang-dis}{autosuffix} +\registerctxluafile{lang-hyp}{autosuffix} \unprotect @@ -45,8 +45,10 @@ \newcount\compoundhyphenpenalty -\automatichyphenmode \plusone -\hyphenpenaltymode \plusfour +\ifcase\contextlmtxmode + \hyphenpenaltymode\plusfour + \automatichyphenmode\plusone +\fi \hyphenpenalty 50 % hyphenator \automatichyphenpenalty 50 % - @@ -150,7 +152,7 @@ rightedge {\dummyparameter\c!rightedge}% {\clf_sethyphenationfeatures{#1}} \unexpanded\def\resethyphenationfeatures - {\hyphenationattribute\attributeunsetvalue} + {\attribute\hyphenationattribute\attributeunsetvalue} \resethyphenationfeatures |