From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25870 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Section Numbering Date: Sun, 5 Feb 2006 12:28:10 -0500 (EST) Message-ID: References: <43E5E99F.2050905@elvenkind.com> 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 1139160513 14178 80.91.229.2 (5 Feb 2006 17:28:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 17:28:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 05 18:28:30 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 1F5ngS-00081A-9Z for gctc-ntg-context-518@m.gmane.org; Sun, 05 Feb 2006 18:28:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4CB012772; Sun, 5 Feb 2006 18:28:19 +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 14263-01; Sun, 5 Feb 2006 18:28:15 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5063E12788; Sun, 5 Feb 2006 18:28:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF6B512788 for ; Sun, 5 Feb 2006 18:28:13 +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 13876-03 for ; Sun, 5 Feb 2006 18:28:12 +0100 (CET) Original-Received: from pushingtin.mr.itd.umich.edu (pushingtin.mr.itd.umich.edu [141.211.14.78]) by ronja.ntg.nl (Postfix) with SMTP id 9A9A512772 for ; Sun, 5 Feb 2006 18:28:12 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) by pushingtin.mr.itd.umich.edu (smtp) with ESMTP id k15HSAJa009290 for ; Sun, 5 Feb 2006 12:28:10 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <43E5E99F.2050905@elvenkind.com> 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:25870 Archived-At: <--- On Feb 5, Taco Hoekwater wrote ---> > Aditya Mahajan wrote: >> Well this should be very easy to do in context, but I can not seem to >> find the right switches. For a document that I am writing, I want >> section and subsection numbers to display as follows >> >> A. Section 1 >> A-1 Section 1, subsection 1 >> >> B. Section 2 >> >> and so on. What is the magic command? > > This will give A, B etc. section numbers. I do not know about the rest > > \setupsection > [section-3] > [bodypartconversion=Character] > Thanks a lot. This gives me A, B, etc. I added \setuphead[subsection] [separator=-] to get a dash between the section number and subsection. In the context manual, separator is not documented in \setuphead but rather in \setupheads. I just tried it, crossed my fingers and it worked :) Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008