Changes

Jump to navigation Jump to search
1,963 bytes added ,  14:07, 26 September 2020
Created page with "Documentation for \placelist"
<cd:commandgroup name="placelist" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\placelist</tt> is used to typeset a named list.
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="strc-lst.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-list.xml" level="document" name="placelist" variantnumber="1">
<cd:arguments>
<cd:keywords list="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:list"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setuplist"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Outputs the named list at the current location. The format of the list can be customised by {{cmd|setuplist}}

</cd:description>
<cd:examples><cd:example title=""><context source="yes" text="This produces:">
\setuppapersize[A7,landscape]
\setuphead[section][number=no]

\starttext

% \placelist[section]

\startchapter[title=Foo Chapter]
\startsection[title={Beta}] First Section \stopsection
\startsection[title={Alpha}] Second Section \stopsection
\stopchapter
\break
\placelist[section][criterium=all,order=title]

\stoptext
</context>

In the second use of \placelist, note the use of the 'order' attribute to sort the list, and the use of 'criterium' to control which part of the list is used.</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definelist" originator="system"></cd:commandref>
<cd:commandref name="setuplist" originator="system"></cd:commandref>
<cd:source file="strc-lst.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>
<cd:commandref name="completelist"></cd:commandref>
<cd:wikipage page="Table of Contents"></cd:wikipage></cd:seealso>
</cd:commandgroup>

Navigation menu