[NTG-context] How to make \placelistoffigures separate figures by chapter

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Sep 19 16:00:13 CEST 2006


On Tue, 19 Sep 2006 14:41:24 +0200
Renaud AUBIN <aubin at nibua-r.org> wrote:

> Hi all,
> 
> Considering the following sample:
> 
> \starttext
> \placelistoffigures[alternative=c,criterium=all,interaction=all,partnumber=no]
> \useexternalfigure[testfig][cow][width=.5\textwidth]
> 
> \startbuffer
>   \placefigure[here]{test 1}{\externalfigure[testfig]}
>   \placefigure[here]{test 2}{\externalfigure[testfig]}
>   \placefigure[here]{test 3}{\externalfigure[testfig]}
> \stopbuffer
> 
> \dorecurse{3}{
>   \chapter{A Chapter}
>   \getbuffer
> }
> 
> \stoptext
> 
> I want to obtain:
> 
> 1.1 test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
> 1.2 test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
> 1.3 test 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
> 
> 2.1 test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
> 2.2 test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
> 2.3 test 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
> 
> 3.1 test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
> 3.2 test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
> 3.3 test 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
> 
> Any idea ?
> 
> 
> Renaud
> 

Can you send a PDF of your file, I have no problems with your example
an get the result you wanted.

ConTeXt  ver: 2006.08.08 21:51  fmt: 2006.9.5  int: english  mes: english
ConTeXt  ver: 2006.09.07 17:50 MK II  fmt: 2006.9.8  int: english/english

Which ConTeXt version do you use.

Wolfgang


More information about the ntg-context mailing list