You could try using \writebetweenlist hooked into \setuphead[chapter]? Something like (untested):

\setuphead[chapter][before={\writebetweenlist[figure][location=here]{\blank}}]

(Sorry, can't currently test this.)

Duncan

On Thu, 31 Mar 2022 at 06:31, Werner Schmidt via ntg-context <ntg-context@ntg.nl> wrote:
Hi,

How can I set up \placelistoffigures and \placelistoftables that figures and tables are grouped by chapter, i.e. separated by a blank line between chapters (see example below)?

Thanks in advance for your help!

Best Werner


(Default:)
Figures

1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2
2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3
2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3
3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4
3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4
3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4

(Wanted:)
Figures

1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2

2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3
2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3

3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4
3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4
3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4
___________________________________________________________________________________
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
___________________________________________________________________________________