From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92637 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Register sort method for unicode quotes Date: Mon, 5 Oct 2015 16:19:23 -0400 Message-ID: <5612DB4B.6000303@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225224082==" X-Trace: ger.gmane.org 1444076436 28922 80.91.229.3 (5 Oct 2015 20:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2015 20:20:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 05 22:20:23 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZjCFD-0007y4-0Q for gctc-ntg-context-518@m.gmane.org; Mon, 05 Oct 2015 22:20:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4361910225 for ; Mon, 5 Oct 2015 22:20:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PvFIRtdn1KX2 for ; Mon, 5 Oct 2015 22:20:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6CD9F10230 for ; Mon, 5 Oct 2015 22:19:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 837DA101F7 for ; Mon, 5 Oct 2015 22:19:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6HjmxYgyrLku for ; Mon, 5 Oct 2015 22:19:38 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 23BF8101E8 for ; Mon, 5 Oct 2015 22:19:38 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t95KJZbi002502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 5 Oct 2015 22:19:37 +0200 Original-Received: from [192.168.201.10] (cpe-74-76-74-238.nycap.res.rr.com [74.76.74.238]) by mailbackend.panix.com (Postfix) with ESMTPSA id 5873F17EBF for ; Mon, 5 Oct 2015 16:19:34 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=New York; latitude=40.7553; longitude=-73.9924; http://maps.google.com/maps?q=40.7553,-73.9924&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03PpwjAxf - 951bf17316ab - 20151005 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of context@rik.users.panix.com designates 166.84.1.89 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=166.84.1.89; envelope-from=; helo=mailbackend.panix.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92637 Archived-At: This is a multi-part message in MIME format. --===============0225224082== Content-Type: multipart/alternative; boundary="------------030007030909060705020507" This is a multi-part message in MIME format. --------------030007030909060705020507 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Is there a sort method that can be specified for register sorts that=20 will ignore unicode quote marks (=E2=80=9C=E2=80=98=E2=80=99=E2=80=9D) in= the same way that primes ("')=20 are ignored. This was asked in 2010=20 (http://www.mail-archive.com/ntg-context@ntg.nl/msg51348.html) and not=20 answered. It is still a problem. Is there a sort method that can be applied as well to sorted lists to do=20 this? \definesorting[Sort][Sorts] \starttext \placelistofSorts[criterium=3Dall] \placeindex[n=3D1,method=3Ddefault] \index{"Hope" is the thing with feathers} \index{Hope is the thing with feathers} \index{Hop is the thing with feathers} \index{=E2=80=9CHope=E2=80=9D is the thing with feathers} \Sort["Hope" is]{"Hope" is the thing with feathers} \Sort[=E2=80=9CHope=E2=80=9D is]{=E2=80=9CHope=E2=80=9D is the thing = with feathers} \Sort[Hope is]{Hope is the thing with feathers} \Sort[Hop is]{Hop is the thing with feathers} \Sort[Dope is]{Dope is the thing with feathers} \Sort[Rope is]{Rope is the thing with feathers} \stoptext --=20 Rik --------------030007030909060705020507 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is there a sort method that can be specified for register sorts that will ignore unicode quote marks (=E2=80=9C=E2=80=98=E2=80=99=E2=80=9D= ) in the same way that primes ("') are ignored. This was asked in 2010 (http://www.mail-archive.com/ntg-cont= ext@ntg.nl/msg51348.html) and not answered. It is still a problem.

Is there a sort method that can be applied as well to sorted lists to do this?
\definesorting[Sort][Sorts]
\starttext
\placelistofSorts[criterium=3Dall]
\placeindex[n=3D1,method=3Ddefault]
\index{"Hope" is the thing with feathers}
\index{Hope is the thing with feathers}
\index{Hop is the thing with feathers}
\index{=E2=80=9CHope=E2=80=9D is the thing with feathers}
\Sort["Hope" is]{"Hope" is the thing with feathers}
\Sort[=E2=80=9CHope=E2=80=9D is]{=E2=80=9CHope=E2=80=9D is the th= ing with feathers}
\Sort[Hope is]{Hope is the thing with feathers}
\Sort[Hop is]{Hop is the thing with feathers}
\Sort[Dope is]{Dope is the thing with feathers}
\Sort[Rope is]{Rope is the thing with feathers}
\stoptext

--
Rik
--------------030007030909060705020507-- --===============0225224082== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0225224082==--