[NTG-context] lis of figures

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Jun 28 13:16:30 CEST 2007


2007/6/28, Hans Hagen <pragma at wxs.nl>:
> Aditya Mahajan wrote:
> > Quoting Horacio Suarez <horaciosuarez at hotmail.com>:
> >
> >> Hello:
> >>
> >> I have a book with 18 chapter. in one of them, the 16th, I need a
> >> local list of figures, I mean figures in that chapter only.
> >>
> >> But if I type:
> >>
> >> \completelistoffigures[alternative=c]
> >>
> >> I only get the head, "Ilustraciones" but empty. And
> >>
> >> \placelist[figure]
> >>
> >> Is also empty but without head.
> >>
> >> I´ve allready made list I need almost by hand, but anyway I want to
> >> know how to do it.
> >
> > Hmm... Ok, I think that I finally nailed it down. Hans, this looks like a bug.
> >
> > \starttext
> > \chapter {Test}
> > \placelist[figure]
> > \dorecurse{3}{
> > % \section{ABC} % Uncomment this and everything works.
> > Text \placefigure{test again}{}}
> > \stoptext
>
> has to do with the defaults ...
>
> \starttext
> \chapter {Test}
> \placelist[figure][criterium=previous]
> \dorecurse{3}{
> % \section{ABC} % Uncomment this and everything works.
> Text \placefigure{test again}{}}
> \stoptext

this give always the complete figure list

\starttext
\dorecurse
  {2}
  {\chapter {Test}
   \placelist[figure][criterium=previous]
   \dorecurse
     {3}
     {%\section{ABC} % Uncomment this and everything works.
      Text \placefigure{test again}{}}}
\stoptext

Wolfgang


More information about the ntg-context mailing list