summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-thinrule.xml
blob: b74286e5e7d704df088ede5486b1846b6f0261df (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
<?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="setupthinrules" file="pack-mrl.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="height">
                    <cd:constant type="max"/>
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="depth">
                    <cd:constant type="max"/>
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="background">
                    <cd:constant type="color"/>
                </cd:parameter>
                <cd:parameter name="frame">
                    <cd:constant type="on" default="yes"/>
                    <cd:constant type="off"/>
                </cd:parameter>
                <cd:parameter name="rulethickness">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="alternative">
                    <cd:constant type="a"/>
                    <cd:constant type="b" default="yes"/>
                    <cd:constant type="c"/>
                    <cd:constant type="none"/>
                </cd:parameter>
                <cd:parameter name="backgroundcolor">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="interlinespace">
                    <cd:constant type="small" default="yes"/>
                    <cd:constant type="medium"/>
                    <cd:constant type="big"/>
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="before">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="after">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="inbetween">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="thinrule" file="pack-mrl.mkiv"/>

    <cd:command name="hairline" file="pack-mrl.mkiv"/>

    <cd:command name="thinrules" file="pack-mrl.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupthinrules"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

</cd:interface>