From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69837 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: Thu, 7 Jul 2011 10:12:37 +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="===============1293261401==" X-Trace: dough.gmane.org 1310026381 30158 80.91.229.12 (7 Jul 2011 08:13:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 08:13:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 07 10:12:57 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 1Qejhg-00027D-NO for gctc-ntg-context-518@m.gmane.org; Thu, 07 Jul 2011 10:12:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F905CAE17; Thu, 7 Jul 2011 10:12:55 +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 izmbEChCFl1U; Thu, 7 Jul 2011 10:12:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 486CECADFB; Thu, 7 Jul 2011 10:12:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CBE06CADFB for ; Thu, 7 Jul 2011 10:12:50 +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 ST-1L1gOc-d8 for ; Thu, 7 Jul 2011 10:12:39 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id E7480CADF8 for ; Thu, 7 Jul 2011 10:12:38 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p678Cc1q021974 for ; Thu, 7 Jul 2011 10:12:38 +0200 Original-Received: by ewy9 with SMTP id 9so350497ewy.14 for ; Thu, 07 Jul 2011 01:12:38 -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=dJfQHdhuKRBj8oOuFZB6SyK4LYu18v3vzijH0OsdCQ4=; b=sfF2btmFtEX8AszAPVwt+MnWZLFyfrqGWYgOmNCwiKA5/2pFk1L8fag3MksR7XiXc9 A8IRZZPwTK+i++XP+sjWlfWTcoHkcurTz+xKLMzXIBZT1yDvXXUeAr4FPKHvqBh1xrSQ b5PB5ioZO9dfTmc+xbTYFRDj/RZq3ScqbTpYA= Original-Received: by 10.213.103.148 with SMTP id k20mr221354ebo.5.1310026357414; Thu, 07 Jul 2011 01:12:37 -0700 (PDT) Original-Received: by 10.213.29.8 with HTTP; Thu, 7 Jul 2011 01:12:37 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; 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: 06F4UcCho - f974939eed4b - 20110707 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:69837 Archived-At: --===============1293261401== Content-Type: multipart/alternative; boundary=00504502d479ae1c2704a7764720 --00504502d479ae1c2704a7764720 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks again, Thomas. 2011/7/1 Thomas Schmitz > On Fri, 1 Jul 2011 15:33:07 +0200 > > Julian Becker wrote: > >> 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 (i= f >> I >> didn't miss anything): >> >> I added the line: >> \setuphead[chapter][chaptersegments=3Dchapter] >> which indeed got rid of the chapter number prefix. >> Still, the chapter numbering gets reset in each new part. How can I avo= id >> that? >> >> Excuse me for sounding a bit grumpy, but please make > complete minimal examples. I'll try to keep that in mind, next time. Julian > Which means they should be > compilable, see > http://www.minimalbeispiel.de/mini-en.html. Here is one > such example which does what you want (and this solution could also be > found in the list archive): > > \definestructureresetset[default][0,0][1] > > \setuphead[part][sectionresetset=3Ddefault] > > \setuphead[part][placehead=3Dyes] > > \setuphead[chapter][sectionsegments=3Dchapter,ownnumber=3Dyes] > > \starttext > > \startpart[title=3DFirst part] > \startchapter[title=3DChapter one] > \input tufte > \stopchapter > \startchapter[title=3DChapter two] > \input tufte > \stopchapter > \stoppart > \startpart[title=3DSecond part] > \startchapter[title=3DChapter three] > \input tufte > \stopchapter > \startchapter[title=3DChapter four] > \input tufte > \stopchapter > \stoppart > \stoptext > > > 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 > > _________________________________________________________________________= __________ > --=20 Julian Becker Institut f=FCr Angewandte Physik, R.123 Westf=E4lische Wilhelms-Universit=E4t M=FCnster Corrensstr. 2/4 48149 M=FCnster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_beck16@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." --00504502d479ae1c2704a7764720 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks again, Thomas.

2011/7/1 Thomas Sch= mitz <tschmit1= @uni-bonn.de>
On Fri, 1 Jul 2011 15:33:07 +0200

=A0Julian Becker <becker.julian@gmail.com> wrote:
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=3Dchapter]
which indeed got rid of the chapter number prefix.
Still, =A0the chapter numbering gets reset in each new part. How can I avoi= d
that?

Excuse me for sounding a bit grumpy, but please make
complete minimal examples.

I'll try to= keep that in mind, next time.

Julian
=A0
Which means they should be
compilable, see
ht= tp://www.minimalbeispiel.de/mini-en.html. Here is one
such example which does what you want (and this solution could also be foun= d in the list archive):

\definestructureresetset[default][0,0][1]

\setuphead[part][sectionresetset=3Ddefault]

\setuphead[part][placehead=3Dyes]

\setuphead[chapter][sectionsegments=3Dchapter,ownnumber=3Dyes]

\starttext

\startpart[title=3DFirst part]
\startchapter[title=3DChapter one]
\input tufte
\stopchapter
\startchapter[title=3DChapter two]
\input tufte
\stopchapter
\stoppart
\startpart[title=3DSecond part]
\startchapter[title=3DChapter three]
\input tufte
\stopchapter
\startchapter[title=3DChapter four]
\input tufte
\stopchapter
\stoppart
\stoptext


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
___________________________________________________________________________= ________



--
Julian Beck= er
Institut f=FCr Angewandte Physik, R.123
Westf=E4lische Wilhelms-Un= iversit=E4t M=FCnster
Corrensstr. 2/4
48149 M=FCnster / Westfalen
= Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligenc= e; for it is the wellspring of life."
--00504502d479ae1c2704a7764720-- --===============1293261401== 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 ___________________________________________________________________________________ --===============1293261401==--