ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Reset footnote numbering by chapter?
Date: Wed, 3 Jun 2009 16:48:50 +0300	[thread overview]
Message-ID: <20090603134850.GA24299@khaled-laptop> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]

What is the "official" way to reset footnote numbering by chapter?
\setupnote[footnote][way=bychapter] has no effect, searching the mailing
list I found \setupnumber[footnote][way=bychapter] which works only with
MkIV, so is there a MkII equivalent (I don't use MkII myself, but just
to document it in the wiki).

\setupnumber[footnote][way=bychapter] works fine except when I use
frontmatter environment, after removing the start/stopfrontmatter from
this example, footnotes will reset by chapter, or if I put
\setupnumber[footnote][way=bychapter] inside one of the chapters.

\starttext
\setupnumber[footnote][way=bychapter]

\startfrontmatter
\chapter{One}
\input knuth\footnote{chapter one}

\chapter{Two}
\input knuth\footnote{chapter two}
\stopfrontmatter
\stoptext

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2009-06-03 13:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090603134850.GA24299@khaled-laptop \
    --to=khaledhosny@eglug.org \
    --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).