[NTG-context] Quick way to proofread / check index entries?

Richard Mahoney rmahoney at indica-et-buddhica.org
Sun Sep 4 08:53:16 CEST 2022


Did something of the sort a while back: redefined the index command to something short, in capitals; then adjusted the syntax highlighting to pick up the code. This was for emacs + auctex, so it was just a case of adjusting one of the stock auctex files. I think Scite may let one do something similar. 


*T* +6433121699  *M* +64210640216
rmahoney at indica-et-buddhica.org

*Indica et Buddhica*
Littledene  Bay Road  Oxford  NZ
NZBN: 9429041761809

----- Original message -----
From: Bruce Horrocks via ntg-context <ntg-context at ntg.nl>
To: ntg-context mailing list <ntg-context at ntg.nl>
Cc: Bruce Horrocks <ntg at scorecrow.com>
Subject: [NTG-context] Quick way to proofread / check index entries?
Date: Sunday, 4 September 2022 06:51

My own fault for not thinking head :-) but I have a largeish text with a lot of \index{...} entries. To make life easier for the proofreader I would like to temporarily redefine \index to wrap it or replace it with something that will highlight indexed items in the text where they occur, e.g. change their colour.

I could do this with a global find and replace (across many files) to replace \index with \MyIndex, say, and then define a \MyIndex that understands the various parameter options but this is a hassle. Before I do this, is there anything already pre-built?

The ultimate aim is to enable a proofreader to see each indexed term where it appears in order to judge whether the term deserves to be in the index at all. (Working backwards from the index itself is possible but clicking a page number, trying to find the term on the page, then reading the context to make a decision is quite hard work - much easier to read through and deal with the terms as they appear.)

Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220904/0de30978/attachment.htm>

More information about the ntg-context mailing list