ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Contents label before contents
       [not found] <mailman.3.1251021604.3226.ntg-context@ntg.nl>
@ 2009-08-23 18:34 ` Vyatcheslav Yatskovsky
  2009-08-23 18:42   ` Derek CORDEIRO
  0 siblings, 1 reply; 3+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-08-23 18:34 UTC (permalink / raw)
  To: ntg-context

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}
...

does not work (no content table is placed at all).
Could someone please advise me what to do.

Regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Contents label before contents
  2009-08-23 18:34 ` Contents label before contents Vyatcheslav Yatskovsky
@ 2009-08-23 18:42   ` Derek CORDEIRO
  2009-08-23 18:51     ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Derek CORDEIRO @ 2009-08-23 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Contents label before contents
  2009-08-23 18:42   ` Derek CORDEIRO
@ 2009-08-23 18:51     ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2009-08-23 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.08.2009 um 20:42 schrieb Derek CORDEIRO:

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

The \complete... commands use \title for the header while he wants  
\section
as first level heading, he should try 'criterium=all'.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-23 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1251021604.3226.ntg-context@ntg.nl>
2009-08-23 18:34 ` Contents label before contents Vyatcheslav Yatskovsky
2009-08-23 18:42   ` Derek CORDEIRO
2009-08-23 18:51     ` Wolfgang Schuster

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).