summaryrefslogtreecommitdiff
path: root/tex/context/interface/mkiv/i-javascript.xml
blob: e97c5109c8f8658909a61e4bfd5f40c43821fce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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="JScode" type="environment" level="system" category="pdf" file="java-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="string-name"/>
            <cd:keywords delimiters="none">
                <cd:constant type="uses"/>
            </cd:keywords>
            <cd:resolve name="string-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="JSpreamble" type="environment" level="system" category="pdf" file="java-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="string-name"/>
            <cd:keywords delimiters="none">
                <cd:constant type="used"/>
            </cd:keywords>
            <cd:keywords delimiters="none">
                <cd:constant type="now"/>
                <cd:constant type="later"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="setJSpreamble" level="system" category="pdf" file="java-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="addtoJSpreamble" level="system" category="pdf" file="java-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:content/>
        </cd:arguments>
    </cd:command>

    <cd:command name="useJSscripts" level="style" category="pdf" file="java-ini.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-file"/>
            <cd:resolve name="keyword-name-list-optional"/>
        </cd:arguments>
    </cd:command>

</cd:interface>