From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29415 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Why doesn't this inherit? Date: Tue, 18 Jul 2006 00:02:24 -0700 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153206271 8537 80.91.229.2 (18 Jul 2006 07:04:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 07:04:31 +0000 (UTC) Cc: Jacob Prystowsky , Bruce Wagner Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 18 09:04:29 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G2jd0-0002YJ-K1 for gctc-ntg-context-518@m.gmane.org; Tue, 18 Jul 2006 09:04:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60282127E5; Tue, 18 Jul 2006 09:04:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13102-04; Tue, 18 Jul 2006 09:04:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D18D6127BB; Tue, 18 Jul 2006 09:04:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4655A127BB for ; Tue, 18 Jul 2006 09:03:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13103-03 for ; Tue, 18 Jul 2006 09:03:49 +0200 (CEST) Original-Received: from fed1rmmtao10.cox.net (fed1rmmtao10.cox.net [68.230.241.29]) by ronja.ntg.nl (Postfix) with SMTP id 42D2812775 for ; Tue, 18 Jul 2006 09:03:46 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao10.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060718070344.EURK18458.fed1rmmtao10.cox.net@[10.0.1.2]>; Tue, 18 Jul 2006 03:03:44 -0400 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29415 Archived-At: Hans et all, We don't understand, why we have to uncomment the commented line in the code below to make section numbers go away? Why doesn't the enumeration inherit? \usemodule[colors] \setupcolors[state=start] \definecolor[lavender][r=0.25,b=0.75,t=0.095,a=1] \defineframedtext[MyBox] \definemeasure[BoxWidth][\textwidth] \defineblank[BoxBlank][1em plus 1em minus 1em] \setupframedtexts [MyBox] [width=\measure{BoxWidth}, before={\blank[BoxBlank]}, after={\blank[BoxBlank]}, background=color, frame=no, location=middle] \definenumber[CommonCtr][way=bysection,sectionnumber=no] \definenumber[FigCtr][way=bysection,sectionnumber=no] \setupframedtexts [MyBox] [width=\measure{BoxWidth}, before={\blank[BoxBlank]}, after={\blank[BoxBlank]}, background=color, frame=no, location=middle] \setuplabeltext[remark=Remark] \setuplabeltext[theorem=Theorem] \defineenumeration [remark,theorem] [location=serried, width=broad, headstyle=bold, inbetween=\blank, before=\blank, after=\blank, way=bysection, sectionnumber=no, number=yes] \defineenumeration [remark] [text=\labeltext{remark}] \defineenumeration [theorem] [text=\labeltext{theorem}, % sectionnumber=no, before={\startMyBox[backgroundcolor=lavender]}, after=\stopMyBox] \setupnumber[remark][number=CommonCtr] \setupnumber[theorem][number=CommonCtr] \setupnumber[formula][number=CommonCtr] \setupnumber[figure][number=FigCtr] \starttext \chapter[chap:one]{Chapter One} \input knuth \section[sec:one]{Section One} \startremark This is a remark \stopremark \startremark This is a remark \stopremark \starttheorem This is a theorem. \stoptheorem \placeformula[eq:one] \startformula f(x)=x^2 \stopformula \startremark This is a remark \stopremark \starttheorem This is a theorem. \stoptheorem \stoptext