ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Vianney le Clément" <vleclement@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: some questions related to sorting in registers
Date: Sun, 28 Nov 2010 14:46:23 +0100	[thread overview]
Message-ID: <AANLkTi=2+5jJUNKR0-sPsiZhWt1AEJvoiCSOq8kp5e+6@mail.gmail.com> (raw)

Hello,

There has been some discussion about this lately, but I have some
questions about the sort order in registers. Consider this example:

\starttext
\index{42 numbers}
\index{'apostrophe}
\index{‘apostrophe}
\index{’apostrophe}
\index{"quote}
\index{“quote}
\index{”quote}
\index{Oo}
\index{ob}
\index{oz}
\index{Öa}
Test
\subject{Method zm}
\placeindex[method=zm]
\subject{Method zc}
\placeindex[method=zc]
\stoptext

First of all, common to both methods, I'd like the unicode apostrophes
and quotes to be ignored just like their "straight" counterpart. Is
there a method to do so, apart from specifying the key manually?

Using the zm method, entries beginning with a number appear at the
very bottom of the index, which is quite a strange place especially as
there is no separation with the previous letter. Using the zc method,
the numbers are at the right place, but now entries beginning with an
accented character appear wrongly in a separate group after the
unaccented letters. Is there a way to get the best of both methods?

Thanks,
Vianney
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2010-11-28 13:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='AANLkTi=2+5jJUNKR0-sPsiZhWt1AEJvoiCSOq8kp5e+6@mail.gmail.com' \
    --to=vleclement@gmail.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).