On Fri, 1 Sep 2006, nico wrote:
On Fri, 01 Sep 2006 17:14:01 +0200, richard rascher-friesenhausen
wrote: Hello,
in my scripts i use different kinds of figure, defined as floats cloned from the original ConTeXt figure:
\definefloat[afigure][afigures][figure] \definefloat[bfigure][bfigures][figure]
In my script environment i use different setups for figure, afigure and bfigure that are not shown here. Using cloning, all figures use the same counter, which is nice.
Really? In which release the counter is the same? With your case, I have here the figure numbers 1, 1, 1, 2, 2, 2.
I confirm that with the latest beta, I get the same results. But looking at the definition of redodefinefloat this should work. \def\redodefinefloat[#1][#2][#3]% same label/number %[snip] \definenumber[#1][#3]% %[snip] This means that the number #1 and #3 should be coupled. A simple test confirms this \definenumber[one] \definenumber[two][one] \starttext one: \getnumber[one] \incrementnumber[two] one: \getnumber[one] two: \getnumber[two] \stoptext I do not understand why this should fail with definefloat. BTW, why is the definition of redodefinefloat repeated in the source? Aditya