Difference between revisions of "Command/setupcombinedlist"

From Wiki
Jump to navigation Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:")
(Replace most contents)
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
<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]] </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.
  
 +
{{cmd|setupcombinedlist}} inherits from {{cmd|setuplist}}.
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
 
 +
<texcode>
 +
\setupcombinedlist[content][list={chapter,section,subsection}]
 +
% same as
 +
\setupcontents[list={chapter,section,subsection}]
 +
</texcode>
 +
 
 +
Beware, unnumbered headers ({{cmd|title}}, {{cmd|subject}} etc.) won't ever appear in a list!
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 +
 
 +
* {{cmd|definecombinedlist}}
 +
* {{cmd|setuplist}}
 +
* [[Table of Contents]]
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|setupcombinedlist]]
+
[[Category:Command/Lists|setupcombinedlist]]

Revision as of 19:47, 17 September 2019

\setupcombinedlist

Syntax

\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.

\setupcombinedlist inherits from \setuplist.

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: