From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10001 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Indexing macros Date: Tue, 03 Dec 2002 17:57:51 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021203175703.00a93aa8@server-1> References: <20021202174112.58784a93.taco@elvenkind.com> <200212021620.52271.john@wexfordpress.com> <20021202174112.58784a93.taco@elvenkind.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1038934764 4894 80.91.224.249 (3 Dec 2002 16:59:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2002 16:59:24 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18JGOJ-0001Go-00 for ; Tue, 03 Dec 2002 17:59:23 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id F1A2710AE8; Tue, 3 Dec 2002 18:01:43 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id BAD5410ABF for ; Tue, 3 Dec 2002 18:00:38 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gB3HrinD018920 for ; Tue, 3 Dec 2002 18:53:45 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gB3H0agg010937 for ; Tue, 3 Dec 2002 18:00:36 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <200212031333.47102.john@wexfordpress.com> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10001 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10001 At 01:33 PM 12/3/2002 +0000, you wrote: >useful. For example attributes attached to the page reference # can be >passed through the system. An entry, subentry etc. can be sorted out you can use attributes: Copied from the manual source: Most of the time the layout of a register is rather simple. Some manuals may need some form of differentiating between entries. The definition of several registers may be a solution. However the layout can contribute to a better use of the register: \starttyping \index {entry} \index[key] {entry} \index[form::] {entry} \index[form::key]{entry} \index {form::entry} \index[key] {form::entry} \index[form::] {form::entry} \index[form::key]{form::entry} \stoptyping The first two alternatives are known, but the rest is new and offers some control over the way the entry itself is typeset. The specification between \setchars\ relates to the pagenumber, the specification in front of the entry relates to the entry itself. \starttyping \setupregister[index][form][pagestyle=bold,textstyle=slanted] \stoptyping Without any problems we can use different appearances for pagenumber and entry. \starttyping \setupregister[index][nb][pagestyle=bold] \setupregister[index][hm][pagestyle=slanted] \stoptyping With for example: \starttyping \index[nb::]{squareroot} \index[hm::root]{$\srqt{2}$} \stoptyping Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------