Command/placelist

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-05

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

contents of a chapter and order entries by title

  • \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: