From: wwl@musensturm.de
Subject: Re: common counter
Date: Sun, 03 Sep 2006 15:22:53 +0200 [thread overview]
Message-ID: <44FAF34D.12700.C2D22A@wwl.musensturm.de> (raw)
In-Reply-To: <mailman.400.1152605299.1824.ntg-context@ntg.nl>
Hallo!
This is a question to a somewhat older post:
> Date: Tue, 11 Jul 2006 09:55:28 +0200
> From: Hans Hagen <pragma@wxs.nl>
> Subject: Re: [NTG-context] Common counter
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Message-ID: <44B35970.3070805@wxs.nl>
> 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
next parent reply other threads:[~2006-09-03 13:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.400.1152605299.1824.ntg-context@ntg.nl>
2006-09-03 13:22 ` wwl [this message]
2006-09-03 14:56 ` footnotes number doesn´t reset bychapter Horacio Suarez
2006-09-03 15:24 ` Horacio Suarez
[not found] <mailman.1.1157364002.16930.ntg-context@ntg.nl>
2006-09-05 10:09 ` common counter wwl
2006-07-07 8:06 Common counter David Arnold
2006-07-10 18:43 ` Hans Hagen
2006-07-11 3:36 ` David Arnold
2006-07-11 7:55 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44FAF34D.12700.C2D22A@wwl.musensturm.de \
--to=wwl@musensturm.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).