Difference between revisions of "Command/completelistofsorts"
< Command
(Created page with "Documentation for \completelistofsorts") |
|||
(One intermediate revision by the same user not shown) | |||
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. Such lists are created using {{cmd|definesorting}}. | + | <cd:description>The command <tt>\completelistofsorts</tt> typesets a named sorting list, complete with a header on top. |
− | </cd:description> | + | |
− | <cd:examples></cd:examples> | + | Such lists are created using {{cmd|definesorting}}, and configured using either {{cmd|setupsorting}} or the second argument. |
+ | |||
+ | 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> | ||
Line 25: | Line 39: | ||
<cd:commandref name="setupsorting" originator="system"></cd:commandref> | <cd:commandref name="setupsorting" originator="system"></cd:commandref> | ||
<cd:source file="strc-syn.mkiv" originator="system"></cd:source> | <cd:source file="strc-syn.mkiv" originator="system"></cd:source> | ||
− | <cd:wikipage originator="system" page="Category:Language"></cd:wikipage></cd:seealso> | + | <cd:wikipage originator="system" page="Category:Language"></cd:wikipage> |
+ | <cd:commandref name="_completelistofsorts"></cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
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