Difference between revisions of "Command/ completelistofsorts"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \<i>completelistofsorts</i>")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<?xml version='1.0'?>
 
<!-- this file was generated on 2020-08-20T09:05 -->
 
 
<cd:commandgroup generated="yes" name="completelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="completelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>
+
<cd:shortdesc>The instances of  <tt>\completelistof<i>sorts</i></tt> are used to typeset named sorting lists
<!-- a short command summary goes here -->
 
The instances of  <tt>\<i>completelistofsorts</i></tt> are used for ...
 
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 23: Line 19:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description>
+
<cd:description>The instances of  <tt>\completelistof<i>sorts</i></tt> are used to typeset named sorting lists, complete with a header on top.
<!-- the long description of the command goes here -->
+
 
 +
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:example title=""><context source="yes">
<!--  command example(s)
+
\setuppapersize[A7,landscape][A7,landscape] \showframe
<cd:example title="">
+
 
</cd:example>
+
\definesorting[song][songs]
-->
+
 
</cd:examples>
+
\starttext
<cd:notes>
+
  \song{Hit the road jack}
<!--  this is for special remarks that do not fit elsewhere, like discovered bugs in specific context versions
+
  \song{Sway}
<cd:note author="..." date="...">
+
  \song{Fly me to the moon}
</cd:note>
+
 
-->
+
  \completelistofsongs[criterium=all]
</cd:notes>
+
\stoptext
 +
</context></cd:example></cd:examples>
 +
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>
<!-- one or more of these:
 
<cd:commandref name="xx"></cd:commandref>
 
<cd:wikipage  page="xx"></cd:wikipage>
 
<cd:url        url="https://xx"></cd:url>
 
<cd:manual    pdf="xx"></cd:manual>
 
<cd:source    file="xx"></cd:source>
 
-->
 
 
<cd:commandref name="_placelistofsorts" originator="system"></cd:commandref>
 
<cd:commandref name="_placelistofsorts" originator="system"></cd:commandref>
 
<cd:commandref name="_sorting" originator="system"></cd:commandref>
 
<cd:commandref name="_sorting" originator="system"></cd:commandref>
 
<cd:commandref name="definesorting" originator="system"></cd:commandref>
 
<cd:commandref name="definesorting" originator="system"></cd:commandref>
 
<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:wikipage originator="system" page="Category:Language"></cd:wikipage>
</cd:seealso>
+
<cd:commandref name="completelistofsorts"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 15:12, 11 November 2021


\completelistofsorts

Summary

The instances of \completelistofsorts are used to typeset named sorting lists

Instances

\completelistoflogos

Settings instance

\completelistofSORTS[...=...,...]
...=...,...inherits from \setupsorting

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: