From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23322 Path: news.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: Bug / feature request tracking Date: Tue, 8 Nov 2005 11:05:56 +0100 Message-ID: <821490983.20051108110556@iol.it> References: <436F93F4.1070807@elvenkind.com> <36E0EF7C-60F4-428B-9FEA-2D9D6C4E8EC6@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131444804 2585 80.91.229.2 (8 Nov 2005 10:13:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 10:13:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 08 11:13:18 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZQSP-0007T0-9R for gctc-ntg-context-518@m.gmane.org; Tue, 08 Nov 2005 11:12:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F32412809; Tue, 8 Nov 2005 11:12:00 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19498-07; Tue, 8 Nov 2005 11:11:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E008F12805; Tue, 8 Nov 2005 11:11:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7A8B12805 for ; Tue, 8 Nov 2005 11:11:53 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19533-01-3 for ; Tue, 8 Nov 2005 11:11:52 +0100 (CET) Original-Received: from smtp7.libero.it (smtp7.libero.it [193.70.192.90]) by ronja.ntg.nl (Postfix) with ESMTP id B8B7012804 for ; Tue, 8 Nov 2005 11:11:52 +0100 (CET) Original-Received: from localhost (172.16.1.79) by smtp7.libero.it (7.0.027-DD01) id 4369E4D2005F88FE for ntg-context@ntg.nl; Tue, 8 Nov 2005 11:11:52 +0100 Original-Received: from smtp3.libero.it ([172.16.1.53]) by localhost (asav1.libero.it [193.70.192.150]) (amavisd-new, port 10024) with ESMTP id 15109-01 for ; Tue, 8 Nov 2005 11:11:52 +0100 (CET) Original-Received: from OBLOMOV (adsl-ull-116-212.42-151.net24.it [151.42.212.116]) by smtp3.libero.it (Postfix) with ESMTP id 868A7ABEB0 for ; Tue, 8 Nov 2005 11:11:51 +0100 (MET) X-Mailer: The Bat! (v3.5.25) Professional X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: <36E0EF7C-60F4-428B-9FEA-2D9D6C4E8EC6@uni-bonn.de> X-Scanned: with antispam and antivirus automated system at libero.it X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23322 Archived-At: Monday, November 7, 2005 Thomas A. Schmitz wrote: > 4. and a feature request: it would be good to have some formatting > options like LaTeX makeidx offers: > \index{keyword|textit} will > produce a page-number in italics in the register. That would be > immensely useful to produce a structured index. I have the following, in my PhD thesis \setupindex[pagestyle=normal] \setupregister[index][def][pagestyle=bold] \def\indexdefinition#1{\index[def::]{#1}} \def\defterm#1{\leavevmode{\indexdefinition{#1}\it#1}} \def\deftermx#1#2{\leavevmode{\processcommalist[#2]\indexdefinition\it#1}} \def\useterm#1{\leavevmode{\index{#1}#1}} \def\usetermx#1#2{\leavevmode{\processcommalist[#2]\index#1}} the 'def' is an index 'class', which can be formatted differently from the others. I use it to makr the definition of a term (the other commands are just shorthands :)). You can set up as many classes as you want and format each of them as you wish. Much better than the LaTeX way :) More details in the manual. -- Giuseppe "Oblomov" Bilotta