<?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="defineindenting" level="style" category="whitespace" file="spac-hor.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords list="yes">
                <cd:constant type="small" prefix="cd:sign" method="none"/>
                <cd:constant type="medium" prefix="cd:sign" method="none"/>
                <cd:constant type="big" prefix="cd:sign" method="none"/>
                <cd:constant type="none"/>
                <cd:constant type="no"/>
                <cd:constant type="not"/>
                <cd:constant type="first"/>
                <cd:constant type="next"/>
                <cd:constant type="yes"/>
                <cd:constant type="always"/>
                <cd:constant type="never"/>
                <cd:constant type="odd"/>
                <cd:constant type="even"/>
                <cd:constant type="normal"/>
                <cd:constant type="reset"/>
                <cd:constant type="toggle"/>
                <cd:constant type="cd:dimension"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupindenting" level="style" category="whitespace" file="spac-hor.mkxl">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="small" prefix="cd:sign" method="none"/>
                <cd:constant type="medium" prefix="cd:sign" method="none"/>
                <cd:constant type="big" prefix="cd:sign" method="none"/>
                <cd:constant type="none"/>
                <cd:constant type="no"/>
                <cd:constant type="not"/>
                <cd:constant type="first"/>
                <cd:constant type="next"/>
                <cd:constant type="yes"/>
                <cd:constant type="always"/>
                <cd:constant type="never"/>
                <cd:constant type="odd"/>
                <cd:constant type="even"/>
                <cd:constant type="normal"/>
                <cd:constant type="reset"/>
                <cd:constant type="toggle"/>
                <cd:constant type="cd:dimension"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="synchronizeindenting" level="system" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="useindentingparameter" level="system" category="whitespace" file="spac-hor.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="indentation" coreprimitive="yes" level="document" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="noindentation" coreprimitive="yes" level="document" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="doindentation" coreprimitive="yes" level="system" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="checknextindentation" level="system" category="whitespace" file="spac-hor.mkxl">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="yes"/>
                <cd:constant type="no"/>
                <cd:constant type="auto"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="useindentnextparameter" level="system" category="whitespace" file="spac-hor.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dorechecknextindentation" level="system" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="indentation" type="environment" begin="push" end="pop" level="system" category="whitespace" file="spac-hor.mkxl"/>

    <cd:command name="doifelseindented" level="system" category="whitespace" keywords="conditional" file="supp-box.lua">
        <cd:arguments>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
