summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/ptex/base/eptexdefs.lib
blob: 7866a98a1f4df6df71c0bf37bac190715fa080a3 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
%% e-TeX V2.0;2
%% e-pTeXlib
%% derived from $TEXMF/tex/plain/etex/etexdefs.lib

\module {grouptypes}
\def \grouptypes #1{\csname gr@up: #1\endcsname}
\def \etexgroupdef #1 
    {\expandafter \expandafter \expandafter \chardef \grouptypes {#1}}
\etexgroupdef bottomlevel = 0 %%% {code for the outside world}
\etexgroupdef simple = 1 %%% {code for local structure only}
\etexgroupdef hbox = 2 %%% {code for `\.{\\hbox}\grp'}
\etexgroupdef adjustedhbox = 3 %%% {code for `\.{\\hbox}\grp' in vertical mode}
\etexgroupdef vbox = 4 %%% {code for `\.{\\vbox}\grp'}
\etexgroupdef vtop = 5 %%% {code for `\.{\\vtop}\grp'}
\etexgroupdef align = 6 %%% {code for `\.{\\halign}\grp', `\.{\\valign}\grp'}
\etexgroupdef noalign = 7 %%% {code for `\.{\\noalign}\grp'}
\etexgroupdef output = 8 %%% {code for output routine}
\etexgroupdef math = 9 %%% {code for, e.g, `\.{\char'136}\grp'}
\etexgroupdef disc = 10 %%% {code for `\.{\\discretionary}\grp\grp\grp'}
\etexgroupdef insert = 11 %%% {code for `\.{\\insert}\grp', `\.{\\vadjust}\grp'}
\etexgroupdef vcenter = 12 %%% {code for `\.{\\vcenter}\grp'}
\etexgroupdef mathchoice = 13 %%% {code for `\.{\\mathchoice}\grp\grp\grp\grp'}
\etexgroupdef semisimple = 14 %%% {code for `\.{\\begingroup...\\endgroup}'}
\etexgroupdef mathshift = 15 %%% {code for `\.{\$...\$}'}
\etexgroupdef mathleft = 16 %%% {code for `\.{\\left...\\right}'}
\endmodule

\module {interactionmodes}
\def \interactionmodes #1{\csname m@de: #1\endcsname}
\def \etexmodedef #1 
    {\expandafter \expandafter \expandafter \chardef \interactionmodes {#1}}
\etexmodedef batch = 0 %%% {omits all stops and omits terminal output}
\etexmodedef nonstop = 1 %%% {omits all stops}
\etexmodedef scroll = 2 %%% {omits error stops}
\etexmodedef errorstop = 3 %%% {stops at every opportunity to interact}
\endmodule

\module {nodetypes}
\def \nodetypes #1{\csname n@de: #1\endcsname}
\def \etexnodedef #1 
    {\expandafter \expandafter \expandafter \chardef \nodetypes {#1}}
\etexnodedef char = 0 %%% {|type| of character nodes}
\etexnodedef hlist = 1 %%% {|type| of hlist nodes}
\etexnodedef vlist = 2 %%% {|type| of vlist nodes}
\etexnodedef rule = 3 %%% {|type| of rule nodes}
\etexnodedef ins = 4 %%% {|type| of insertion nodes}
\etexnodedef mark = 5 %%% {|type| of a mark node}
\etexnodedef adjust = 6 %%% {|type| of an adjust node}
\etexnodedef ligature = 7 %%% {|type| of a ligature node}
\etexnodedef disc = 8 %%% {|type| of a discretionary node}
\etexnodedef whatsit = 9 %%% {|type| of special extension nodes}
\etexnodedef math = 10 %%% {|type| of a math node}
\etexnodedef glue = 11 %%% {|type| of  that points to a glue specification}
\etexnodedef kern = 12 %%% {|type| of a kern node}
\etexnodedef penalty = 13 %%% {|type| of a penalty node}
\etexnodedef unset = 14 %%% {|type| for an unset node}
\etexnodedef maths = 15 %%% {|type| of nodes that occur only in maths mode}
\etexnodedef dir = 16 %%% {|type| for a direction node}
\etexnodedef displace = 17 %%% {|type| for a displacement node}
\endmodule

\module {iftypes}
\def \conditionaltypes #1{\csname @f: #1\endcsname}
\def \etexifdef #1 
    {\expandafter \expandafter \expandafter \chardef \conditionaltypes {#1}}
\etexifdef charif = 1
\etexifdef catif = 2
\etexifdef numif = 3
\etexifdef dimif = 4
\etexifdef oddif = 5
\etexifdef vmodeif = 6
\etexifdef hmodeif = 7
\etexifdef mmodeif = 8
\etexifdef innerif = 9
\etexifdef voidif = 10
\etexifdef hboxif = 11
\etexifdef vboxif = 12
\etexifdef xif = 13
\etexifdef eofif = 14
\etexifdef trueif = 15
\etexifdef falseif = 16
\etexifdef caseif = 17
\etexifdef definedif = 18
\etexifdef csnameif = 19
\etexifdef fontcharif = 20
\etexifdef tdirif=21
\etexifdef ydirif=22
\etexifdef mdirif=23
\etexifdef tboxif=24
\etexifdef yboxif=25
\endmodule