From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59396 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Removing Introduction section number Date: Sun, 6 Jun 2010 23:46:22 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201006062346.22427.alan.braslau@cea.fr> References: <4C0C0BC9.80003@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275860795 27779 80.91.229.12 (6 Jun 2010 21:46:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Jun 2010 21:46:35 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 06 23:46:31 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OLNfr-0001dg-7P for gctc-ntg-context-518@m.gmane.org; Sun, 06 Jun 2010 23:46:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E783EC9CEB; Sun, 6 Jun 2010 23:46:30 +0200 (CEST) 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 AxxQaRtT9E+l; Sun, 6 Jun 2010 23:46:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E221FC9CEE; Sun, 6 Jun 2010 23:46:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CCA21C9CEE for ; Sun, 6 Jun 2010 23:46:25 +0200 (CEST) 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 oXgZ7IByqQ7E for ; Sun, 6 Jun 2010 23:46:23 +0200 (CEST) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.1]) by balder.ntg.nl (Postfix) with ESMTP id AA06CC9CEB for ; Sun, 6 Jun 2010 23:46:23 +0200 (CEST) Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o56LkNSn026449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 6 Jun 2010 23:46:23 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o56LkMEa030985 for ; Sun, 6 Jun 2010 23:46:22 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.localnet (scylla.saclay.cea.fr [132.166.43.101]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id o56LkM1M004066 for ; Sun, 6 Jun 2010 23:46:22 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32; KDE/4.4.4; x86_64; ; ) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:59396 Archived-At: On Sunday 06 June 2010 23:20:29 Yury G. Kudryashov wrote: > 1. You want Introduction in the table of contents. Then you should copy > section to another head, and setup it with number=no (have no time to > test): > > \definehead[secnonum][section] > \setuphead[secnonum][number=no] > \secnonum{Introduction} This is flexible, but is this really elegant? Would it not be better (i.e. intuitive) to be able to simply type: \section [number=no] {Introduction} After all, one feature that I *really* like about ConTeXt is inheritance and default options that can be fixed through \setupsomething, or through a case by case basis. Unnumbered sections is the default within \startfrontmatter \stopfrontmatter However, it is quite logical to also have unnumbered Introduction (and Conclusions) in the body of the work that are to appear in the table of contents as well. In a work using \part, the same can apply to \chapter. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________