<?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="definelabelclass" level="system" category="language" file="lang-lab.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-number-optional"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuplabeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:string value="setup"/>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="assignment-userdata-list"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="presetlabeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:string value="preset"/>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="assignment-userdata-list"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="copylabeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:string value="copy"/>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="assignment-labeldata-list"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="labeltext" type="environment" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-key"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="labellanguage" generated="yes" variant="instance" level="system" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:instance value="label"/>
            <cd:string value="language"/>
        </cd:sequence>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="labeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="argument-key"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labelclass"/>
        </cd:instances>
    </cd:command>

    <cd:command name="labeltexts" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:instance value="label"/>
            <cd:string value="texts"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="argument-key"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labeltext"/>
        </cd:instances>
    </cd:command>

    <cd:command name="leftlabeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:string value="left"/>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="argument-key"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labeltext"/>
        </cd:instances>
    </cd:command>

    <cd:command name="rightlabeltext" generated="yes" variant="instance" level="style" category="language" file="lang-lab.mkiv">
        <cd:sequence>
            <cd:string value="right"/>
            <cd:instance value="label"/>
            <cd:string value="text"/>
        </cd:sequence>
        <cd:arguments>
            <cd:resolve name="argument-key"/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-labeltext"/>
        </cd:instances>
    </cd:command>

    <!--

        <cd:command name="setuplabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copylabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="labeltext" type="environment" flevel="style" category="language" ile="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="labellanguage" level="system" category="language" file="lang-lab.mkiv"/>

        <cd:command name="labeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="labeltexts" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
                <cd:resolve name="argument-text"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="leftlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="rightlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupheadtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetheadtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copyheadtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="headtext" type="environment" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="headlanguage" level="system" category="language" file="lang-lab.mkiv"/>

        <cd:command name="headtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="headtexts" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
                <cd:resolve name="argument-text"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="leftheadtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="rightheadtext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupmathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetmathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copymathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="mathlabeltext" type="environment" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="mathlabellanguage" level="system" category="language" file="lang-lab.mkiv"/>

        <cd:command name="mathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="mathlabeltexts" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
                <cd:resolve name="argument-text"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="leftmathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="rightmathlabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setuptaglabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presettaglabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copytaglabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="taglabeltext" type="environment" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="taglabellanguage" level="system" category="language" file="lang-lab.mkiv"/>

        <cd:command name="taglabeltext" level="style" category="language" file="lang-lab.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupunittext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetunittext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copyunittext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="unittext" type="environment" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="unitlanguage" level="system" category="language" file="phys-dim.mkiv"/>

        <cd:command name="unittext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupoperatortext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetoperatortext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copyoperatortext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="operatortext" type="environment" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="operatorlanguage" level="system" category="language" file="phys-dim.mkiv"/>

        <cd:command name="operatortext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupprefixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetprefixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copyprefixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="prefixtext" type="environment" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="prefixlanguage" level="system" category="language" file="phys-dim.mkiv"/>

        <cd:command name="prefixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupsuffixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetsuffixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copysuffixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="suffixtext" type="environment" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="suffixlanguage" level="system" category="language" file="phys-dim.mkiv"/>

        <cd:command name="suffixtext" level="style" category="language" file="phys-dim.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="setupbtxlabeltext" level="style" category="language" file="publ-ini.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="presetbtxlabeltext" level="style" category="language" file="publ-ini.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-userdata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="copybtxlabeltext" level="style" category="language" file="publ-ini.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="assignment-labeldata-list"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="btxlabeltext" type="environment" level="style" category="language" file="publ-ini.mkiv">
            <cd:arguments>
                <cd:resolve name="keyword-language-optional"/>
                <cd:resolve name="keyword-key"/>
            </cd:arguments>
        </cd:command>

        <cd:command name="btxlabellanguage" level="system" category="language" file="publ-ini.mkiv"/>

        <cd:command name="btxlabeltext" level="style" category="language" file="publ-ini.mkiv">
            <cd:arguments>
                <cd:resolve name="argument-key"/>
            </cd:arguments>
        </cd:command>

    -->

</cd:interface>