<?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="definevspacingamount" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-dimension-optional"/>
            <cd:resolve name="keyword-dimension-optional"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definevspacing" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords>
                <cd:inherit name="vspacing"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="vspacing" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:resolve name="value-blank"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="directvspacing" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="braces" list="yes">
                <cd:inherit name="vspacing"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupvspacing" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="vspacing"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <!--

        <cd:command name="setupblank" level="style" category="whitespace" file="spac-ver.mkiv">
            <cd:arguments>
                <cd:keywords list="yes" optional="yes">
                    <cd:inherit name="vspacing"/>
                </cd:keywords>
            </cd:arguments>
        </cd:command>

        <cd:command name="blank" level="document" category="whitespace" file="spac-ver.mkiv">
            <cd:arguments>
                <cd:keywords list="yes" optional="yes">
                    <cd:inherit name="vspacing"/>
                </cd:keywords>
            </cd:arguments>
        </cd:command>

    -->

    <cd:command name="setupblank" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="blank"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="blank" level="document" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                    <cd:resolve name="value-blank"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="useblankparameter" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="inhibitblank" level="system" category="whitespace" file="spac-ver.mkiv"/>

    <cd:command name="synchronizeblank" level="system" category="whitespace" file="spac-ver.mkiv"/>

    <cd:command name="definevspace" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-dimension"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="vspace" level="document" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-name-optional"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="godown" level="document" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-dimension"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="vglue" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="string-dimension"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="smallskip" level="system" category="whitespace" file="spac-ver.mkiv"/>

    <cd:command name="medskip" level="system" category="whitespace" file="spac-ver.mkiv"/>

    <cd:command name="bigskip" level="system" category="whitespace" file="spac-ver.mkiv"/>

    <cd:command name="checkedblank" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes">
                <cd:inherit name="blank"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="prerollblank" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes">
                <cd:inherit name="blank"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>
