summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lang-mis.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-11-26 16:22:35 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-11-26 16:22:35 +0100
commitb27d13bebb952ac46eb5ee1305f4ad8a7183132c (patch)
tree8b4db8d3d46f6117ab12bb09eb038364cc6cf912 /tex/context/base/mkxl/lang-mis.mkxl
parenta9cb00276fab1f821b3e237270769b74ee44b2bd (diff)
downloadcontext-b27d13bebb952ac46eb5ee1305f4ad8a7183132c.tar.gz
2020-11-26 15:41:00
Diffstat (limited to 'tex/context/base/mkxl/lang-mis.mkxl')
-rw-r--r--tex/context/base/mkxl/lang-mis.mkxl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/lang-mis.mkxl b/tex/context/base/mkxl/lang-mis.mkxl
index 5f883041a..46cbddf97 100644
--- a/tex/context/base/mkxl/lang-mis.mkxl
+++ b/tex/context/base/mkxl/lang-mis.mkxl
@@ -150,7 +150,7 @@
% hm why ex
-\ifx\compoundhyphen\undefined
+\ifdefined\compoundhyphen \else
\permanent\protected\def\compoundhyphen{\hbox{-\kern-.10775\emwidth-}} % .25\exheight
\fi
@@ -159,9 +159,9 @@
%D compound characters like |-| or || to be separated from the words. \TEX\ hackers
%D will recognise the next two macro's:
-\ifx\prewordbreak \undefined \permanent\protected\def\prewordbreak {\penalty\plustenthousand\hskip\zeropoint\relax} \fi
-\ifx\postwordbreak\undefined \permanent\protected\def\postwordbreak {\penalty\zerocount \hskip\zeropoint\relax} \fi
-\ifx\hspaceamount \undefined \def\hspaceamount#1#2{.16667\emwidth} \fi % will be overloaded
+\ifdefined\prewordbreak \else \permanent\protected\def\prewordbreak {\penalty\plustenthousand\hskip\zeropoint\relax} \fi
+\ifdefined\postwordbreak\else \permanent\protected\def\postwordbreak {\penalty\zerocount \hskip\zeropoint\relax} \fi
+\ifdefined\hspaceamount \else \def\hspaceamount#1#2{.16667\emwidth} \fi % will be overloaded
%frozen\protected\def\permithyphenation{\ifhmode\prewordbreak\fi} % doesn't remove spaces
\permanent\protected\def\permithyphenation{\ifhmode\wordboundary\fi} % doesn't remove spaces