ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Derek CORDEIRO <derekcordeiro@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Contents label before contents
Date: Mon, 24 Aug 2009 00:12:05 +0530	[thread overview]
Message-ID: <33c64e670908231142wbd070cbu993eddff89394744@mail.gmail.com> (raw)
In-Reply-To: <4A918BB5.8000500@gmail.com>


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

On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Yatskovsky <
yatskovsky@gmail.com> wrote:

> Hello
>
> I want to place contents in the beginning of the document with "Contents"
> label above it. If I do like
>
> \placecontent
>
> \section{Sec1}
>
> \section{Sec2}
> ...
>
> it's ok, but
>
> \section{Contents}
>
> \placecontent
>
> \section{Sec1}
>
> \section{Sec2}
> ...
>

Why not use the first option and use \completecontent instead of
\placecontent? It will give you the Contents heading you want. So try:

\completecontent

\section{Sec1}

\section{Sec2}
...

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

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

  reply	other threads:[~2009-08-23 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1251021604.3226.ntg-context@ntg.nl>
2009-08-23 18:34 ` Vyatcheslav Yatskovsky
2009-08-23 18:42   ` Derek CORDEIRO [this message]
2009-08-23 18:51     ` Wolfgang Schuster

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=33c64e670908231142wbd070cbu993eddff89394744@mail.gmail.com \
    --to=derekcordeiro@gmail.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).