Difference between revisions of "Command/completelistofsorts"
< Command
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<cd:commandgroup name="completelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup name="completelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc>The command <tt>\completelistofsorts</tt> typesets a sorting list |
− | The command <tt>\completelistofsorts</tt> typesets a sorting list | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:variants> | <cd:variants> | ||
Line 17: | Line 16: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description>The command <tt>\completelistofsorts</tt> typesets a named sorting list | + | <cd:description>The command <tt>\completelistofsorts</tt> typesets a named sorting list, complete with a header on top. |
− | See also {{gen|completelistofsorts}}.</cd:description> | + | Such lists are created using {{cmd|definesorting}}, and configured using either {{cmd|setupsorting}} or the second argument. |
− | <cd:examples></cd:examples> | + | |
+ | See also {{gen|completelistofsorts}}, which is a shortcut version.</cd:description> | ||
+ | <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} | ||
+ | |||
+ | \completelistofsorts[song][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:09, 11 November 2021
Contents
\completelistofsorts
Summary
The command \completelistofsorts typesets a sorting list
Settings
Description
The command \completelistofsorts typesets a named sorting list, complete with a header on top.
Such lists are created using \definesorting, and configured using either \setupsorting or the second argument.
See also completelistofsorts, which is a shortcut version.
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} \completelistofsorts[song][criterium=all] \stoptext