From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12534 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: Table of Contents Date: Wed, 18 Jun 2003 12:25:27 -0600 Sender: ntg-context-admin@ntg.nl Message-ID: <3EF0AE96.430D28D1@lamar.colostate.edu> References: <200306181344.04671.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1055961259 24135 80.91.224.249 (18 Jun 2003 18:34:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2003 18:34:19 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Jun 18 20:34:17 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ShgN-0005u1-00 for ; Wed, 18 Jun 2003 20:29:19 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AB9FF10B43; Wed, 18 Jun 2003 20:29:20 +0200 (MEST) Original-Received: from mesa.acns.ColoState.EDU (mesa.acns.colostate.edu [129.82.100.130]) by ref.ntg.nl (Postfix) with ESMTP id 905A510B43 for ; Wed, 18 Jun 2003 20:25:29 +0200 (MEST) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by mesa.acns.ColoState.EDU (AIX4.3/8.9.3/8.9.3) with ESMTP id MAA21044 for ; Wed, 18 Jun 2003 12:25:27 -0600 Original-Received: from lamar.colostate.edu (ihamid.libarts.colostate.edu [129.82.187.166] (may be forged)) by lamar.colostate.edu (AIX5.1/8.11.0/8.8.8) with ESMTP id h5IIPRN360458 for ; Wed, 18 Jun 2003 12:25:27 -0600 X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: ishamid@colostate.edu List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12534 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12534 Hi John, John Culleton wrote: > I want to typeset a book with chapters and sections, but with no numbering, > either on the chapter heading itself or in the TOC. I do want both chapters > and sections in the TOC. I prefer the dotleader layout (alternative=c). I fought over this also for my journal. Here is what I came up with (including some extraneous, journal-specific stuff). Note that you can use and <subject> instead of <chapter> and <section>, since the former is generally unnumbered anyway: ========================== \setuphead[chapter][numberstyle=normal, style=\scb, alternative=middle, page=right, number=no, ownnumber=no, incrementnumber=yes, continue=no, header=high, text=high, footer=empty] \setuphead[section][numberstyle=normal, textstyle=\sc, continue=no, number=no, incrementnumber=no, placehead=yes, alternative=middle, before={\blank[big]}, after={\blank[medium]}] \setupcombinedlist[content][alternative=c] \starttext \noheaderandfooterlines \placecontent \chapter{First} \section{first} \chapter{Second} \section{second} \chapter{Third} \section{third} \stoptext ======================= You can look at some samples of what ConTeXt can to with a toc here: http://gsp-online.org/journals/journaldocs/shi/vol1no1.pdf Some more samples can be found from here: http://gsp-online.org/journals/shi.htm Best wishes Idris