ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: definesortkey
Date: Tue, 04 Apr 2006 00:08:57 +0200	[thread overview]
Message-ID: <44319CF9.90207@wxs.nl> (raw)
In-Reply-To: <97a06f070604011149g5b58877el5d72acd490d401da@mail.gmail.com>

Johan Sandblom wrote:
> Testfile below. Lowercase named letters (\aring etc) work fine.
> Uppercase, however, are sorted under the letter they resemble (A, O).
> Inputting the letter directly (å,ä,ö) make them be indexed before the
> start of the alphabetized index, not even under a, o.
>
> Regards, Johan
>
> \mainlanguage[sv] \readfile{sort-ini}{}{}
> \starttext
> a\index{a}
> z\index{z}
> å\index{å}
> ä\index{ä}
> ö\index{ö}
> \aring\index{\aring}
> \adiaeresis\index{\adiaeresis}
> \odiaeresis\index{\odiaeresis}
> A\index{A}
> Å\index{Å}
> Ä\index{Ä}
> Ö\index{Ö}
> \Aring\index{\Aring}
> \Adiaeresis\index{\Adiaeresis}
> \Odiaeresis\index{\Odiaeresis}
>
> \placeindex
>
> \stoptext
>   
i added a few things to the sorter; can you try the beta?

(no need to load the sort-ini file any more)

\mainlanguage[sv]

\starttext

a\index{a}
a\index{a}
z\index{z}
z\index{z}
å\index{å}
å\index{å}
å\index{å}
ä\index{ä}
ä\index{ä}
ä\index{ä}
ä\index{ä}
ö\index{ö}
ö\index{ö}
\aring\index{\aring}
\adiaeresis\index{\adiaeresis}
\odiaeresis\index{\odiaeresis}

A\index{A}
Å\index{Å}
Ä\index{Ä}
Ö\index{Ö}
\Aring\index{\Aring}
\Adiaeresis\index{\Adiaeresis}
\Odiaeresis\index{\Odiaeresis}

\placeindex

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-04-03 22:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 23:47 definesortkey Johan Sandblom
2006-03-31 17:04 ` definesortkey Hans Hagen
2006-04-01 19:49   ` definesortkey Johan Sandblom
2006-04-03 22:08     ` Hans Hagen [this message]
2006-04-03 23:31       ` definesortkey Mojca Miklavec
2006-04-04  7:56         ` definesortkey Hans Hagen

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=44319CF9.90207@wxs.nl \
    --to=pragma@wxs.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).