diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-04-11 10:29:07 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-04-11 10:29:07 +0200 |
commit | 57a61e4673116076f5bbff7600e6dad376af9173 (patch) | |
tree | 8261af49f1576dcfea0f152300d22e1a64ae907f /tex/context/interface/mkiv/i-block.xml | |
parent | 274c32699e7826f7590248f91aa1bfbf5b07c8ee (diff) | |
download | context-57a61e4673116076f5bbff7600e6dad376af9173.tar.gz |
2016-04-10 23:57:00
Diffstat (limited to 'tex/context/interface/mkiv/i-block.xml')
-rw-r--r-- | tex/context/interface/mkiv/i-block.xml | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/tex/context/interface/mkiv/i-block.xml b/tex/context/interface/mkiv/i-block.xml new file mode 100644 index 000000000..980b5b435 --- /dev/null +++ b/tex/context/interface/mkiv/i-block.xml @@ -0,0 +1,120 @@ +<?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="defineblock" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupblock"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="setupblock" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:parameter name="before"> + <cd:constant type="cd:command"/> + </cd:parameter> + <cd:parameter name="after"> + <cd:constant type="cd:command"/> + </cd:parameter> + <cd:parameter name="inner"> + <cd:constant type="cd:command"/> + </cd:parameter> + <cd:parameter name="style"> + <cd:resolve name="value-style"/> + </cd:parameter> + <cd:parameter name="color"> + <cd:constant type="cd:color"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="block" type="environment" generated="yes" variant="generated" begin="begin" end="end" file="strc-blk.mkiv"> + <cd:sequence> + <cd:variable value="block"/> + </cd:sequence> + <cd:arguments> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + </cd:arguments> + </cd:command> + + <cd:command name="hideblocks" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list"/> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + </cd:arguments> + </cd:command> + + <cd:command name="keepblocks" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list"/> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + </cd:arguments> + </cd:command> + + <cd:command name="useblocks" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list"/> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="criterium"> + <cd:constant type="text" default="yes"/> + <cd:constant type="cd:section"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="processblocks" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list"/> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="criterium"> + <cd:constant type="text" default="yes"/> + <cd:constant type="cd:section"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="selectblocks" file="strc-blk.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list"/> + <cd:keywords list="yes" optional="yes"> + <cd:constant type="+"/> + <cd:constant type="-"/> + </cd:keywords> + <cd:assignments list="yes" optional="yes"> + <cd:parameter name="criterium"> + <cd:constant type="text" default="yes"/> + <cd:constant type="cd:section"/> + </cd:parameter> + </cd:assignments> + </cd:arguments> + </cd:command> + +</cd:interface>
\ No newline at end of file |