<?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="numbers" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Numbers" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="romannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Romannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="abjadnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="abjadnodotnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="abjadnaivenumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="languagecharacters" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="languageCharacters" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="alphabeticnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Alphabeticnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="thainumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="devanagarinumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="gurmurkhinumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="gujaratinumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="tibetannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="greeknumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Greeknumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="arabicnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="persiannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="arabicdecimals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="persiandecimals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="arabicexnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="koreannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="koreannumeralsp" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="koreannumeralsc" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="koreanparentnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="koreancirclenumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="chinesenumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="chinesecapnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="chineseallnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="character" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Character" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="characters" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="Characters" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="monthlong" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="monthshort" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="convertmonth" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="month" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="MONTH" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="MONTHLONG" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="MONTHSHORT" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="weekday" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="WEEKDAY" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dayoftheweek" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getdayoftheweek" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifelseleapyear" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifleapyearelse" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dayspermonth" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getdayspermonth" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="currentdate" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="year"/>
                <cd:constant type="month"/>
                <cd:constant type="day"/>
                <cd:constant type="weekday"/>
                <cd:constant type="y"/>
                <cd:constant type="yy"/>
                <cd:constant type="Y"/>
                <cd:constant type="m"/>
                <cd:constant type="mm"/>
                <cd:constant type="M"/>
                <cd:constant type="d"/>
                <cd:constant type="dd"/>
                <cd:constant type="D"/>
                <cd:constant type="w"/>
                <cd:constant type="W"/>
                <cd:constant type="space"/>
                <cd:constant type="\␣"/>
                <cd:constant type="month:mnem"/>
                <cd:constant type="m:mnem"/>
                <cd:constant type="d:ord"/>
                <cd:constant type="day:ord"/>
                <cd:constant type="dd:ord"/>
                <cd:constant type="D:ord"/>
                <cd:constant type="cd:text"/>
                <cd:constant type="referral"/>
                <cd:constant type="day:+"/>
                <cd:constant type="day:++"/>
                <cd:constant type="d:+"/>
                <cd:constant type="d:++"/>
                <cd:constant type="dd:+"/>
                <cd:constant type="dd:++"/>
                <cd:constant type="D:+"/>
                <cd:constant type="D:++"/>
                <cd:constant type="month:jalali"/>
                <cd:constant type="m:jalali"/>
                <cd:constant type="jalali:to"/>
                <cd:constant type="jalali:from"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="date" file="core-con.mkiv">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:parameter name="d">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="m">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="y">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
            <cd:keywords list="yes" optional="yes">
                <cd:inherit name="currentdate"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="rawdate" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords list="yes">
                <cd:inherit name="currentdate"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="currenttime" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="h"/>
                <cd:constant type="m"/>
                <cd:constant type="cd:text"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="processmonth" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-command"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="processyear" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-command"/>
            <cd:resolve name="argument-command"/>
            <cd:resolve name="argument-command"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="defineconversion" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-csname"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="defineconversion" variant="list" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-text-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="convertnumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="braces">
                <cd:constant type="empty"/>
                <cd:constant type="default"/>
                <cd:constant type="none"/>
                <cd:constant type="month"/>
                <cd:constant type="month:mnem"/>
                <cd:constant type="character"/>
                <cd:constant type="Character"/>
                <cd:constant type="characters"/>
                <cd:constant type="Characters"/>
                <cd:constant type="a"/>
                <cd:constant type="A"/>
                <cd:constant type="Numbers"/>
                <cd:constant type="word"/>
                <cd:constant type="words"/>
                <cd:constant type="Word"/>
                <cd:constant type="Words"/>
                <cd:constant type="n"/>
                <cd:constant type="N"/>
                <!-- oldstylenumerals
                    <cd:constant type="o"/>
                    <cd:constant type="O"/>
                -->
                <cd:constant type="romannumerals"/>
                <cd:constant type="Romannumerals"/>
                <cd:constant type="i"/>
                <cd:constant type="I"/>
                <cd:constant type="r"/>
                <cd:constant type="R"/>
                <cd:constant type="KR"/>
                <cd:constant type="RK"/>
                <cd:constant type="greek"/>
                <cd:constant type="Greek"/>
                <cd:constant type="g"/>
                <cd:constant type="G"/>
                <cd:constant type="abjadnumerals"/>
                <cd:constant type="abjadnodotnumerals"/>
                <cd:constant type="abjadnaivenumerals"/>
                <cd:constant type="thainumerals"/>
                <cd:constant type="devanagarinumerals"/>
                <cd:constant type="gurmurkhinumerals"/>
                <cd:constant type="gujaratinnumerals"/>
                <cd:constant type="tibetannumerals"/>
                <cd:constant type="greeknumerals"/>
                <cd:constant type="Greeknumerals"/>
                <cd:constant type="arabicnumerals"/>
                <cd:constant type="persiannumerals"/>
                <cd:constant type="arabicexnumerals"/>
                <cd:constant type="arabicdecimals"/>
                <cd:constant type="persiandecimals"/>
                <cd:constant type="koreannumerals"/>
                <cd:constant type="koreanparentnumerals"/>
                <cd:constant type="koreancirclenumerals"/>
                <cd:constant type="kr"/>
                <cd:constant type="kr-p"/>
                <cd:constant type="kr-c"/>
                <cd:constant type="chinesenumerals"/>
                <cd:constant type="chinesecapnumerals"/>
                <cd:constant type="chineseallnumerals"/>
                <cd:constant type="cn"/>
                <cd:constant type="cn-c"/>
                <cd:constant type="cn-a"/>
                <cd:constant type="sloveniannumerals"/>
                <cd:constant type="slovenianNumerals"/>
                <cd:constant type="spanishnumerals"/>
                <cd:constant type="spanishNumerals"/>
                <cd:constant type="mathgreek"/>
                <cd:constant type="set␣0"/>
                <cd:constant type="set␣1"/>
                <cd:constant type="set␣2"/>
                <cd:constant type="set␣3"/>
                <cd:constant type="continued"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="uconvertnumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="braces">
                <cd:inherit name="convertnumber"/>
            </cd:keywords>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifelseconversiondefined" file="core-con.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="doifconversiondefinedelse" file="core-con.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="doifelseconversionnumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifconversionnumberelse" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-true"/>
            <cd:resolve name="argument-false"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="wordtonumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords delimiters="braces">
                <cd:constant type="one"/>
                <cd:constant type="two"/>
                <cd:constant type="three"/>
                <cd:constant type="four"/>
                <cd:constant type="five"/>
            </cd:keywords>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="highordinalstr" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="ordinalstr" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="ordinaldaynumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="verbosenumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="VerboseNumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="smallcappedromannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="smallcappedcharacters" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="sloveniannumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="slovenianNumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="spanishnumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="spanishNumerals" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="unihex" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="continuednumber" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
