summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/cont-new.mkiv
blob: 6d6aa3e1a71f4e82f2efc52784208afadbe2fd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%D \module
%D   [       file=cont-new,
%D        version=1995.10.10,
%D          title=\CONTEXT\ Miscellaneous Macros,
%D       subtitle=New Macros,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% \normalend % uncomment this to get the real base runtime

\newcontextversion{2020.06.29 19:42}

%D This file is loaded at runtime, thereby providing an excellent place for hacks,
%D patches, extensions and new features. There can be local overloads in cont-loc
%D (which has always been the case) and experimental code in cont-exp (which is also
%D so old that I need to remind myself to check it occasionally, so here is the
%D reminder).

\unprotect

\writestatus\m!system{beware: some patches loaded from cont-new.mkiv}

%D I need to verify if this indeed will make it into \type {math-ini.mkiv}, that is:
%D does Alan use it?

\ifdefined\t \else \unexpanded\def\t{\mathortext\text\mathtext} \fi
\ifdefined\w \else \unexpanded\def\w{\mathortext\word\mathword} \fi

\appendtoks
    \let\t\mathtext
    \let\w\mathword
\to \everymathematics

%D We're done.

\protect \endinput