![](https://secure.gravatar.com/avatar/d963aa4f8dbd7b3b1ebb578af020b641.jpg?s=120&d=mm&r=g)
On 26 Aug 2012, at 11:29, Wolfgang Schuster
Am 26.08.2012 um 10:33 schrieb Robert Blackstone
: What can I do to give me back the numbering of the floats per chapter? Or, if it is a bug in the recent Minimals, can the numbering per chapter be restored somehow?
Setting the way how you want to be numbered resets only the figure counter, to show the chapter number you have to enable prefixes.
\setupcaption[figure][way=bychapter,prefix=yes]
\starttext
\completelistoffigures
\dorecurse{2} {\chapter{Chapter #1} \dorecurse{5} {\dorecurse{4}{\input knuth\par} \placefigure{Caption}{\externalfigure[dummy]} \dorecurse{4}{\input knuth\par}}}
\stoptext
Wolfgang
Thank you, Wolfgang. Your advice solves one problem but adds another: now the section numbers are included as well. How do I get rid of these? See example: \setupcaption[figure][way=bychapter,prefix=yes] \starttext \completelistoffigures \dorecurse{2} {\chapter{Chapter #1} \input knuth\par \dorecurse{2} {\section{Section #1} \input knuth\par \placefigure{Caption}{\externalfigure[dummy]} \input knuth\par}} \stoptext (I'm sorry for the error in the nested \dorecurse with the section titles but the problem will be clear.) Thanks in advance. Kind regards, Robert