<?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" keywords="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" keywords="alignment" file="typo-dir.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-number"/>
        </cd:arguments>
    </cd:command>

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

    <!--

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

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

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

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

    -->

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

</cd:interface>
