From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29236 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Common counter Date: Mon, 10 Jul 2006 20:36:50 -0700 Message-ID: <0A991A71-47A4-4407-8C9A-EBD15EA5FBA2@cox.net> References: <44B29FC3.4000208@wxs.nl> 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 1152589125 29785 80.91.229.2 (11 Jul 2006 03:38:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2006 03:38:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 11 05:38:43 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 1G094z-0008MG-V2 for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jul 2006 05:38:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC6691282E; Tue, 11 Jul 2006 05:38:33 +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 19612-04-4; Tue, 11 Jul 2006 05:38:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78C0F1279F; Tue, 11 Jul 2006 05:38:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B600F1279F for ; Tue, 11 Jul 2006 05:38:23 +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 19612-04-3 for ; Tue, 11 Jul 2006 05:38:17 +0200 (CEST) Original-Received: from fed1rmmtao09.cox.net (fed1rmmtao09.cox.net [68.230.241.30]) by ronja.ntg.nl (Postfix) with SMTP id 508941278D for ; Tue, 11 Jul 2006 05:38:13 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao09.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060711033811.PVVH6303.fed1rmmtao09.cox.net@[10.0.1.2]> for ; Mon, 10 Jul 2006 23:38:11 -0400 In-Reply-To: <44B29FC3.4000208@wxs.nl> Original-To: mailing list for ConTeXt users 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:29236 Archived-At: This is excellent. Now, how can I include this \placeformula[eq:nine] \startformula f(x)=x^2 \stopformula with the same common counter as remark and definition below? > just clone the definition one: > > \defineenumeration > [remark] > [location=serried, > width=broad, > text=Remark, > headstyle=bold, > inbetween=\blank, > before=\blank, > after=\blank, > way=bysection] > > \defineenumeration > [definition] > [remark] > [text=Definition] > > \starttext > \startremark > Foo > \stopremark > \startdefinition > Foo > \stopdefinition > \stoptext > > >> \setupoutput[pdf] >> >> \newcounter\NonFigCtr >> \define\nctr{\doglobal\increment\NonFigCtr \color[red]{[\NonFigCtr]}} >> >> >> \defineenumeration >> [remark] >> [location=serried, >> width=broad, >> text=Remark, >> headstyle=bold, >> inbetween=\blank, >> before=\blank, >> after=\blank, >> way=bysection, >> number=nctr] >> >> \defineenumeration >> [definition] >> [location=serried, >> width=broad, >> text=Definition, >> headstyle=bold, >> inbetween=\blank, >> before=\blank, >> after=\blank, >> way=bysection, >> number=nctr] >> >> \starttext >> >> \startremark >> Foo >> \stopremark >> >> \startdefinition >> Foo >> \stopdefinition >> >> >> \stoptext >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> > > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context