Difference between revisions of "Command/ placelistofsorts"

From Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<cd:commandgroup generated="yes" name="placelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="placelistofsorts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
+
<cd:shortdesc>The instances of  <tt>\placelistof<i>sorts</i></tt> are used to typeset named sorting lists
The instances of  <tt>\placelistof<i>sorts</i></tt> are used for ...
 
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 20: Line 19:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
+
<cd:description>The instances of  <tt>\placelistof<i>sorts</i></tt> are used to typeset named sorting lists, without a header.
</cd:description>
+
 
<cd:examples></cd:examples>
+
Such lists are created using {{cmd|definesorting}}, and configured using either {{cmd|setupsorting}} or within the optional argument.
 +
 
 +
It is functionally equivalent to {{cmd|placelistofsorts}}<code>[<i>sort</i>]</code>.</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}
 +
 
 +
  \placelistofsongs[criterium=all]
 +
\stoptext
 +
</context></cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>
Line 30: Line 44:
 
<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="placelistofsorts"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 15:17, 11 November 2021


\placelistofsorts

Summary

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

Instances

\placelistoflogos

Settings instance

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

Description

The instances of \placelistofsorts are used to typeset named sorting lists, without a header.

Such lists are created using \definesorting, and configured using either \setupsorting or within the optional argument.

It is functionally equivalent to \placelistofsorts[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}

  \placelistofsongs[criterium=all]
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: