24 Jul
2006
24 Jul
'06
8:18 a.m.
Hi Hans, Hans van der Meer wrote:
In the article "Context System macros, part1: general macros" there are all sorts of interesting and useful macros. Among these I have set my eye on the processing of commalists.
I should extend that document, but I've lost the source :-(
Question: is there a context macro that takes a commalist (either in a token register or \the\tokenregister form) that returns a sorted commalist (ascending or descending doesnt matter to me for the moment).
There is \sortcommalist (syst-ext.tex), but it only works for lists of numbers, TeX does not know how to sort words. That type of sorting has to be done externally. Cheers, Taco