ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lis of figures
@ 2007-06-27 18:56 Horacio Suarez
  2007-06-27 19:35 ` Črt Gorup
  0 siblings, 1 reply; 13+ messages in thread
From: Horacio Suarez @ 2007-06-27 18:56 UTC (permalink / raw)
  To: ntg-context

Hello all:

I have a book with 15 text chapters, after, a part with 24 pages for 
ilustrations with is own list of figures and then two more text chapters.

I have then a Table of contents at the beggining of the book and one list of 
figures almost in the end.

My list of figures is empty. I have only the head (Ilustraciones, in this 
case).

Is a structure related problem? or what? Is necesary some kind of definelist 
for the figures?

Help! i need somebodys help!!

Thankyou



--------------------
Horacio Suarez
Editotrial Antropofagia
www.eantropofagia.com.ar

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 18:56 lis of figures Horacio Suarez
@ 2007-06-27 19:35 ` Črt Gorup
  2007-06-27 22:05   ` Horacio Suarez
                     ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Črt Gorup @ 2007-06-27 19:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

i was playing with table of figures few days ago. My "solution" is
probably not the best one, but it works.

\definelist[figs]



\def\addFigure#1#2#3#4%

{

    \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}

    \writetolist[figs]{fig:#1}{#2}

}





\def\placeTOF%

{

    \title{Table of figures}

    \placelist[figs][alternative=command,command=\TOFCommand]

}



\def\TOFCommand#1#2#3%

{{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }

For each figure you want on list you have to use \addFigure instead of
\placefigure. Is there any shorter and better solution?

With best regards, Crt Gorup



On 6/27/07, Horacio Suarez <horaciosuarez@hotmail.com> wrote:
> Hello all:
>
> I have a book with 15 text chapters, after, a part with 24 pages for
> ilustrations with is own list of figures and then two more text chapters.
>
> I have then a Table of contents at the beggining of the book and one list of
> figures almost in the end.
>
> My list of figures is empty. I have only the head (Ilustraciones, in this
> case).
>
> Is a structure related problem? or what? Is necesary some kind of definelist
> for the figures?
>
> Help! i need somebodys help!!
>
> Thankyou
>
>
>
> --------------------
> Horacio Suarez
> Editotrial Antropofagia
> www.eantropofagia.com.ar
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 19:35 ` Črt Gorup
@ 2007-06-27 22:05   ` Horacio Suarez
  2007-06-27 22:12   ` Aditya Mahajan
  2007-06-28 10:04   ` Hans Hagen
  2 siblings, 0 replies; 13+ messages in thread
From: Horacio Suarez @ 2007-06-27 22:05 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 3195 bytes --]

thankyou very much.

--------------------
Horacio Suarez
Editotrial Antropofagia
www.eantropofagia.com.ar





>From: "Èrt Gorup" <crt.gorup@gmail.com>
>Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
>Subject: Re: [NTG-context] lis of figures
>Date: Wed, 27 Jun 2007 21:35:58 +0200
>
>Hi,
>
>i was playing with table of figures few days ago. My "solution" is
>probably not the best one, but it works.
>
>\definelist[figs]
>
>
>
>\def\addFigure#1#2#3#4%
>
>{
>
>     \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}
>
>     \writetolist[figs]{fig:#1}{#2}
>
>}
>
>
>
>
>
>\def\placeTOF%
>
>{
>
>     \title{Table of figures}
>
>     \placelist[figs][alternative=command,command=\TOFCommand]
>
>}
>
>
>
>\def\TOFCommand#1#2#3%
>
>{{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }
>
>For each figure you want on list you have to use \addFigure instead of
>\placefigure. Is there any shorter and better solution?
>
>With best regards, Crt Gorup
>
>
>
>On 6/27/07, Horacio Suarez <horaciosuarez@hotmail.com> wrote:
> > Hello all:
> >
> > I have a book with 15 text chapters, after, a part with 24 pages for
> > ilustrations with is own list of figures and then two more text 
>chapters.
> >
> > I have then a Table of contents at the beggining of the book and one 
>list of
> > figures almost in the end.
> >
> > My list of figures is empty. I have only the head (Ilustraciones, in 
>this
> > case).
> >
> > Is a structure related problem? or what? Is necesary some kind of 
>definelist
> > for the figures?
> >
> > Help! i need somebodys help!!
> >
> > Thankyou
> >
> >
> >
> > --------------------
> > Horacio Suarez
> > Editotrial Antropofagia
> > www.eantropofagia.com.ar
> >
> > _________________________________________________________________
> > Don't just search. Find. Check out the new MSN Search!
> > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> >
> > 
>___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry 
>to the Wiki!
> >
> > maillist : ntg-context@ntg.nl / 
>http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : https://foundry.supelec.fr/projects/contextrev/
> > wiki     : http://contextgarden.net
> > 
>___________________________________________________________________________________
> >
>___________________________________________________________________________________
>If your question is of interest to others as well, please add an entry to 
>the Wiki!
>
>maillist : ntg-context@ntg.nl / 
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>archive  : https://foundry.supelec.fr/projects/contextrev/
>wiki     : http://contextgarden.net
>___________________________________________________________________________________

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 19:35 ` Črt Gorup
  2007-06-27 22:05   ` Horacio Suarez
@ 2007-06-27 22:12   ` Aditya Mahajan
  2007-06-27 22:57     ` Horacio Suarez
  2007-06-28  7:28     ` Črt Gorup
  2007-06-28 10:04   ` Hans Hagen
  2 siblings, 2 replies; 13+ messages in thread
From: Aditya Mahajan @ 2007-06-27 22:12 UTC (permalink / raw)
  To: ntg-context

Quoting Crt Gorup <crt.gorup@gmail.com>:

> Hi,
>
> i was playing with table of figures few days ago. My "solution" is
> probably not the best one, but it works.
>
> \definelist[figs]
>
>
>
> \def\addFigure#1#2#3#4%
>
> {
>
>    \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}
>
>    \writetolist[figs]{fig:#1}{#2}
>
> }
>
>
>
>
>
> \def\placeTOF%
>
> {
>
>    \title{Table of figures}
>
>    \placelist[figs][alternative=command,command=\TOFCommand]
>
> }
>
>
>
> \def\TOFCommand#1#2#3%
>
> {{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }
>
> For each figure you want on list you have to use \addFigure instead of
> \placefigure. Is there any shorter and better solution?

What is wrong with \placelist[figure]? AFAIU, \placefigure does 
something equivalent to \writetolist[figure]{}{}. so you should be able 
to access the list of figures using \placelist[figure].

Does that not work for you? Can you post a minimal example?

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 22:12   ` Aditya Mahajan
@ 2007-06-27 22:57     ` Horacio Suarez
  2007-06-27 23:36       ` Aditya Mahajan
  2007-06-28  7:28     ` Črt Gorup
  1 sibling, 1 reply; 13+ messages in thread
From: Horacio Suarez @ 2007-06-27 22:57 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 2440 bytes --]

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.

Thankyou in advance.


--------------------
Horacio Suarez
Editotrial Antropofagia
www.eantropofagia.com.ar





>From: Aditya Mahajan <adityam@umich.edu>
>Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>To: ntg-context@ntg.nl
>Subject: Re: [NTG-context] lis of figures
>Date: Wed, 27 Jun 2007 18:12:52 -0400
>
>Quoting Crt Gorup <crt.gorup@gmail.com>:
>
> > Hi,
> >
> > i was playing with table of figures few days ago. My "solution" is
> > probably not the best one, but it works.
> >
> > \definelist[figs]
> >
> >
> >
> > \def\addFigure#1#2#3#4%
> >
> > {
> >
> >    \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}
> >
> >    \writetolist[figs]{fig:#1}{#2}
> >
> > }
> >
> >
> >
> >
> >
> > \def\placeTOF%
> >
> > {
> >
> >    \title{Table of figures}
> >
> >    \placelist[figs][alternative=command,command=\TOFCommand]
> >
> > }
> >
> >
> >
> > \def\TOFCommand#1#2#3%
> >
> > {{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }
> >
> > For each figure you want on list you have to use \addFigure instead of
> > \placefigure. Is there any shorter and better solution?
>
>What is wrong with \placelist[figure]? AFAIU, \placefigure does
>something equivalent to \writetolist[figure]{}{}. so you should be able
>to access the list of figures using \placelist[figure].
>
>Does that not work for you? Can you post a minimal example?
>
>Aditya
>___________________________________________________________________________________
>If your question is of interest to others as well, please add an entry to 
>the Wiki!
>
>maillist : ntg-context@ntg.nl / 
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>archive  : https://foundry.supelec.fr/projects/contextrev/
>wiki     : http://contextgarden.net
>___________________________________________________________________________________

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 22:57     ` Horacio Suarez
@ 2007-06-27 23:36       ` Aditya Mahajan
  2007-06-28  6:22         ` Wolfgang Schuster
  2007-06-28 10:11         ` Hans Hagen
  0 siblings, 2 replies; 13+ messages in thread
From: Aditya Mahajan @ 2007-06-27 23:36 UTC (permalink / raw)
  To: ntg-context

Quoting Horacio Suarez <horaciosuarez@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

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 23:36       ` Aditya Mahajan
@ 2007-06-28  6:22         ` Wolfgang Schuster
  2007-06-28 10:11         ` Hans Hagen
  1 sibling, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2007-06-28  6:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/6/28, Aditya Mahajan <adityam@umich.edu>:
> Quoting Horacio Suarez <horaciosuarez@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.

this is OK, placelist[xxx] or \listofxxx give you only the entries of the
corresponding list, you can place your own title with \chapter, section ...

\completelistofxxx is a combination of \chapter{title of list} and
\placelist[xxx]

> > 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]

\placelist[figure][criterium=all] works but give the complete list

the default value for criterium is value

Horacio want \placelist[figure][criterium=chapter] and this did not work

> \dorecurse{3}{
> % \section{ABC} % Uncomment this and everything works.
> Text \placefigure{test again}{}}
> \stoptext
>
> Aditya

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 22:12   ` Aditya Mahajan
  2007-06-27 22:57     ` Horacio Suarez
@ 2007-06-28  7:28     ` Črt Gorup
  2007-06-28  7:50       ` Wolfgang Schuster
  1 sibling, 1 reply; 13+ messages in thread
From: Črt Gorup @ 2007-06-28  7:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I didn't know that "figure" is default list for all figures. Now I can
remove some code because \placelist[figure] in my document works.
Thanks.


On 6/28/07, Aditya Mahajan <adityam@umich.edu> wrote:
> Quoting Crt Gorup <crt.gorup@gmail.com>:
>
> > Hi,
> >
> > i was playing with table of figures few days ago. My "solution" is
> > probably not the best one, but it works.
> >
> > \definelist[figs]
> >
> >
> >
> > \def\addFigure#1#2#3#4%
> >
> > {
> >
> >    \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}
> >
> >    \writetolist[figs]{fig:#1}{#2}
> >
> > }
> >
> >
> >
> >
> >
> > \def\placeTOF%
> >
> > {
> >
> >    \title{Table of figures}
> >
> >    \placelist[figs][alternative=command,command=\TOFCommand]
> >
> > }
> >
> >
> >
> > \def\TOFCommand#1#2#3%
> >
> > {{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }
> >
> > For each figure you want on list you have to use \addFigure instead of
> > \placefigure. Is there any shorter and better solution?
>
> What is wrong with \placelist[figure]? AFAIU, \placefigure does
> something equivalent to \writetolist[figure]{}{}. so you should be able
> to access the list of figures using \placelist[figure].
>
> Does that not work for you? Can you post a minimal example?
>
> Aditya
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-28  7:28     ` Črt Gorup
@ 2007-06-28  7:50       ` Wolfgang Schuster
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2007-06-28  7:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/6/28, Črt Gorup <crt.gorup@gmail.com>:
> I didn't know that "figure" is default list for all figures. Now I can
> remove some code because \placelist[figure] in my document works.
> Thanks.

you can use \placelistoffigures and \completelistoffigures instead
of \placelist[figure] and \chapter{Figures} \placelist[figure]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 19:35 ` Črt Gorup
  2007-06-27 22:05   ` Horacio Suarez
  2007-06-27 22:12   ` Aditya Mahajan
@ 2007-06-28 10:04   ` Hans Hagen
  2 siblings, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2007-06-28 10:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Črt Gorup wrote:
> Hi,
> 
> i was playing with table of figures few days ago. My "solution" is
> probably not the best one, but it works.
> 

it's rather trivial to add a list=no feature to float definitions so 
that one can say

\definefloat[lfigure][lfigures][figure]

\setupfloat[figure] [list=no]
\setupfloat[lfigure][list=yes]

and use \placelfigure alongside \placefigure

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-27 23:36       ` Aditya Mahajan
  2007-06-28  6:22         ` Wolfgang Schuster
@ 2007-06-28 10:11         ` Hans Hagen
  2007-06-28 11:16           ` Wolfgang Schuster
  1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2007-06-28 10:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Quoting Horacio Suarez <horaciosuarez@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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-28 10:11         ` Hans Hagen
@ 2007-06-28 11:16           ` Wolfgang Schuster
  2007-06-28 13:35             ` Aditya Mahajan
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2007-06-28 11:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/6/28, Hans Hagen <pragma@wxs.nl>:
> Aditya Mahajan wrote:
> > Quoting Horacio Suarez <horaciosuarez@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: lis of figures
  2007-06-28 11:16           ` Wolfgang Schuster
@ 2007-06-28 13:35             ` Aditya Mahajan
  0 siblings, 0 replies; 13+ messages in thread
From: Aditya Mahajan @ 2007-06-28 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 28 Jun 2007, Wolfgang Schuster wrote:
> 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

Yes. I thought that the OP wanted a list of figures for the current 
chapter only. Usually, criterium=local does that job, but with 
figures, criterium=local only works if there is a section in the 
chapter. With criterium=previous, you get the entire list of figures. 
So, how do you get just the list of figures in the current chapter, if 
the chapter does not have any section?

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-06-28 13:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-27 18:56 lis of figures Horacio Suarez
2007-06-27 19:35 ` Črt Gorup
2007-06-27 22:05   ` Horacio Suarez
2007-06-27 22:12   ` Aditya Mahajan
2007-06-27 22:57     ` Horacio Suarez
2007-06-27 23:36       ` Aditya Mahajan
2007-06-28  6:22         ` Wolfgang Schuster
2007-06-28 10:11         ` Hans Hagen
2007-06-28 11:16           ` Wolfgang Schuster
2007-06-28 13:35             ` Aditya Mahajan
2007-06-28  7:28     ` Črt Gorup
2007-06-28  7:50       ` Wolfgang Schuster
2007-06-28 10:04   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).