ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <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 07:21:16 +0200	[thread overview]
Message-ID: <7F4D7719-37EC-4BCC-89E2-9E479E5E9F05@googlemail.com> (raw)
In-Reply-To: <COL107-W312765884166E86E29E890B2610@phx.gbl>


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


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



[-- Attachment #1.2: Type: text/html, Size: 3000 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  5:21 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 [this message]
2011-06-06 12:57       ` Mathieu Dupont
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=7F4D7719-37EC-4BCC-89E2-9E479E5E9F05@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).