summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/syst-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/syst-ini.mkiv')
-rw-r--r--tex/context/base/mkiv/syst-ini.mkiv7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/syst-ini.mkiv b/tex/context/base/mkiv/syst-ini.mkiv
index acfcf7320..c978eaae5 100644
--- a/tex/context/base/mkiv/syst-ini.mkiv
+++ b/tex/context/base/mkiv/syst-ini.mkiv
@@ -997,8 +997,11 @@
%D Sometimes kerns make more sense than glue but we need to be in the
%D right mode:
-\protected\def\vkern{\ifhmode\par \fi\kern}
-\protected\def\hkern{\ifvmode\dontleavehmode\fi\kern}
+\protected\def\vkern {\ifhmode\par \fi\kern}
+\protected\def\hkern {\ifvmode\dontleavehmode\fi\kern}
+
+\protected\def\vpenalty{\ifhmode\par \fi\penalty}
+\protected\def\hpenalty{\ifvmode\dontleavehmode\fi\penalty}
%D Again a few kind-of-extensions the core. These come from plain \TEX\ but
%D are probably not used in \CONTEXT.