From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Customising Table of Contents
Date: Mon, 17 Dec 2007 13:43:17 +0100 [thread overview]
Message-ID: <115224fb0712170443udc8d155u3b0ee839edb888e5@mail.gmail.com> (raw)
In-Reply-To: <20071217140216.GD23507@apcc21.net>
2007/12/17, Saji N. Hameed <saji@apcc21.net>:
> Dear All,
>
> Sorry this may be a trivial issue. The document I am preparing
> has two parts - a main one and appendices. In the table of
> contents (toc), I want to list chapter names
> and section names for the main part. However for the
> appendices, I want to list only the chapter names.
>
> I would appreciate any advice on how to achieve this.
>
> The toc should look like
>
> 1. Chapter 1
> 1.1 section 1
>
> 2. Chapter 2
> 2.1 section
> 2.2 section
>
> A. Appendix 1
> B. Appendix 2
> C. Appendix 3
>
>
> Thanks in advance,
> saji
>
> --
> Saji N. Hameed
\startsectionblockenvironment[appendix]
\setuplist[section][state=stop]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Test}
\section{Test}
\stopbodymatter
\startappendices
\chapter{Test}
\section{Test}
\stopappendices
\stoptext
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
___________________________________________________________________________________
prev parent reply other threads:[~2007-12-17 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 14:02 Saji N. Hameed
2007-12-17 12:43 ` Wolfgang Schuster [this message]
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=115224fb0712170443udc8d155u3b0ee839edb888e5@mail.gmail.com \
--to=schuster.wolfgang@googlemail.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).