Command/placelist

From Wiki
< Command
Revision as of 16:54, 12 November 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\placelist

Syntax (autogenerated)

\placelist[...,...][...=...,...]
[...,...]list
...=...,...inherits from \setuplist


Syntax

\placelist[...,...,...][...,...=...,...]
[...,...,...] name
[...,...=...,...] see \setuplist


Description

Outputs the named list at the current location. The format of the list can be customised by \setuplist


Example

\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

This produces:

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.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: