File: knowledge.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (426 lines) | stat: -rw-r--r-- 11,393 bytes parent folder | download | duplicates (2)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
# knowledge package
# Matthew Bertucci 2/19/2022 for v1.28

#include:l3keys2e
#include:etoolbox
#include:currfile

#keyvals:\usepackage/knowledge#c
paper
electronic
composition
hyperref
hyperref=#active,inactive,compatibility,auto
xcolor
xcolor=#active,inactive,compatibility,auto
makeidx
makeidx=#active,inactive,compatibility,auto
cleveref
cleveref=#active,inactive,compatibility,auto
imakeidx
imakeidx=#active,inactive,compatibility,auto
#endkeyvals

\knowledgeconfigure{directives%keyvals}

#keyvals:\knowledgeconfigure#c,\usepackage/knowledge#c
diagnose bar#true,false
diagnose help#true,false
diagnose line#true,false
fix hyperref twocolumn
label scope#true,false
notion
protect quotation={%<env1,env2,...%>}
protect link
unprotect link
quotation
silent
strict
visible anchor points#true,false
no patch
#endkeyvals

\knowledge{knowledge name}{directives%keyvals}
\knowledge{knowledge name}[synonym1|synonym2|...]{directives%keyvals}
\knowledgestyle{style name}{keyvals}
\knowledgestyle*{style name}{keyvals}
\knowledgedirective{name}[optional parameter]{keyvals}
\knowledgedirective*{name}[optional parameter]{keyvals}
\knowledgedefault{keyvals}
\knowledgedefault*{keyvals}

#keyvals:\knowledge#c,\knowledgestyle#c,\knowledgestyle*#c,\knowledgedirective#c,\knowledgedirective*#c
also now
autoref
autoref link
autoref target
autorefhere
boldface
detokenize
emphasize
ensuretext
ensuremath
export=%<file%>
invisible
italic
fbox
md
notion
intro style=%<knowledge style%>
invisible
italic
link=%<knowledge%>
link scope=%<label%>
lowercase
mathord
mathop
mathbin
mathrel
mathopen
mathclose
mathpunct
namespace=
now
remove space
scope=%<name%>
smallcaps
style=%<knowledge style%>
synonym
text=%<text%>
remove space
typewriter
underline
up
uppercase
wrap=%<macro%>
#endkeyvals

\kl{text}
\kl(scope){text}
\kl[knowledge name]{text}
\kl(scope)[knowledge name]{text}

\knowledgenewvariant{command}{directives%keyvals}#d
\knowledgesetvariant{command}{directives%keyvals}#d

#keyvals:\knowledgenewvariant#c,\knowledgesetvariant#c
namespace=%<string%>
default style={%<style list%>}
unknown style={%<style list%>}
unknown style cont={%<style list%>}
style directive={%<directive list%>}
auto knowledge={%<directives%>}
unknown warning#true,false
unknown diagnose#true,false
suggestion={%<directives%>}
PDF string={%<code%>}
display code={%<code%>}
#endkeyvals

\knowledgevariantmodifier{variant1*variant2*...}{command}

\begin{scope}
\end{scope}
\knowledgescope{scope name}
\knowledgeimport{scope1,scope2,...}
\knowledgeconfigureenvironment{env1,env2,...}{keyvals}

#keyvals:\knowledgeconfigureenvironment#c
scope#true,false
label=#none,accepts
environment#true,false
autoclose#true,false
parents={%<area1,area2,...%>}
push code={%<code%>}
pop code={%<code%>}
occurrences=#once,multiple,recursive
forces=%<area%>
knowledge=%<knowledge%>
#endkeyvals

#ifOption:hyperref
#include:hyperref
#keyvals:\knowledgeconfigure#c,\usepackage/knowledge#c
ref=%<label%>
protect link
url=%<URL%>
anchor point color=#%color
AP color=#%color
anchor point shape=%<shape%>
AP shape=%<shape%>
anchor point shift={%<x,y%>}
AP shift={%<x,y%>}
#endkeyvals
#endif
#ifOption:hyperref=active
#include:hyperref
#keyvals:\knowledgeconfigure#c,\usepackage/knowledge#c
ref=%<label%>
protect link
url=%<URL%>
anchor point color=#%color
AP color=#%color
anchor point shape=%<shape%>
AP shape=%<shape%>
anchor point shift={%<x,y%>}
AP shift={%<x,y%>}
#endkeyvals
#endif

\intro{knowledge}
\intro[knowledge name]{knowledge}
\intro*{knowledge}
\intro*[knowledge name]{knowledge}
\phantomintro{knowledge}
\phantomintro(label){knowledge}
\nointro{knowledge}
\reintro{knowledge}
\reintro[knowledge name]{knowledge}
\reintro*{knowledge}
\reintro*[knowledge name]{knowledge}
\rekl{text}
\rekl(scope){text}
\rekl[knowledge name]{text}
\rekl(scope)[knowledge name]{text}

\AP
\itemAP

#ifOption:xcolor
#include:xcolor
#keyvals:\knowledgeconfigure#c,\usepackage/knowledge#c
color=#%color
cyclic color={%<color1,color2,...%>}
colorbox=#%color
#endkeyvals
#endif
#ifOption:xcolor=active
#include:xcolor
#keyvals:\knowledgeconfigure#c,\usepackage/knowledge#c
color=#%color
cyclic color={%<color1,color2,...%>}
colorbox=#%color
#endkeyvals
#endif

#ifOption:makeidx
#include:makeidx
#keyvals:\knowledge#c,\knowledgestyle#c,\knowledgestyle*#c,\knowledgedirective#c,\knowledgedirective*#c
index=%<text%>
index key=%<index key text%>
index parent key=%<index key%>
index style=%<csname%>
no index
#endkeyvals
\knowledgeIntroIndexStyle#*
#endif
#ifOption:makeidx=active
#include:makeidx
#keyvals:\knowledge#c,\knowledgestyle#c,\knowledgestyle*#c,\knowledgedirective#c,\knowledgedirective*#c
index=%<text%>
index key=%<index key text%>
index parent key=%<index key%>
index style=%<csname%>
no index
#endkeyvals
\knowledgeIntroIndexStyle#*
#endif

#ifOption:imakeidx
#include:imakeidx
#keyvals:\knowledge#c,\knowledgestyle#c,\knowledgestyle*#c,\knowledgedirective#c,\knowledgedirective*#c
index=%<text%>
index key=%<index key text%>
index parent key=%<index key%>
index style=%<csname%>
index name=%<name%>
no index
#endkeyvals
\knowledgeIntroIndexStyle#*
#endif
#ifOption:imakeidx=active
#include:imakeidx
#keyvals:\knowledge#c,\knowledgestyle#c,\knowledgestyle*#c,\knowledgedirective#c,\knowledgedirective*#c
index=%<text%>
index key=%<index key text%>
index parent key=%<index key%>
index style=%<csname%>
index name=%<name%>
no index
#endkeyvals
\knowledgeIntroIndexStyle#*
#endif

\kref{key}#r
\kpageref{key}#r

#ifOption:cleveref
#include:cleveref
\kcref{labellist}#r
\kCref{labellist}#r
\kcpageref{labellist}#r
\kCpageref{labellist}#r
\knamecref{key}#r
\knameCref{key}#r
\knamerefs{key}#r
\knamecrefs{key}#r
\knameCrefs{key}#r
#endif
#ifOption:cleveref=active
#include:cleveref
\kcref{labellist}#r
\kCref{labellist}#r
\kcpageref{labellist}#r
\kCpageref{labellist}#r
\knamecref{key}#r
\knameCref{key}#r
\knamerefs{key}#r
\knamecrefs{key}#r
\knameCrefs{key}#r
#endif

\knowledgenewrobustcmd{cmd}[args]{def}#*d
\knowledgenewcommand{cmd}[args]{def}#*d
\knowledgerenewcommand{cmd}[args]{def}#*
\KnowledgeNewDocumentCommand{cmd}{xargs}{def}#*d
\KnowledgeRenewDocumentCommand{cmd}{xargs}{def}#*
\KnowledgeProvideDocumentCommand{cmd}{xargs}{def}#*d
\KnowledgeDeclareDocumentCommand{cmd}{xargs}{def}#*d
\knowledgedeclarecommand{cmd}[args]{def}#*d
\knowledgenewmathcommand{cmd}[args]{def}#*d
\knowledgenewtextcommand{cmd}[args]{def}#*d
\knowledgerenewmathcommand{cmd}[args]{def}#*
\knowledgerenewtextcommand{cmd}[args]{def}#*
\knowledgedeclaremathcommand{cmd}[args]{def}#*d
\knowledgedeclaretextcommand{cmd}[args]{def}#*d
\KnowledgeNewDocumentMathCommand{cmd}{xargs}{def}#*d
\KnowledgeNewDocumentTextCommand{cmd}{xargs}{def}#*d
\KnowledgeRenewDocumentMathCommand{cmd}{xargs}{def}#*
\KnowledgeRenewDocumentTextCommand{cmd}{xargs}{def}#*
\KnowledgeProvideDocumentMathCommand{cmd}{xargs}{def}#*d
\KnowledgeProvideDocumentTextCommand{cmd}{xargs}{def}#*d
\KnowledgeDeclareDocumentMathCommand{cmd}{xargs}{def}#*d
\KnowledgeDeclareDocumentTextCommand{cmd}{xargs}{def}#*d
\knowledgenewcommandPIE{cmd}[args]{def}#*d
\knowledgerenewcommandPIE{cmd}[args]{def}#*
\knowledgedeclarecommandPIE{cmd}[args]{def}#*d
\knowledgenewmathcommandPIE{cmd}[args]{def}#*d
\knowledgerenewmathcommandPIE{cmd}[args]{def}#*
\knowledgedeclaremathcommandPIE{cmd}[args]{def}#*d
\KnowledgeNewDocumentCommandPIE{cmd}{xargs}{def}#*d
\KnowledgeRenewDocumentCommandPIE{cmd}{xargs}{def}#*
\KnowledgeDeclareDocumentCommandPIE{cmd}{xargs}{def}#*d
\KnowledgeProvideDocumentCommandPIE{cmd}{xargs}{def}#*d
\KnowledgeNewDocumentMathCommandPIE{cmd}{xargs}{def}#*d
\KnowledgeRenewDocumentMathCommandPIE{cmd}{xargs}{def}#*
\KnowledgeDeclareDocumentMathCommandPIE{cmd}{xargs}{def}#*d
\KnowledgeProvideDocumentMathCommandPIE{cmd}{xargs}{def}#*d

\withkl{cmd}{code}#*
\cmdkl{arg}#*

\knowledgepackagemode#*
\IfKnowledgePaperModeTF{true}{false}#*
\ifKnowledgePaperMode#*
\KnowledgePaperModetrue#*
\KnowledgePaperModefalse#*
\IfKnowledgeElectronicModeTF{true}{false}#*
\ifKnowledgeElectronicMode#*
\KnowledgeElectronicModetrue#*
\KnowledgeElectronicModefalse#*
\IfKnowledgeCompositionModeTF{true}{false}#*
\ifKnowledgeCompositionMode#*
\KnowledgeCompositionModetrue#*
\KnowledgeCompositionModefalse#*
  
\robustdisplay{arg}#*
\robustdisplaybracket{arg}#*
\knowledgeFixHyperrefTwocolumn#*

# miscellaneous undocumented commands
\KAuxActivate#*
\KAuxOpen#*
\KAuxClose#*
\IfKAuxReadyTF{true}{false}#*
\KAuxBefore{code}#*
\KAuxAfter{code}#*
\KAuxInit{code}#*
\NewKAuxCommand{cmd}{xargs}{def}#*d
\KAuxEOF{arg}#*
\KAuxCommand{cmd}{xargs}{def}#*d
\ActivateKAuxPhase{arg}#*
\DeclareKAuxPhaseCommand{cmd}{xargs}{def}#*d
\KAuxWriteLocation*
\KAuxWriteX{arg}*
\KAuxWriteX*{arg}*
\KAuxWrite{arg}*
\KAuxWrite*{arg}*
\KAuxFileAt{file}{line}*
\kauxCurrentFile*
\kauxCurrentLine*
\KAuxProcess{phase}*
\NewGBool{arg1}{arg2}*
\NewGBool{arg1}{arg2}[opt]*
\NewGBoolComplete{arg1}{arg2}{arg3}*
\NewGCs{arg1}{arg2}*
\NewGCs{arg1}{arg2}[opt]*
\NewGCsComplete{arg1}{arg2}{arg3}*
\OverloadCommand{cmd}{xargs}{def}#*d
\OverloadCommand{cmd}{xargs}[opt]{def}#*d
\ChooseCommand{arg1}{arg2}#*
\XparseArgs{arg1}{arg2}#*
\ExpXparseArgs{arg1}{arg2}#*
\KnowledgeConfigureBooleanOption{option}#*
\KnowledgeConfigureBooleanOption[default]{option}#*
\KnowledgeConfigureBooleanOptionTF{option}{true}{false}#*
\KnowledgeConfigureBooleanOptionTF[default]{option}{true}{false}#*
\KnowledgeConfigureTrigger{trigger}{def}#*
\KnowledgeConfigureTrigger[opt]{trigger}{def}#*
\KnowledgePackageTrigger{trigger}{def}#*
\KnowledgePackageBooleanOption{arg}#*
\KnowledgePackageBooleanOption[opt]{arg}#*
\ScopeConfigure{envname}{options}#*
\KAuxUndeclaredScopeTag{arg}#*
\KAuxDeclaredScopeTag{arg}#*
\KAuxNewLinkScopetagInstance{arg1}{arg2}#*
\KAuxScopeNewInstance{arg1}{arg2}{arg3}#*
\KAuxScopeTag{arg1}{arg2}#*
\KnowledgeConfigureEnvironment{env1,env2,...}{keyvals}#*
\ScopeHackEnvironments#*
\ScopeActivate#*
\KnowledgeDiagnoseOutput#*
\NewKnowledgeParamBool{param}{bool}#*
\NewKnowledgeParamBool*{param}{bool}#*
\KnowledgeTransferBool{arg}#*
\NewKnowledgeParamTl{param}#*
\NewKnowledgeParamTl[opt]{param}#*
\NewKnowledgeParamTl*{param}#*
\NewKnowledgeParamTl*[opt]{param}#*
\KnowledgeTransferTl{arg}#*
\NewKnowledgeParamCode{arg1}{arg2}#*
\NewKnowledgeParamPackageError{arg1}{arg2}#*
\KAuxKnowledge{arg1}{arg2}{arg3}{arg4}#*
\knowledgeusestyle{arg1}{arg2}#*
\KAuxErrorKnowledgeRecursive{arg1}{arg2}{arg3}{arg4}#*
\KAuxErrorKnowledgeUnknown{arg1}{arg2}{arg3}{arg4}#*
\KAuxErrorLabelUnknown{arg}#*
\KAuxAutoref{arg1}{arg2}{arg3}#*
\KAuxAutorefTarget{arg1}{arg2}{arg3}#*
\KAuxUseKnowledge{arg1}{arg2}{arg3}#*
\ensuretext{arg}#*
\knowledgedisplayref{arg}#*
\makequotationactive#*
\makequotationletter#*
\quotesymbol#*
\klactivequotationmark#*
\klactivedoublequotationmark#*
\klactivatequotation#*
\kldeactivatequotation#*
\KnowledgifyNewcommand{command}#*
\KnowledgifyNewDocumentCommand{command}#*
\IfXcolorTF{true}{false}#*
\ifXcolor#*
\Xcolortrue#*
\Xcolorfalse#*
\KnowledgeConfigureNotion{arg}#*
\KnowledgeConfigureNotion[opt]{arg}#*