Changes

Jump to navigation Jump to search
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>definesorting</syntax>
== [[Help:Reference|Syntax]] ==
== Example ==
<!-- Please fill in an example if you can -->
(By WS, 10/2011, mail thread "Alphabetical sort")
 
<texcode>
\definesorting[song][songs]
 
\unexpanded\def\SongEntry#1#2#3%
{\startitemize[packed]
\startitem#2\stopitem
\stopitemize}
 
\starttext
\song{Hit the road jack}
\song{Sway}
\song{Fly me to the moon}
 
\placelistofsorts[song][criterium=all,command=\SongEntry]
\stoptext
</texcode>
<context>
\definesorting[song][songs]
 
\unexpanded\def\SongEntry#1#2#3%
{\startitemize[packed]
\startitem#2\stopitem
\stopitemize}
 
\starttext
\song{Hit the road jack}
\song{Sway}
\song{Fly me to the moon}
 
\placelistofsorts[song][criterium=all,command=\SongEntry]
\stoptext
</context>
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} --> == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enSorting|definesorting]]

Navigation menu