diff options
Diffstat (limited to 'tex/context/interface/mkiv/i-modules.xml')
-rw-r--r-- | tex/context/interface/mkiv/i-modules.xml | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/tex/context/interface/mkiv/i-modules.xml b/tex/context/interface/mkiv/i-modules.xml new file mode 100644 index 000000000..9567cb9af --- /dev/null +++ b/tex/context/interface/mkiv/i-modules.xml @@ -0,0 +1,126 @@ +<?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="usemodule" file="file-mod.mkvi"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="m"/> + <cd:constant type="p"/> + <cd:constant type="s"/> + <cd:constant type="x"/> + <cd:constant type="t"/> + </cd:keywords> + <cd:resolve name="keyword-file-list"/> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="cd:key"> + <cd:constant type="cd:value"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="usemodules" file="file-mod.mkvi"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="m"/> + <cd:constant type="p"/> + <cd:constant type="s"/> + <cd:constant type="x"/> + <cd:constant type="t"/> + </cd:keywords> + <cd:resolve name="keyword-file-list"/> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="cd:key"> + <cd:constant type="cd:value"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="usetexmodule" file="file-mod.mkvi"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="m"/> + <cd:constant type="p"/> + <cd:constant type="s"/> + <cd:constant type="x"/> + <cd:constant type="t"/> + </cd:keywords> + <cd:resolve name="keyword-file-list"/> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="cd:key"> + <cd:constant type="cd:value"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="module" type="environment" variant="1" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-file"/> + </cd:arguments> + </cd:command> + + <cd:command name="module" type="environment" variant="2" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="string-file"/> + </cd:arguments> + </cd:command> + + <cd:command name="setupmodule" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-file-optional"/> + <cd:assignments list="yes"> + <cd:parameter name="test"> + <cd:constant type="yes"/> + <cd:constant type="no" default="yes"/> + </cd:parameter> + <cd:parameter name="cd:key"> + <cd:constant type="cd:value"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="moduleparameter" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="argument-file"/> + <cd:resolve name="argument-key"/> + </cd:arguments> + </cd:command> + + <cd:command name="currentmoduleparameter" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="argument-key"/> + </cd:arguments> + </cd:command> + + <cd:command name="moduletestsection" type="environment" file="file-mod.mkvi"/> + + <cd:command name="fetchruntinecommand" file="file-mod.mkvi"> + <cd:arguments> + <cd:csname/> + <cd:resolve name="argument-file"/> + </cd:arguments> + </cd:command> + + <cd:command name="luaenvironment" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="string-file"/> + </cd:arguments> + </cd:command> + + <cd:command name="useluamodule" file="file-mod.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-file"/> + </cd:arguments> + </cd:command> + +</cd:interface>
\ No newline at end of file |