https://wiki.contextgarden.net/index.php?title=Command/completelist&feed=atom&action=historyCommand/completelist - Revision history2024-03-29T06:18:29ZRevision history for this page on the wikiMediaWiki 1.34.1https://wiki.contextgarden.net/index.php?title=Command/completelist&diff=31878&oldid=prevTaco: Created page with "Documentation for \completelist"2020-09-26T14:16:51Z<p>Created page with "Documentation for \completelist"</p>
<p><b>New page</b></p><div><cd:commandgroup name="completelist" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc>The command <tt>\completelist</tt> is used for typesetting a named list complete with section head.<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="structure" file="strc-lst.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-list.xml" level="document" name="completelist" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:list"></cd:constant><br />
</cd:keywords><br />
<cd:assignments list="yes" optional="yes" ordinal="2"><br />
<cd:assignmentsdoc></cd:assignmentsdoc><br />
<cd:inherit name="setuplist"></cd:inherit><br />
</cd:assignments><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description>This is like {{cmd|placelist}} except that it prepends a {{cmd|title}} to the actual list, with its text being the label text of the named list.<br />
<br />
Not all lists have a default label text, so you may need to set one up using {{cmd|setupheadtext}}.<br />
</cd:description><br />
<cd:examples><cd:example title=""><context source="yes" text="This produces:"><br />
\setuppapersize[A8][A7,landscape]<br />
\setuppaper[nx=2, ny=1]<br />
\setuparranging[XY]<br />
\showframe[page]<br />
<br />
\setupheadtext[section=Sections]<br />
\setuphead[section][number=no]<br />
<br />
\starttext<br />
<br />
\startchapter[title=Foo Chapter]<br />
\startsection[title={Beta}] First Section \stopsection<br />
\startsection[title={Alpha}] Second Section \stopsection<br />
\stopchapter<br />
\break<br />
\completelist[section][criterium=all]<br />
<br />
\stoptext<br />
</context></cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:commandref name="definelist" originator="system"></cd:commandref><br />
<cd:commandref name="setuplist" originator="system"></cd:commandref><br />
<cd:source file="strc-lst.mkvi" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage><br />
<cd:commandref name="placelist"></cd:commandref><br />
<cd:commandref name="setupheadtext"></cd:commandref></cd:seealso><br />
</cd:commandgroup></div>Taco