<?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="setuphyphenation" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="method">
                    <cd:constant type="original"/>
                    <cd:constant type="tex"/>
                    <cd:constant type="default" default="yes"/>
                    <cd:constant type="hyphenate"/>
                    <cd:constant type="expanded"/>
                    <cd:constant type="traditional"/>
                    <cd:constant type="none"/>
                </cd:parameter>
                <cd:parameter name="hyphens">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenation" type="environment" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:keywords list="yes">
                <cd:constant type="original"/>
                <cd:constant type="tex"/>
                <cd:constant type="default" default="yes"/>
                <cd:constant type="hyphenate"/>
                <cd:constant type="expanded"/>
                <cd:constant type="traditional"/>
                <cd:constant type="none"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="definehyphenationfeatures" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:assignments list="yes">
                <cd:parameter name="characters">
                    <cd:constant type="cd:text"/>
                </cd:parameter>
                <cd:parameter name="hyphens">
                    <cd:constant type="yes"/>
                    <cd:constant type="all"/>
                    <cd:constant type="cd:text"/>
                </cd:parameter>
                <cd:parameter name="joiners">
                    <cd:constant type="yes"/>
                    <cd:constant type="all"/>
                    <cd:constant type="cd:text"/>
                </cd:parameter>
                <cd:parameter name="rightwords">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="hyphenmin">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="lefthyphenmin">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="righthyphenmin">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="lefthyphenchar">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="righthyphenchar">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="alternative">
                    <cd:constant type="original"/>
                    <cd:constant type="tex"/>
                    <cd:constant type="hyphenate" default="yes"/>
                    <cd:constant type="expanded"/>
                    <cd:constant type="traditional"/>
                    <cd:constant type="none"/>
                </cd:parameter>
                <cd:parameter name="rightedge">
                    <cd:constant type="tex"/>
                </cd:parameter>
                <cd:parameter name="rightchars">
                    <cd:constant type="word"/>
                    <cd:constant type="cd:number"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="sethyphenationfeatures" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="cd:name"/>
                <cd:constant type="reset"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="resethyphenationfeatures" level="style" category="language" file="lang-hyp.mkxl"/>

    <cd:command name="registerhyphenationpattern" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="unregisterhyphenationpattern" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="showhyphenationtrace" level="document" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="registerhyphenationexception" level="style" category="language" file="lang-hyp.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-language-optional"/>
            <cd:resolve name="keyword-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setuphyphenmark" level="style" category="language" file="typo-del.mkxl">
        <cd:arguments>
            <cd:assignments list="yes">
                <cd:parameter name="sign">
                    <cd:constant type="normal"/>
                    <cd:constant type="wide" default="yes"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="definebreakpoints" level="style" category="language" file="typo-brk.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="definebreakpoint" level="style" category="language" file="typo-brk.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords>
                <cd:constant type="cd:character"/>
            </cd:keywords>
            <cd:assignments list="yes" optional="yes">
                <cd:parameter name="type">
                    <cd:constant type="1"/>
                    <cd:constant type="2"/>
                    <cd:constant type="3"/>
                    <cd:constant type="4"/>
                    <cd:constant type="5"/>
                </cd:parameter>
                <cd:parameter name="nleft">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="nright">
                    <cd:constant type="cd:number"/>
                </cd:parameter>
                <cd:parameter name="left">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="middle">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="right">
                    <cd:constant type="cd:command"/>
                </cd:parameter>
                <cd:parameter name="range">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
                <cd:parameter name="language">
                    <cd:constant type="cd:language"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setbreakpoints" level="style" category="language" file="typo-brk.mkxl">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="reset"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetbreakpoints" level="style" category="language" file="typo-brk.mkxl"/>

    <cd:command name="showhyphens" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedword" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedpar" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedfile" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-file"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedcoloredword" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedhbox" level="document" category="language" file="supp-box.mkxl">
        <cd:arguments>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="sethyphenatedurlbefore" level="style" category="language" file="lang-url.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="sethyphenatedurlafter" level="style" category="language" file="lang-url.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="sethyphenatedurlnormal" level="style" category="language" file="lang-url.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedurl" level="document" category="language" file="lang-url.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="hyphenatedfilename" level="document" category="language" file="lang-url.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dohyphens" level="style" category="language" file="lang-ini.mkxl"/>

    <cd:command name="nohyphens" level="style" category="language" file="lang-ini.mkxl"/>

    <cd:command name="usehyphensparameter" level="system" category="language" file="lang-ini.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="compounddiscretionary" level="system" category="language" file="lang-mis.mkxl"/>

</cd:interface>
