From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25498 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: Sorting question Date: Sun, 22 Jan 2006 18:02:32 +0100 Message-ID: <43D3BAA8.8030602@seznam.cz> References: <43D2A70D.1000703@apostate.com> <1137925029.4142.3.camel@eagle.intern> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137949367 31140 80.91.229.2 (22 Jan 2006 17:02:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2006 17:02:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 22 18:02:45 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F0ibw-0001Sd-2t for gctc-ntg-context-518@m.gmane.org; Sun, 22 Jan 2006 18:02:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 56D1B127D8; Sun, 22 Jan 2006 18:02:38 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31968-03; Sun, 22 Jan 2006 18:02:35 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34434127B9; Sun, 22 Jan 2006 18:02:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 37853127B9 for ; Sun, 22 Jan 2006 18:02:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31817-04 for ; Sun, 22 Jan 2006 18:02:33 +0100 (CET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id E744612775 for ; Sun, 22 Jan 2006 18:02:32 +0100 (CET) Original-Received: (qmail 15545 invoked from network); 22 Jan 2006 17:02:28 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by tic.go.seznam.cz with ESMTPA; 22 Jan 2006 17:02:28 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1137925029.4142.3.camel@eagle.intern> X-Antivirus: avast! (VPS 0603-1, 16.01.2006), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25498 Archived-At: Bernd Militzer wrote: > Hello, >=20 > is it possible to produce a sorted list without unsing the entry > \Ueberall in text? >=20 > % > \definesorting[person][personen] > \setupsorting[person][criterium =3D all] > % > \person{Unsinn, Klaus} > \person{Militzer, Bernd} > \person{Horten, Hans} > \person[Ueberall]{=C3=9Cberall, Heinrich} > % > \placelistofpersonen > > Any ideas? We need to define (German?) sorting rules for newtexexec (newtexutil).=20 Tell me in between '=C3=9C' have to be sorted I will try to prepare a cod= e=20 for this rule. Vit >=20 > Thanks, Bernd >=20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > %#ConTeXt >=20 > % > % allgemeine Grundeinstellung > % > \enableregime[windows] % Eingabe-Codierung > \mainlanguage[de] % Sprachmodus=09 > \usetypescript[modern][texnansi]=20 > \setupbodyfont[12pt] > % > % Die besondere Seitenanpassung > % > \setuppapersize[a4][a4] > \setuplayout[location=3Dsinglesided] >=20 > \setuplayout[ > backspace=3D2.46cm,topspace=3D1.2cm, > top=3D0cm,bottom=3D0cm,topdistance=3D0cm,bottomdistance=3D0cm, > header=3D1.5cm,footer=3D1.0cm,headerdistance=3D0cm,footerdistance=3D= 0cm, > leftedge=3D0cm,rightedge=3D0cm,leftedgedistance=3D0cm,rightedgedist= ance=3D0cm, > leftmargin=3D1.5cm,rightmargin=3D1.0cm,leftmargindistance=3D0.42cm,= rightmargindistance=3D0.42cm, > width=3D16.5cm,height=3D27.4cm, > ] > % > % > % Z=EF=BF=BDhler f=EF=BF=BDr die lfdNr. > % > \global\newcount\xlfd \xlfd=3D0 > %=20 > \def\LFD{\futurelet\testchar\MitOptArgLFD} > % >=20 > \def\MitOptArgLFD{\ifx[\testchar% > \let\next\OptArgLFD \else % > \let\next \NoOptArgLFD \fi \next} > % > % setzte den Z=EF=BF=BDhler auf bestimmten Wert > % > \def\OptArgLFD[#1]{% > {\global\xlfd=3D\number#1} > } > % > % erh=EF=BF=BDhe den Wert um 1 > % und gebe den Z=EF=BF=BDhler aus > % Besonderheit=20 > % zweistellige Ausgabe der Zahl also 01., 02. ... 10. 11. ... > % und Punkt > % > \def\NoOptArgLFD{% > {\global\advance\xlfd by 1\relax} > \ifnum\xlfd<10 > 0\fi > \number\xlfd. > } > % > % Linie nach dem Namen > % > \def\myrule{ {\thinrules[n=3D1]\par}} > % > % > % > \starttext > % > % > % 1. ex no prob > % >=20 > \definesorting[personA][personenA] > \setupsorting[personA][criterium =3D all,before=3D\LFD,after=3D\myrule]= >=20 > \personA{Unsinn, Klaus} > \personA{Militzer, Bernd} > \personA{Horten, Hans} >=20 >=20 > \placelistofpersonenA >=20 > \page >=20 > % 2. ex prob =EF=BF=BDberall on wrong position >=20 > % >=20 > \definesorting[personB][personenB] > \setupsorting[personB][criterium =3D all,before=3D\LFD,after=3D\myrule]= >=20 > \personB{Unsinn, Klaus} > \personB{Militzer, Bernd} > \personB{Horten, Hans} > \personB{=EF=BF=BDberall, Heinrich} >=20 > \placelistofpersonenB >=20 > \page >=20 > % 3. ex prob =EF=BF=BDberall is missing >=20 > % > \definesorting[personC][personenC] > \setupsorting[personC][criterium =3D all,before=3D\LFD,after=3D\myrule]= >=20 > \personC{Unsinn, Klaus} > \personC{Militzer, Bernd} > \personC{Horten, Hans} > \personC[Ueberall]{=EF=BF=BDberall, Heinrich} >=20 > \placelistofpersonenC >=20 > \page >=20 > % 4. ex prob =EF=BF=BDberall is missing >=20 > % > \definesorting[personD][personenD] > \setupsorting[personD][criterium =3D all,before=3D\LFD,after=3D\myrule]= >=20 > \personD{Unsinn, Klaus} > \personD{Militzer, Bernd} > \personD{Horten, Hans} > \personD[Ueberall]{=EF=BF=BDberall, Heinrich} >=20 > First I use \Ueberall\ in text >=20 > \placelistofpersonenD >=20 > \page >=20 > \stoptext >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Ing. V=C3=ADt Z=C3=BDka, Ph.D. TYPOkv=C3=ADtek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D