How to make \placelistoffigures separate figures by chapter
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
On Tue, 19 Sep 2006 14:41:24 +0200
Renaud AUBIN
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
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
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
On Wed, 20 Sep 2006 08:39:42 +0200
Renaud AUBIN
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
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
participants (2)
-
Renaud AUBIN
-
Wolfgang Schuster