ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: sorting languages
Date: Mon, 20 Mar 2017 22:28:36 +0100	[thread overview]
Message-ID: <fa6ca167-4e84-cfca-36f0-c1237897a08f@gmx.es> (raw)

Hans,

in the ouput at http://www.ousia.tk/grc-order.pdf, you can see that the
vocabulary list, in both Spanish and ancient Greek are wrong sorted.

After that, I discovered sort-lan.lua. There must be something else
interferring in the sorting, because I read this list in the linked
document: κατὰ, ἐκλαλεῖσθαι, κοινώσεσθαι, κρίσιν, κρίσιν, ἐκτὸς,
ἐκχωρήσω, ἐλευθέρων, λιθιῶντας (it isn’t following the order in
sort-lan.lua).

I have two improvements. One is for the Spanish sort order. Accents
don’t change sorting order:

    orders = {
        "a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
        "k", "l", "m", "n", "ñ", "o", "p", "q", "r", "s",
        "t", "u", "v", "w", "x", "y", "z",
    }

Diacritics don‘t affect to Greek alphabetic sorting. This sort order
makes more sense:

    orders = {
        "α", "β", "γ", "δ", "ε", "ζ", "η", "θ", "ι", "κ",
        "λ", "μ", "ν", "ξ", "ο", "π", "ρ", "σ", "σ", "τ",
        "υ", "φ", "χ", "ψ", "ω",
    },

Could those be added to ConTeXt?

Many thanks for your help,

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
___________________________________________________________________________________

             reply	other threads:[~2017-03-20 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20 21:28 Pablo Rodriguez [this message]
2017-03-20 21:45 ` Pablo Rodriguez
2017-03-21 10:08   ` Hans Hagen
2017-03-21 17:19     ` Pablo Rodriguez
2017-03-21 17:44       ` Wolfgang Schuster
2017-03-21 17:59         ` Pablo Rodriguez
2017-03-21 17:48       ` 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=fa6ca167-4e84-cfca-36f0-c1237897a08f@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).