From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59589 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Removing Introduction section number Date: Mon, 14 Jun 2010 09:54:30 +0200 Message-ID: <4C15E036.7030204@elvenkind.com> References: <4C153ACA.2000209@gmail.com> <4C15D1A0.1040000@elvenkind.com> <201006140939.38581.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276502081 9373 80.91.229.12 (14 Jun 2010 07:54:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 07:54:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 14 09:54:40 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 1OO4VC-0001nT-KE for gctc-ntg-context-518@m.gmane.org; Mon, 14 Jun 2010 09:54:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8AF70C9A70; Mon, 14 Jun 2010 09:54:37 +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 QPLc34XwYLXm; Mon, 14 Jun 2010 09:54:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E65C9C9AAA; Mon, 14 Jun 2010 09:54:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B8C7C9AAA for ; Mon, 14 Jun 2010 09:54:33 +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 GUxX5gLL-qDy for ; Mon, 14 Jun 2010 09:54:31 +0200 (CEST) Original-Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by balder.ntg.nl (Postfix) with ESMTP id 7366EC9A70 for ; Mon, 14 Jun 2010 09:54:31 +0200 (CEST) Original-Received: from [192.168.178.26] (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o5E7sULa089576 for ; Mon, 14 Jun 2010 09:54:31 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.23 (X11/20090822) In-Reply-To: <201006140939.38581.alan.braslau@cea.fr> X-Virus-Scanned: by XS4ALL Virus Scanner 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:59589 Archived-At: Alan BRASLAU wrote: > 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. Actually, I almost never use \writetolist myself, but then I usually have special sectioning commands (in larger documents): \definehead[Usection][section] \setuphead[Usection][number=no] \Usection{...} This could be wrapped in a macro if you want key=value parsing. Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________