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

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

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

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

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

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

        <cd:command name="setupheadtext" 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" 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" 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" 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" file="lang-lab.mkiv"/>

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

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

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

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

        <cd:command name="setupmathlabeltext" 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" 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" 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" 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" file="lang-lab.mkiv"/>

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

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

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

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

        <cd:command name="setuptaglabeltext" 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" 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" 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" 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" file="lang-lab.mkiv"/>

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

        <cd:command name="setupunittext" 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" 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" 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" 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" file="phys-dim.mkiv"/>

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

        <cd:command name="setupoperatortext" 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" 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" 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" 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" file="phys-dim.mkiv"/>

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

        <cd:command name="setupprefixtext" 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" 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" 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" 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" file="phys-dim.mkiv"/>

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

        <cd:command name="setupsuffixtext" 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" 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" 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" 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" file="phys-dim.mkiv"/>

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

        <cd:command name="setupbtxlabeltext" 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" 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" 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" 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" file="publ-ini.mkiv"/>

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

    -->

</cd:interface>
