Otared Kavian wrote:
Hi Hans, Aditya,
Many thanks for your attention: the solution suggested by Aditya is very
satisfactory for the time being, as far as one uses mkii.
I added an entry on the wiki about proclaim:
http://wiki.contextgarden.net/proclaim
However, as Hans says, there is a slight problem with mkiv and the way things
get numbered.
i uploaded a beta
\defineenumeration[one]
\defineenumeration[two] [one] % clone one
\defineenumeration[three] [counter=one,style=slanted] % only use counter
of one
\defineenumeration[four] [three] % clone three
\defineenumeration[five] [three] [counter=five] % clone three and use
own counter
\defineenumeration[six] [three] [counter=four] % clone tree and use
counter four (undefined)
\setupenumerations[one] [prefix=yes,prefixsegments=section]
\setupenumerations[two] [prefix=yes,prefixsegments=section]
\setupenumerations[three][prefix=yes,prefixsegments=section]
\setupenumerations[four] [prefix=yes,prefixsegments=chapter:section]
\setupenumerations[five] [prefix=yes,prefixsegments=chapter:section]
\setupenumerations[six] [prefix=yes,prefixsegments=chapter:section]
\starttext
\chapter{test}
\startone test test 1 \stopone
\starttwo test test 2 \stoptwo
\startthree test test 3 \stopthree
\startfour test test 4 \stopfour
\startfive test test 1 \stopfive
\startsix test test 1 \stopsix
\chapter{test}
\section{test}
\startone test test 6 \stopone
\starttwo test test 7 \stoptwo
\startthree test test 8 \stopthree
\startfour test test 9 \stopfour
\startfive test test 2 \stopfive
\startsix test test 2 \stopsix
\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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________