From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20193 Path: news.gmane.org!not-for-mail From: Randall Skelton Newsgroups: gmane.comp.tex.context Subject: Supress chapter number in sections Date: Tue, 3 May 2005 11:36:35 -0400 Message-ID: Reply-To: Randall Skelton , mailing list for ConTeXt users 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: sea.gmane.org 1115134342 28884 80.91.229.2 (3 May 2005 15:32:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 May 2005 15:32:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 03 17:32:19 2005 Return-path: 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 1DSzLr-0008L1-OB for gctc-ntg-context-518@m.gmane.org; Tue, 03 May 2005 17:30:24 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 099B712804; Tue, 3 May 2005 17:36:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20918-07; Tue, 3 May 2005 17:36:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99EF5127FC; Tue, 3 May 2005 17:36:39 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ABA4127FC for ; Tue, 3 May 2005 17:36:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21002-05 for ; Tue, 3 May 2005 17:36:36 +0200 (CEST) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by ronja.ntg.nl (Postfix) with ESMTP id 1DDB8127EE for ; Tue, 3 May 2005 17:36:36 +0200 (CEST) Original-Received: by wproxy.gmail.com with SMTP id 36so2133058wra for ; Tue, 03 May 2005 08:36:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ABLxcwfzx6TH9bEUv/AZV5Sw1HWZDf9xF2fFGOesYdxcl5HUTJdSv9c+D/+o9mOK+2A2W6umbhXOY1wPbBmxvPbJXEAOybdyxyEJJz2o529v2ebFGIZcnaTMUtSr2xjiDvYx8PpwjlttFtifGLOVHFk2g2bfQ/FrQy/aju8uG4A= Original-Received: by 10.54.45.41 with SMTP id s41mr935767wrs; Tue, 03 May 2005 08:36:35 -0700 (PDT) Original-Received: by 10.54.103.19 with HTTP; Tue, 3 May 2005 08:36:35 -0700 (PDT) Original-To: ntg-context@ntg.nl Content-Disposition: inline X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20193 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20193 I've fiddled with almost every parameter in sethead but cannot seem to find the correct one. I'd like to suppress the chapter numbers in a relatively large document such that numbering of sections, tables, figures and equations begins at 1 instead of 1.1. Is there a simple way to do this? Here are how my chapters and sections are currently defined: \def\MyChapterText#1{\leftaligned{#1}} \setuphead[Topic,chapter] [textcommand=3D\MyChapterText, textstyle=3D{\switchtobodyfont[Titling,20pt]\sc}, color=3Dblack, number=3Dno, page=3Dright, continue=3Dno, header=3Dempty, distance=3D0pt, before=3D\vbox to 3cm\bgroup, after=3D\vss\egroup] \def\MySectionText#1{\switchtobodyfont[12pt]\sc\lowercase{#1}} \setuphead[Subject, section] [textcommand=3D\MySectionText, style=3D{\sc}, color=3Dblack, before=3D{\blank[2*big]}, after=3D{\blank[2*big]}] Many thanks, Randall