From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9807 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: Fun with \setuphead Date: Mon, 11 Nov 2002 16:21:25 -0800 Organization: Imamology Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200211111621.25206.ishamid@attbi.com> References: <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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037056851 12116 80.91.224.249 (11 Nov 2002 23:20:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2002 23:20:51 +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 18BNrO-00039H-00 for ; Tue, 12 Nov 2002 00:20:50 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 092C810B0C; Tue, 12 Nov 2002 00:22:29 +0100 (MET) Original-Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by ref.ntg.nl (Postfix) with ESMTP id 87F1C10AFE for ; Tue, 12 Nov 2002 00:21:23 +0100 (MET) Original-Received: from linux ([12.252.37.110]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021111232121.HMRB19515.sccrmhc03.attbi.com@linux> for ; Mon, 11 Nov 2002 23:21:21 +0000 Original-To: ntg-context@ref.ntg.nl User-Agent: KMail/1.4.2 In-Reply-To: <200211111608.29574.ishamid@attbi.com> 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:9807 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9807 On Monday 11 November 2002 16:08, Idris S Hamid wrote: > 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 whenev= er > it appears in the TOC. The argument should appear in the main text as > expected: > > \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 TOC. > > Is there a way I can wrap all this up in the \setuphead command? If no= t, > what's the workaround? I noticed that the argument of \SubNote does not automatically appear in = the=20 TOC. Two questions: 1. How do I turn on the TOC entry for \SubNote{My Note}? 2. The fact that it does not automatically appear in the TOC gives me a=20 workaround to the original problem: \SubNote{My Note:}=20 \writetolist[subsection]{}{\operation My Note"} This brings up a another part of the original problem: How do I get \SubNote to automatically append a `:' at the end of every=20 argument? Thnx again Idris --=20 Dr. Idris S Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523