ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnotes by chapter
Date: Sun, 24 Feb 2013 14:48:28 +0100	[thread overview]
Message-ID: <886E01B2-C88B-4A50-BA31-F8ED54DB1868@gmail.com> (raw)
In-Reply-To: <174E9508-24B4-40EF-84AC-F6CC5C5BA313@uva.nl>


Am 24.02.2013 um 12:17 schrieb "Meer, H. van der" <H.vanderMeer@uva.nl>:

> I would like to have my footnotes typeset by chapter, using the following input:
> 
> \startbuffer
> This is some text\footnote{First footnote}.
> Followed by more and more text having a footnote\footnote{Second footnote}.
> Again some text. Again some text. Again some text. Again some text.
> \stopbuffer
> \setupfootnotes[location=text,way=bychapter]
> \starttext
> \chapter{Chapter One}\getbuffer\placefootnotes
> \chapter{Chapter Two}\getbuffer\placefootnotes
> \chapter{Chapter Three}\getbuffer\placefootnotes
> \stoptext
> 
> Note the setup parameter "way=bychapter" but the numbering is not restarted with the chapter! Instead they go on and on. See the example output.
> 
> How to restart the footnote numbering per chapter if that way= parameter doesn't do it?

Use \setupnotation[footnote][way=bychapter].

When you use \startchapter … \stopchapter you can flush the footnotes at the end
of each chapter with \setuphead[chapter][aftersection={\placenotes[footnote]}].

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2013-02-24 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-24 11:17 Meer, H. van der
2013-02-24 13:48 ` Wolfgang Schuster [this message]

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=886E01B2-C88B-4A50-BA31-F8ED54DB1868@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).