ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: index: distinguish entries by pagestyle
Date: Mon, 14 Jan 2013 17:36:36 +0100	[thread overview]
Message-ID: <20130114163636.GB24866@phlegethon.router_intern> (raw)
In-Reply-To: <16FA0D53-6CB9-4673-AD11-C34459C1A56D@uni-bonn.de>


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

···<date: 2013-01-14, Monday>···<from: Schmitz Thomas A.>···

> 
> On Jan 14, 2013, at 2:54 PM, Andreas Mang <mang@imt.uni-luebeck.de> wrote:
> 
> > Hi there,
> > 
> > I got a question considering the registers. I'd like to distinguish between the definition of some term and its appearance/use somewhere else (boldface vs. normal font of page number for instance). The garden provides a solution, which does not seem to work for me:
> > 
> > %%%%%%%%%%%%%%%%%%%
> > \setupregister[index][nb][pagestyle=bold]
> > 
> > \starttext
> > 
> > My \index[nb::dog]{dog}dog is a cat\index{cat}.
> > 
> > \placeindex
> > \stoptext
> > %%%%%%%%%%%%%%%%%%%
> > 
> > (modified from http://wiki.contextgarden.net/Registers).
> > 
> > What I'd like to have is, that dog appears with a bold page number and that cat doesn't.
> 
> Your example produces the expected output with Mkii, and your code is OK, so i assume this must be a bug in Mkiv. Hans?

Hi Andreas and Thomas,

this was reported a while back [0] but is still a “todo” in the
source [1].

Regards
Philipp


[0] http://www.ntg.nl/pipermail/ntg-context/2011/059544.html
[1] http://repo.or.cz/w/context.git/blob/refs/heads/origin:/tex/context/base/strc-reg.mkiv

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 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:[~2013-01-14 16:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 13:54 Andreas Mang
2013-01-14 16:26 ` Schmitz Thomas A.
2013-01-14 16:36   ` Philipp Gesang [this message]
2013-01-15  8:31     ` Andreas Mang
     [not found] <mailman.335.1358240913.2489.ntg-context@ntg.nl>
2013-01-15 13:23 ` Robert Blackstone

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=20130114163636.GB24866@phlegethon.router_intern \
    --to=philipp.gesang@alumni.uni-heidelberg.de \
    --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).