<?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="getrandomcount" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomdimen" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-dimension"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomnumber" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomfloat" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setrandomseed" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomseed" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="randomseed" type="environment" begin="push" end="pop" level="system" category="counter" file="supp-ran.mkxl"/>

    <cd:command name="reuserandomseed" level="system" category="counter" file="supp-ran.mkxl"/>

    <cd:command name="randomnumber" level="system" category="counter" file="supp-ran.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="mprandomnumber" level="system" category="counter" keywords="metapost" file="supp-ran.mkxl"/>

    <cd:command name="newrepeatablerandom" level="system" category="counter" file="supp-ran.lmt">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
