i-modes.xml /size: 7932 b    last modification: 2021-10-28 13:51
1<?xml version="1.0" encoding="UTF-8"?>
2
3<?context-directive job ctxfile x-setups.ctx ?>
4
5<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">
6
7    <cd:command name="newmode" level="system" category="structure" file="core-env.mkiv">
8        <cd:arguments>
9            <cd:resolve name="argument-name"/>
10        </cd:arguments>
11    </cd:command>
12
13    <cd:command name="setmode" level="system" category="structure" file="core-env.mkiv">
14        <cd:arguments>
15            <cd:resolve name="argument-name"/>
16        </cd:arguments>
17    </cd:command>
18
19    <cd:command name="resetmode" level="system" category="structure" file="core-env.mkiv">
20        <cd:arguments>
21            <cd:resolve name="argument-name"/>
22        </cd:arguments>
23    </cd:command>
24
25    <cd:command name="newsystemmode" level="system" category="structure" file="core-env.mkiv">
26        <cd:arguments>
27            <cd:resolve name="argument-name"/>
28        </cd:arguments>
29    </cd:command>
30
31    <cd:command name="setsystemmode" level="system" category="structure" file="core-env.mkiv">
32        <cd:arguments>
33            <cd:resolve name="argument-name"/>
34        </cd:arguments>
35    </cd:command>
36
37    <cd:command name="resetsystemmode" level="system" category="structure" file="core-env.mkiv">
38        <cd:arguments>
39            <cd:resolve name="argument-name"/>
40        </cd:arguments>
41    </cd:command>
42
43    <cd:command name="preventmode" level="style" category="structure" file="core-env.mkiv">
44        <cd:arguments>
45            <cd:resolve name="keyword-name-list"/>
46        </cd:arguments>
47    </cd:command>
48
49    <cd:command name="enablemode" level="style" category="structure" file="core-env.mkiv">
50        <cd:arguments>
51            <cd:resolve name="keyword-name-list"/>
52        </cd:arguments>
53    </cd:command>
54
55    <cd:command name="disablemode" level="style" category="structure" file="core-env.mkiv">
56        <cd:arguments>
57            <cd:resolve name="keyword-name-list"/>
58        </cd:arguments>
59    </cd:command>
60
61    <cd:command name="globalpreventmode" level="system" category="structure" file="core-env.mkiv">
62        <cd:arguments>
63            <cd:resolve name="keyword-name-list"/>
64        </cd:arguments>
65    </cd:command>
66
67    <cd:command name="globalenablemode" level="system" category="structure" file="core-env.mkiv">
68        <cd:arguments>
69            <cd:resolve name="keyword-name-list"/>
70        </cd:arguments>
71    </cd:command>
72
73    <cd:command name="globaldisablemode" level="system" category="structure" file="core-env.mkiv">
74        <cd:arguments>
75            <cd:resolve name="keyword-name-list"/>
76        </cd:arguments>
77    </cd:command>
78
79    <cd:command name="definemode" level="style" category="structure" file="core-env.mkiv">
80        <cd:arguments>
81            <cd:resolve name="keyword-name-list"/>
82            <cd:keywords optional="yes">
83                <cd:constant type="yes"/>
84                <cd:constant type="no" default="yes"/>
85                <cd:constant type="keep"/>
86            </cd:keywords>
87        </cd:arguments>
88    </cd:command>
89
90    <cd:command name="booleanmodevalue" level="system" category="structure" file="core-env.mkiv">
91        <cd:arguments>
92            <cd:resolve name="argument-name"/>
93        </cd:arguments>
94    </cd:command>
95
96    <cd:command name="doifelsemode" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
97        <cd:arguments>
98            <cd:resolve name="argument-name-list"/>
99            <cd:resolve name="argument-true"/>
100            <cd:resolve name="argument-false"/>
101        </cd:arguments>
102    </cd:command>
103
104    <cd:command name="doifmodeelse" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
105        <cd:arguments>
106            <cd:resolve name="argument-name-list"/>
107            <cd:resolve name="argument-true"/>
108            <cd:resolve name="argument-false"/>
109        </cd:arguments>
110    </cd:command>
111
112    <cd:command name="doifmode" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
113        <cd:arguments>
114            <cd:resolve name="argument-name-list"/>
115            <cd:resolve name="argument-true"/>
116        </cd:arguments>
117    </cd:command>
118
119    <cd:command name="doifnotmode" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
120        <cd:arguments>
121            <cd:resolve name="argument-name-list"/>
122            <cd:resolve name="argument-true"/>
123        </cd:arguments>
124    </cd:command>
125
126    <cd:command name="mode" type="environment" level="style" category="structure" file="core-env.mkiv">
127        <cd:arguments>
128            <cd:resolve name="keyword-name-list"/>
129        </cd:arguments>
130    </cd:command>
131                
132    <cd:command name="notmode" type="environment" level="style" category="structure" file="core-env.mkiv">
133        <cd:arguments>
134            <cd:resolve name="keyword-name-list"/>
135        </cd:arguments>
136    </cd:command>
137
138    <cd:command name="doifelseallmodes" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
139        <cd:arguments>
140            <cd:resolve name="argument-name-list"/>
141            <cd:resolve name="argument-true"/>
142            <cd:resolve name="argument-false"/>
143        </cd:arguments>
144    </cd:command>
145
146    <cd:command name="doifallmodeselse" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
147        <cd:arguments>
148            <cd:resolve name="argument-name-list"/>
149            <cd:resolve name="argument-true"/>
150            <cd:resolve name="argument-false"/>
151        </cd:arguments>
152    </cd:command>
153
154    <cd:command name="doifallmodes" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
155        <cd:arguments>
156            <cd:resolve name="argument-name-list"/>
157            <cd:resolve name="argument-true"/>
158            <cd:resolve name="argument-false"/>
159        </cd:arguments>
160    </cd:command>
161
162    <cd:command name="doifnotallmodes" level="style" category="structure" keywords="conditional" file="core-env.mkiv">
163        <cd:arguments>
164            <cd:resolve name="argument-name-list"/>
165            <cd:resolve name="argument-true"/>
166            <cd:resolve name="argument-false"/>
167        </cd:arguments>
168    </cd:command>
169
170    <cd:command name="allmodes" type="environment" level="style" category="structure" file="core-env.mkiv">
171        <cd:arguments>
172            <cd:resolve name="keyword-name-list"/>
173        </cd:arguments>
174    </cd:command>
175
176    <cd:command name="notallmodes" type="environment" level="style" category="structure" file="core-env.mkiv">
177        <cd:arguments>
178            <cd:resolve name="keyword-name-list"/>
179        </cd:arguments>
180    </cd:command>
181
182    <cd:command name="modeset" type="environment" level="style" category="structure" file="core-env.mkiv">
183        <cd:arguments>
184            <cd:keywords list="yes">
185                <cd:constant type="cd:name"/>
186                <cd:constant type="default"/>
187            </cd:keywords>
188            <cd:content/>
189        </cd:arguments>
190    </cd:command>
191
192    <cd:command name="pushmode" level="system" category="structure" file="core-env.mkiv">
193        <cd:arguments>
194            <cd:resolve name="keyword-name"/>
195        </cd:arguments>
196    </cd:command>
197
198    <cd:command name="popmode" level="system" category="structure" file="core-env.mkiv">
199        <cd:arguments>
200            <cd:resolve name="keyword-name"/>
201        </cd:arguments>
202    </cd:command>
203
204    <cd:command name="pushsystemmode" level="system" category="structure" file="core-env.mkiv">
205        <cd:arguments>
206            <cd:resolve name="argument-name"/>
207        </cd:arguments>
208    </cd:command>
209
210    <cd:command name="popsystemmode" level="system" category="structure" file="core-env.mkiv">
211        <cd:arguments>
212            <cd:resolve name="argument-name"/>
213        </cd:arguments>
214    </cd:command>
215
216</cd:interface>
217