ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Horacio Suarez <horaciosuarez@hotmail.com>
To: <ntg-context@ntg.nl>
Subject: Re: index sort question
Date: Tue, 23 Nov 2010 12:27:58 +0000	[thread overview]
Message-ID: <SNT114-W93F3FC0FC6AEF5B3E60F5B43E0@phx.gbl> (raw)
In-Reply-To: <icg5hu$58i$1@dough.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2250 bytes --]


thankyou Vianney and Jano,
I'm using MarkII.
Anyway \pagenumber is not usefull because there ir more than 1 index item per page.
But using a number and incrementing it each index ocurrence works neither.
Excuse my ignorance, but I don't know what is "expanded" or what does the "expansion" key?

thankyou for your answers.
--------------------
Horacio Suarez




> To: ntg-context@ntg.nl
> From: jano.kula@tiscali.cz
> Date: Tue, 23 Nov 2010 11:37:49 +0100
> Subject: Re: [NTG-context] index sort question
> 
> Hi Horacio,
> 
> On 11/21/2010 10:48 PM, Horacio Suarez wrote:
> > Jano, thankyou very much.
> >
> > It is a songs book, and I need an author table of content.
> >
> > Your solution is very good, works fine, but using \pagenumber or
> > incrementing a counter I can´t make it work.
> >
> > I replace \pagenumber with a incremental number to assure the label sorting.
> >
> > So using the original sample, instead of:
> >
> > A\index[arbol+\pagenumber]{arbol+rojo}\page
> > B\index[araña+\pagenumber]{araña+linda}\page
> > C\index[arbol+\pagenumber]{arbol+verde}\page
> > D\index[araña+\pagenumber]{araña+grande}\page
> > E\index[arbol+\pagenumber]{arbol+blanco}\page
> >
> >
> > it is now
> >
> > A\index[arbol1]{arbol+rojo}\page
> > B\index[araña2]{araña+linda}\page
> > C\index[arbol3]{arbol+verde}\page
> > D\index[araña4]{araña+grande}\page
> > E\index[arbol5]{arbol+blanco}\page
> >
> >
> > Even it´not elegant, the Author index is very nice!
> >
> > Maybe yo know why I can´t make it work.
> 
> Are you using MarkII or MarkIV? In mkiv the above solution works here. 
> In mkii \expadned makes it work as Vianney has already suggested.
> 
> Jano
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 3010 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2010-11-23 12:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 21:48 Horacio Suarez
2010-11-22  7:52 ` Vianney le Clément
2010-11-23 10:37 ` Jano Kula
2010-11-23 12:27   ` Horacio Suarez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-18 21:50 Horacio Suarez
2010-11-19  9:45 ` Jano Kula
2010-11-19  9:49   ` Jano Kula

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=SNT114-W93F3FC0FC6AEF5B3E60F5B43E0@phx.gbl \
    --to=horaciosuarez@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /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).