diff options
Diffstat (limited to 'tex/context/base/mkxl/luat-ini.mkxl')
-rw-r--r-- | tex/context/base/mkxl/luat-ini.mkxl | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/luat-ini.mkxl b/tex/context/base/mkxl/luat-ini.mkxl index 98095a4de..d1a84f60c 100644 --- a/tex/context/base/mkxl/luat-ini.mkxl +++ b/tex/context/base/mkxl/luat-ini.mkxl @@ -59,8 +59,32 @@ %D It is nicer for checking with \type {s-system-macros} if we have some meaning: \pushoverloadmode - % \aliased\let\-\explicitdiscretionary - \permanent\protected\def\-{\begingroup\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary\endgroup} + + % We anyway need this: + + \permanent\protected\def\superexplicitdiscretionary + {\begingroup + \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary + \endgroup} + + % Conceptually the best: + + \aliased\let\-\explicitdiscretionary + + % But we could do this to be compatible: + + % \permanent\protected\def\-{\begingroup\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary\endgroup} + + % Or maybe even this: + + % \aliased\let\lang_explicit_discretionary_nop\explicitdiscretionary + % + % \permanent\protected\def\lang_explicit_discretionary_yes-% + % {\superexplicitdiscretionary} + % + % \permanent\protected\def\-% + % {\doifelsenextcharcs-\lang_explicit_discretionary_yes\lang_explicit_discretionary_nop} + \popoverloadmode \ifdefined\n \else \mutable\def\n{n} \fi \ifdefined\r \else \mutable\def\r{r} \fi |