From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4217 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: how to define another part of a document Date: Fri, 23 Feb 2001 11:52:08 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010223115208.01939240@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394902 23876 80.91.224.250 (23 Oct 2002 17:41:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:42 +0000 (UTC) Cc: ntg-context@ntg.nl (ConTeXt List) Original-To: Han The Thanh In-Reply-To: <200102211312.OAA01474@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4217 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4217 At 02:12 PM 2/21/01 +0100, Han The Thanh wrote: >> how can I define another part for a document which has been not pre-defined >> yet? E.g. something similar \startappendices ... \stopappendices, but for >> another purpose? > >I looked into section 8.5 in the manual, but didn't get it yet. The >relevent command seems to be \definesectionblock, however after eg > >\definesectionblock [myblock] [headnumber=no] > >I don't know what is the command to start/stop the block. I tried either > >\definesectionblock [myblock] [headnumber=no] >\startmyblock ... \stopmyblock > > >or > > >\definesectionblock [myblockpart] [headnumber=no] >\startmyblockmatter ... \stopmyblockmatter > >(guessed from \definesectionblock [bodypart] and >\startbodymatter ... \stopbodymatter) \definesectionblock [myblock] [myblocks] \setupsectionblock [myblock] [number=no] \starttext \startmyblocks \chapter{Whow, this is My Block!} \stopmyblocks \stoptext The two argument approach permits definitions of more meaningful commands, like singular/plural destinction (needed for the dutch interface) like frontpart for the general name of a block, but frontmatter for the command [suggested b y sebastian rahtz]. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------