<?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="definecapitals" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupcapitals"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupcapitals" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="title">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
                <cd:parameter name="sc">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setcharactercasing" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="reset"/>
                <cd:constant type="WORD"/>
                <cd:constant type="word"/>
                <cd:constant type="Word"/>
                <cd:constant type="Words"/>
                <cd:constant type="capital"/>
                <cd:constant type="Capital"/>
                <cd:constant type="none"/>
                <cd:constant type="random"/>
                <cd:constant type="mixed"/>
                <cd:constant type="camel"/>
                <cd:constant type="cap"/>
                <cd:constant type="Cap"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="WORD" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="word" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Word" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Words" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="camel" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="WORDS" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="words" level="document" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="pseudosmallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="pseudoSmallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="pseudoSmallCapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="pseudoMixedCapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="realsmallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="realSmallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="realSmallCapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="notsmallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="smallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Smallcapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="SmallCapped" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="autocap" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="mixedcaps" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="kap" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Caps" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="uppercased" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="lowercased" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="randomizetext" level="style" category="fonts" file="typo-cap.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="randomized" type="environment" level="document" category="fonts" file="typo-cap.mkiv"/>

</cd:interface>