<?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="defineoverlay" level="style" category="background" file="pack-lyr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="keyword-command"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="overlaycolor" level="system" category="background colors" keywords="background colors" file="pack-rul.mkiv"/>

    <cd:command name="overlaylinecolor" level="system" category="background colors" keywords="background colors" file="pack-rul.mkiv"/>

    <cd:command name="overlaywidth" level="system" category="background" file="pack-rul.mkiv"/>

    <cd:command name="overlayheight" level="system" category="background" file="pack-rul.mkiv"/>

    <cd:command name="overlaydepth" level="system" category="background" file="pack-rul.mkiv"/>

    <cd:command name="overlayoffset" level="system" category="background" file="pack-rul.mkiv"/>

    <cd:command name="overlaylinewidth" level="system" category="background" file="pack-rul.mkiv"/>

    <cd:command name="doifelseoverlay" level="system" category="background" keywords="conditional" file="pack-rul.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifoverlayelse" level="system" category="background" keywords="conditional" file="pack-rul.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
