Hi,

please have a look at the minimal example at the bottom.  I am
typesetting theorems and lemmata which are numbered consecutively
within chapters in a book.  I used the same code for a document
written in mkii, and I thought I could just reuse it in mkiv.
Obviously, there is something I am missing.  Question: How do I get
the same output when compiling the following code with 'context' as
when compiled with 'texexec'.

When compiled with 'context', the chapter number is missing in the
numbering of theorems. Lemmas are not numbered at all.

~~~snip~~~
\setupenumerations
    [title=yes,
    style=normal,
    list=all,
    before={\blank[big]},
    after={\blank[big]},
    location=serried,
    width=broad,
    distance=0.5em,
    headstyle=bold,
    titlestyle=bold,
    way=bychapter,
    conversion=numbers]

\defineenumeration
    [theorem]
    [text=Theorem, listtext={Theorem }]

\defineenumeration
    [lemma]
    [text=Lemma, listtext={Lemma }, number=theorem]

\starttext

\chapter{First chapter}

\theorem Hello

\theorem Hello

\lemma Hello

\theorem Hello

\stoptext
~~~snip~~~
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to