ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] How to print all pages for a single index entry?
       [not found] <2059028906.2854700.1683498372480.ref@mail.yahoo.com>
@ 2023-05-07 22:26 ` Joel via ntg-context
  2023-05-08  3:27   ` Alan Braslau via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2023-05-07 22:26 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


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

I have an index like this:

\starttext
\index{butterflies}\index{horses}\index{cows}
\placeindex

\stoptext
The placeindex will place every index.
Is there a way to say, display an index, but only for a specific single entry, or specific list of entries, e.g.
\placeindex[horses, cows] (would exclude butterflies from the index entries)
--Joel

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

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [NTG-context] How to print all pages for a single index entry?
  2023-05-07 22:26 ` [NTG-context] How to print all pages for a single index entry? Joel via ntg-context
@ 2023-05-08  3:27   ` Alan Braslau via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Braslau via ntg-context @ 2023-05-08  3:27 UTC (permalink / raw)
  To: Joel via ntg-context; +Cc: Alan Braslau

On Sun, 7 May 2023 22:26:12 +0000 (UTC)
Joel via ntg-context <ntg-context@ntg.nl> wrote:

> I have an index like this:
> 
> \starttext
> \index{butterflies}\index{horses}\index{cows}
> \placeindex
> 
> \stoptext
> The placeindex will place every index.
> Is there a way to say, display an index, but only for a specific
> single entry, or specific list of entries, e.g. \placeindex[horses,
> cows] (would exclude butterflies from the index entries) --Joel

You can use multiple lists, like indexofmammals and indexofarthropods,
and then place one or combine them, as needed.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-08  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2059028906.2854700.1683498372480.ref@mail.yahoo.com>
2023-05-07 22:26 ` [NTG-context] How to print all pages for a single index entry? Joel via ntg-context
2023-05-08  3:27   ` Alan Braslau via ntg-context

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).