![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
OK, Now, how can we get \placeformula \startformula f(x)=x^2 \stopformula To use the same number scheme. On Jul 10, 2006, at 11:47 AM, Hans Hagen wrote:
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:
Definition 1.1
Where the first number is the section number.
Now, by "consecutive," I mean:
Definition 1.1
f(x)=3x+2 (1.2)
Example 1.3
Definition 1.4
Definition 1.5
f(x)=x^2 (1.6)
Figure 1
Example 1.7
Example 1.8
Definition 1.9
Figure 2
etc.
Hope this give the right idea.
Question: What would be the "Context Way" to go about this?
\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 \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 -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context