From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29804 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: How to achieve: (a) sectiontitle Date: Sun, 30 Jul 2006 13:55:08 -0400 (EDT) Message-ID: References: <25FA3FF2-24C2-47EA-95A4-EBF9A05077CD@st.estfiles.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 1154282141 17837 80.91.229.2 (30 Jul 2006 17:55:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2006 17:55:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 30 19:55:34 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G7FVd-0005r6-Vj for gctc-ntg-context-518@m.gmane.org; Sun, 30 Jul 2006 19:55:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE3381FE47; Sun, 30 Jul 2006 19:55:25 +0200 (CEST) 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 23512-01-4; Sun, 30 Jul 2006 19:55:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 747161FE37; Sun, 30 Jul 2006 19:55:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 333171FE37 for ; Sun, 30 Jul 2006 19:55:15 +0200 (CEST) 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 23512-01-3 for ; Sun, 30 Jul 2006 19:55:12 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with SMTP id CC3681FE32 for ; Sun, 30 Jul 2006 19:55:11 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY tombraider.mr.itd.umich.edu ID 44CCF27D.BC6E7.21500 ; 30 Jul 2006 13:55:09 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <25FA3FF2-24C2-47EA-95A4-EBF9A05077CD@st.estfiles.de> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29804 Archived-At: On Sun, 30 Jul 2006, Steffen Wolfrum wrote: > Hi, > > I am confused about the ")" and setupsection or setuphead: > > What I need is a section that looks like this > a) text > b) text > > and a section like this > (aa) text > (bb) text > > The conversion is clear but what about ")", resp. "(" before and ")" > after the sectionnumber. > How and where is this called? You can use numbercommand to format the number. For example \setupsection[section-3][conversion=character] \setuphead[section][numbercommand=\MyCommand] \def\MyCommand#1{#1)} gives you a) text b) text and \setupsection[section-3][conversion=character] \setuphead[section][numbercommand=\MyCommand] \def\MyCommand#1{(#1#1)} gives you (aa) text (bb) text Aditya