<?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="definedelimitedtext" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupdelimitedtext"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupdelimitedtext" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="before">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="after">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="language">
                    <cd:constant type="local"/>
                    <cd:constant type="global"/>
                    <cd:constant type="cd:language"/>
                </cd:parameter>
                <cd:parameter name="method">
                    <cd:constant type="font"/>
                </cd:parameter>
                <cd:parameter name="repeat">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
                <cd:parameter name="location">
                    <cd:constant type="text"/>
                    <cd:constant type="paragraph"/>
                    <cd:constant type="margin" default="yes"/>
                </cd:parameter>
                <cd:parameter name="left">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="middle">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="right">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="nextleft">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="nextright">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="spacebefore">
                    <cd:inherit name="blank"/>
                </cd:parameter>
                <cd:parameter name="spaceafter">
                    <cd:inherit name="blank"/>
                </cd:parameter>
                <cd:parameter name="leftmargin">
                    <cd:resolve name="value-leftskip"/>
                </cd:parameter>
                <cd:parameter name="rightmargin">
                    <cd:resolve name="value-rightskip"/>
                </cd:parameter>
                <cd:parameter name="indenting">
                    <cd:inherit name="setupindenting"/>
                </cd:parameter>
                <cd:parameter name="indentnext">
                    <cd:resolve name="value-indentnext"/>
                </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="symstyle">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="symcolor">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="delimitedtext" generated="yes" variant="example" file="typo-del.mkiv">
        <cd:sequence>
            <cd:variable value="delimitedtext"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
        <cd:instances>
            <cd:constant value="quotation"/>
            <cd:constant value="quote"/>
            <cd:constant value="blockquote"/>
            <cd:constant value="speech"/>
            <cd:constant value="aside"/>
        </cd:instances>
    </cd:command>

    <cd:command name="delimitedtext" type="environment" generated="yes" variant="example" file="typo-del.mkiv">
        <cd:sequence>
            <cd:variable value="delimitedtext"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
        <cd:instances>
            <cd:constant value="quotation"/>
            <cd:constant value="quote"/>
            <cd:constant value="blockquote"/>
            <cd:constant value="speech"/>
            <cd:constant value="aside"/>
        </cd:instances>
    </cd:command>

    <cd:command name="delimitedtext" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="delimitedtext" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="delimited" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="delimited" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="quotation" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="quotation" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="quote" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="quote" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="blockquote" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="blockquote" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="speech" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="aside" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="aside" file="typo-del.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="speech" type="environment" file="typo-del.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="startnarrower"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupquotation" file="typo-del.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:inherit name="setupdelimitedtext"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupquote" file="typo-del.mkiv">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:inherit name="setupdelimitedtext"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="subsentence" file="typo-del.mkiv">
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="subsentence" type="environment" file="typo-del.mkiv"/>

</cd:interface>
