On Thu, 9 Aug 2018, Robert Zydenbos wrote:

I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter [footnote] [0]’ (also suggested on that web page) is rejected as an error.

Can you post a minimal example. Because the following works in MKII (counter reset at each chapter)

\setupfootnotes[way=bychapter]

\starttext
\dorecurse{5}
{\chapter{New Chapter}
  \dorecurse{5}{\input ward\footnote{A quote by ward}}}
\stoptext

The following also works with the counter reset at each section:

\setupfootnotes[way=bysection]

\starttext
\dorecurse{5}
{\section{New Chapter}
  \dorecurse{5}{\input ward\footnote{A quote by ward}}}
\stoptext


and the following works with the footnote reset at each page:

\setupfootnotes[way=bypage]

\starttext
\dorecurse{5}
{\section{New Chapter}
  \dorecurse{5}{\input ward\footnote{A quote by ward}}}
\stoptext

All examples were run using:

ConTeXt  ver: 2018.04.04 00:51 MKII  fmt: 2018.7.3  int: english/english

and the documents were compiled using

texexec --xetex filename

Aditya
___________________________________________________________________________________
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 via email to