Command/placelist

From Wiki
< Command
Revision as of 14:07, 26 September 2020 by Taco (talk | contribs) (Created page with "Documentation for \placelist")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\placelist

Summary

The command \placelist is used to typeset a named list.

Settings

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

Description

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


Examples

Example 1

\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

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.

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: