From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4224 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 17:13:20 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010223171320.0181d820@server-1> References: <3.0.6.32.20010223115208.01939240@server-1> <3.0.6.32.20010223115208.01939240@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394908 23930 80.91.224.250 (23 Oct 2002 17:41:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:48 +0000 (UTC) Cc: ConTeXt List Original-To: Han The Thanh In-Reply-To: <20010223165424.A4338@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4224 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4224 At 04:54 PM 2/23/01 +0100, Han The Thanh wrote: >> \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]. > >thanks, Hans. Can you please also tell me how to define the label of the >chapters inside myblock? The command \setuplabeltext seems to have global >effect. \starttext \definesectionblock[thanh][thanhs] \startsectionblockenvironment[thanh] \setuplabeltext[chapter=Whow ] \stopsectionblockenvironment \chapter{OEPS} \startthanhs \chapter{OEPS} \stopthanhs \chapter{OEPS} \stoptext ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------