ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: resetting footnote counter
Date: Wed, 8 Aug 2018 11:48:22 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.76.44.1808081137230.1116@ervasbepr.pvz.zptvyy.pn> (raw)
In-Reply-To: <C60FF945-8DF9-4F95-A3C0-CF2043396D3B@zydenbos.net>

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

On Wed, 8 Aug 2018, Robert Zydenbos wrote:

> A simple footnote question this time. I would like to print endnotes at 
> the end of every chapter in my book, and then reset the footnote counter 
> so that in the next chapter the first note will be ‘1’ again. I suppose 
> this should be done by means of \setupfootnotes – but with which 
> parameter?

\setupnotation[footnote][way=bychapter]

\starttext
\dorecurse{5}
{\startchapter[title=New Chapter]
   \dorecurse{5}{\input ward\footnote{A quote by ward}}
\stopchapter}
\stoptext

With regard to your other thread about documentation of footnotes, the way 
I understand it is that \setupnotation is used to configure how the actual 
footnote is displayed and setupnotation has similar options to 
\setupdescription. So, alternative=serried corresponds to a similar option 
for descriptions.

Note that the above is for MkIV. For MkII, I think that you need 
\setupfootnotes insted of \setupnotation[footnote].

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2018-08-08 15:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 13:33 Robert Zydenbos
2018-08-08 13:55 ` Taco Hoekwater
2018-08-08 14:54   ` Pablo Rodriguez
2018-08-08 15:03     ` Robert Zydenbos
2018-08-08 15:20       ` Wolfgang Schuster
2018-08-08 15:36       ` Pablo Rodriguez
2018-08-08 22:01         ` Robert Zydenbos
2018-08-09 12:49           ` Robert Zydenbos
2018-08-09 14:37             ` Aditya Mahajan
2018-08-09 15:18               ` Robert Zydenbos
2018-08-09 15:23             ` Wolfgang Schuster
2018-08-08 15:48 ` Aditya Mahajan [this message]
2018-08-08 15:59   ` Hans Hagen
2018-08-09 15:21 Robert Zydenbos
2018-08-09 15:48 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.76.44.1808081137230.1116@ervasbepr.pvz.zptvyy.pn \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).