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