ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gmx.de>
Subject: Re: alphabetic sorting
Date: Mon, 09 Oct 2000 20:00:06 +0200	[thread overview]
Message-ID: <39E207A6.9E16FBA6@gmx.de> (raw)
In-Reply-To: <20001009102131.33696@spi.power.uni-essen.de>

Hallo Johannes, Hans and hi list members,

> There is a dictionary order, which sorts the letter "a (sorry I have only
> a terminal available that wouldn't print all latin1 letters) in the same
> position as a, in conflicting positions after it (so Bar comes befor B"ar).
"a == ä

> The other one is the phone book order, which treats "a as ae, so J"ager and
> Jaeger will be sorted at the same position.

Well using texutil --quote one gets "a -> a etc. (I think also "s->s
which is wrong):
#D \startopsomming[opelkaar]
#D \som  \type{\name}: csnames are stripped
#D \som  \type{{}}: are removed
#D \som  \type{\"e}: and alike are translated into \type{"e} etc.
#D \som  \type{"e}: is translated into an \type{e} and \type{b} etc.
#D \som  \type{||}: becomes \type{-}
#D \som  \type{\-}: also becomes \type{-}
#D \stopopsomming

I think we should define either sorting as default (probably ä->ae) and
support the other via overwriteing the sortkey (--quote is probably
applied latter so it would be obsolete).

The question is: Shouldn't \SS (=\sz, \SZ (?), "s, "S, "Z, "z) -> ss
(type b), æ = ae {type ?}, \oe -> oe. Þ (thorn) -> ?, ã, õ etc. be
treated "generically" for all languages so one only needs to overwrite
the values? I think ó, ò and ô are sorted as "o" in all languages.

Tobias

PS: Have a look at sortkey, l.493 in
texmf/tex/context/base/enco-ini.tex.


      reply	other threads:[~2000-10-09 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-09  8:21 Johannes Hüsing
2000-10-09 18:00 ` Tobias Burnus [this message]

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=39E207A6.9E16FBA6@gmx.de \
    --to=burnus@gmx.de \
    /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).