ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: force index entries without page number
Date: Sat, 7 Nov 2020 11:11:05 +0100	[thread overview]
Message-ID: <73C10100-D9A9-4397-A6A8-E89577D055AE@fiee.net> (raw)
In-Reply-To: <47712476-0fb6-0f63-f520-400961ac1ed7@gmail.com>



> Am 04.09.2020 um 11:59 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
> 
> Henning Hraban Ramm schrieb am 03.09.2020 um 10:17:
>> Hi,
>> I’d like to have an (person) index entry like
>> Ramm, Hraban   passim
>> i.e. without actual page number.
>> How can I force that?
>> I also need to be able to refer to it like
>> \seeindex{Hraban}{Ramm, Hraban)
> 
> 
> You can use this when the entry appears only once which replaces the page number with "passim".
> 
> \define[1]\Passim
>  {passim}
> 
> \defineprocessor [passim] [command=\Passim]
> 
> \starttext
> 
> xxx\index{First}
> 
> yyy\index[passim->]{Second}
> 
> zzz\seeindex{Third}{Second}
> 
> \placeindex
> 
> \stoptext

Hi Wolfgang,

forgot to answer: This solution works for me, thank you!

Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2020-11-07 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  8:17 Henning Hraban Ramm
2020-09-03  8:56 ` mf
2020-09-03  9:09   ` mf
2020-09-03  9:14     ` mf
2020-09-03  9:38     ` Henning Hraban Ramm
2020-09-03 11:32       ` mf
2020-09-04  9:01         ` Henning Hraban Ramm
2020-09-04  9:30           ` mf
2020-09-04  9:59 ` Wolfgang Schuster
2020-11-07 10:11   ` Henning Hraban Ramm [this message]

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=73C10100-D9A9-4397-A6A8-E89577D055AE@fiee.net \
    --to=texml@fiee.net \
    --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).