summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-07-21 20:14:30 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-07-21 20:14:30 +0200
commit215aeff4092b7483f4ac024d19984a37c381ba52 (patch)
tree09971430ccf95690ea3ab7c6b1bc283316e8fea8 /tex/context/modules/mkiv
parenta06e8a0d7325ee248138a327e1117139b71aeaba (diff)
downloadcontext-215aeff4092b7483f4ac024d19984a37c381ba52.tar.gz
2021-07-21 19:53:00
Diffstat (limited to 'tex/context/modules/mkiv')
-rw-r--r--tex/context/modules/mkiv/m-compatible.mkiv4
-rw-r--r--tex/context/modules/mkiv/m-mkii.mkiv2
-rw-r--r--tex/context/modules/mkiv/m-obsolete.mkiv2
-rw-r--r--tex/context/modules/mkiv/m-oldfun.mkiv2
-rw-r--r--tex/context/modules/mkiv/m-oldnum.mkiv2
-rw-r--r--tex/context/modules/mkiv/m-units.mkiv2
6 files changed, 12 insertions, 2 deletions
diff --git a/tex/context/modules/mkiv/m-compatible.mkiv b/tex/context/modules/mkiv/m-compatible.mkiv
index 0e056180a..7e6e733ec 100644
--- a/tex/context/modules/mkiv/m-compatible.mkiv
+++ b/tex/context/modules/mkiv/m-compatible.mkiv
@@ -11,6 +11,8 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
+\ifcase\contextlmtxmode\else\endinput\fi
+
%D I fear that I will not keep up in this file so feel free to contribute to the
%D following. The idea is nto to load this file but more to have some insight in
%D how to control compatibility (to some extent).
@@ -58,6 +60,4 @@
% \input page-cst.mkiv
-
-
\endinput
diff --git a/tex/context/modules/mkiv/m-mkii.mkiv b/tex/context/modules/mkiv/m-mkii.mkiv
index dcfd29d20..4961b7380 100644
--- a/tex/context/modules/mkiv/m-mkii.mkiv
+++ b/tex/context/modules/mkiv/m-mkii.mkiv
@@ -1,5 +1,7 @@
% todo
+\ifcase\contextlmtxmode\else\endinput\fi
+
\unprotect
\writestatus\m!system{loading some mkii compatibility hacks}
diff --git a/tex/context/modules/mkiv/m-obsolete.mkiv b/tex/context/modules/mkiv/m-obsolete.mkiv
index 2d4518181..73fb1c167 100644
--- a/tex/context/modules/mkiv/m-obsolete.mkiv
+++ b/tex/context/modules/mkiv/m-obsolete.mkiv
@@ -1,3 +1,5 @@
+\ifcase\contextlmtxmode\else\endinput\fi
+
\unprotect
\writestatus\m!system{skipping obsolete module}
diff --git a/tex/context/modules/mkiv/m-oldfun.mkiv b/tex/context/modules/mkiv/m-oldfun.mkiv
index f20d7d8e9..9530aa065 100644
--- a/tex/context/modules/mkiv/m-oldfun.mkiv
+++ b/tex/context/modules/mkiv/m-oldfun.mkiv
@@ -11,6 +11,8 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
+\ifcase\contextlmtxmode\else\endinput\fi
+
\unprotect
%D Beware, these macros wil be replaced and at some point this
diff --git a/tex/context/modules/mkiv/m-oldnum.mkiv b/tex/context/modules/mkiv/m-oldnum.mkiv
index 5109cca12..63ac15085 100644
--- a/tex/context/modules/mkiv/m-oldnum.mkiv
+++ b/tex/context/modules/mkiv/m-oldnum.mkiv
@@ -11,6 +11,8 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
+\ifcase\contextlmtxmode\else\endinput\fi
+
% See end for transition to mkiv.
\writestatus{loading}{ConTeXt Support Macros / Numbers}
diff --git a/tex/context/modules/mkiv/m-units.mkiv b/tex/context/modules/mkiv/m-units.mkiv
index 4f25fffc6..02d1b6aa7 100644
--- a/tex/context/modules/mkiv/m-units.mkiv
+++ b/tex/context/modules/mkiv/m-units.mkiv
@@ -11,6 +11,8 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
+\ifcase\contextlmtxmode\else\endinput\fi
+
%D Best use the built in unit handle!
%D Scientific units can be typeset in math mode pretty well,