Difference between revisions of "Command/placelist"

From ConTeXt wiki
Jump to navigationJump to search
Line 22: Line 22:
 
== Description ==
 
== Description ==
 
Outputs the named list at the current location. The format of the list can be customised by {{cmd|setuplist}}
 
Outputs the named list at the current location. The format of the list can be customised by {{cmd|setuplist}}
 
<texcode>
 
 
\setuphead[section][number=no]
 
 
\starttext
 
 
\placelist[section]
 
 
\startchapter[title=foo]
 
    \startsection[title={Beta}]  \input sapolsky \stopsection
 
    \startsection[title={Alpha}] \input sapolsky \stopsection
 
    \startsection[title={Gamma}] \input sapolsky \stopsection
 
\stopchapter
 
 
% Output the list in a different order. Note also the use of 'criterium' to control which part of the list is used.
 
\placelist[section][criterium=all,order=title]
 
 
\stoptext
 
<\texcode>
 
  
 
== See also ==
 
== See also ==

Revision as of 20:41, 8 November 2019

\placelist

Syntax

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


Description

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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: