diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/interface/mkiv/i-register.xml')
-rw-r--r-- | Master/texmf-dist/tex/context/interface/mkiv/i-register.xml | 204 |
1 files changed, 112 insertions, 92 deletions
diff --git a/Master/texmf-dist/tex/context/interface/mkiv/i-register.xml b/Master/texmf-dist/tex/context/interface/mkiv/i-register.xml index 561912f6a7a..e13b009ea88 100644 --- a/Master/texmf-dist/tex/context/interface/mkiv/i-register.xml +++ b/Master/texmf-dist/tex/context/interface/mkiv/i-register.xml @@ -14,7 +14,7 @@ </cd:arguments> </cd:command> - <cd:command name="setupregister" variant="1" file="strc-reg.mkiv"> + <cd:command name="setupregister" variant="argument" file="strc-reg.mkiv"> <cd:arguments> <cd:resolve name="keyword-name-list-optional"/> <cd:resolve name="keyword-number-list-optional"/> @@ -178,9 +178,10 @@ </cd:arguments> </cd:command> - <cd:command name="setupregister" variant="2" file="strc-reg.mkiv"> + <cd:command name="setupregister" file="strc-reg.mkiv"> <cd:arguments> <cd:keywords optional="yes"> + <cd:constant type="cd:name"/> <cd:constant type="cd:number" prefix="cd:name" method="range"/> </cd:keywords> <cd:assignments list="yes"> @@ -343,34 +344,31 @@ </cd:arguments> </cd:command> - <!-- - - <cd:command name="setupregisters" variant="1" file="strc-reg.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-name-list-optional"/> - <cd:resolve name="keyword-number-list-optional"/> - <cd:assignments list="yes"> - <cd:inherit name="setupregister"/> - </cd:assignments> - </cd:arguments> - </cd:command> - - <cd:command name="setupregisters" variant="2" file="strc-reg.mkiv"> - <cd:arguments> - <cd:keywords optional="yes"> - <cd:constant type="cd:number" prefix="cd:name" method="range"/> - </cd:keywords> - <cd:assignments list="yes"> - <cd:inherit name="setupregister"/> - </cd:assignments> - </cd:arguments> - </cd:command> + <cd:command name="setupregisters" variant="argument" file="strc-reg.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:resolve name="keyword-number-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setupregister"/> + </cd:assignments> + </cd:arguments> + </cd:command> - --> + <cd:command name="setupregisters" file="strc-reg.mkiv"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="cd:name"/> + <cd:constant type="cd:number" prefix="cd:name" method="range"/> + </cd:keywords> + <cd:assignments list="yes"> + <cd:inherit name="setupregister"/> + </cd:assignments> + </cd:arguments> + </cd:command> - <cd:command name="register" generated="yes" variant="generated:1" file="strc-reg.mkiv"> + <cd:command name="register" generated="yes" variant="instance" file="strc-reg.mkiv"> <cd:sequence> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:keywords optional="yes"> @@ -379,11 +377,14 @@ </cd:keywords> <cd:index list="yes"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="register" generated="yes" variant="generated:2" file="strc-reg.mkiv"> + <cd:command name="register" generated="yes" variant="instance:ownnumber" file="strc-reg.mkiv"> <cd:sequence> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:keywords optional="yes"> @@ -393,12 +394,15 @@ <cd:resolve name="argument-text"/> <cd:index list="yes"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="seeregister" generated="yes" variant="generated" file="strc-reg.mkiv"> + <cd:command name="seeregister" generated="yes" variant="instance" file="strc-reg.mkiv"> <cd:sequence> <cd:string value="see"/> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:keywords optional="yes"> @@ -411,36 +415,45 @@ <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> </cd:keywords> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="placeregister" generated="yes" variant="generated" file="strc-reg.mkiv"> + <cd:command name="placeregister" generated="yes" variant="instance" file="strc-reg.mkiv"> <cd:sequence> <cd:string value="place"/> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:assignments list="yes" optional="yes"> <cd:inherit name="setupregister"/> </cd:assignments> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="completeregister" generated="yes" variant="generated" file="strc-reg.mkiv"> + <cd:command name="completeregister" generated="yes" variant="instance" file="strc-reg.mkiv"> <cd:sequence> <cd:string value="complete"/> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:assignments list="yes" optional="yes"> <cd:inherit name="setupregister"/> </cd:assignments> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="setupregister" generated="yes" variant="generated" file="strc-reg.mkiv"> + <cd:command name="setupregister" generated="yes" variant="instance" file="strc-reg.mkiv"> <cd:sequence> <cd:string value="setup"/> - <cd:variable value="register"/> + <cd:instance value="register"/> </cd:sequence> <cd:arguments> <cd:resolve name="keyword-number-list-optional"/> @@ -448,67 +461,74 @@ <cd:inherit name="setupregister"/> </cd:assignments> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-register"/> + </cd:instances> </cd:command> - <cd:command name="index" variant="1" file="strc-reg.mkiv"> - <cd:arguments> - <cd:keywords optional="yes"> - <cd:constant type="cd:text"/> - <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> - </cd:keywords> - <cd:index list="yes"/> - </cd:arguments> - </cd:command> + <!-- - <cd:command name="index" variant="2" file="strc-reg.mkiv"> - <cd:arguments> - <cd:keywords optional="yes"> - <cd:constant type="cd:text"/> - <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> - </cd:keywords> - <cd:resolve name="argument-text"/> - <cd:index list="yes"/> - </cd:arguments> - </cd:command> + <cd:command name="index" file="strc-reg.mkiv"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="cd:text"/> + <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> + </cd:keywords> + <cd:index list="yes"/> + </cd:arguments> + </cd:command> - <cd:command name="seeindex" file="strc-reg.mkiv"> - <cd:arguments> - <cd:keywords optional="yes"> - <cd:constant type="cd:text"/> - <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> - </cd:keywords> - <cd:index list="yes"/> - <cd:keywords delimiters="braces"> - <cd:constant type="cd:text"/> - <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> - </cd:keywords> - </cd:arguments> - </cd:command> + <cd:command name="index" variant="ownnumber" file="strc-reg.mkiv"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="cd:text"/> + <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> + </cd:keywords> + <cd:resolve name="argument-text"/> + <cd:index list="yes"/> + </cd:arguments> + </cd:command> - <cd:command name="placeindex" file="strc-reg.mkiv"> - <cd:arguments> - <cd:assignments list="yes" optional="yes"> - <cd:inherit name="setupregister"/> - </cd:assignments> - </cd:arguments> - </cd:command> + <cd:command name="seeindex" file="strc-reg.mkiv"> + <cd:arguments> + <cd:keywords optional="yes"> + <cd:constant type="cd:text"/> + <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> + </cd:keywords> + <cd:index list="yes"/> + <cd:keywords delimiters="braces"> + <cd:constant type="cd:text"/> + <cd:constant type="cd:text" prefix="cd:processor" method="apply"/> + </cd:keywords> + </cd:arguments> + </cd:command> - <cd:command name="completeindex" file="strc-reg.mkiv"> - <cd:arguments> - <cd:assignments list="yes" optional="yes"> - <cd:inherit name="setupregister"/> - </cd:assignments> - </cd:arguments> - </cd:command> + <cd:command name="placeindex" file="strc-reg.mkiv"> + <cd:arguments> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupregister"/> + </cd:assignments> + </cd:arguments> + </cd:command> - <cd:command name="setupindex" file="strc-reg.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-number-list-optional"/> - <cd:assignments list="yes"> - <cd:inherit name="setupregister"/> - </cd:assignments> - </cd:arguments> - </cd:command> + <cd:command name="completeindex" file="strc-reg.mkiv"> + <cd:arguments> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupregister"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="setupindex" file="strc-reg.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-number-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setupregister"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + --> <cd:command name="startregister" file="strc-reg.mkiv"> <cd:arguments> @@ -643,4 +663,4 @@ </cd:arguments> </cd:command> -</cd:interface>
\ No newline at end of file +</cd:interface> |