From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: \title in the table of contents
Date: Fri, 21 May 2004 13:07:26 +0000 [thread overview]
Message-ID: <40ADFF0E.8090107@econ.muni.cz> (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.
next reply other threads:[~2004-05-21 13:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 13:07 Michal Kvasnicka [this message]
2004-05-21 12:11 ` Bill McClain
2004-05-24 16:10 ` Michal Kvasnicka
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=40ADFF0E.8090107@econ.muni.cz \
--to=quasar@econ.muni.cz \
--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).