Difference between revisions of "Command/ completelistofsorts"
< Command
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description>The instances of <tt>\completelistof<i>sorts</i></tt> are used to typeset named sorting lists. | + | <cd:description>The instances of <tt>\completelistof<i>sorts</i></tt> are used to typeset named sorting lists, complete with a header on top. |
− | It is functionally equivalent to {{cmd|completelistofsorts | + | Such lists are created using {{cmd|definesorting}}, and configured using either {{cmd|setupsorting}} or within the optional argument. |
+ | |||
+ | It is functionally equivalent to {{cmd|completelistofsorts}}<code>[<i>sort</i>]</code>. | ||
</cd:description> | </cd:description> | ||
− | <cd:examples></cd:examples> | + | <cd:examples><cd:example title=""><context source="yes"> |
+ | \setuppapersize[A7,landscape][A7,landscape] \showframe | ||
+ | |||
+ | \definesorting[song][songs] | ||
+ | |||
+ | \starttext | ||
+ | \song{Hit the road jack} | ||
+ | \song{Sway} | ||
+ | \song{Fly me to the moon} | ||
+ | |||
+ | \completelistofsongs[criterium=all] | ||
+ | \stoptext | ||
+ | </context></cd:example></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> |
Latest revision as of 15:12, 11 November 2021
Contents
\completelistofsorts
Summary
The instances of \completelistofsorts are used to typeset named sorting lists
Instances
\completelistoflogos |
Settings instance
Description
The instances of \completelistofsorts are used to typeset named sorting lists, complete with a header on top.
Such lists are created using \definesorting, and configured using either \setupsorting or within the optional argument.
It is functionally equivalent to \completelistofsorts[sort]
.
Examples
Example 1
\setuppapersize[A7,landscape][A7,landscape] \showframe \definesorting[song][songs] \starttext \song{Hit the road jack} \song{Sway} \song{Fly me to the moon} \completelistofsongs[criterium=all] \stoptext