ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Numbering
Date: Mon, 10 Jul 2006 20:49:15 +0200	[thread overview]
Message-ID: <44B2A12B.602@wxs.nl> (raw)
In-Reply-To: <6faad9f00607071400v7097da76kf6ade7d030e74a0f@mail.gmail.com>

Mojca Miklavec wrote:
> On 7/7/06, David Arnold wrote:
>   
>> All,
>>
>> Let's say I have some enumerations that are numbered, for
>> definitions, examples, theorems, etc. Let's say I want everything in
>> a section numbered consecutively, except figures. So, numbering would
>> proceed like this:
>>     
>
> Grrr ... I have exactly the opposite problem: I need the
> definitions/examples/problems/... to be numbered independent of each
> other, but I cannot get rid of coupling between these numbers.
>
>   
\defineenumeration
  [remark]
  [text=Remark]

\defineenumeration
  [definition]
  [text=Definition]

\setupenumerations
  [remark,definition]
  [location=serried,
   width=broad,
   headstyle=bold,
   inbetween=\blank,
   before=\blank,
   after=\blank,
   way=bysection]

\starttext
    \startremark
       Foo
    \stopremark
    \startdefinition
       Foo
    \stopdefinition
    \startremark
       Foo
    \stopremark
    \startdefinition
       Foo
    \stopdefinition
\stoptext


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

  reply	other threads:[~2006-07-10 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07  3:45 Numbering David Arnold
2006-07-07  8:55 ` Numbering Ulf Martin
2006-07-07 21:00 ` Numbering Mojca Miklavec
2006-07-10 18:49   ` Hans Hagen [this message]
2006-07-10 18:47 ` Numbering Hans Hagen
2006-07-10 19:10   ` Numbering David Arnold
  -- strict thread matches above, loose matches on Subject: below --
2004-06-10 10:35 Numbering techw
2004-06-21 14:14 ` Numbering 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=44B2A12B.602@wxs.nl \
    --to=pragma@wxs.nl \
    --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).