ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* consistent index entries
@ 2020-08-01 11:22 Henning Hraban Ramm
  2020-08-01 18:49 ` Henning Hraban Ramm
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2020-08-01 11:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

besides the CG journal I’m working on a scientific biography with huge person and locality indexes (named Person and Locality for the examples).

In many cases, the author wants additional information in the index, e.g.

\Locality{Altona (Hamburg)}
\Locallity{Breslau (pol. Wrocław)}
or
\Person{Arends, Katharina (née Schoemaker)}
\Person{Wilhelm II. (Kaiser)}

Now, I need that consistent and I don’t want to type these complicated entries every time.

I’m looking for a good way to handle this – maybe a lookup table in Lua, so that
\LookupPerson{Willy II}
would call a Lua function that returns
\Person{Wilhelm II. (Kaiser)}
?

Or is there already something in place that I overlooked, like
\OverwriteIndexEntry{Hraban}{Ramm, Henning Hraban}
?

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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-08-01 20:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-01 11:22 consistent index entries Henning Hraban Ramm
2020-08-01 18:49 ` Henning Hraban Ramm
2020-08-01 19:01   ` Jairo A. del Rio
2020-08-01 19:18     ` Jairo A. del Rio
2020-08-01 19:50     ` Henning Hraban Ramm
2020-08-01 19:30   ` Wolfgang Schuster
2020-08-01 20:16     ` Henning Hraban Ramm
2020-08-01 20:44       ` Wolfgang Schuster
2020-08-01 20:57         ` Henning Hraban Ramm

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