From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42839 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Overriding a chapter number Date: Wed, 30 Jul 2008 00:21:33 +0200 Message-ID: <6faad9f00807291521u4031fd72g160365340692fa61@mail.gmail.com> 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: ger.gmane.org 1217370185 29387 80.91.229.12 (29 Jul 2008 22:23:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2008 22:23:05 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 30 00:23:54 2008 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 1KNxbl-0000no-Tx for gctc-ntg-context-518@m.gmane.org; Wed, 30 Jul 2008 00:23:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E6621FE03; Wed, 30 Jul 2008 00:22:57 +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 22216-06-11; Wed, 30 Jul 2008 00:22:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05C441FE09; Wed, 30 Jul 2008 00:22:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F2891FE01 for ; Wed, 30 Jul 2008 00:22:09 +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 25774-03 for ; Wed, 30 Jul 2008 00:21:36 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.146]) by ronja.ntg.nl (Postfix) with ESMTP id 24C631FE0F for ; Wed, 30 Jul 2008 00:21:35 +0200 (CEST) Original-Received: by qw-out-1920.google.com with SMTP id 9so22750qwj.38 for ; Tue, 29 Jul 2008 15:21:34 -0700 (PDT) Original-Received: by 10.214.26.20 with SMTP id 20mr3200645qaz.18.1217370093980; Tue, 29 Jul 2008 15:21:33 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Tue, 29 Jul 2008 15:21:33 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42839 Archived-At: On Wed, Jul 30, 2008 at 12:09 AM, Gerben Wierda wrote: > When I compile a chapter of a book separately, I want to override the > automatic numbering because otherwise every separate pdf will have > chapter 1. So I tried: > > \doifmode{standalone}{\setuphead[chapter][2]} It's \setupheadnumber. > \chapter[h:foo]{Foo} > > But the chapter still gets number 1 when I compile with > > texexec --pdf --mode=standalone c_foo.tex > > what am I doing wrong here? Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________