1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus{loading}{ConTeXt Core Macros Additional Initialization}
15
16\unprotect
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31\newtoks \everybeforeoutput
32\newtoks \everyafteroutput
33
34
35
36\newtoks \everyshipout
37\newtoks \everybeforeshipout
38\newtoks \everyaftershipout
39\newtoks \everyfirstshipout
40\newtoks \everylastshipout
41
42
43
44\newtoks \everybye
45\newtoks \everygoodbye
46\newtoks \everynotabene
47
48
49
50\newtoks \everyendoftextbody
51
52\newtoks \everystarttext
53\newtoks \everystoptext
54
55\newtoks \everystartdocument
56\newtoks \everystopdocument
57
58
59
60\newtoks \everyforgetall
61\newtoks \everycleanupfeatures
62\newtoks \everysimplifycommands
63\newtoks \everypreroll
64
65\let\simplifiedcommands\everysimplifycommands
66
67\newconditional\simplifyingcommands
68
69\unexpanded\def\forgetall {\the\everyforgetall}
70\unexpanded\def\cleanupfeatures {\the\everycleanupfeatures}
71\unexpanded\def\simplifycommands{\the\everysimplifycommands}
72
73\appendtoks
74 \settrue\simplifyingcommands
75\to \everysimplifycommands
76
77\appendtoks
78 \everypar\emptytoks
79\to \everyforgetall
80
81
82
83\newtoks \everybeforepagebody
84\newtoks \everyafterpagebody
85
86\let\everypagebody\everybeforepagebody
87
88
89
90\newtoks \everyinsidefloat
91
92
93
94\newtoks \everyinitializeexport
95
96
97
98
99
100
101
102\newtoks \everybeginofpar
103\newtoks \everyendofpar
104
105
106\unexpanded\def\bpar{\the\everybeginofpar\ignorespaces}
107\unexpanded\def\epar{\ifhmode\removeunwantedspaces\the\everyendofpar\fi}
108
109
110
111\newtoks \everylistentry
112\newtoks \everysavesortkeys
113
114
115
116
117
118
119
120\newtoks \everyfont
121\newtoks \everyglobalbodyfont
122\newtoks \everydefinedfont
123
124\newtoks \everybodyfont
125\newtoks \everyfontswitch
126
127\newtoks \everysetupbodyfont
128\newtoks \everyswitchtobodyfont
129
130
131
132\newtoks \everybeforedisplayformula
133\newtoks \everymathematics
134
135\prependtoks \the\everymathematics \to \everymath
136\prependtoks \the\everymathematics \to \everydisplay
137
138
139
140
141
142
143
144\newtoks \everypushsomestate
145\newtoks \everypopsomestate
146
147\unexpanded\def\pushsomestates{\the\everypushsomestate}
148\unexpanded\def\popsomestates {\the\everypopsomestate }
149
150
151
152\newtoks\everystarttextproperties
153\newtoks\everystoptextproperties
154
155\unexpanded\def\starttextproperties{\the\everystarttextproperties}
156\unexpanded\def\stoptextproperties {\the\everystoptextproperties}
157
158
159
160
161
162
163
164\prependtoks
165 \resettrialtypesetting
166\to \everybeforepagebody
167
168
169
170
171
172
173\newif \ifinpagebody
174\newif \ifinsidecolumns
175\newif \ifinsidemulticolumns
176\newif \ifdoublesided \doublesidedfalse
177\newif \ifsinglesided \singlesidedtrue
178\newif \ifinsidefloat
179\newif \ifdoingblocks
180\newif \ifgridsnapping
181\newif \ifexporting
182
183\newconstant\pageduplexmode
184\newconstant\pagebodymode
185
186\newcount\nofcolumns \nofcolumns \plusone
187\newcount\nofmulticolumns \nofmulticolumns\plusone
188
189
190
191
192
193
194
195
196\appendtoks
197 \productionruntrue
198\to \everydump
199
200
201
202
203
204
205
206
207\newif \ifboxedcontent
208\newtoks\everyboxedcontent
209
210\appendtoks
211 \boxedcontenttrue
212\to \everyboxedcontent
213
214\unexpanded\def\startboxedcontent{\bgroup\the\everyboxedcontent}
215
216\let\stopboxedcontent\egroup
217
218
219
220\let\normalat \at
221\let\normalin \in
222\let\normalfrom \from
223
224\let\normalabout\about
225
226
227
228\let\setlayoutcomponentattribute \gobbleoneargument
229\let\resetlayoutcomponentattribute\relax
230\let\layoutcomponentboxattribute \empty
231
232\protect \endinput
233 |