summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-direction.xml
blob: ad266db6b4cba0f5ae378e7dc2807d71a70def54 (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
<?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="setupdirections" level="style" file="typo-dir.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="bidi">
                    <cd:constant type="on"/>
                    <cd:constant type="off" default="yes"/>
                    <cd:constant type="local"/>
                    <cd:constant type="global"/>
                </cd:parameter>
                <cd:parameter name="method">
                    <cd:constant type="one"/>
                    <cd:constant type="two"/>
                    <cd:constant type="default" default="yes"/>
                </cd:parameter>
                <cd:parameter name="fences">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setdirection" file="typo-dir.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetdirection" file="typo-dir.mkiv"/>

    <!--

        <cd:command name="lefttorightmark" file="typo-dir.mkiv"/>

        <cd:command name="righttoleftmark" file="typo-dir.mkiv"/>

        <cd:command name="lrm" file="typo-dir.mkiv"/>

        <cd:command name="rlm" file="typo-dir.mkiv"/>

    -->

    <cd:command name="showdirsinmargin" file="supp-dir.mkiv"/>

    <cd:command name="istltdir" level="system" file="supp-dir.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="none">
                <cd:constant type="TLT"/>
                <cd:constant type="TRT"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="istrtdir" level="system" file="supp-dir.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="none">
                <cd:constant type="TLT"/>
                <cd:constant type="TRT"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>