From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59587 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Removing Introduction section number Date: Mon, 14 Jun 2010 09:39:38 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201006140939.38581.alan.braslau@cea.fr> References: <4C153ACA.2000209@gmail.com> <4C15D1A0.1040000@elvenkind.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 1276501202 6552 80.91.229.12 (14 Jun 2010 07:40:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 07:40:02 +0000 (UTC) Cc: Taco Hoekwater To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 14 09:39:59 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 1OO4H1-0004uW-2P for gctc-ntg-context-518@m.gmane.org; Mon, 14 Jun 2010 09:39:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C9D3C9B03; Mon, 14 Jun 2010 09:39:58 +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 ZjOHTZE-done; Mon, 14 Jun 2010 09:39:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81CE7C9A7C; Mon, 14 Jun 2010 09:39:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21656C9A7C for ; Mon, 14 Jun 2010 09:39:51 +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 tFMlQ3NgVXzN for ; Mon, 14 Jun 2010 09:39:49 +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 249D9C9A70 for ; Mon, 14 Jun 2010 09:39:46 +0200 (CEST) Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o5E7dkNZ002230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Jun 2010 09:39:46 +0200 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire1.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o5E7djnn013468; Mon, 14 Jun 2010 09:39:45 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-ha-003840.localnet (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id o5E7djqF027585; Mon, 14 Jun 2010 09:39:45 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32; KDE/4.4.4; x86_64; ; ) In-Reply-To: <4C15D1A0.1040000@elvenkind.com> 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:59587 Archived-At: On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote: > Vyatcheslav Yatskovsky wrote: > > ...or preventing startbodymatter from making new page. > > \setupsectionblock[bodypart][page=no] > > or > > \setupsectionblock[frontpart][page=no] > > (I don't remember whether this is executed at the end > or the begin of the block). This is much more elegant than \subject{Whatever} \writelist[section]{}{Whatever} repeating "Whatever" twice. I will repeat here the suggestion, seconded by others, of parsing \section[number=no]{Whatever} to be used notably within \startbodypart...\stopbodypart Note that an unnumbered \section vs. \subject do not fill exactly the same need. Also, while on the subject of sectionblocks, there should be some way of defining \startsectionblockenvironment[bodypart] \setuplist[chapter][label=yes] \stopsectionblockenvironment Presently, this does not work, and simply setting \setuplist[chapter][label=yes] will, of course, put the label ("Chapter") everywhere in the table of contents including frontmatter and backmatter, that is if one also redefines \setuplabeltext[chapter=Chapter ] % with trailing space as this is, curiously, blank by default. 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 ___________________________________________________________________________________