ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: indexing query
Date: Sun, 18 Mar 2012 22:18:09 -0400	[thread overview]
Message-ID: <CAFMOkGXpaN+vBwpjkxdhkW5V6figdG3mHwJ9fKDU1hPSx2Zxiw@mail.gmail.com> (raw)
In-Reply-To: <D0DEA28B-F82C-4937-B1AA-923D9D67C735@googlemail.com>


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

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

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

[-- Attachment #2: Type: text/plain, Size: 485 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:[~2012-03-19  2:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2012-03-18 21:05 ` Alan Bowen
2012-05-11 15:45 Alan Bowen
2012-05-11 16:35 ` Alan Bowen
2012-05-11 17:32   ` Hans Hagen

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=CAFMOkGXpaN+vBwpjkxdhkW5V6figdG3mHwJ9fKDU1hPSx2Zxiw@mail.gmail.com \
    --to=bowenalan03@gmail.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).