<?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="defineinterlinespace" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinterlinespace"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupinterlinespace" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="line">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="depth">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="minheight">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="mindepth">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="top">
                    <cd:constant type="cd:number"/>
                    <cd:constant type="height"/>
                </cd:parameter>
                <cd:parameter name="bottom">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="stretch">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="shrink">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupinterlinespace" variant="argument" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="on"/>
                <cd:constant type="off"/>
                <cd:constant type="reset"/>
                <cd:constant type="auto"/>
                <cd:constant type="small"/>
                <cd:constant type="medium"/>
                <cd:constant type="big"/>
                <cd:constant type="cd:number"/>
                <cd:constant type="cd:dimension"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

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

    <cd:command name="setuplocalinterlinespace" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:inherit name="setupinterlinespace"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuplocalinterlinespace" variant="argument" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="on"/>
                <cd:constant type="off"/>
                <cd:constant type="reset"/>
                <cd:constant type="auto"/>
                <cd:constant type="small"/>
                <cd:constant type="medium"/>
                <cd:constant type="big"/>
                <cd:constant type="cd:number"/>
                <cd:constant type="cd:dimension"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

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

    <cd:command name="switchtointerlinespace" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:inherit name="setupinterlinespace"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="switchtointerlinespace" variant="argument" level="style" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="on"/>
                <cd:constant type="off"/>
                <cd:constant type="reset"/>
                <cd:constant type="auto"/>
                <cd:constant type="small"/>
                <cd:constant type="medium"/>
                <cd:constant type="big"/>
                <cd:constant type="cd:number"/>
                <cd:constant type="cd:dimension"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

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

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

    <cd:command name="dosetupcheckedinterlinespace" variant="argument" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="braces" list="yes">
                <cd:constant type="on"/>
                <cd:constant type="off"/>
                <cd:constant type="reset"/>
                <cd:constant type="auto"/>
                <cd:constant type="small"/>
                <cd:constant type="medium"/>
                <cd:constant type="big"/>
                <cd:constant type="cd:number"/>
                <cd:constant type="cd:dimension"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="dosetupcheckedinterlinespace" variant="name" level="system" category="whitespace" file="spac-ver.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

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

</cd:interface>