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/
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
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 ___________________________________________________________________________________
thankyou very much. -------------------- Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar
From: "Èrt Gorup"
Reply-To: mailing list for ConTeXt users To: "mailing list for ConTeXt users" 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
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
figures almost in the end.
My list of figures is empty. I have only the head (Ilustraciones, in
On 6/27/07, Horacio Suarez
wrote: list of 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/
Quoting Crt Gorup
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
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
Reply-To: mailing list for ConTeXt users To: ntg-context@ntg.nl Subject: Re: [NTG-context] lis of figures Date: Wed, 27 Jun 2007 18:12:52 -0400 Quoting Crt Gorup
: 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/
Quoting Horacio Suarez
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
2007/6/28, Aditya Mahajan
Quoting Horacio Suarez
: 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
Aditya Mahajan wrote:
Quoting Horacio Suarez
: 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 -----------------------------------------------------------------
2007/6/28, Hans Hagen
Aditya Mahajan wrote:
Quoting Horacio Suarez
: 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
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
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
Quoting Crt Gorup
: 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 ___________________________________________________________________________________
2007/6/28, Črt Gorup
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
Č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 -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Horacio Suarez
-
Wolfgang Schuster
-
Črt Gorup