Difference between revisions of "Command/definesorting"
< Command
Jump to navigation
Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ") |
||
Line 68: | Line 68: | ||
<!-- something like [[cmd:goto|\goto]] --> | <!-- something like [[cmd:goto|\goto]] --> | ||
− | == ConTeXt-Forum == | + | == Help from ConTeXt-Forum == |
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|definesorting]] | [[Category:Commands|definesorting]] |
Revision as of 00:43, 15 March 2012
\definesorting
Syntax
\definesorting[...][...][...] | |
[...] | singular |
[...] | plural |
[...] | command |
Description
Example
(By WS, 10/2011, mail thread "Alphabetical sort")
\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