Difference between revisions of "Command/setupcombinedlist"

From Wiki
Jump to navigation Jump to search
m (hint that level works only in MkII)
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
<table cellspacing="4" cellpadding="2" class="cmd">
+
<syntax>setupcombinedlist</syntax>
  <tr>
 
    <td colspan="2" class="cmd">\setupcombinedlist<span class="first" >[...]</span><span class="second" >[...,...=...,...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[...]</td>
 
    <td>name </td>
 
  </tr>
 
  <tr valign="top" class="second">
 
    <td class="cmd">[[Command/keyword:level|level]]</td>
 
    <td>1 2 3 4 [[Command/value:section|section]] [[Command/value:current|current]] (MkII)</td>
 
  </tr>
 
  <tr valign="top" class="second">
 
    <td class="cmd">[...,...=...,...]</td>
 
    <td>see [[Command/setuplist|\setuplist]] </td>
 
  </tr>
 
</table>
 
  
 +
== Description ==
  
== Description ==
+
The most prominent and only predefined combined list is the table of contents.
  
 +
== Example ==
  
 +
<texcode>
 +
\setupcombinedlist[content][list={chapter,section,subsection}]
 +
% same as
 +
\setupcontents[list={chapter,section,subsection}]
 +
</texcode>
  
== Example ==
+
Beware, unnumbered headers ({{cmd|title}}, {{cmd|subject}} etc.) won't ever appear in a list!
<!-- Please fill in an example if you can -->
 
  
 
== See also ==
 
== See also ==
 
<!-- something like {{cmd|goto}} -->
 
<!-- something like {{cmd|goto}} -->
  
{{cmd|setuplist}}
+
* {{cmd|definecombinedlist}}
 +
* {{cmd|setuplist}}
 +
* [[Table of Contents]]
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 01:14, 27 April 2020

\setupcombinedlist

Syntax (autogenerated)

\setupcombinedlist[...][...=...,...]
[...]list
criteriumlocal intro reference sectionblock:reference all sectionblock:all text sectionblock:text current sectionblock:current here previous sectionblock:previous component section sectionblock:section
referencenumber
extrasname
ordercommand all title
alternativea b c d e f g left right top bottom command none interactive paragraph horizontal vertical name


Description

The most prominent and only predefined combined list is the table of contents.

Example

\setupcombinedlist[content][list={chapter,section,subsection}]
% same as
\setupcontents[list={chapter,section,subsection}]

Beware, unnumbered headers (\title, \subject etc.) won't ever appear in a list!

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: