From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32461 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: A couple of questions on heads. Date: Wed, 3 Jan 2007 12:32:30 -0500 (EST) Message-ID: 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 1167845658 26985 80.91.229.12 (3 Jan 2007 17:34:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2007 17:34:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 03 18:34:16 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 1H2A06-0002Zg-Ci for gctc-ntg-context-518@m.gmane.org; Wed, 03 Jan 2007 18:34:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 803161FF90; Wed, 3 Jan 2007 18:31:22 +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 29835-05-3; Wed, 3 Jan 2007 18:31:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 865D11FFA6; Wed, 3 Jan 2007 18:31:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92E8F1FFAE for ; Wed, 3 Jan 2007 18:31: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 29835-05-2 for ; Wed, 3 Jan 2007 18:31:08 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id 2A3701FFA6 for ; Wed, 3 Jan 2007 18:29:51 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 459BE8B0.9A17D.8544 ; 3 Jan 2007 12:32:32 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: 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:32461 Archived-At: On Wed, 3 Jan 2007, Elliot Clifton wrote: > > > > Message: 8 > > Date: Tue, 2 Jan 2007 20:20:31 -0500 (EST) > > From: Aditya Mahajan > > Subject: Re: [NTG-context] A couple of questions on heads. > > To: mailing list for ConTeXt users > > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > > On Tue, 2 Jan 2007, Elliot Clifton wrote: > > > > > I'm typesetting a journal. I use \chapter to divide it into articles. > > > I've defined my own heads, and I need to redefine \appendix, however > > > despite reading the manual I cant get them behave as I want. > > > > > > Problems: > > > > > > 1. Each article may have appendices. I've tried defining my own > > > 'appendix' head to replace the default one, but I can't decide which > > > to use, should I derive from chapter or section? The problem with > > > using section as the base, is that the count from my previous sections > > > is inherited. I don't want numbers of the form 1.1, 1.2, etc, either. > > > I want to number my appendices independently, starting from 1 without > > > the chapter number. Also, I would like to use roman numerals. > > > > You can separate the appendices by a section block. For example > > > > % appendix is already a section block. By default, a section > > % block starts a new page, you may not want that in a journal > > \setupsectionblock[appendix][page=] > > > > > > % Change the conversion for sections in appendices. > > \setupsection > > [section-3] > > [appendixconversion=Romannumerals] > > > > > > \starttext > > > > \section{Test} > > > > \startappendices > > \section{An Appendix} > > \stopappendices > > > > \stoptext > > > > > > > > HTH, > > > > Yep. Thanks. > > I am now using section blocks to create meta-sections, so that inside > the body-matter sections have no numbers whilst the appendices do. It > works great. > > One minor problem though. I need the appendices to have labels, like: > Appendix I, etc.. > > \setuplabeltext[appendix=Appendix] does not work in this situation > what is the correct way of doing it? You also need to tell context to use the labeltext, by saying \setuphead [section] [appendixlabel=appendix, placehead=yes] % Make sure that \setuplabeltext[section=] is empty. % By default it is empty. Aditya