Difference between revisions of "Command/setupcombinedlist"
< Command
Jump to navigation
Jump to search
(add MkIV list parameter and example) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
− | == [[Help:Reference|Syntax | + | == [[Help:Reference|Syntax]] (autogenerated) == |
− | + | <syntax>setupcombinedlist</syntax> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
− | + | The most prominent and only predefined combined list is the table of contents. | |
== Example == | == Example == | ||
− | |||
<texcode> | <texcode> | ||
− | \setupcombinedlist[content][list={chapter,section,subsection}] % | + | \setupcombinedlist[content][list={chapter,section,subsection}] |
− | \ | + | % same as |
+ | \setupcontents[list={chapter,section,subsection}] | ||
</texcode> | </texcode> | ||
+ | |||
+ | Beware, unnumbered headers ({{cmd|title}}, {{cmd|subject}} etc.) won't ever appear in a list! | ||
== See also == | == See also == | ||
<!-- something like {{cmd|goto}} --> | <!-- something like {{cmd|goto}} --> | ||
+ | * {{cmd|definecombinedlist}} | ||
* {{cmd|setuplist}} | * {{cmd|setuplist}} | ||
* [[Table of Contents]] | * [[Table of Contents]] |
Revision as of 01:14, 27 April 2020
\setupcombinedlist
Syntax (autogenerated)
\setupcombinedlist[...][...=...,...] | |
[...] | list |
criterium | local intro reference sectionblock:reference all sectionblock:all text sectionblock:text current sectionblock:current here previous sectionblock:previous component section sectionblock:section |
reference | number |
extras | name |
order | command all title |
alternative | a 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: