From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115911 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Mahoney via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Quick way to proofread / check index entries? Date: Sun, 04 Sep 2022 18:53:16 +1200 Message-ID: <675040e3-bdf0-4b81-b147-ddfcb4424f38@www.fastmail.com> References: <02E42EA8-4B38-46E2-9731-3F101E498C24@scorecrow.com> Reply-To: Richard Mahoney , mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2616428104054215260==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28380"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Cc: Richard Mahoney To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 04 09:00:16 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oUjc8-0007Ci-HM for gctc-ntg-context-518@m.gmane-mx.org; Sun, 04 Sep 2022 09:00:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 226DB2A3AD7; Sun, 4 Sep 2022 08:59:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xcexclVJ-WEC; Sun, 4 Sep 2022 08:59:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5B05F2A41FF; Sun, 4 Sep 2022 08:59:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E63CB2A41D1 for ; Sun, 4 Sep 2022 08:59:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dMMzlumHmMgw for ; Sun, 4 Sep 2022 08:59:34 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=103.2.141.86; helo=e2i342.smtp2go.com; envelope-from=bt.sslrdjmc30=likyjhvc5yf9=qw28z4nbbe@em110947.indica-et-buddhica.org; receiver= X-Greylist: delayed 361 seconds by postgrey-1.36 at zapf.ntg.nl; Sun, 04 Sep 2022 08:59:34 CEST Original-Received: from e2i342.smtp2go.com (e2i342.smtp2go.com [103.2.141.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5912B2A3AD7 for ; Sun, 4 Sep 2022 08:59:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Subject:To:Reply-To: From:Date:Message-Id:Sender:List-Unsubscribe; bh=hCslTw0BVQlgFtwpuNMnNnFSIlxBubJMakCyRAyGt6E=; b=XSMiuGQup4giIcm562KTtrHyi7 A+X6Z0uPVquiCoq0be+AnhkZSLyvecOWbK3iaMewB1WV1dNvzTik1+6GF6E+dbDsdHRDMGKb5dDgC Rh7pPvHngJk39DRylYCs1hnnj9B8CJ/XG5ECXlX5QR+nt/eDtfszYEF+3EmAjTMOLQrSRzlP9C2pT V2sRhjrYgXjrMqw2DOrxwxpB6LaGWKQuiiK0SqljL1+O4zY9rFLKkXGXk9dqiCg2EVQjTnjU+YfzQ KHDKuOUo6NEqUN9CxtOfk4xa8RvReC9O2iN9g1F6TzSdpAKuds7QnZW0mcOMO3hGEK4G/k9hI0Bkm eNmAXpUQ==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indica-et-buddhica.org; i=@indica-et-buddhica.org; q=dns/txt; s=s110947; t=1662274774; h=from : subject : to : message-id : date; bh=hCslTw0BVQlgFtwpuNMnNnFSIlxBubJMakCyRAyGt6E=; b=jJTFUSNLzXtprw6KA52LXCzfb9w4uCrabvfOENc3EKn6+0aKdtGSORAZkk1VsJFIkpv7f 1cFIAuvKnvMQRV0xZ/ATrVEzv9aKgHJhHP8a/5ql85Grjksb894Y5rQ6+zJO6GfmPiD/5n0 b31gluUEuVAWoTm0ZUDcC10LlrSyJ4Llo/tUdnmRnVXA98TRDy46zw9mWKPk0KhX6Y7ZV8v 5J1uG4CEnA3DIRHxwKGLSqeZjA3hZFOp9XhOH4/uWz2TfJiyjLMTHrfK+dtThowFTT4R03f WQkmF3Pm5QWhjlZC+KNBeQBlj+O6KC/TC3JQ79BkK2aDX8a5hQAaBeQLRSeQ== Original-Received: from [10.45.79.170] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1oUjVX-TRk4I5-39; Sun, 04 Sep 2022 06:53:27 +0000 Original-Received: from [10.66.111.4] (helo=auth2-smtp.messagingengine.com) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1oUjVW-bMEsIe-4W; Sun, 04 Sep 2022 06:53:26 +0000 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 126F727C0054; Sun, 4 Sep 2022 02:53:23 -0400 (EDT) Original-Received: from imap49 ([10.202.2.99]) by compute5.internal (MEProxy); Sun, 04 Sep 2022 02:53:23 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelfedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhfhrvffutgesrgdtreerreerjeenucfhrhhomhepfdft ihgthhgrrhguucforghhohhnvgihfdcuoehrmhgrhhhonhgvhiesihhnughitggrqdgvth dqsghuugguhhhitggrrdhorhhgqeenucggtffrrghtthgvrhhnpefhvdfghfdtudffleef gfeivdevieeuveeuieeghfegueeigeeuleekleetvdevkeenucffohhmrghinhepihhnug hitggrqdgvthdqsghuugguhhhitggrrdhorhhgpdhnthhgrdhnlhdpphhrrghgmhgrqdgr uggvrdhnlhdprggrnhhhvghtrdhnvghtpdgsihhtsghutghkvghtrdhorhhgpdgtohhnth gvgihtghgrrhguvghnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomheprhhmrghhohhnvgihodhmvghsmhhtphgruhhthhhpvghrshhonh grlhhithihqddutdekjeegheeiheeiqdduvddtgeduvdeiuddqrhhmrghhohhnvgihpeep ihhnughitggrqdgvth X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4B1A215A0087; Sun, 4 Sep 2022 02:53:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <02E42EA8-4B38-46E2-9731-3F101E498C24@scorecrow.com> X-Smtpcorp-Track: 1olMVWPuEsm-4W.FJtkFfoFXX-St Feedback-ID: 110947m:110947aBbyAFj:110947sNYBUN015D X-Report-Abuse: Please forward a copy of this message, including all headers, to X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115911 Archived-At: --===============2616428104054215260== Content-Type: multipart/alternative; boundary=0540b925cb41470f9d8a28b0e3e4724b --0540b925cb41470f9d8a28b0e3e4724b Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Bruce, Did something of the sort a while back: redefined the index command to s= omething short, in capitals; then adjusted the syntax highlighting to pi= ck up the code. This was for emacs + auctex, so it was just a case of ad= justing one of the stock auctex files. I think Scite may let one do some= thing similar.=20 Richard -- *T* +6433121699 *M* +64210640216 rmahoney@indica-et-buddhica.org https://indica-et-buddhica.org/ *Indica et Buddhica* Littledene Bay Road Oxford NZ NZBN: 9429041761809 ----- Original message ----- From: Bruce Horrocks via ntg-context To: ntg-context mailing list Cc: Bruce Horrocks 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 w= ould like to temporarily redefine \index to wrap it or replace it with s= omething 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 re= place \index with \MyIndex, say, and then define a \MyIndex that underst= ands the various parameter options but this is a hassle. Before I do thi= s, is there anything already pre-built? The ultimate aim is to enable a proofreader to see each indexed term whe= re it appears in order to judge whether the term deserves to be in the i= ndex at all. (Working backwards from the index itself is possible but cl= icking 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.) =E2=80=94 Bruce Horrocks Hampshire, UK ________________________________________________________________________= ___________ If your question is of interest to others as well, please add an entry t= o 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 ________________________________________________________________________= ___________ --0540b925cb41470f9d8a28b0e3e4724b Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable p.Ms= oNormal,p.MsoNoSpacing{margin:0}
Bruce,
<= div>
Did=20something=20of=20the=20sort=20a=20while=20back:=20= redefined=20the=20index=20command=20to=20something=20short,=20in=20capitals= ;=20then=20adjusted=20the=20syntax=20highlighting=20to=20pick=20up=20the=20= code.=20This=20was=20for=20emacs=20+=20auctex,=20so=20it=20was=20just=20a= =20case=20of=20adjusting=20one=20of=20the=20stock=20auctex=20files.=20I=20t= hink=20Scite=20may=20let=20one=20do=20something=20similar. 
<= div>
Richard


--
T=20+6433121699 =20M=20+64210640216
rmahoney@indica-et-buddhica.org
=
https://indica-et-buddhi= ca.org/

Ind= ica=20et=20Buddhica
Littledene = ;=20Bay=20Road =20Oxford =20NZ
NZBN:=209429041761809


-= ----=20Original=20message=20-----
From:=20Bruce=20Horrocks=20= via=20ntg-context=20<ntg-context= @ntg.nl>
To:=20ntg-context=20mailing=20list=20<ntg-context@ntg.nl>
<= div>Cc:=20Bruce=20Horrocks=20<ntg= @scorecrow.com>
Subject:=20[NTG-context]=20Quick=20way= =20to=20proofread=20/=20check=20index=20entries?
Date:=20Sund= ay,=204=20September=202022=2006:51

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

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

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

=E2=80=94
Bruce=20Horroc= ks
Hampshire,=20UK

_____________= ______________________________________________________________________
<= /div>
If=20your=20question=20is=20of=20interest=20to=20others=20as=20we= ll,=20please=20add=20an=20entry=20to=20the=20Wiki!

=
maillist=20: ntg-context@= ntg.nl=20/ https://www.ntg.nl/mailman/listinfo/ntg-context
we= bpage =20: https://www.pr= agma-ade.nl=20/ http://con= text.aanhet.net
archive =20: https://bitbucket.org/phg/con= text-mirror/commits/
wiki    =20:&nbs= p;https://contextgarden.net
=
________________________________________________________________= ___________________


--0540b925cb41470f9d8a28b0e3e4724b-- --===============2616428104054215260== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2616428104054215260==--