From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85965 Path: news.gmane.org!not-for-mail From: Zhichu Chen Newsgroups: gmane.comp.tex.context Subject: Re: Unnumbered chapters before the ToC Date: Thu, 16 Jan 2014 09:17:13 +0800 Message-ID: References: <55918347-2A88-4631-9F18-2AA5398667A1@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0083728592==" X-Trace: ger.gmane.org 1389835039 29301 80.91.229.3 (16 Jan 2014 01:17:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 01:17:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 16 02:17:28 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3baH-0002jK-Tc for gctc-ntg-context-518@m.gmane.org; Thu, 16 Jan 2014 02:17:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11EAE101DE; Thu, 16 Jan 2014 02:17:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lwTBgW0YYZEH; Thu, 16 Jan 2014 02:17:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7DCA9101E3; Thu, 16 Jan 2014 02:17:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 328AC101E3 for ; Thu, 16 Jan 2014 02:17:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MquUt7mYahb5 for ; Thu, 16 Jan 2014 02:17:17 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 2F1A4101DE for ; Thu, 16 Jan 2014 02:17:16 +0100 (CET) Original-Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0G1HDAc008377 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 16 Jan 2014 02:17:14 +0100 Original-Received: by mail-qe0-f42.google.com with SMTP id b4so2003050qen.1 for ; Wed, 15 Jan 2014 17:17:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0sFItiq0cegV2+i5tdHSLjfu3jLvWkZ7VD3LrqV69H8=; b=yGzcns55oF8a+x4IJUTCXaDotJFxmGZbMSxsTtq08Q2UkrQ7WB79ixh/CiLgw1pkkT TzIB1zPxdrHUZ5KnhC/FUzdKIjkhRhypxkBzznk9kdquyFIhdIMYF9dHkCKOP8pNycps bbD8QYh8KPzqxa1hWwKXV30CPaIKlyKdj/opyweUfuq75pWRaDgQf38Q56fI/nfWaTFz NM7x3frERqqYVi/2/6Uhk58g3PuYInJV7CAb1ixpD9M4n3S3Awll8hL31/ppwo3x2sN+ tK8ScTCKMPkjyDtoTFHyTPLw7l7IRJT3gV2CnWVmxqP1QJ5a2gLS+CUFZlbxU+6u6Xg7 bQHg== X-Received: by 10.224.167.79 with SMTP id p15mr10695197qay.24.1389835033720; Wed, 15 Jan 2014 17:17:13 -0800 (PST) Original-Received: by 10.96.26.130 with HTTP; Wed, 15 Jan 2014 17:17:13 -0800 (PST) In-Reply-To: <55918347-2A88-4631-9F18-2AA5398667A1@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c02::22a; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Lephe00 - 5953a5702cbe - 20140116 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85965 Archived-At: --===============0083728592== Content-Type: multipart/alternative; boundary=089e0149cb087b3bfa04f00c2ff9 --089e0149cb087b3bfa04f00c2ff9 Content-Type: text/plain; charset=UTF-8 Hi Robert, On Thu, Jan 16, 2014 at 5:51 AM, Robert Blackstone < blackstone.robert@gmail.com> wrote: > > On 15 Jan 2014, at 21:54 , Wolfgang Schuster > wrote: > > Am 15.01.2014 um 15:36 schrieb Robert Blackstone < > blackstone.robert@gmail.com>: > > Dear all, > > Is there, in a book-project, a way to place unnumbered chapters, in casu > Acknowledgements and Abstract, in the FrontMatter before the ToC, but still > mentioned in the ToC? > > > \definehead[prechapter][chapter] > \setuphead [prechapter][number=no,incrementnumber=list] > > \starttext > > \prechapter{Unnumbered chapter} > > \title{Contents} > > \placelist[prechapter,chapter] > > \chapter{Numbered chapter} > > \stoptext > > Wolfgang > > > Thank you Wolfgang. This works and it will very likely also work for my > project. > I'm afrraid though that I left out an important detail, namely that the > ToC itself must be mentioned in the ToC. > What I'm expected to emulate is the following: (with real pagenumbers of > course) > > *CONTENTS* > > *Acknowledgements* i > *Abstract* ii > *Contents* iii > *List of Illusttratiions* iv > *List of Tables* v > *Abbreviations and Library sigla* vi > *Preface* vii > > Chapter 1 8 > Chapter 2 etc. > > So my real question should have been: Is there a way to place the ToC in > an unnumbered chapter, which should not be at the very beginning of the > book? > But you have suggested the answer already: Changing \title{Contents} to > \prechapter{Contents} does just that. Clean solution for an, imho, odd > request. > Please use: \completecontent[criterium=all] to generate the ToC, and set \setupcombinedlist [content] [list={title,chapter,section,subsection}] to include the entries you want. > > Best regards, > Robert Blackstone > > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Best Regards Chen --089e0149cb087b3bfa04f00c2ff9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Robert,


On Thu, Jan 16, 2014 at 5:51 AM, Robert Blackstone <= span dir=3D"ltr"><blackstone.robert@gmail.com> wrote:

On 15 Jan 2014, at 21:54 ,=C2=A0Wolfgang Schuster = <schust= er.wolfgang@gmail.com>
=C2=A0wrote:

Am 1= 5.01.2014 um 15:36 schrieb Robert Blackstone <blackstone.robert@gmail.com>:=

Dear all,

Is there, in a book-project, a way to place unnumbered ch= apters, in casu Acknowledgements and Abstract, in the FrontMatter before th= e ToC, but still mentioned in the ToC?

\definehead[prec= hapter][chapter]
\setuphead [prechapter][number=3Dno,incrementnumber=3Dlist]

\startte= xt

\prechapter{Unnumbered chapter}

\title{Contents}

\p= lacelist[prechapter,chapter]

\chapter{Numbered chapter}

\stop= text

Wolfgang

Thank you Wolfgang. = This works and it will very likely also work for my project.=C2=A0
I'm afrraid though that I left out an important detail, namely that t= he ToC itself must be mentioned in the ToC.
What I'm expected to emulate is the following: (with real pagenumb= ers of course)

CONTENTS

Acknowledgements i
Abstract ii
Contents <= /span>iii
List of Illusttratiions iv
List of Tables = v
Abbreviations and Library sigla vi
Preface vii

Chapter 1 8
Chapter 2 etc.

So my real question= should have been: Is there a way to place the ToC in an unnumbered chapter= , which should not be at the very beginning of the book?=C2=A0
But you have suggested the answer already: Changing \title{Contents} t= o \prechapter{Contents} does just that. Clean solution for an, imho, =C2=A0= odd request.
Please use:
\completecon= tent[criterium=3Dall]
to generate the ToC, and set
\setupcombinedlist
=C2=A0 [co= ntent]
=C2=A0 [list=3D{title,chapter,section,subsection}]
= to include the entries you want.

Best regards,<= /div>
Robert Blackstone

__________________________= _________________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________



--
Best Regard= s
Chen
--089e0149cb087b3bfa04f00c2ff9-- --===============0083728592== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0083728592==--