<?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="figure" type="environment" level="document" category="graphics" file="grph-fig.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-file"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="externalfigure"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="referring" level="document" category="graphics" file="grph-fig.mkiv">
        <cd:arguments>
            <cd:position list="yes"/>
            <cd:position list="yes"/>
            <cd:resolve name="keyword-reference"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="marking" level="document" category="graphics" file="grph-fig.mkiv">
        <cd:arguments>
            <cd:position list="yes"/>
            <cd:position list="yes"/>
            <cd:resolve name="keyword-reference"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="remark" level="document" category="graphics" file="grph-fig.mkiv">
        <cd:arguments>
            <cd:position list="yes"/>
            <cd:position list="yes"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupframed"/>
            </cd:assignments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="colorbar" level="document" category="colors" file="grph-fig.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-color-list"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
