From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: force index entries without page number
Date: Fri, 4 Sep 2020 11:59:37 +0200 [thread overview]
Message-ID: <47712476-0fb6-0f63-f520-400961ac1ed7@gmail.com> (raw)
In-Reply-To: <EC828C60-3FE9-4B41-A356-BAB958E3BDC0@fiee.net>
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
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-09-04 9:59 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 [this message]
2020-11-07 10:11 ` Henning Hraban Ramm
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=47712476-0fb6-0f63-f520-400961ac1ed7@gmail.com \
--to=wolfgang.schuster.lists@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).