ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: sorting  commalist?
Date: Mon, 24 Jul 2006 10:18:25 +0200	[thread overview]
Message-ID: <44C48251.8090204@elvenkind.com> (raw)
In-Reply-To: <141B4ACB-F159-44BB-9275-B5F07EF46B09@science.uva.nl>


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

  reply	other threads:[~2006-07-24  8:18 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 [this message]
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
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=44C48251.8090204@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).