From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: sort order in registers (indexes)
Date: Sun, 10 Jun 2018 20:09:30 +0200 [thread overview]
Message-ID: <e9592d73-c8d7-91a4-e7f8-269539c5c782@gmx.es> (raw)
In-Reply-To: <E0300F8F-B8E6-4E62-89B4-17AA10410FFC@fiee.net>
On 06/10/2018 06:16 PM, Henning Hraban Ramm wrote:
> [...]
> * Aren’t language specific sorting rules possible at the current state? Or does "unicode" handle that?
> E.g.
> -- DIN 5007-1 (German default sorting) is like zm,zc,uc, but ß should be sorted like ss.
> -- DIN 5007-2 (German phonebook sorting) would additionally require umlauts to be sorted as ä = ae etc.
> -- Austrian phonebook sorting sorts umlauts after base vocals, i.e. a, ä, o, ö, u, ü, s, ß.
> -- Danish and Norwegian: x, y, z, æ, ø, å
> -- Finnish and Swedish: x, y = ü, z, æ, ä, ö, ø, å (until 2006 v = w)
> -- etc.
> (according to https://de.wikipedia.org/wiki/Alphabetische_Sortierung)
sort-lan.lua contains different language definitions. Among others: DIN
5007-1, DIN 5007-2, Duden.
Languages "de-AT", "no", "da" and "sv" are ordered as you explain.
Swedish doesn’t contain ø (according to https://sv.wikipedia.org/wiki/Ø,
it is replaced with ö) or ü (it is a foreign letter to their alphabet).
and "fi" seems to order the way you describe. And v is different from w.
I would say, Finnish isn’t included in sort-lan.lua.
> If nobody objects I’ll add this to the wiki.
Please, it would be extremely helpful (I remember thinking that
registers didn’t make any sense in ConTeXt, before someone helped me).
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-06-10 18:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-10 9:49 Henning Hraban Ramm
2018-06-10 10:42 ` Pablo Rodriguez
2018-06-10 11:07 ` Henning Hraban Ramm
2018-06-10 12:11 ` Henning Hraban Ramm
2018-06-10 16:16 ` Henning Hraban Ramm
2018-06-10 18:09 ` Pablo Rodriguez [this message]
2018-06-10 18:50 ` Henning Hraban Ramm
2018-06-10 19:07 ` Hans Hagen
2018-06-10 20:20 ` Wolfgang Schuster
2018-06-10 19:26 ` Henning Hraban Ramm
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=e9592d73-c8d7-91a4-e7f8-269539c5c782@gmx.es \
--to=oinos@gmx.es \
--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).