diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/interface/mkiv/i-section.xml')
-rw-r--r-- | Master/texmf-dist/tex/context/interface/mkiv/i-section.xml | 380 |
1 files changed, 201 insertions, 179 deletions
diff --git a/Master/texmf-dist/tex/context/interface/mkiv/i-section.xml b/Master/texmf-dist/tex/context/interface/mkiv/i-section.xml index 32b79323d7e..bcdc836afcf 100644 --- a/Master/texmf-dist/tex/context/interface/mkiv/i-section.xml +++ b/Master/texmf-dist/tex/context/interface/mkiv/i-section.xml @@ -125,9 +125,6 @@ <cd:constant type="reset"/> </cd:parameter> <cd:parameter name="header"> - <cd:constant type=""/> - </cd:parameter> - <cd:parameter name="header"> <cd:resolve name="value-textstate"/> </cd:parameter> <cd:parameter name="text"> @@ -200,6 +197,11 @@ <cd:constant type="middle"/> <cd:constant type="bottom"/> <cd:constant type="reverse"/> + <cd:constant type="margintext"/> + <cd:constant type="cd:name"/> + </cd:parameter> + <cd:parameter name="location"> + <!-- optional margin location --> <cd:constant type="cd:name"/> </cd:parameter> <cd:parameter name="width"> @@ -214,6 +216,9 @@ <cd:parameter name="distance"> <cd:constant type="cd:dimension"/> </cd:parameter> + <cd:parameter name="textdistance"> + <cd:constant type="cd:dimension"/> + </cd:parameter> <cd:parameter name="commandbefore"> <cd:constant type="cd:command"/> </cd:parameter> @@ -239,240 +244,252 @@ </cd:arguments> </cd:command> - <!-- - - <cd:command name="setupheads" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-section-list-optional"/> - <cd:assignments list="yes"> - <cd:inherit name="setuphead"/> - </cd:assignments> - </cd:arguments> - </cd:command> - - --> + <cd:command name="setupheads" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-section-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setuphead"/> + </cd:assignments> + </cd:arguments> + </cd:command> - <cd:command name="section" generated="yes" variant="generated:1" file="strc-sec.mkiv"> + <cd:command name="section" generated="yes" variant="instance" file="strc-sec.mkiv"> <cd:sequence> - <cd:variable value="section"/> + <cd:instance value="section"/> </cd:sequence> <cd:arguments> <cd:resolve name="keyword-reference-list-optional"/> <cd:resolve name="argument-text"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-section"/> + </cd:instances> </cd:command> - <cd:command name="section" generated="yes" variant="generated:2" file="strc-sec.mkiv"> + <cd:command name="section" generated="yes" variant="instance:ownnumber" file="strc-sec.mkiv"> <cd:sequence> - <cd:variable value="section"/> + <cd:instance value="section"/> </cd:sequence> <cd:arguments> <cd:resolve name="keyword-reference-list-optional"/> <cd:resolve name="argument-number"/> <cd:resolve name="argument-text"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-section"/> + </cd:instances> </cd:command> - <cd:command name="section" generated="yes" variant="generated:3" file="strc-sec.mkiv"> + <cd:command name="section" generated="yes" variant="instance:assignment" file="strc-sec.mkiv"> <cd:sequence> - <cd:variable value="section"/> + <cd:instance value="section"/> </cd:sequence> <cd:arguments> <cd:resolve name="assignment-sectiondata-list"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-section"/> + </cd:instances> </cd:command> - <cd:command name="section" type="environment" generated="yes" variant="generated" file="strc-sec.mkiv"> + <cd:command name="section" type="environment" generated="yes" variant="instance" file="strc-sec.mkiv"> <cd:sequence> - <cd:variable value="section"/> + <cd:instance value="section"/> </cd:sequence> <cd:arguments> <cd:resolve name="assignment-sectiondata-list-optional"/> <cd:resolve name="assignment-userdata-list-optional"/> </cd:arguments> + <cd:instances> + <cd:resolve name="instance-section"/> + </cd:instances> </cd:command> - <cd:command name="part" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <!-- - <cd:command name="chapter" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="part" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="section" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="chapter" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsection" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="section" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsection" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsection" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsection" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsection" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubsection" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsection" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="title" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsubsection" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subject" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="title" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubject" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subject" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubject" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubject" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubject" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubject" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubsubject" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="keyword-reference-list-optional"/> - <cd:resolve name="argument-text"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsubject" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="part" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsubsubject" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="keyword-reference-list-optional"/> + <cd:resolve name="argument-text"/> + </cd:arguments> + </cd:command> - <cd:command name="chapter" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="part" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="section" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="chapter" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsection" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="section" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsection" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsection" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsection" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsection" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubsection" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsection" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="title" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsubsection" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subject" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="title" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubject" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subject" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubject" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubject" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubject" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubject" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> - <cd:command name="subsubsubsubsubject" type="environment" file="strc-sec.mkiv"> - <cd:arguments> - <cd:resolve name="assignment-sectiondata-list-optional"/> - <cd:resolve name="assignment-userdata-list-optional"/> - </cd:arguments> - </cd:command> + <cd:command name="subsubsubsubject" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> + + <cd:command name="subsubsubsubsubject" type="environment" file="strc-sec.mkiv"> + <cd:arguments> + <cd:resolve name="assignment-sectiondata-list-optional"/> + <cd:resolve name="assignment-userdata-list-optional"/> + </cd:arguments> + </cd:command> + + --> <cd:command name="namedsection" type="environment" file="strc-sec.mkiv"> <cd:arguments> @@ -638,6 +655,7 @@ <cd:parameter name="alternative"> <cd:constant type="horizontal"/> <cd:constant type="vertical" default="yes"/> + <cd:constant type="somewhere"/> </cd:parameter> <cd:parameter name="renderingsetup"> <cd:constant type="cd:name"/> @@ -676,4 +694,8 @@ <cd:command name="headnumberdistance" file="strc-ren.mkiv"/> + <cd:command name="headtextdistance" file="strc-ren.mkiv"/> + + <cd:command name="headsetupspacing" file="strc-ren.mkiv"/> + </cd:interface> |