summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-attribute.xml
blob: 77b91ff44d7d05eb8866053a21d2b1983f8413c8 (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
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="pushattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="popattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="installattributestack" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="defineattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="local" default="yes"/>
                <cd:constant type="global"/>
                <cd:constant type="public" default="yes"/>
                <cd:constant type="private"/>
                <cd:constant type="pickup"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="definesystemattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="local" default="yes"/>
                <cd:constant type="global"/>
                <cd:constant type="public"/>
                <cd:constant type="private" default="yes"/>
                <cd:constant type="pickup"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="newattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dosetattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doresetattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dogetattribute" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dogetattributeid" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetallattributes" level="system" category="attribute" file="attr-ini.mkiv"/>

    <cd:command name="savecurrentattributes" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="restorecurrentattributes" level="system" category="attribute" file="attr-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="showattributes" level="document" category="attribute" file="attr-ini.mkiv"/>

</cd:interface>