summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-direction.xml
blob: 3b2d937a435227f19de488bb2c96afcb2cfb5ac8 (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
<?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" category="language alignment" 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:parameter name="break">
                    <cd:constant type="both" default="yes"/>
                    <cd:constant type="before"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

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

    <cd:command name="resetdirection" level="style" category="language alignment" file="typo-dir.mkiv"/>

    <!--

        <cd:command name="lefttorightmark" level="system" category="language alignment" file="typo-dir.mkiv"/>

        <cd:command name="righttoleftmark" level="system" category="language alignment" file="typo-dir.mkiv"/>

        <cd:command name="lrm" level="system" category="language alignment" file="typo-dir.mkiv"/>

        <cd:command name="rlm" level="system" category="language alignment" file="typo-dir.mkiv"/>

    -->

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

    <cd:command name="istltdir" level="system" category="alignment" 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" category="alignment" 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>