From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: sorting commalist?
Date: Fri, 28 Jul 2006 08:08:37 +0200 [thread overview]
Message-ID: <726114E3-7AF8-49AF-85FF-0A38E31781D8@science.uva.nl> (raw)
In-Reply-To: <44C48251.8090204@elvenkind.com>
On Jul 24, 2006, at 10:18, Taco Hoekwater wrote:
>
> 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 :-(
Well, losing the source of the first article is not such a problem as
finishing the second one, I guess :-)
>
>> 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.
>
Is there a simple manner to sort the list externally and get it back
for further processing? Otherwise, how are the indexes sorted?
Hans van der Meer
next prev parent reply other threads:[~2006-07-28 6:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-23 18:55 Hans van der Meer
2006-07-24 8:18 ` Taco Hoekwater
2006-07-26 14:25 ` Jano Kula
2006-07-26 20:34 ` Taco Hoekwater
2006-07-29 19:43 ` Jano Kula
2006-07-30 7:45 ` Taco Hoekwater
2006-07-28 6:08 ` Hans van der Meer [this message]
2006-07-28 21:13 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=726114E3-7AF8-49AF-85FF-0A38E31781D8@science.uva.nl \
--to=hansm@science.uva.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).