ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Vit Zyka" <Vit.Zyka@seznam.cz>
Subject: reverse order sorting
Date: Sat, 6 Mar 2004 12:17:56 +1300	[thread overview]
Message-ID: <018701c40327$4c4673f0$c4caa7cb@spekoun> (raw)

Dear Hans and ConTeXters,

I go back to this question since it was not answered:

> is possible to change sorting order (e.g. sort in reverse order: not A, B,
C but C, B, A) in the
> mechanism:
>
> -----
> \definesorting[address][addressbook]
> \setupsorting[address][criterium=all]
> \address{A}
> \address{C}
> \address{B}
> \placelistofaddressbook
> -----

I was looking for something like 'reverse=yes' in \setupsorting definition
and texexec perl sort function calling, but it seemed to me, it has not been
implemented yet. Am I right? I still do not have insign to setup option
passing and parsing mechanism in ConTeXt macros, but who knows, the
implementation might be very easy.

I would need it for sorting simple scoring points. Using external (Perl or
XSLT) engine ia like a hammer to mosquitos. I can solve to problem by
forward sorting and TeX macro language but Perl solution is more effective.

Thank you
Vit Zyka

             reply	other threads:[~2004-03-05 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05 23:17 Vit Zyka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-01  4:38 Vit Zyka

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='018701c40327$4c4673f0$c4caa7cb@spekoun' \
    --to=vit.zyka@seznam.cz \
    --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).