Difference between revisions of "Command/writebetweenlist"

From ConTeXt wiki
Jump to navigationJump to search
(Create reference page)
 
(cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
{{Reference
 
|name=writebetweenlist
 
|attributes=
 
}}
 
 
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 28: Line 21:
 
== Example ==
 
== Example ==
  
<pre class="example">
+
<texcode>
 
\definelist[Reprints][criterium=all]
 
\definelist[Reprints][criterium=all]
  
Line 39: Line 32:
 
   \completelist[Reprints]
 
   \completelist[Reprints]
 
\stoptext
 
\stoptext
</pre>
+
</texcode>
  
  

Revision as of 06:56, 15 April 2010

Syntax

\writebetweenlist[...]{...}
[...] section name
{...} 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