Command/completelist

From Wiki
Jump to navigation Jump to search


\completelist

Summary

The command \completelist is used for typesetting a named list complete with section head.

Settings

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

Description

This is like \placelist except that it prepends a \title to the actual list, with its text being the label text of the named list.

Not all lists have a default label text, so you may need to set one up using \setupheadtext.

Examples

Example 1

  • \setuppapersize[A8][A7,landscape]
    \setuppaper[nx=2, ny=1]
    \setuparranging[XY]
    \showframe[page]
    
    \setupheadtext[section=Sections]
    \setuphead[section][number=no]
    
    \starttext
    
    \startchapter[title=Foo Chapter]
         \startsection[title={Beta}]  First Section \stopsection
         \startsection[title={Alpha}] Second Section \stopsection
    \stopchapter
    \break
    \completelist[section][criterium=all]
    
    \stoptext
    

    This produces:

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: