https://wiki.contextgarden.net/index.php?title=Command/definelist&feed=atom&action=history
Command/definelist - Revision history
2024-03-29T00:57:28Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/definelist&diff=31863&oldid=prev
Taco at 20:11, 25 September 2020
2020-09-25T20:11:34Z
<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 20:11, 25 September 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l20" >Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</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:command></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:command></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:variants></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:variants></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><cd:description><del class="diffchange diffchange-inline"><!-- </del>the <del class="diffchange diffchange-inline">long description of </del>the <del class="diffchange diffchange-inline">command goes here --></del></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><cd:description><ins class="diffchange diffchange-inline">After defining </ins>the <ins class="diffchange diffchange-inline">list, use {{cmd|writetolist}} or {{cmd|writebetweenlist}} to add data to </ins>the <ins class="diffchange diffchange-inline">list. Use {{cmd|placelist}} or {{cmd|completelist}} to place the list in the document.</ins></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:description></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:description></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:examples><cd:example title=""><context source="yes"></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:examples><cd:example title=""><context source="yes"></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l45" >Line 45:</td>
<td colspan="2" class="diff-lineno">Line 45:</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:commandref name="writetolist"></cd:commandref></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:commandref name="writetolist"></cd:commandref></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:commandref name="writebetweenlist"></cd:commandref></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:commandref name="writebetweenlist"></cd:commandref></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><cd:commandref name="placelist"></cd:commandref></cd:seealso></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><cd:commandref name="placelist<ins class="diffchange diffchange-inline">"></cd:commandref></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><ins class="diffchange diffchange-inline"><cd:commandref name="completelist</ins>"></cd:commandref></cd:seealso></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:commandgroup></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:commandgroup></div></td></tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-31862:rev-31863 -->
</table>
Taco
https://wiki.contextgarden.net/index.php?title=Command/definelist&diff=31862&oldid=prev
Taco: Created page with "Documentation for \definelist"
2020-09-25T20:06:15Z
<p>Created page with "Documentation for \definelist"</p>
<p><b>New page</b></p><div><cd:commandgroup name="definelist" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc>The command <tt>\definelist</tt> defines lists like to used in ToCs.<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="style" name="definelist" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:name"></cd:constant><br />
</cd:keywords><br />
<cd:keywords optional="yes" ordinal="2"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:list"></cd:constant><br />
</cd:keywords><br />
<cd:assignments list="yes" optional="yes" ordinal="3"><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><!-- the long description of the command goes here --><br />
</cd:description><br />
<cd:examples><cd:example title=""><context source="yes"><br />
\setuppapersize[A7,landscape]<br />
\definelist[Reprints][criterium=all,alternative=b]<br />
<br />
\starttext<br />
\section{Sec 1}<br />
Just some filler material.<br />
\writetolist[Reprints]{1.}{List entry A}<br />
\subsection{Subsec 1}<br />
\writebetweenlist[Reprints][location=here]{\hrule}<br />
\writetolist[Reprints]{2.}{List entry B}<br />
<br />
\subject{Reprint list}<br />
\placelist[Reprints]<br />
\stoptext<br />
</context></cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><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="writetolist"></cd:commandref><br />
<cd:commandref name="writebetweenlist"></cd:commandref><br />
<cd:commandref name="placelist"></cd:commandref></cd:seealso><br />
</cd:commandgroup></div>
Taco