From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88933 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: resetting footnotes number Date: Tue, 14 Oct 2014 10:41:58 +0200 Message-ID: References: <452332C0-0557-4BD1-B760-93045B8DB921@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1603415247==" X-Trace: ger.gmane.org 1413276157 19261 80.91.229.3 (14 Oct 2014 08:42:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2014 08:42:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 14 10:42:31 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xdxgd-0005pd-Ng for gctc-ntg-context-518@m.gmane.org; Tue, 14 Oct 2014 10:42:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D55E10248 for ; Tue, 14 Oct 2014 10:42:31 +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 9M_gIZy12ExL for ; Tue, 14 Oct 2014 10:42:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D63B91024C for ; Tue, 14 Oct 2014 10:42:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3B6A10207 for ; Tue, 14 Oct 2014 10:42:03 +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 ap_NPsXKm-ri for ; Tue, 14 Oct 2014 10:42:03 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id F3C96101EC for ; Tue, 14 Oct 2014 10:42:02 +0200 (CEST) Original-Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s9E8g1nv010107 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 14 Oct 2014 10:42:01 +0200 Original-Received: by mail-wi0-f174.google.com with SMTP id h11so5959864wiw.1 for ; Tue, 14 Oct 2014 01:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=jfn7AeS3WZ2v8NkuwPF0U8bIBimf7WP18ns+qS4gWcQ=; b=PxBwBYHaydqOj/PuC/vb2KSE1+0rBxEvwt6cjx/EYbMcLtOMm7iW1qud0/XJ4YFa5C +Ea8khzXgmAd+ThbmaJZZvy6sNURPDs4R2aJaaa4OVk8ZTpZlbLN2sFYub+X2sDUQiea 8CzCMSoPFEY/CWvqzDZTj6z4q+sV40hfl1rjKA5CtaFr5tjRebH4LbsPsT2qhG/iAiYs QAi/V6ET3psFmhaXIJ569GVVmkTVvR/ZMK8OlgVvvbW2qOhDyA31Bz5qmTa8EIm3YX3S bU9ClwWqaJOY1yaIQM5bLDacEjjKJLjI2E7qhvTsRDMVrkjnS1IpZ9mtqCnvP0B1ZesZ dT5w== X-Received: by 10.194.60.11 with SMTP id d11mr1061058wjr.109.1413276120967; Tue, 14 Oct 2014 01:42:00 -0700 (PDT) Original-Received: from keima.localdomain (x2f25e5c.dyn.telefonica.de. [2.242.94.92]) by mx.google.com with ESMTPSA id bi7sm14882209wib.17.2014.10.14.01.41.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 01:42:00 -0700 (PDT) In-Reply-To: <452332C0-0557-4BD1-B760-93045B8DB921@di.unito.it> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03N2UG1ix - 9ec8c93f0311 - 20141014 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:88933 Archived-At: --===============1603415247== Content-Type: multipart/alternative; boundary="Apple-Mail=_EF8C1A58-DA44-4112-B381-368621B5A1A1" --Apple-Mail=_EF8C1A58-DA44-4112-B381-368621B5A1A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 14.10.2014 um 10:13 schrieb Andrea Valle : > Dear list,=20 >=20 > As I have a book with many chapters, I=92d like to reset footnote = numbering at each chapter.=20 > How can I achieve this? > I=92m looking here: > http://wiki.contextgarden.net/Footnotes >=20 > but can=92t find a solution >=20 > I looked also at \setupfootnotes but it says:=20 >=20 > way bytext bysection > Start numbering from 1 again at the start of every section?=20 >=20 > BTW on mkiv, so I guess I should use \setupnotation Yes, you have to use the \setupnotation command to set every counter = related setting for footnotes. \setupnotation[footnote][way=3Dbychapter] \starttext \dorecurse{10} {\chapter{Chapter #1} \dorecurse{10}{\input knuth\footnote{\input ward }}} \stoptext Wolfgang --Apple-Mail=_EF8C1A58-DA44-4112-B381-368621B5A1A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 14.10.2014 um 10:13 schrieb Andrea = Valle <valle@di.unito.it>:

Dear = list, 

As I have a book with many chapters, I=92d = like to reset footnote numbering at each chapter. 
How = can I achieve this?
I=92m looking here:

but can=92t find a = solution

I looked also at  \setupfootnotes = but it says: 

way = bytext bysection
Start numbering from 1 again at the = start of every section? 

BTW on mkiv, so I = guess I should use = \setupnotation

Yes, you have to = use the \setupnotation command to set every counter related setting for = footnotes.

\setupnotation[footnote][way=3Dby= chapter]

\starttext

\dor= ecurse{10}
  {\chapter{Chapter #1}
  =  \dorecurse{10}{\input knuth\footnote{\input ward = }}}

\stoptext

Wolfgang

= --Apple-Mail=_EF8C1A58-DA44-4112-B381-368621B5A1A1-- --===============1603415247== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1603415247==--