* \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
* Re: \title in the table of contents 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 0 siblings, 1 reply; 3+ messages in thread From: Bill McClain @ 2004-05-21 12:11 UTC (permalink / raw) On Fri, 21 May 2004 13:07:26 +0000 Michal Kvasnicka <quasar@econ.muni.cz> wrote: > So, how can I have not-numbered chapters which don't increment the > chapter number placed in the table of contents? When I've had to do this I have used separate chapter lists. See the section "Table of contents with different sections" in: http://home.salamander.com/~wmcclain/context-help.html -Bill -- Sattre Press History of Astronomy http://sattre-press.com/ During the 19th Century info@sattre-press.com by Agnes M. Clerke http://sattre-press.com/han.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \title in the table of contents 2004-05-21 12:11 ` Bill McClain @ 2004-05-24 16:10 ` Michal Kvasnicka 0 siblings, 0 replies; 3+ messages in thread From: Michal Kvasnicka @ 2004-05-24 16:10 UTC (permalink / raw) Bill McClain wrote: >On Fri, 21 May 2004 13:07:26 +0000 >Michal Kvasnicka <quasar@econ.muni.cz> wrote: > > > >>So, how can I have not-numbered chapters which don't increment the >>chapter number placed in the table of contents? >> >> > >When I've had to do this I have used separate chapter lists. See the >section "Table of contents with different sections" in: > > http://home.salamander.com/~wmcclain/context-help.html > >-Bill > > Many thanks. This solves the problem. I would prefer a more general solution, but this is sufficient for the present time. I've also bookmarked your page -- it's nice. Many thanks to you once more. 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).