ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mathieu Dupont <mathieudupont@hotmail.com>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Re: Include a list in a list, for example, a List of Figures in a Table of Content
Date: Mon, 6 Jun 2011 12:57:09 +0000	[thread overview]
Message-ID: <COL107-W39AB7C4151668B8C607659B2600@phx.gbl> (raw)
In-Reply-To: <7F4D7719-37EC-4BCC-89E2-9E479E5E9F05@googlemail.com>


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



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.wolfgang@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
___________________________________________________________________________________ 		 	   		  

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-06-06 12:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 17:10 Mathieu DUPONT
2011-06-03 20:55 ` Hans Hagen
2011-06-05 23:19   ` Mathieu Dupont
2011-06-06  5:21     ` Wolfgang Schuster
2011-06-06 12:57       ` Mathieu Dupont [this message]
2011-06-06 20:30         ` Wolfgang Schuster
2011-06-06 21:50           ` Mathieu Dupont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=COL107-W39AB7C4151668B8C607659B2600@phx.gbl \
    --to=mathieudupont@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).