ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Zydenbos <context@zydenbos.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: resetting footnote counter
Date: Thu, 9 Aug 2018 00:01:31 +0200	[thread overview]
Message-ID: <C11A9EA9-9414-4846-8EDD-D9F7F71ADF22@zydenbos.net> (raw)
In-Reply-To: <74588fe5-0f4e-4293-1226-9b3442a05226@gmx.es>

Pablo's example works well on my machine. So there must be a disturbance at a different level in my complex text – perhaps in my settings:

\setupnotedefinition [footnote] [location=serried, distance=1em, hang=1em]

or

\setupfootnotes[bodyfont={Mainfont,8pt}, width=\textwidth, frameoffset=1em, location=none, way=bychapter]

which in all other respects work fine? ('Mainfont' is my own definition, from a typescript; I also added 'way=bychapter', to no effect.) The only thing that does not happen is the resetting of the note counter.

If I had a command that simply says "the counter named X (=footnote counter) is now 0 again", which I could insert at the beginning of every chapter, the problem would be solved. (Not so elegant, but it would be a solution.)

Robert

> On 8. Aug 2018, at 17:36, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> On 08/08/2018 05:03 PM, Robert Zydenbos wrote:
>> Sorry, neither of these work (MkII with XeTeX). I get no error
>> messages with Pablo's suggestion, but not the desired result either.
> 
> Weird, this works for me (with and without XeTeX):
> 
>    \setuppapersize[A8]
>    \setupnote[footnote][way=bychapter]
>    \starttext
>    \chapter{Chapter}
>    \dorecurse{2}{Text\footnote{Footnote.}}
>    \chapter{Chapter}
>    \dorecurse{2}{Text\footnote{Footnote.}}
>    \stoptext
> 
> Pablo


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

  reply	other threads:[~2018-08-08 22:01 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 [this message]
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
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=C11A9EA9-9414-4846-8EDD-D9F7F71ADF22@zydenbos.net \
    --to=context@zydenbos.net \
    --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).