<?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="defineinitial" level="style" category="fonts" file="typo-drp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinitial"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupinitial" level="style" category="fonts" file="typo-drp.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="m">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="before">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="hoffset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="voffset">
                    <cd:constant type="line" default="yes"/>
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="font">
                    <cd:constant type="cd:font"/>
                </cd:parameter>
                <cd:parameter name="text">
                    <cd:constant type="cd:text"/>
                </cd:parameter>
                <cd:parameter name="location">
                    <cd:constant type="margin"/>
                    <cd:constant type="text" default="yes"/>
                </cd:parameter>
                <cd:parameter name="method" list="yes">
                    <cd:constant type="first"/>
                    <cd:constant type="last"/>
                    <cd:constant type="auto"/>
                    <cd:constant type="none" default="yes"/>
                </cd:parameter>
                <cd:parameter name="continue">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="placeinitial" level="document" category="fonts" file="typo-drp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setinitial" level="document" category="fonts" file="typo-drp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinitial"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="flushinitial" level="document" category="fonts" file="typo-drp.mkxl"/>

    <cd:command name="forgetinitial" level="document" category="fonts" file="typo-drp.mkxl"/>

</cd:interface>
