summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-cleaning.xml
blob: f5f7b353a4be176bfb9838776994121a79a35000 (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
<?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="punctuation" type="environment" begin="push" end="pop" level="system" file="typo-chr.mkiv"/>

    <cd:command name="removepunctuation" level="system" file="typo-chr.mkiv"/>

    <cd:command name="markcontent" level="system" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="reset"/>
                <cd:constant type="all" default="yes"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="markedcontent" type="environment" level="system" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="reset"/>
                <cd:constant type="all" default="yes"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="removemarkedcontent" level="system" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifelsemarkedcontent" level="system" category="conditional" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setcharactercleaning" level="system" file="typo-cln.mkiv">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="reset"/>
                <cd:constant type="1"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>