ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: indexing query
Date: Fri, 11 May 2012 19:32:53 +0200	[thread overview]
Message-ID: <4FAD4D45.4010303@wxs.nl> (raw)
In-Reply-To: <CAFMOkGXsOjttBmc8S+Vjv048MR1ruuURoSnDfqjxBpg9x72hLA@mail.gmail.com>

On 11-5-2012 18:35, Alan Bowen wrote:
> I should add, perhaps, that I am using MKII, since adapting this project to
> MKIV is not feasible.
>
> A.
>
> On Fri, May 11, 2012 at 11:45 AM, Alan Bowen<bowenalan03@gmail.com>  wrote:
>
>> I am trying to construct an index of passages and have run into a curious
>> problem:
>>
>> The test file is:
>> \defineregister[Passage][Passages]
>> \setupregister[Passage][n=1,%
>> balance=yes,%
>> pagestyle=\tfx\em,%
>>   textstyle=\tfx,%
>> criterium=all,%
>> interaction={pagenumber},%
>>   ]
>> \setupregister[Passage][indicator=no,distance=0.5em]
>>
>>
>> \starttext
>>
>> See \Passage{Simplicius+{\em In de caelo}+483.15--19}483.15--19.
>> \page
>> See \Passage{Simplicius+{\em In de caelo}+477.3--4}477.3--4
>>
>> \page
>>
>> \placeregister[Passage]
>>
>> \stoptext
>>
>> The result is an index that puts 483.15–19 *before* 477.3–4
>> as in
>> Simplicius
>>     *In de caelo*
>>        483.15–19 *1*
>>        477.3–4 *2*
>> rather than after. How can I fix this?

pass a sortkey ...

\Passage[477.03–4]{...}

or so


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2012-05-11 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 15:45 Alan Bowen
2012-05-11 16:35 ` Alan Bowen
2012-05-11 17:32   ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-18 16:38 Alan Bowen
2012-03-18 21:00 ` Wolfgang Schuster
2012-03-18 21:11   ` Alan Bowen
2012-03-18 21:17     ` Wolfgang Schuster
2012-03-19  2:18       ` Alan Bowen
2012-03-18 21:05 ` Alan Bowen

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=4FAD4D45.4010303@wxs.nl \
    --to=pragma@wxs.nl \
    --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).