<?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="setups" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setups" variant="direct" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setup" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setup" variant="direct" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="directsetup" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="fastsetup" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="texsetup" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="luasetup" level="style" category="structure" keywords="lua" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="systemsetups" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetsetups" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="copysetups" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="showsetupsdefinition" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupwithargument" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="fastsetupwithargument" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupwithargumentswapped" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:content/>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="fastsetupwithargumentswapped" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:content/>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="usesetupsparameter" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="autosetups" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doprocesslocalsetups" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifelsesetups" level="system" category="structure" keywords="conditional" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifsetupselse" level="system" category="structure" keywords="conditional" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifsetups" level="system" category="structure" keywords="conditional" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifnotsetups" level="system" category="structure" keywords="conditional" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="luasetups" type="environment" level="system" category="structure" keywords="lua" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="luasetups" type="environment" variant="string" level="system" category="structure" keywords="lua" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="xmlsetups" type="environment" level="style" category="structure" keywords="xml" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="xmlsetups" type="environment" variant="string" level="style" category="structure" keywords="xml" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="rawsetups" type="environment" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="rawsetups" type="environment" variant="string" level="system" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="localsetups" type="environment" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="localsetups" type="environment" variant="string" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setups" type="environment" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setups" type="environment" variant="string" level="style" category="structure" file="core-env.mkxl">
        <cd:arguments>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="globalsetups" type="environment" begin="push" end ="pop" file="core-env.mkxl"/>

</cd:interface>
