summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-lan.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2001-07-02 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2001-07-02 00:00:00 +0200
commitab399f7f60b937f771dd33f9b826d83dab3e84e2 (patch)
treedfb3b001d6c0ee78967f6849168d41614b06fc2c /tex/context/base/supp-lan.tex
parent661f9f4a789474b20056f6bd4855c66d9791b301 (diff)
downloadcontext-ab399f7f60b937f771dd33f9b826d83dab3e84e2.tar.gz
stable 2001.07.02
Diffstat (limited to 'tex/context/base/supp-lan.tex')
-rw-r--r--tex/context/base/supp-lan.tex17
1 files changed, 15 insertions, 2 deletions
diff --git a/tex/context/base/supp-lan.tex b/tex/context/base/supp-lan.tex
index 9193dbf54..c1f1299a0 100644
--- a/tex/context/base/supp-lan.tex
+++ b/tex/context/base/supp-lan.tex
@@ -663,7 +663,7 @@
\def\activedododotextmodediscretionary#1#2%
{\convertargument#2\to\discretionarytoken
\def\textmodediscretionary{\getvalue{textmodediscretionary\string#1}}%
- \ifx#1\nextnext % takec care of ||| and +++ and ......
+ \ifx#1\nextnext % takes care of ||| and +++ and ......
\prewordbreak\discretionary{\hbox{$#1$}}{}{\hbox{$#1$}}%
\allowbreak\postwordbreak
\def\nextnextnext{\afterassignment\egroup\let\next=}%
@@ -935,8 +935,21 @@
\endETEX
+%D \macros
+%D {nonbreakablespace}
+%D
+%D The following macro is taken from plain \TEX.
+
+\def\nonbreakablespace{\penalty\!!tenthousand\ }
+
+\let~\nonbreakablespace
+
+% under testing:
+%
+% \unexpanded\def~{\nonbreakablespace}
+
%D \macros
-%D {midworddiscretionary}
+%D {midworddiscretionary}
%D
%D If needed, one can add a discretionary hyphen using \type
%D {\midworddiscretionary}. This macro does the same as