Hallo! This is a question to a somewhat older post:
> Date: Tue, 11 Jul 2006 09:55:28 +0200 > From: Hans Hagen <[EMAIL PROTECTED]> > Subject: Re: [NTG-context] Common counter > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > David Arnold wrote: > > 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? > > > hm, it's incredible what users come up with but this time you're > lucky -) > > \defineenumeration[whatever] > > \definenumber[davidsnumber] > > \setupnumber[whatever][number=davidsnumber] > \setupnumber[formula] [number=davidsnumber] % If one says additionally here: \setupnumber[figure][number=davidsnumber] > > \starttext > > \placeformula[x] > \startformula x\stopformula > > \startwhatever x\stopwhatever > > \placeformula[x] > \startformula y\stopformula > > \startwhatever y\stopwhatever % and here for example: \placefigure{image}{\framed[width=1cm,height=1cm]{image}} > \stoptext then, davidsnumber is incremented by \placefigure but not used for the caption etc. How can I extend the usage of davidsnumber to captions and figuretables? Wolfgang _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context