From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61213 Path: news.gmane.org!not-for-mail From: Horacio Suarez Newsgroups: gmane.comp.tex.context Subject: footnote numbering reset bychapter Date: Wed, 25 Aug 2010 15:30:54 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0567881500==" X-Trace: dough.gmane.org 1282750271 4571 80.91.229.12 (25 Aug 2010 15:31:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2010 15:31:11 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 25 17:31:06 2010 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 1OoHwQ-0005QI-QG for gctc-ntg-context-518@m.gmane.org; Wed, 25 Aug 2010 17:31:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0ED2BCA628; Wed, 25 Aug 2010 17:31:05 +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 nNChvLcsN43p; Wed, 25 Aug 2010 17:31:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 606FFCA62A; Wed, 25 Aug 2010 17:31:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70279CA62A for ; Wed, 25 Aug 2010 17:31:01 +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 q1cp8g9wlMaf for ; Wed, 25 Aug 2010 17:30:56 +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 900BBCA628 for ; Wed, 25 Aug 2010 17:30:56 +0200 (CEST) Original-Received: from snt0-omc2-s5.snt0.hotmail.com (snt0-omc2-s5.snt0.hotmail.com [65.55.90.80]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7PFUt0C007188 for ; Wed, 25 Aug 2010 17:30:55 +0200 Original-Received: from SNT114-W45 ([65.55.90.72]) by snt0-omc2-s5.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Aug 2010 08:30:54 -0700 X-Originating-IP: [190.18.99.126] Importance: Normal X-OriginalArrivalTime: 25 Aug 2010 15:30:54.0516 (UTC) FILETIME=[81CDC740:01CB446A] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.90.80; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06CWDuTVG - 1dec80043702 - 20100825 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:61213 Archived-At: --===============0567881500== Content-Type: multipart/alternative; boundary="_3ecfdef2-637c-463a-9d91-c43d0768c98e_" --_3ecfdef2-637c-463a-9d91-c43d0768c98e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello all in the sample bellow=2C when a \part have only one \chapter inside=2C the f= ootnote number does not reset properly=2C but if there is more than one cha= pter in a part=2C it resets fine. thankyou %%%%%%%%%%%%% \starttext \setuphead[chapter][number=3Dno=2Cpage=3Dno]\setuphead[part][placehead=3Dye= s=2Cnumber=3Dno=2Cpage=3Dno]\setupfootnotes[way=3Dbychapter] \part Part I \chapter Chapter 1 Text Chapter 1\footnote{footnote 1 chapter 2} \part Part II \chapter Chapter 2 Texto chapter 2\footnote{Footnote 1 chapter 2. This footnote should be 1!!} \chapter Chapter 3 Texto chapter 3\footnote{footnote 1 chapter 3} \part Part III \chapter Chapter 4 Texto chapter 4\footnote{footnote 1 chapter 4} \part Part IV \chapter Chapter 5 Text chapter 5\footnote{footnote 1 chapter 5. This footnote shlould be 1 to= o.} \stoptext %%%%%%%%%%%%%%%%% -------------------- Horacio Suarez = --_3ecfdef2-637c-463a-9d91-c43d0768c98e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello all

in the sample bellow=2C when a \part have only= one \chapter inside=2C the footnote number does not reset properly=2C but = if there is more than one chapter in a part=2C it resets fine.
thankyou

%%%%%%%%%%%%%

=
\starttext

\setuphead[chapter][num= ber=3Dno=2Cpage=3Dno]
\setuphead[part][placehead=3Dyes=2Cnumber= =3Dno=2Cpage=3Dno]
\setupfootnotes[way=3Dbychapter]

\part Part I

\chapter C= hapter 1

Text Chapter 1\footnote{footnote 1 chapte= r 2}

\part Part II

\chapt= er Chapter 2

Texto chapter 2\footnote{Footnote 1 c= hapter 2. This footnote should be 1!!}

\chapter Ch= apter 3

Texto chapter 3\footnote{footnote 1 chapte= r 3}

\part Part III

\chap= ter Chapter 4

Texto chapter 4\footnote{footnote 1 = chapter 4}

\part Part IV

= \chapter Chapter 5

Text chapter 5\footnote{footnot= e 1 chapter 5. This footnote shlould be 1 too.}

\s= toptext

%%%%%%%%%%%%%%%%%


=
--------------------
Horacio Suarez


= = --_3ecfdef2-637c-463a-9d91-c43d0768c98e_-- --===============0567881500== 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 ___________________________________________________________________________________ --===============0567881500==--