Difference between revisions of "Command/definelist"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \definelist")
(No difference)

Revision as of 20:08, 25 September 2020


\definelist

Summary

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

Settings

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

Description

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: