https://wiki.contextgarden.net/index.php?title=Command/startsectionblockenvironment&feed=atom&action=history
Command/startsectionblockenvironment - Revision history
2024-03-28T09:25:13Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/startsectionblockenvironment&diff=33487&oldid=prev
BruceH2020 at 18:13, 20 March 2022
2022-03-20T18:13:23Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 18:13, 20 March 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l39" >Line 39:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stoptext</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stoptext</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></pre></cd:example></cd:examples></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></pre><ins class="diffchange diffchange-inline"></cd:example><cd:example title="Suppress page numbering for ToC pages">See [[Table_of_Contents#Suppressing_page_numbering_for_the_ToC_pages|Table of Contents - Suppressing page numbering for the ToC pages]] for an example of how to stop page numbers from being shown on the table of contents page(s).</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></cd:example></cd:examples></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:notes></cd:notes></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:notes></cd:notes></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:seealso></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:seealso></div></td></tr>
</table>
BruceH2020
https://wiki.contextgarden.net/index.php?title=Command/startsectionblockenvironment&diff=33486&oldid=prev
BruceH2020: Created
2022-03-20T11:35:53Z
<p>Created</p>
<p><b>New page</b></p><div><cd:commandgroup name="sectionblockenvironment" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc><!-- a short command summary goes here --><br />
The environment <tt>\startsectionblockenvironment ... \stopsectionblockenvironment</tt> allows values to be set that only apply within the named section block rather than globally.<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="structure" file="strc-sbe.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-sectionblock.xml" level="style" name="sectionblockenvironment" type="environment" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:name">The name of a section block, i.e. frontmatter, bodymatter, appendices, backmatter.</cd:constant><br />
</cd:keywords><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description>Setup commands that normally have a global effect can be limited to only apply to a named section block, thus allowing different settings in different blocks.<br />
</cd:description><br />
<cd:examples><cd:example title="Chapter heading colored blue only in bodymatter"><pre><br />
% Global settings for all chapters<br />
\setuphead[chapter][style=\ssc]<br />
<br />
% Different settings for chapter in the bodymatter block<br />
\startsectionblockenvironment[bodypart]<br />
\setuphead[chapter][color=blue]<br />
\stopsectionblockenvironment<br />
<br />
\starttext<br />
<br />
\startfrontmatter<br />
\title{Table of contents} % This toc header would also be blue if the \setuphead above were global<br />
\placecontent<br />
\stopfrontmatter<br />
<br />
\startbodymatter<br />
\chapter{Knuth}<br />
\input knuth<br />
\chapter{Zapf}<br />
\input zapf<br />
\stopbodymatter<br />
<br />
\stoptext<br />
</pre></cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:source file="strc-sbe.mkiv" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage></cd:seealso><br />
</cd:commandgroup></div>
BruceH2020