Thanks a lot it works!
I just had to add \noindent because for some strange reason the chapter title
was indented after adding the \writebetweenlist hook to \setuphead.
before={
\noindent
\writebetweenlist [figure] [location=here] {\blank}
\writebetweenlist [table] [location=here] {\blank}
}
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 <
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 . . . . .