ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to make \placelistoffigures separate figures by chapter
@ 2006-09-19 12:41 Renaud AUBIN
  2006-09-19 14:00 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Renaud AUBIN @ 2006-09-19 12:41 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1648 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 2137 bytes --]

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: How to make \placelistoffigures separate figures by chapter
  2006-09-19 12:41 How to make \placelistoffigures separate figures by chapter Renaud AUBIN
@ 2006-09-19 14:00 ` Wolfgang Schuster
  2006-09-19 18:45   ` Renaud AUBIN
  2006-09-20  6:39   ` Renaud AUBIN
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2006-09-19 14:00 UTC (permalink / raw)


On Tue, 19 Sep 2006 14:41:24 +0200
Renaud AUBIN <aubin@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

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

* Re: How to make \placelistoffigures separate figures by chapter
  2006-09-19 14:00 ` Wolfgang Schuster
@ 2006-09-19 18:45   ` Renaud AUBIN
  2006-09-20  6:39   ` Renaud AUBIN
  1 sibling, 0 replies; 6+ messages in thread
From: Renaud AUBIN @ 2006-09-19 18:45 UTC (permalink / raw)


Wolfgang Schuster a écrit :

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

Hi Wolfgang,

See http://renojrl.lrv.uvsq.fr/lof.pdf

TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
TeXExec |
TeXExec | testing interface en
TeXExec | pdfeTeX Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
TeXExec | ConTeXt ver: 2006.09.11 14:37 MK II fmt: 2006.9.12 int:
english/english

Renaud

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

* Re: How to make \placelistoffigures separate figures by chapter
  2006-09-19 14:00 ` Wolfgang Schuster
  2006-09-19 18:45   ` Renaud AUBIN
@ 2006-09-20  6:39   ` Renaud AUBIN
  2006-09-20  9:33     ` Wolfgang Schuster
  1 sibling, 1 reply; 6+ messages in thread
From: Renaud AUBIN @ 2006-09-20  6:39 UTC (permalink / raw)



>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
>  
>
Did you noticed the blank line between 1.3/2.1 and 2.3/3.1 ?

Renaud

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

* Re: How to make \placelistoffigures separate figures by chapter
  2006-09-20  6:39   ` Renaud AUBIN
@ 2006-09-20  9:33     ` Wolfgang Schuster
  2006-09-20 18:08       ` Renaud AUBIN
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2006-09-20  9:33 UTC (permalink / raw)


On Wed, 20 Sep 2006 08:39:42 +0200
Renaud AUBIN <aubin@nibua-r.org> wrote:

> 
> >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
> >  
> >
> Did you noticed the blank line between 1.3/2.1 and 2.3/3.1 ?
> 
> Renaud

No, I didn't looked at the blank lines in your list of figures.

This works for me.

\starttext

\setuphead[chapter][after=\dowritebetweenlist{figure}{\blank[big]}] % the magic
\placelistoffigures[alternative=c,level=all,interaction=all,partnumber=no]
\setupexternalfigures[location={local,global,default}] % not everyone has global figuresearching enabled
\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}
  \placefigure[here]{test 1}{\externalfigure[testfig]}
  \placefigure[here]{test 2}{\externalfigure[testfig]}
  \placefigure[here]{test 3}{\externalfigure[testfig]}
}

\stoptext

Wolfgang

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

* Re: How to make \placelistoffigures separate figures by chapter
  2006-09-20  9:33     ` Wolfgang Schuster
@ 2006-09-20 18:08       ` Renaud AUBIN
  0 siblings, 0 replies; 6+ messages in thread
From: Renaud AUBIN @ 2006-09-20 18:08 UTC (permalink / raw)


Wolfgang Schuster a écrit :

>\setuphead[chapter][after=\dowritebetweenlist{figure}{\blank[big]}] % the magic
>  
>
Hi Wolfgang,

"the magic" is ... magic and do the trick...

Thank you very much... (I send my PhD dissertation tomorrow ;) )

Renaud

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

end of thread, other threads:[~2006-09-20 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-19 12:41 How to make \placelistoffigures separate figures by chapter Renaud AUBIN
2006-09-19 14:00 ` Wolfgang Schuster
2006-09-19 18:45   ` Renaud AUBIN
2006-09-20  6:39   ` Renaud AUBIN
2006-09-20  9:33     ` Wolfgang Schuster
2006-09-20 18:08       ` Renaud AUBIN

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).