From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63802 Path: news.gmane.org!not-for-mail From: Horacio Suarez Newsgroups: gmane.comp.tex.context Subject: Re: index sort question Date: Sun, 21 Nov 2010 21:48:23 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0808941147==" X-Trace: dough.gmane.org 1290376132 20828 80.91.229.12 (21 Nov 2010 21:48:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 21:48:52 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 21 22:48:48 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 1PKHmA-0006SL-RT for gctc-ntg-context-518@m.gmane.org; Sun, 21 Nov 2010 22:48:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95B99CA852; Sun, 21 Nov 2010 22:48:45 +0100 (CET) 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 nLgcs4K8TNEh; Sun, 21 Nov 2010 22:48:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD74FCA847; Sun, 21 Nov 2010 22:48:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0F49CA847 for ; Sun, 21 Nov 2010 22:48:40 +0100 (CET) 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 G0LZkGLwPeef for ; Sun, 21 Nov 2010 22:48:28 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 582D3CA834 for ; Sun, 21 Nov 2010 22:48:28 +0100 (CET) Original-Received: from snt0-omc2-s45.snt0.hotmail.com (snt0-omc2-s45.snt0.hotmail.com [65.54.61.96]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oALLmQ9v021218 for ; Sun, 21 Nov 2010 22:48:27 +0100 Original-Received: from SNT114-W54 ([65.55.90.73]) by snt0-omc2-s45.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 21 Nov 2010 13:48:23 -0800 X-Originating-IP: [190.18.67.184] Importance: Normal X-OriginalArrivalTime: 21 Nov 2010 21:48:23.0907 (UTC) FILETIME=[D23E9330:01CB89C5] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.54.61.96; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DxVMrQ1 - 276382960f4a - 20101121 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:63802 Archived-At: --===============0808941147== Content-Type: multipart/alternative; boundary="_ed395e92-32c4-4d36-94bd-54f581eae6ad_" --_ed395e92-32c4-4d36-94bd-54f581eae6ad_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Jano=2C thankyou very much. It is a songs book=2C and I need an author table of content. Your solution is very good=2C works fine=2C but using \pagenumber or increm= enting a counter I can=B4t make it work. I replace \pagenumber with a incremental number to assure the label sorting= . So using the original sample=2C instead of:A\index[arbol+\pagenumber]{arbol= +rojo}\pageB\index[ara=F1a+\pagenumber]{ara=F1a+linda}\pageC\index[arbol+\p= agenumber]{arbol+verde}\pageD\index[ara=F1a+\pagenumber]{ara=F1a+grande}\pa= geE\index[arbol+\pagenumber]{arbol+blanco}\page it is nowA\index[arbol1]{arbol+rojo}\pageB\index[ara=F1a2]{ara=F1a+linda}\p= ageC\index[arbol3]{arbol+verde}\pageD\index[ara=F1a4]{ara=F1a+grande}\pageE= \index[arbol5]{arbol+blanco}\page Even it=B4not elegant=2C the Author index is very nice! Maybe yo know why I can=B4t make it work. Well=2C thankyou again. -------------------- Horacio Suarez Editorial Antropofagia www.eantropofagia.com.ar > To: ntg-context@ntg.nl > From: jano.kula@tiscali.cz > Date: Fri=2C 19 Nov 2010 10:49:35 +0100 > Subject: Re: [NTG-context] index sort question >=20 > On 11/19/2010 10:45 AM=2C Jano Kula wrote: > > Hello Horacio=2C > > > > if you have only one index item per page=2C than on the second level yo= u > > can use \pagenumber for sorting: >=20 > or your own counter increased by every index item=2C which doesn't=20 > restrict it to one item per page. >=20 > J. >=20 > _________________________________________________________________________= __________ > If your question is of interest to others as well=2C please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ = --_ed395e92-32c4-4d36-94bd-54f581eae6ad_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Jano=2C thankyou very much.

It is a songs book=2C and I = need an author table of content.

Your solution is = very good=2C works fine=2C but using \pagenumber or incrementing a counter = I can=B4t make it work.

I replace \pagenumber with a incremental num= ber to assure the label sorting.

So using the orig= inal sample=2C instead of:
A\index[arbol+\pagenumber]{arbol+rojo}\page
B\index[ara=F1a+\pagenumber]{ara=F1a+linda}\page
C\index[arbol+\pagenumber]{arbol+verde}\page
D\index[ara=F1a+\pagenumber]{ara=F1a+grande}\pageE\index[arbol+\pagenumber]{arbol+blanco}\= page

it is now
A\index[arbol1]{arbol+rojo}\page
B\index[ara=F1a2]{ara=F1a+linda}\page
C\index[arbol3]{arbol+verde}\page
D\index[ara=F1a4]{ara=F1a+grande}\page
E\index[arbol5]{arbol+blanco}\page
Even it=B4not elegant=2C the Author index is very nice!

Maybe yo know why I can=B4t make it work.

<= /div>
Well=2C thankyou again.


------------= --------
Horacio Suarez
Editorial Antropofagia
www.eantropofagia.c= om.ar



>=3B To: ntg-context@ntg.nl
>=3B From: jano.kul= a@tiscali.cz
>=3B Date: Fri=2C 19 Nov 2010 10:49:35 +0100
>=3B Su= bject: Re: [NTG-context] index sort question
>=3B
>=3B On 11/19/= 2010 10:45 AM=2C Jano Kula wrote:
>=3B >=3B Hello Horacio=2C
>= =3B >=3B
>=3B >=3B if you have only one index item per page=2C tha= n on the second level you
>=3B >=3B can use \pagenumber for sorting:=
>=3B
>=3B or your own counter increased by every index item=2C = which doesn't
>=3B restrict it to one item per page.
>=3B
&g= t=3B J.
>=3B
>=3B ______________________________________________= _____________________________________
>=3B If your question is of inte= rest to others as well=2C please add an entry to the Wiki!
>=3B
&g= t=3B maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg= -context
>=3B webpage : http://www.pragma-ade.nl / http://tex.aanhet.= net
>=3B archive : http://foundry.supelec.fr/projects/contextrev/
= >=3B wiki : http://contextgarden.net
>=3B ______________________= _____________________________________________________________
= --_ed395e92-32c4-4d36-94bd-54f581eae6ad_-- --===============0808941147== 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 ___________________________________________________________________________________ --===============0808941147==--