From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4432 Path: main.gmane.org!not-for-mail From: "Peter Jander" Newsgroups: gmane.comp.tex.context Subject: Re: how to define another part of a document Date: Wed, 21 Mar 2001 10:05:46 GMT Sender: owner-ntg-context@let.uu.nl Message-ID: <3AB87E1F.6226.5A923C@localhost> References: <20010223165424.A4338@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035395099 25674 80.91.224.250 (23 Oct 2002 17:44:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:44:59 +0000 (UTC) Original-To: ConTeXt List Xref: main.gmane.org gmane.comp.tex.context:4432 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4432 Hi, a while ago the code below was given as an example how to format a part of a document differently. However when I run that code the outline of the document is: 1 OEPS 1 OEPS 1 OEPS Is there a way to have the outline like this: 1 OEPS 2 OEPS 3 OEPS i.e. use the same chapter counter inside the user-defined sectionblock as outside? Thanks, Peter Jander Date sent: Fri, 23 Feb 2001 17:13:20 +0100 > >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 > ------------------------------------------------------------------------- >