[NTG-context] lis of figures

Hans Hagen pragma at wxs.nl
Thu Jun 28 12:11:17 CEST 2007


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



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list