summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-bleed.xml
blob: 15a2fe5f791c837d06def456b4f5ac2d7806cc80 (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
<?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="setupbleeding" file="pack-box.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="offset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="hoffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="voffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="location">
                    <cd:constant type="t"/>
                    <cd:constant type="b"/>
                    <cd:constant type="l" default="yes"/>
                    <cd:constant type="r"/>
                    <cd:constant type="bl"/>
                    <cd:constant type="lb"/>
                    <cd:constant type="br"/>
                    <cd:constant type="rb"/>
                    <cd:constant type="tl"/>
                    <cd:constant type="lt"/>
                    <cd:constant type="tr"/>
                    <cd:constant type="rt"/>
                </cd:parameter>
                <cd:parameter name="stretch">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
                <cd:parameter name="page">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="bleed" file="pack-box.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupbleeding"/>
            </cd:assignments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="bleedwidth" file="pack-box.mkiv"/>

    <cd:command name="bleedheight" file="pack-box.mkiv"/>

</cd:interface>