ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \title in the table of contents
@ 2004-05-21 13:07 Michal Kvasnicka
  2004-05-21 12:11 ` Bill McClain
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Kvasnicka @ 2004-05-21 13:07 UTC (permalink / raw)


Good evening.

I'm sorry to post one more rahter simple question, but I'm desperate 
because I can't solve it myself.

In my document I use numbered chapters (\chapter) and non-numbered 
chapters (\title). I want both to be in the table of content. How can I 
do it? I tried two solutions, but none worked.

First I tried:
    \definehead[title][chapter]
    \setuphead[title][number=no, command=\MyTitleCommand]
This puts the title to the table of content, but it increases the 
chapter number, so
    \title{Foreword}
    \title{Introduction}
    \chapter{First chapter}
makes that the First chapter has number 3.

Then I tried
    \definehead[title][chapter]
    \setuphead[title][number=no, incrementnumber=no, 
command=\MyTitleCommand]
which has the same effect as only
    \setuphead[title][number=no, command=\MyTitleCommand]
without the \definehead line -- titles are not placed into the table of 
contents.

So, how can I have not-numbered chapters which don't increment the 
chapter number placed in the table of contents?

Many thanks
M.K.

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

end of thread, other threads:[~2004-05-24 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-21 13:07 \title in the table of contents Michal Kvasnicka
2004-05-21 12:11 ` Bill McClain
2004-05-24 16:10   ` Michal Kvasnicka

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