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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    <cd:command name="dayoftheweek" level="style" category="counter" 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" level="style" category="counter" 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" level="style" category="counter conditional" 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" level="style" category="counter conditional" 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" level="style" category="counter" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

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

    <cd:command name="currentdate" level="document" category="counter language" 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" level="document" category="counter language" 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" level="style" category="counter" file="core-con.mkiv">
        <cd:arguments>
            <cd:keywords list="yes">
                <cd:inherit name="currentdate"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="currenttime" level="document" category="counter" 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" level="style" category="counter" 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" level="style" category="counter" 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" level="style" category="counter" 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" level="style" category="counter language" 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" level="document" category="counter" 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" level="style" category="counter" 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" level="system" category="counter conditional" 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" level="system" category="counter conditional" 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" level="system" category="counter conditional" 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" level="system" category="counter conditional" 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" level="document" category="counter" 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" level="document" category="counter" file="core-con.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

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

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

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

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

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

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

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

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

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

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

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

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

</cd:interface>