<?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="setupcolumns" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="option">
                    <cd:constant type="background"/>
                </cd:parameter>
                <cd:parameter name="offset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="command">
                    <cd:constant type="cd:oneargument"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="direction">
                    <cd:constant type="left"/>
                    <cd:constant type="right" default="yes"/>
                </cd:parameter>
                <cd:parameter name="balance">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
                <cd:parameter name="align">
                    <cd:constant type="setupalign"/>
                </cd:parameter>
                <cd:parameter name="tolerance">
                    <cd:constant type="setuptolerance"/>
                </cd:parameter>
                <cd:parameter name="blank">
                    <cd:inherit name="blank"/>
                </cd:parameter>
                <cd:parameter name="ntop">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="rule">
                    <cd:constant type="on"/>
                    <cd:constant type="off" default="yes"/>
                    <cd:constant type="cd:command"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columns" type="environment" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumns"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcolumnspan" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:inherit name="setupframed"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="columnspan" type="environment" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcolumnspan"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setsimplecolumnhsize" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="n">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="lines">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="simplecolumns" type="environment" file="page-mul.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setsimplecolumnhsize"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

</cd:interface>
