From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69672 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: Re: Continuous chapter numbering without prefixes in documents with parts Date: Fri, 1 Jul 2011 15:33:07 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0424171561==" X-Trace: dough.gmane.org 1309527201 20611 80.91.229.12 (1 Jul 2011 13:33:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 13:33:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 15:33:17 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcdqO-0003W6-TD for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2011 15:33:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8E1BCAE8B; Fri, 1 Jul 2011 15:33:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qhpsj4hWca7I; Fri, 1 Jul 2011 15:33:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75A2CCAE7D; Fri, 1 Jul 2011 15:33:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E4F1CAE7D for ; Fri, 1 Jul 2011 15:33:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OYXususVwmco for ; Fri, 1 Jul 2011 15:33:08 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id D0790CAE7B for ; Fri, 1 Jul 2011 15:33:08 +0200 (CEST) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p61DX72a019773 for ; Fri, 1 Jul 2011 15:33:08 +0200 Original-Received: by eyd9 with SMTP id 9so1567911eyd.14 for ; Fri, 01 Jul 2011 06:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PYog7YIjMsT0+y8/76C3P+hNRmDd/CLarv+rsezGihk=; b=ADAIiiofvKycxEDSc4WdiiMWlY1qMpJA9XccvMbAA17t7PxcMD2/MOtkbgQtSNgOax nFCnQd3pwld2CW8vMp7Nu5sLw1FhRmr4uSjKz6Nc7oj7/xOyZtHmf8mDMDAi0TMxvV+q Rnf8HMdMwiyL1LA3zvlFTpeYqgYKt2By8g15M= Original-Received: by 10.213.103.148 with SMTP id k20mr1027444ebo.5.1309527187314; Fri, 01 Jul 2011 06:33:07 -0700 (PDT) Original-Received: by 10.213.13.148 with HTTP; Fri, 1 Jul 2011 06:33:07 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bF2Bx7Hr - 6be2961020a5 - 20110701 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69672 Archived-At: --===============0424171561== Content-Type: multipart/alternative; boundary=00504502d479d2d72e04a7020e80 --00504502d479d2d72e04a7020e80 Content-Type: text/plain; charset=ISO-8859-1 Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chaptersegments=chapter] which indeed got rid of the chapter number prefix. Still, the chapter numbering gets reset in each new part. How can I avoid that? Julian 2011/7/1 Thomas Schmitz > On Fri, 1 Jul 2011 15:02:22 +0200 > Julian Becker wrote: > >> Does anybody know how to implement a continuous numbering of chapters in >> documents with several parts? >> >> More specifically: how can I achieve the following numbering scheme (with >> unprefixed chapter numbers): >> I First part >> 1 Chapter one >> 2 Chapter two >> II Second part >> 3 Chapter three >> >> >> I tried (unsuccessfully) the following: >> >> \setuphead[part][placehead=yes] >> \starttext >> \part{First part} >> \chapter{Chapter one} >> \chapter{Chapter two} >> \part{Second part} >> \chapter{Chapter three} >> \stoptext >> >> The here result is something like: >> First part >> 1.1 Chapter one >> 1.2 Chapter two >> Second part >> 2.1 Chapter three >> >> >> I tried to get rid of the chapter prefixes by putting >> \setuphead[chapter][prefix=no] >> but that had no effect whatsoever. >> >> Any ideas? >> > > Yes: search the list; the same question was asked three weeks ago, together > with a solution: > http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html > > Thomas > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --00504502d479d2d72e04a7020e80 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you Thomas, and sorry for not having performed a proper search p= riorly.
Still, the thread you refered me to only provides hal= f of what I need (if I didn't miss anything):

I added the line:
\setuphead[chapter][chaptersegments=3Dchapter]<= br>
which indeed got rid of the chapter number prefix.
<= div>Still, =A0the chapter numbering gets reset in each new part. How can I = avoid that?

Julian


2011/7/1 Thomas Schmitz <tschmit1@uni-bonn.de>
On Fri, 1 Jul 2011 15:02:22 +0200
=A0Julian Becker <becker.julian@gmail.com> wrote:
Does anybody know how to implement a continuous numbering of chapters in documents with several parts?

More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers):
I First part
1 Chapter one
2 Chapter two
II Second part
3 Chapter three


I tried (unsuccessfully) the following:

\setuphead[part][placehead=3Dyes]
\starttext
\part{First part}
\chapter{Chapter one}
\chapter{Chapter two}
\part{Second part}
\chapter{Chapter three}
\stoptext

The here result is something like:
First part
1.1 Chapter one
1.2 Chapter two
Second part
2.1 Chapter three


I tried to get rid of the chapter prefixes by putting
\setuphead[chapter][prefix=3Dno]
but that had no effect whatsoever.

Any ideas?

Yes: search the list; the same question was asked three weeks ago, together= with a solution: http://archive.contextgarden= .net/message/20110619.234245.2e8ee926.en.html

Thomas
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--00504502d479d2d72e04a7020e80-- --===============0424171561== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0424171561==--