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

    <cd:command name="setuplow" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="down">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="low" generated="yes" variant="instance" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:sequence>
            <cd:instance value="low"/>
        </cd:sequence>
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-low"/>
        </cd:instances>
    </cd:command>

    <cd:command name="low" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definehigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setuphigh"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuphigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="up">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="high" generated="yes" variant="instance" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:sequence>
            <cd:instance value="high"/>
        </cd:sequence>
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
        <cd:instances>
            <cd:resolve name="instance-high"/>
        </cd:instances>
    </cd:command>

    <cd:command name="high" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definelowhigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setuplowhigh"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuplowhigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="up">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="down">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="lowhigh" generated="yes" variant="instance" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:sequence>
            <cd:instance value="lowhigh"/>
        </cd:sequence>
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="left"/>
                <cd:constant type="right" default="yes"/>
            </cd:keywords>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="lohi" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="left"/>
                <cd:constant type="right" default="yes"/>
            </cd:keywords>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hilo" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="left"/>
                <cd:constant type="right" default="yes"/>
            </cd:keywords>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definelowmidhigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setuplowmidhigh"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuplowmidhigh" level="style" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="up">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="down">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="lowmidhigh" generated="yes" variant="instance" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:sequence>
            <cd:instance value="lowmidhigh"/>
        </cd:sequence>
        <cd:arguments>
            <cd:content/>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="lomihi" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:content/>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="himilo" level="document" category="fonts" file="typo-scr.mkiv">
        <cd:arguments>
            <cd:content/>
            <cd:content/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

</cd:interface>