Difference between revisions of "Command/writetolist"

From ConTeXt wiki
m (cleanup)
(put refrerence template back in)
Line 1: Line 1:
 +
{{Reference
 +
|name=writetolist
 +
|attributes=
 +
}}
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 17:35, 15 April 2010

\writetolist

Syntax

\writetolist[...]{...}{...}
[...] section name
{...} text
{...} text


Description

Example

\definelist[Reprints][criterium=all]

\starttext
  \section{Sec 1}
  \writetolist[Reprints]{1.}{List entry A}
  \subsection{Subsec 1}
  \writebetweenlist[Reprints]{\hrule}
  \writetolist[Reprints]{2.}{List entry B}
  \completelist[Reprints]
\stoptext


See also