From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33691 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: An Index problem (repost) Date: Tue, 06 Mar 2007 10:40:22 +0100 Message-ID: <45ED3706.6030108@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173174047 12955 80.91.229.12 (6 Mar 2007 09:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 09:40:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 10:40:37 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HOW9s-00069P-Ip for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2007 10:40:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4FD88184; Tue, 6 Mar 2007 10:36:21 +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 17810-03-2; Tue, 6 Mar 2007 10:36:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9E68179; Tue, 6 Mar 2007 10:36:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 644E1177 for ; Tue, 6 Mar 2007 10:36:12 +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 17810-03 for ; Tue, 6 Mar 2007 10:36:09 +0100 (CET) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 3F6CF17A for ; Tue, 6 Mar 2007 10:36:08 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 87FE56D28E for ; Tue, 6 Mar 2007 10:40:13 +0100 (CET) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13751-03 for ; Tue, 6 Mar 2007 10:40:13 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 46FA16D286 for ; Tue, 6 Mar 2007 10:40:13 +0100 (CET) User-Agent: Thunderbird 1.5.0.9 (X11/20070111) In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:33691 Archived-At: Hi Luigi, Sorry, no time right now for an elaborate example. luigi scarso wrote: > > ie, the very first word in bold face and upper case, > the following in normal face if and only of the very first word was > equal to the first > word of actual item (I know, it's strange). I would propose you create your own combined list (\definecombinedlist) and use that instead of the TOC. You have to write the items to that list explicitly then, but it would be reasonably straightforward. Another option is to create a dummy macro that you redefine where it is needed. \unexpanded \def\tocbf#1{{\bf #1}} vs \unexpanded \def\tocbf#1{#} and \section{\tocbf{Bold} ..} Best, Taco