From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75187 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: indexing query Date: Sun, 18 Mar 2012 22:18:09 -0400 Message-ID: References: <3320DD01-4114-4680-8B66-722F1DF92DD7@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0335881909==" X-Trace: dough.gmane.org 1332123501 19911 80.91.229.3 (19 Mar 2012 02:18:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2012 02:18:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 19 03:18:19 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S9SAs-0008D0-5g for gctc-ntg-context-518@m.gmane.org; Mon, 19 Mar 2012 03:18:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24EB010269; Mon, 19 Mar 2012 03:18:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6pI8cKS00X-k; Mon, 19 Mar 2012 03:18:15 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 774BC10235; Mon, 19 Mar 2012 03:18:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFBF710235 for ; Mon, 19 Mar 2012 03:18:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ycob1IrOAHB1 for ; Mon, 19 Mar 2012 03:18:12 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D256E10194 for ; Mon, 19 Mar 2012 03:18:12 +0100 (CET) Original-Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2J2IB5O019113 for ; Mon, 19 Mar 2012 03:18:11 +0100 Original-Received: by qam2 with SMTP id 2so628634qam.14 for ; Sun, 18 Mar 2012 19:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NXwmoZZOOdifNHYu8FR5whVfrqfc34jcyvfNZjFsDHw=; b=b4Ae6Ur1N3fJEgZBmqpiasyi9dIFN4M1c6pyIA/6de0pkE5WrF/PEepXNWVoa2EdBZ JRMBNxKaorPnsPRVhACW3IplH5Y2vbVEoKWy1uIYqKjJHF7Fr+bvjuilFui0iEaYlkEi 8iEsUFKJSsHD3RP2MRxv+yTx2lISENhnhCQeCVV1/1QnRkJuOj0+mmQzypHmWOuTVr5u vuu9iwAyQzLK7TPiBpi962haWXlJgJ4peG3baDlWJaBo8aoTUeXK2WVsWgkQlvqnu5nq Uar1CAIJuHFaPpF1QGCn0+2OvOPAObAqxMurs1leP6vt5ATOZztROwfkH3wgylhl7sH4 3jYw== Original-Received: by 10.224.173.141 with SMTP id p13mr13017070qaz.82.1332123489983; Sun, 18 Mar 2012 19:18:09 -0700 (PDT) Original-Received: by 10.229.40.76 with HTTP; Sun, 18 Mar 2012 19:18:09 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.48; 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: 0RGLeib3q - aa039e8f28b2 - 20120319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:75187 Archived-At: --===============0335881909== Content-Type: multipart/alternative; boundary=20cf303348bf6adc5c04bb8f2b35 --20cf303348bf6adc5c04bb8f2b35 Content-Type: text/plain; charset=ISO-8859-1 OK: That does not sound good, so back to basics then. Here is a test file. Perhaps the problem lies in how I am defining my keys. % with MKII the output is fine, but no contrastcolor % with MKIV subentry/subsubentry are not placed properly \setupinteraction[state=start,color=blue,contrastcolor=red] \setupcolors[state=start] \setupregister[index][n=3, balance=yes, pagestyle=italic, textstyle=normal, criterium=all, interaction={pagenumber}, ] \setupregister[index][indicator=no,distance=0.5em] \setupregister[index][pagecommand=\it] %needed with MKIV \starttext Throughout the millennia \index{humans}humans have \index[humans]{humans+development}developed and \index[humans+development]{humans+development+adaptation}adapted methods for storing facts and thoughts on a variety of different media. \page Throughout the millennia \index{humans}humans have \index[humans]{humans+development}developed and \index[humans+development]{humans+development+adaptation}adapted methods for storing facts and thoughts on a variety of different media. \blank[3*big] \placeindex \stoptext On Sun, Mar 18, 2012 at 5:17 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 18.03.2012 um 22:11 schrieb Alan Bowen: > > > Sorry for the bother, Wolfgang. I think I have the answer now (see my > message earlier by about 30 seconds). I had not realized that the textstyle > key in \setupregister could take a command for positioning the head as well > as its actual style. > > You textstyle key accepts commands because it has to accepts \ss, \bf etc. > and you misuse this for something different. > > Wolfgang > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --20cf303348bf6adc5c04bb8f2b35 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable OK: That does not sound good, so back to basics then. Here is a test file. = Perhaps the problem lies in how I am defining my keys.

%= with MKII = the output is fine, but no contrastcolor
% with MKIV <= /span>subentry/subsubentry are not placed properly

\setupinteraction[state=3Dstart,color=3Dblue,contrastcolor=3Dred]\setupcolors[state=3Dstart]

\setupregister[index][n=3D3,
balance=3Dyes,
pages= tyle=3Ditalic,
te= xtstyle=3Dnormal,
criterium=3Dall,
interaction=3D{pagenumber},
]<= /div>

\setupregister[index][indicator=3Dno,distance=3D0.= 5em]

\setupregister[index][pagecommand=3D\it] %needed with MK= IV

\starttext

Throughout the mill= ennia \index{humans}humans have \index[humans]{humans+development}developed= and \index[humans+development]{humans+development+adaptation}adapted metho= ds for storing facts and
thoughts on a variety of different media.
\page
Th= roughout the millennia \index{humans}humans have \index[humans]{humans+deve= lopment}developed and \index[humans+development]{humans+development+adaptat= ion}adapted methods for storing facts and
thoughts on a variety of different media.

\bl= ank[3*big]

\placeindex

\stoptext
=A0

On Sun, Mar 18, 2= 012 at 5:17 PM, Wolfgang Schuster <schuster.wolfgang@google= mail.com> wrote:

Am 18.03.2012 um 22:11 schrieb Alan Bowen:

> Sorry for the bother, Wolfgang. I think I have the answer now (see my = message earlier by about 30 seconds). I had not realized that the textstyle= key in \setupregister could take a command for positioning the head as wel= l as its actual style.

You textstyle key accepts commands because it has to accepts \ss, \bf= etc. and you misuse this for something different.

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--20cf303348bf6adc5c04bb8f2b35-- --===============0335881909== 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 ___________________________________________________________________________________ --===============0335881909==--