From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62366 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: two buglets Date: Tue, 5 Oct 2010 23:17:59 +0200 Message-ID: <20101005211759.GE13466@aides> References: <4B743BBE.2050307@wxs.nl> <4CA85AFD.7050200@wxs.nl> <1D533ABC-6546-40C3-9CD4-9659A86D9A5E@uni-bonn.de> <4CA89CCA.8020705@wxs.nl> <20101005121543.GD13466@aides> <27D66F2D-88F8-438F-909F-73CF8B17679A@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1575442513==" X-Trace: dough.gmane.org 1286313512 5692 80.91.229.12 (5 Oct 2010 21:18:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2010 21:18:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 05 23:18:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P3EtQ-0008KO-QY for gctc-ntg-context-518@m.gmane.org; Tue, 05 Oct 2010 23:17:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 258E5CA6F3; Tue, 5 Oct 2010 23:17:48 +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 52P0Iwm8wCLt; Tue, 5 Oct 2010 23:17:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF587CA6E4; Tue, 5 Oct 2010 23:17:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5430CA6E4 for ; Tue, 5 Oct 2010 23:17:42 +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 8XQ9XcSgFas2 for ; Tue, 5 Oct 2010 23:17:30 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id BFE1FCA6E2 for ; Tue, 5 Oct 2010 23:17:30 +0200 (CEST) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o95LHThB013645 for ; Tue, 5 Oct 2010 23:17:30 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o95LJQBh016937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Oct 2010 23:19:26 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o95LHSpV014054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Oct 2010 23:17:28 +0200 Original-Received: from localhost (mnhm-4d010aa6.pool.mediaWays.net [77.1.10.166]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o95LH3IB007250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 5 Oct 2010 23:17:05 +0200 In-Reply-To: <27D66F2D-88F8-438F-909F-73CF8B17679A@uni-bonn.de> X-Operating-System: Linux aides 2.6.35-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDf9htkS - 5d22ad677025 - 20101005 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62366 Archived-At: --===============1575442513== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BzCohdixPhurzSK4" Content-Disposition: inline --BzCohdixPhurzSK4 Content-Type: multipart/mixed; boundary="Bqc0IY4JZZt50bUr" Content-Disposition: inline --Bqc0IY4JZZt50bUr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-10-05 <15:29:38>, Thomas A. Schmitz wrote: > And someone (me) might > say that they want three Greek terms in their German index at > logical places.=20 Try the definitions in the attachment. For three words only they will be fine. But if the count increases you will soon run into a situation where it=E2=80=99s not easy to determine where those =E2=80=9Clog= ical places=E2=80=9D are. E.g. would you want the letter =E2=80=9C=CF=85=E2=80= =9D under latin =E2=80=9Cy=E2=80=9D or =E2=80=9Cu=E2=80=9D? Phonologically (might depend on your stance on hist= orical phonology -- could be a minefield) you might find it reasonable to treat =E2=80=9C=CE=BF=CF=85=E2=80=9D as =E2=80=9Cu=E2=80=9D (or =E2=80= =9C=C5=AB=E2=80=9D if that matters), but your audience might expect it at the graphetic location, latin =E2=80=9Cou=E2=80=9D, inst= ead. As you can see in the example, when mapping both omega and omicron onto Latin =E2=80=9Co=E2=80=9D the result is that =E2=80=9C=CF=87= =CF=81=E1=BF=B6=CE=BC=CE=B1=E2=80=9D will appear before =E2=80=9C=CE=A7=CF=81=CF=8C=CE=BD=CE=BF=CF=82=E2=80=9D, which looks = a bit odd. This ad-hoc solution is troublesome when two words (a German and a Greek one) occupy the same spot in the search order, like =E2=80=9CPolyneikes=E2=80=9D and =E2=80=9C=CE=A0=CE=BF=CE=BB=CF=85=CE=BD=CE= =B5=CE=AF=CE=BA=CE=B7=CF=82=E2=80=9D. My index output is: Polyneikes 2 =CE=A0=CE=BF=CE=BB=CF=85=CE=BD=CE=B5=CE=AF=CE=BA=CE=B7=CF=82 2 Polyneikes 3 =CE=A0=CE=BF=CE=BB=CF=85=CE=BD=CE=B5=CE=AF=CE=BA=CE=B7=CF=82 3 which should rather be Polyneikes 2, 3 =CE=A0=CE=BF=CE=BB=CF=85=CE=BD=CE=B5=CE=AF=CE=BA=CE=B7=CF=82 2, 3 I guess there is some testing going on in order to determine whether to proceed with the current entry or switch to the next one. The position is the same, however the comparison with the last item fails and a new one is created instead. (Only guessing.) If you run into this problem you might have to ask Hans for advice. Hth, Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --Bqc0IY4JZZt50bUr Content-Type: text/x-tex; charset=utf-8 Content-Disposition: attachment; filename="greek-german.tex" Content-Transfer-Encoding: quoted-printable \startluacode sorters.definitions["de-gr"] =3D { method =3D "before", replacements =3D { -- German { "=C3=A4", 'ae' }, { "=C3=84", 'Ae' }, { "=C3=B6", 'oe' }, { "=C3=96", 'Oe' }, { "=C3=BC", 'ue' }, { "=C3=9C", 'Ue' }, { "=C3=9F", 'ss' }, -- Greek { "=CE=B1", "a" }, { "=CE=AC", "a" }, { "=E1=BD=B0", "a" }, { "= =E1=BE=B6", "a" }, { "=E1=BE=B3", "a" }, { "=E1=BC=80", "a" }, { "=E1=BC=81", "a" }, { "=E1=BC=84", "a" }= , { "=E1=BC=82", "a" }, { "=E1=BC=86", "a" }, { "=E1=BC=81", "a" }, { "=E1=BC=85", "a" }, { "=E1=BC=83", "a" }= , { "=E1=BC=87", "a" }, { "=E1=BE=81", "a" }, { "=E1=BE=B4", "a" }, { "=E1=BE=B2", "a" }, { "=E1=BE=B7", "a" }= , { "=E1=BE=84", "a" }, { "=E1=BE=82", "a" }, { "=E1=BE=85", "a" }, { "=E1=BE=83", "a" }, { "=E1=BE=86", "a" }= , { "=E1=BE=87", "a" }, { "=CE=B2", "b" }, { "=CE=B3", "g" }, { "=CE=B4", "d" }, { "=CE=B5", "e" }, { "=CE= =AD", "e" }, { "=E1=BD=B2", "e" }, { "=E1=BC=90", "e" }, { "=E1=BC=94", "e" }, { "=E1=BC=92", "e" }= , { "=E1=BC=91", "e" }, { "=E1=BC=95", "e" }, { "=E1=BC=93", "e" }, { "=CE=B6", "z" }, { "=CE=B7", "e" }, { "= =CE=B7", "e" }, { "=CE=AE", "e" }, { "=E1=BD=B4", "e" }, { "=E1=BF=86", "e" }, { "=E1=BF=83", "e" }= , { "=E1=BC=A0", "e" }, { "=E1=BC=A4", "e" }, { "=E1=BC=A2", "e" }, { "=E1=BC=A6", "e" }, { "=E1=BE=90", "e" }= , { "=E1=BC=A1", "e" }, { "=E1=BC=A5", "e" }, { "=E1=BC=A3", "e" }, { "=E1=BC=A7", "e" }, { "=E1=BE=91", "e" }= , { "=E1=BF=84", "e" }, { "=E1=BF=82", "e" }, { "=E1=BF=87", "e" }, { "=E1=BE=94", "e" }, { "=E1=BE=92", "e" }= , { "=E1=BE=95", "e" }, { "=E1=BE=93", "e" }, { "=E1=BE=96", "e" }, { "=E1=BE=97", "e" }, { "=CE=B8", "th" }, {= "=CE=B9", "i" }, { "=CE=AF", "i" }, { "=E1=BD=B6", "i" }, { "=E1=BF=96", "i" }, { "=E1=BC=B0", "i" }= , { "=E1=BC=B4", "i" }, { "=E1=BC=B2", "i" }, { "=E1=BC=B6", "i" }, { "=E1=BC=B1", "i" }, { "=E1=BC=B5", "i" }= , { "=E1=BC=B3", "i" }, { "=E1=BC=B7", "i" }, { "=CF=8A", "i" }, { "=CE=90", "i" }, { "=E1=BF=92", "i" }, { "= =E1=BF=97", "i" }, { "=CE=BA", "k" }, { "=CE=BB", "l" }, { "=CE=BC", "m" }, { "=CE=BD", "n" }, { "=CE= =BE", "x" }, { "=CE=BF", "o" }, { "=CF=8C", "o" }, { "=E1=BD=B8", "o" }, { "=E1=BD=80", "o" }, {= "=E1=BD=84", "o" }, { "=E1=BD=82", "o" }, { "=E1=BD=81", "o" }, { "=E1=BD=85", "o" }, { "=E1=BD=83", "o" }= , { "=CF=80", "p" }, { "=CF=81", "r" }, { "=E1=BF=A4", "r" }, { "=E1=BF=A5", "r" }, { "=CF=83", "s" }, {= "=CF=82", "s" }, { "=CF=84", "t" }, { "=CF=85", "y" }, { "=CF=8D", "y" }, { "=E1=BD=BA", "y" }, { "= =E1=BF=A6", "y" }, { "=E1=BD=90", "y" }, { "=E1=BD=94", "y" }, { "=E1=BD=92", "y" }, { "=E1=BD=96", "y" }= , { "=E1=BD=91", "y" }, { "=E1=BD=95", "y" }, { "=E1=BD=93", "y" }, { "=E1=BD=97", "y" }, { "=CF=8B", "y" }, {= "=CE=B0", "y" }, { "=E1=BF=A2", "y" }, { "=E1=BF=A7", "y" }, { "=CF=86", "ph" }, { "=CF=87", "ch" }, { "= =CF=88", "ps" }, { "=CF=89", "o" }, { "=CF=8E", "o" }, { "=E1=BD=BC", "o" }, { "=E1=BF=B6", "o" }, {= "=E1=BF=B3", "o" }, { "=E1=BD=A0", "o" }, { "=E1=BD=A4", "o" }, { "=E1=BD=A2", "o" }, { "=E1=BD=A6", "o" }= , { "=E1=BE=A0", "o" }, { "=E1=BD=A1", "o" }, { "=E1=BD=A5", "o" }, { "=E1=BD=A3", "o" }, { "=E1=BD=A7", "o" }= , { "=E1=BE=A1", "o" }, { "=E1=BF=B4", "o" }, { "=E1=BF=B2", "o" }, { "=E1=BF=B7", "o" }, { "=E1=BE=A4", "o" }= , { "=E1=BE=A2", "o" }, { "=E1=BE=A5", "o" }, { "=E1=BE=A3", "o" }, { "=E1=BE=A6", "o" }, { "=E1=BE=A7", "o" }, { "=CE=91", "A" }, { "=CE=86", "A" }, { "=E1=BE=BA", "A" }, { "= =E1=BE=BC", "A" }, { "=E1=BC=88", "A" }, { "=E1=BC=89", "A" }, { "=E1=BC=8C", "A" }, { "=E1=BC=8A", "A" }= , { "=E1=BC=8E", "A" }, { "=E1=BC=89", "A" }, { "=E1=BC=8D", "A" }, { "=E1=BC=8B", "A" }, { "=E1=BC=8F", "A" }= , { "=E1=BE=89", "A" }, { "=E1=BE=8C", "A" }, { "=E1=BE=8A", "A" }, { "=E1=BE=8D", "A" }, { "=E1=BE=8B", "A" }= , { "=E1=BE=8E", "A" }, { "=E1=BE=8F", "A" }, { "=CE=92", "B" }, { "=CE=93", "G" }, { "=CE=94", "D" }, { "=CE= =95", "E" }, { "=CE=88", "E" }, { "=E1=BF=88", "E" }, { "=E1=BC=98", "E" }, { "=E1=BC=9C", "E" }= , { "=E1=BC=9A", "E" }, { "=E1=BC=99", "E" }, { "=E1=BC=9D", "E" }, { "=E1=BC=9B", "E" }, { "=CE=96", "Z" }, {= "=CE=97", "E" }, { "=CE=97", "E" }, { "=CE=89", "E" }, { "=E1=BF=8A", "E" }, { "=E1=BF=8C", "E" }, {= "=E1=BC=A8", "E" }, { "=E1=BC=AC", "E" }, { "=E1=BC=AA", "E" }, { "=E1=BC=AE", "E" }, { "=E1=BE=98", "E" }= , { "=E1=BC=A9", "E" }, { "=E1=BC=AD", "E" }, { "=E1=BC=AB", "E" }, { "=E1=BC=AF", "E" }, { "=E1=BE=99", "E" }= , { "=E1=BE=9C", "E" }, { "=E1=BE=9A", "E" }, { "=E1=BE=9D", "E" }, { "=E1=BE=9B", "E" }, { "=E1=BE=9E", "E" }= , { "=E1=BE=9F", "E" }, { "=CE=98", "Th" }, { "=CE=99", "I" }, { "=CE=8A", "I" }, { "=E1=BF=9A", "I" }, { "= =E1=BC=B8", "I" }, { "=E1=BC=BC", "I" }, { "=E1=BC=BA", "I" }, { "=E1=BC=BE", "I" }, { "=E1=BC=B9", "I" }= , { "=E1=BC=BD", "I" }, { "=E1=BC=BB", "I" }, { "=E1=BC=BF", "I" }, { "=CE=AA", "I" }, { "=CE=9A", "K" }, { "= =CE=9B", "L" }, { "=CE=9C", "M" }, { "=CE=9D", "N" }, { "=CE=9E", "X" }, { "=CE=9F", "O" }, { "=CE= =8C", "O" }, { "=E1=BF=B8", "O" }, { "=E1=BD=88", "O" }, { "=E1=BD=8C", "O" }, { "=E1=BD=8A", "O" }= , { "=E1=BD=89", "O" }, { "=E1=BD=8D", "O" }, { "=E1=BD=8B", "O" }, { "=CE=A0", "P" }, { "=CE=A1", "R" }, { "= =E1=BF=AC", "R" }, { "=CE=A3", "S" }, { "=CE=A3", "S" }, { "=CE=A4", "T" }, { "=CE=A5", "Y" }, { "=CE= =8E", "Y" }, { "=E1=BF=AA", "Y" }, { "=E1=BD=99", "Y" }, { "=E1=BD=9D", "Y" }, { "=E1=BD=9B", "Y" }= , { "=E1=BD=9F", "Y" }, { "=CE=AB", "Y" }, { "=CE=A6", "Ph" }, { "=CE=A7", "Ch" }, { "=CE=A8", "Ps" }, { "=CE= =A9", "O" }, { "=CE=8F", "O" }, { "=E1=BF=BA", "O" }, { "=E1=BF=BC", "O" }, { "=E1=BD=A8", "O" }= , { "=E1=BD=AC", "O" }, { "=E1=BD=AA", "O" }, { "=E1=BD=AE", "O" }, { "=E1=BE=A8", "O" }, { "=E1=BD=A9", "O" }= , { "=E1=BD=AD", "O" }, { "=E1=BD=AB", "O" }, { "=E1=BD=AF", "O" }, { "=E1=BE=A9", "O" }, { "=E1=BE=AC", "O" }= , { "=E1=BE=AA", "O" }, { "=E1=BE=AD", "O" }, { "=E1=BE=AB", "O" }, { "=E1=BE=AE", "O" }, { "=E1=BE=AF", "O" }, }, entries =3D { ["a"] =3D "a", ["b"] =3D "b", ["c"] =3D "c", ["d"] =3D "d", ["e"] = =3D "e", ["f"] =3D "f", ["g"] =3D "g", ["h"] =3D "h", ["i"] =3D "i", ["j"] = =3D "j", ["k"] =3D "k", ["l"] =3D "l", ["m"] =3D "m", ["n"] =3D "n", ["o"] = =3D "o", ["p"] =3D "p", ["q"] =3D "q", ["r"] =3D "r", ["s"] =3D "s", ["t"] = =3D "t", ["u"] =3D "u", ["v"] =3D "v", ["w"] =3D "w", ["x"] =3D "x", ["y"] = =3D "y", ["z"] =3D "z", }, orders =3D { "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", }, } \stopluacode \unexpanded\def\ind#1{\index{#1} #1} \setupbodyfont[cmu] \starttext \startcolumns[n=3D3] \placeregister[index][language=3Dde-gr,method=3D{zm,pc,uc}] \stopcolumns \dorecurse {2} { \page\title{Iteration No. \recurselevel} =20 \ind{Adrastos} \ind{=E1=BC=8C=CE=B4=CF=81=CE=B1=CF=83=CF=84=CE=BF= =CF=82}\par \ind{Amphiaraos} \ind{=E1=BC=88=CE=BC=CF=86=CE=B9=CE=AC=CF=81=CE=B1= =CE=BF=CF=82}\par \ind{Hippomedon} \ind{=E1=BC=B9=CF=80=CF=80=CE=BF=CE=BC=CE=AD=CE=B4= =CF=89=CE=BD}\par \ind{Kapaneus} \ind{=CE=9A=CE=B1=CF=80=CE=B1=CE=BD=CE=B5=CF=8D=CF= =82}\par \ind{Parthenopaios} \ind{=CE=A0=CE=B1=CF=81=CE=B8=CE=B5=CE=BD=CE=BF=CF= =80=CE=B1=E1=BF=96=D0=BE=CF=82}\par \ind{Polyneikes} \ind{=CE=A0=CE=BF=CE=BB=CF=85=CE=BD=CE=B5=CE=AF=CE= =BA=CE=B7=CF=82}\par \ind{Tydeus} \ind{=CE=A4=CF=85=CE=B4=CE=B5=CF=8D=CF=82}\par \ind{=E1=BC=80=CE=BD=CE=B1=CE=BB=CF=8D=CE=B5=CE=B9=CE=BD} \ind{=E1= =BC=88=CE=BD=CE=B1=CE=BB=CF=85=CF=84=CE=B9=CE=BA=E1=BD=B0} \ind{analysiert} \ind{Analytik} \ind{analytisch}\par \ind{=CF=88=CF=85=CF=87=E1=BD=B4} \ind{Psyche} \ind{psychisch} \par \ind{=CE=A7=CF=81=CF=8C=CE=BD=CE=BF=CF=82} \ind{=CF=87=CF=81=CF=8C=CE= =BD=CE=B9=CE=BF=CF=82} \ind{=CF=87=CF=81=E1=BF=B6=CE=BC=CE=B1} \ind{Chronos} \ind{Chronometer} \ind{chronologisch} \ind{chronisch}=20 \ind{Chrom} \ind{Chromatik} \ind{chromatisch} } \stoptext --Bqc0IY4JZZt50bUr-- --BzCohdixPhurzSK4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyrlgcACgkQ02lYlJYWs9Lh4gCfT/fWdWQFK82LCX/GtMY3p48I /cwAnRUeuGWyh92/YB7FQUL1IMWg3OU/ =MCgX -----END PGP SIGNATURE----- --BzCohdixPhurzSK4-- --===============1575442513== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1575442513==--