<?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="currentoutputstream" level="system" file="page-str.mkiv"/>

    <cd:command name="ifinoutputstream" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="string-true"/>
            <cd:delimiter name="else"/>
            <cd:resolve name="string-false"/>
            <cd:delimiter name="fi"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="enableoutputstream" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="disableoutputstream" level="system" file="page-str.mkiv"/>

    <cd:command name="outputstream" type="environment" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="flushoutputstream" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="outputstreambox" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="outputstreamcopy" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="outputstreamunvbox" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="outputstreamunvcopy" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="synchronizeoutputstreams" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="pushoutputstream" level="system" file="page-str.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
        </cd:arguments>
    </cd:command>

</cd:interface>