Command/definelist

From Wiki
< Command
Revision as of 20:13, 25 September 2020 by Taco (talk | contribs)
Jump to navigation Jump to search


\definelist

Summary

The command \definelist defines lists like to used in ToCs.

Settings

\definelist[...][...][...=...,...]
[...]name
[...]list
...=...,...inherits from \setuplist

OptionExplanation
name The name of the list
list The name of a list to inherit settings from

Description

After defining the list, use \writetolist or \writebetweenlist to add data to the list. Use \placelist or \completelist to place the list in the document.

Examples

Example 1

  • \setuppapersize[A7,landscape]
    \definelist[Reprints][criterium=all,alternative=b]
    
    \starttext
      \section{Sec 1}
      Just some filler material.
      \writetolist[Reprints]{1.}{List entry A}
      \subsection{Subsec 1}
      \writebetweenlist[Reprints][location=here]{\hrule}
      \writetolist[Reprints]{2.}{List entry B}
    
      \subject{Reprint list}
      \placelist[Reprints]
    \stoptext
    

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: