Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont


No, not at all.I'm sorry, I realize I wasn't clear at all.
What I want is simply the List of Figures to figure in my Table of Content, to 
be listed in it, just such as a chapter or a section.So my TOC would look like 
this :
TABLE OF CONTENTList of Figures . page 1Chapter 1 ... page 
2Chapter 2 ... page 3



Mathieu



From: schuster.wolfg...@googlemail.com
Date: Mon, 6 Jun 2011 07:21:16 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Include a list in a list, for example,   a List 
of Figures in a Table of Content




Am 06.06.2011 um 01:19 schrieb Mathieu Dupont:Yes, I would like to obtain 
:(page 1)Table of ContentList of Figures1 Chapter(page 2)List of Figures1.1 
Cow.I could use, instead of \completeLOF, something like :\chapter{List of 
Figures}\placeLOFbut then I would have to adjust many other things and it 
becomes very messy.
You want this?
\setuplist[chapter][after={\placelist[figure]}]
\setuplist[figure][label=figure,width=6em]
\starttext
\completecontent
\chapter{One}
\placefigure{Two}{2}
\section{Three}
\placefigure{Four}{4}
\chapter{Five}
\placefigure{Six}{6}
\section{Seven}
\placefigure{Eight}{8}
\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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Wolfgang Schuster

Am 06.06.2011 um 14:57 schrieb Mathieu Dupont:

 
 No, not at all.
 I'm sorry, I realize I wasn't clear at all.
 
 What I want is simply the List of Figures to figure in my Table of Content, 
 to be listed in it, just such as a chapter or a section.
 So my TOC would look like this :
 
 TABLE OF CONTENT
 List of Figures . page 1
 Chapter 1 ... page 2
 Chapter 2 ... page 3

\definehead[topic][chapter]
\setuphead [topic][number=no]

\starttext

\title{Table of Content}

\placelist[chapter,topic,section]

\topic{List of Figures}

\placelist[figure][criterium=all]

\chapter{One}

\placefigure{Two}{2}

\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont


Great, thank you !
That works just perfect.


Mathieu



From: schuster.wolfg...@googlemail.com
Date: Mon, 6 Jun 2011 22:30:47 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Include a list in a list, for example,   a List 
of Figures in a Table of Content




Am 06.06.2011 um 14:57 schrieb Mathieu Dupont:No, not at all.I'm sorry, I 
realize I wasn't clear at all.
What I want is simply the List of Figures to figure in my Table of Content, to 
be listed in it, just such as a chapter or a section.So my TOC would look like 
this :
TABLE OF CONTENTList of Figures . page 1Chapter 1 ... page 
2Chapter 2 ... page 3

\definehead[topic][chapter]\setuphead [topic][number=no]
\starttext
\title{Table of Content}
\placelist[chapter,topic,section]
\topic{List of Figures}
\placelist[figure][criterium=all]
\chapter{One}
\placefigure{Two}{2}
\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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-05 Thread Mathieu Dupont


Yes, I would like to obtain :(page 1)Table of ContentList of Figures1 
Chapter(page 2)List of Figures1.1 Cow.I could use, instead of \completeLOF, 
something like :\chapter{List of Figures}\placeLOFbut then I would have to 
adjust many other things and it becomes very messy.



Mathieu



 Date: Fri, 3 Jun 2011 22:55:28 +0200
 From: pra...@wxs.nl
 To: ntg-context@ntg.nl
 CC: mathieudup...@hotmail.com
 Subject: Re: [NTG-context] Include a list in a list, for example, a List of 
 Figures in a Table of Content
 
 On 3-6-2011 7:10, Mathieu DUPONT wrote:
 
 
  Hi,
  How can one include a list into another list ?The \definecombinedlist 
  command doesn't work.I tried to find other ways but didn't find anything 
  that worked.
  Thanks for help !
 
  \definecombinedlist[TOC][chapter,LOF]\definecombinedlist[LOF][figure]
  \setupheadtext[TOC=Table of Content]\setupheadtext[LOF=List of Figures]
  \starttext
  \completeTOC\completeLOF
  \chapter{Chapter}\placefigure{Cow.}{\externalfigure[cow]}
  \stoptext
 
 What do you expect? Can you give some ascii art example?
 
 Hans
 
 -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-05 Thread Wolfgang Schuster

Am 06.06.2011 um 01:19 schrieb Mathieu Dupont:

 
 Yes, I would like to obtain :
 
 (page 1)
 Table of Content
 List of Figures
 1 Chapter
 
 (page 2)
 List of Figures
 1.1 Cow.
 
 
 I could use, instead of \completeLOF, something like :
 
 \chapter{List of Figures}
 \placeLOF
 
 but then I would have to adjust many other things and it becomes very messy.

You want this?

\setuplist[chapter][after={\placelist[figure]}]

\setuplist[figure][label=figure,width=6em]

\starttext

\completecontent

\chapter{One}

\placefigure{Two}{2}

\section{Three}

\placefigure{Four}{4}

\chapter{Five}

\placefigure{Six}{6}

\section{Seven}

\placefigure{Eight}{8}

\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-03 Thread Hans Hagen

On 3-6-2011 7:10, Mathieu DUPONT wrote:



Hi,
How can one include a list into another list ?The \definecombinedlist command 
doesn't work.I tried to find other ways but didn't find anything that worked.
Thanks for help !

\definecombinedlist[TOC][chapter,LOF]\definecombinedlist[LOF][figure]
\setupheadtext[TOC=Table of Content]\setupheadtext[LOF=List of Figures]
\starttext
\completeTOC\completeLOF
\chapter{Chapter}\placefigure{Cow.}{\externalfigure[cow]}
\stoptext


What do you expect? Can you give some ascii art example?

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___