<?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="defineoutputroutine" level="system" category="layout" file="page-otr.mklx">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupoutputroutine"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupoutputroutine" level="system" category="layout" file="page-otr.mklx">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="cd:key">
                    <cd:constant type="cd:csname"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupoutputroutine" variant="name" level="system" category="layout" file="page-otr.mklx">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="defineoutputroutinecommand" level="system" category="layout" file="page-otr.mklx">
        <cd:arguments>
            <cd:resolve name="keyword-key-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="traceoutputroutines" level="system" category="layout" file="page-otr.mklx"/>

    <cd:command name="installoutputroutine" level="system" category="layout" file="page-otr.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-command"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
