From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9806 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Fun with \setuphead Date: Mon, 11 Nov 2002 16:08:29 -0800 Organization: Imamology Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200211111608.29574.ishamid@attbi.com> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037056073 8188 80.91.224.249 (11 Nov 2002 23:07:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2002 23:07:53 +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 18BNeq-00027n-00 for ; Tue, 12 Nov 2002 00:07:52 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 6A0CB10AFE; Tue, 12 Nov 2002 00:09:30 +0100 (MET) Original-Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by ref.ntg.nl (Postfix) with ESMTP id 6A31B10AF0 for ; Tue, 12 Nov 2002 00:08:27 +0100 (MET) Original-Received: from linux ([12.252.37.110]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021111230825.OTMQ15364.rwcrmhc53.attbi.com@linux> for ; Mon, 11 Nov 2002 23:08:25 +0000 Original-To: ntg-context@ntg.nl User-Agent: KMail/1.4.2 Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.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:9806 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9806 Dear coterie, I have defined another section: \definehead [SubNote][subsection] \setuphead [SubNote][style=3Dbold, number=3Dno] Now I want to do a certain operation on the argument of \subnote whenever= it=20 appears in the TOC. The argument should appear in the main text as expect= ed: \SubNote{My Note} but it should appear as {\operation My Note} in the TOC. Put another way, I want to change/operate upon the lemma that's passed to= the=20 TOC.=20 Is there a way I can wrap all this up in the \setuphead command? If not,= =20 what's the workaround?=20 (For the curious: My main text (including headings) is fully accented. I = have=20 a command, "\onovocalize" which strips away all the accents. I want all m= y=20 TOC entries to be\onovocalize'ed without affecting the rest of the text a= nd=20 need to setup my heads to reflect this.) Best wishes Idris --=20 Dr. Idris S Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523