<?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="definemulticolumns" level="style" category="tables" file="page-mcl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments optional="yes" list="yes">
                <cd:inherit name="setupmulticolumns"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupmulticolumns" level="style" category="columns" file="page-mcl.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <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="direction">
                    <cd:constant type="right" default="yes"/>
                    <cd:constant type="reverse"/>
                </cd:parameter>
                <cd:parameter name="balance">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
                <cd:parameter name="blank">
                    <cd:inherit name="blank"/>
                </cd:parameter>
                <cd:parameter name="align">
                    <cd:inherit name="setupalign"/>
                </cd:parameter>
                <cd:parameter name="ntop">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="multicolumns" type="environment" level="document" category="tables" file="page-mcl.mkxl">
        <cd:arguments>
            <cd:assignments optional="yes" list="yes">
                <cd:inherit name="setupmulticolumns"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

</cd:interface>
