summaryrefslogtreecommitdiff
path: root/tex/context/base/lang-hyp.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/lang-hyp.mkiv')
-rw-r--r--tex/context/base/lang-hyp.mkiv12
1 files changed, 11 insertions, 1 deletions
diff --git a/tex/context/base/lang-hyp.mkiv b/tex/context/base/lang-hyp.mkiv
index 966b000c6..b2281135c 100644
--- a/tex/context/base/lang-hyp.mkiv
+++ b/tex/context/base/lang-hyp.mkiv
@@ -30,6 +30,7 @@
\writestatus{loading}{ConTeXt Language Macros / Initialization}
+\registerctxluafile{lang-dis}{1.001}
\registerctxluafile{lang-hyp}{1.001}
\unprotect
@@ -50,6 +51,11 @@
% \enabledirectives[hyphenators.method]%
% \endgroup}
+
+% \exhyphenchar \hyphenasciicode
+% \preexhyphenchar \lessthanasciicode
+% \postexhyphenchar\morethanasciicode
+
%D Here is the real way:
\installcorenamespace{hyphenation}
@@ -152,7 +158,6 @@
\unexpanded\def\registerhyphenationexception
{\dodoubleempty\lang_hyphenation_register_exception}
-
\def\lang_hyphenation_register_exception[#1][#2]%
{\ctxcommand{registerhyphenationexception(
\ifsecondargument
@@ -191,6 +196,11 @@
\stopthyphenation
\endgroup}
+%D For me:
+
+\unexpanded\def\showdiscretionaries
+ {\ctxcommand{showdiscretionaries()}}
+
%D These are (at least now) not cummulative:
\definehyphenationfeatures % just an example