On 6/25/2018 20:11, Alan Braslau wrote:
On Mon, 25 Jun 2018 19:11:30 -0400
Rik <r...@panix.com> wrote:

On 6/25/2018 17:52, Wolfgang Schuster wrote:


\index{Knuth}\input knuth

\index{Ward}\input ward

\index{Zapf}\input zapf


Unfortunately, this does not suppress generation of index references
in the exported output. Here is a snippet of the -div.html file
generated by the example you provided:

     <div class="registerlocation index" href="#aut-1"
I came to the conclusion that the designer of a new system must not
     only be the implementer and first large--scale user; the designer
     should also write the first user manual.

and a snip of the output with the default css:

Thus the request for a (simple) mechanism to redefine or disable
standard commands. There are commands other than \index that might
also benefit from similar treatment.


is one route.

Another might be


(use at your risk)


This would work if \index took one argument, but it takes as well an optional argument preceding the required argument, and so these fail.

The best solution would seem to be one which does not require knowledge of the number of required and optional arguments, but that might be a stretch.

That is why I asked for help.
If your question is of interest to others as well, please add an entry to the 

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

Reply via email to