From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32457 Path: news.gmane.org!not-for-mail From: "Elliot Clifton" Newsgroups: gmane.comp.tex.context Subject: Re: A couple of questions on heads. Date: Wed, 3 Jan 2007 16:28:20 +0000 Message-ID: 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 1167841722 10981 80.91.229.12 (3 Jan 2007 16:28:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2007 16:28:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 03 17:28:41 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 1H28yh-0006xD-OU for gctc-ntg-context-518@m.gmane.org; Wed, 03 Jan 2007 17:28:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 613901FFA0; Wed, 3 Jan 2007 17:25:53 +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 26544-09-5; Wed, 3 Jan 2007 17:25:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A61B1FF7A; Wed, 3 Jan 2007 17:25:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EB181FF92 for ; Wed, 3 Jan 2007 17:25:45 +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 26544-09-4 for ; Wed, 3 Jan 2007 17:25:41 +0100 (CET) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by ronja.ntg.nl (Postfix) with ESMTP id A1FFD1FEAE for ; Wed, 3 Jan 2007 17:25:40 +0100 (CET) Original-Received: by wr-out-0506.google.com with SMTP id i11so1938303wra for ; Wed, 03 Jan 2007 08:28:20 -0800 (PST) Original-Received: by 10.90.79.6 with SMTP id c6mr15051689agb.1167841700417; Wed, 03 Jan 2007 08:28:20 -0800 (PST) Original-Received: by 10.90.36.8 with HTTP; Wed, 3 Jan 2007 08:28:20 -0800 (PST) Original-To: ntg-context@ntg.nl Content-Disposition: inline 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:32457 Archived-At: > > 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? Thanks, Elliot