<?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="punctuation" type="environment" begin="push" end="pop" level="system" category="language" file="typo-chr.mkiv"/>

    <cd:command name="removepunctuation" level="system" category="language" file="typo-chr.mkiv"/>

    <cd:command name="markcontent" level="system" category="language" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="reset"/>
                <cd:constant type="all" default="yes"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="markedcontent" type="environment" level="system" category="language" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:keywords optional="yes">
                <cd:constant type="reset"/>
                <cd:constant type="all" default="yes"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="removemarkedcontent" level="system" category="language" file="typo-chr.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doifelsemarkedcontent" level="system" category="language" keywords="conditional" file="typo-chr.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="setcharactercleaning" level="system" category="language" file="typo-cln.mkiv">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="reset"/>
                <cd:constant type="1"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>
