Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
Hi Taco, Thanks! This works for me. It indeed seems at least inconsistent. Also, using \definecounter[enumeration][object] instead of \setupenumeration[enumeration][counter=object] Numbers figures correctly but forgets the object counter in enumerations, it numbers 1.1., 1.1.,

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
Hi Tim, I misunderstood your goal, sorry. Proposed setup below. But first, what I think is a bug in ConTeXt: Neither \setupcaptions [counter=object] nor \setupcaption [figure] [counter=object] work. the caption always falls back to the ‘current float counter’; figure or table

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Tim Steenvoorden
Hi Taco, Thanks for your example and the pointer to make a MWE. Sadly, it doesn’t work for me. It numbers the first enumeration 1.1.1 and the first figure _also_ 1.1.1, which I’d like to be 1.1.2. This time, you’ll find the code and the output pdf in the attachment! Cheers, Tim P.S. I’m on

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Taco Hoekwater
> On 13 Aug 2020, at 10:06, Tim Steenvoorden wrote: > > Hi all, > > Anybody some pointers? Next time, prepare a minimal (non)working example. Because the attachment works for me. Best wishes, Taco tryme.tex Description: Binary data

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Tim Steenvoorden
Hi all, Anybody some pointers? Cheers, Tim On 11 Aug 2020, 11:41 +0200, Tim Steenvoorden , wrote: > Hi all, > > I’ve a text where chapters are numbered 1, 2, 3, … and sections 1.1, 1.2, > 1.3, … > Now I’d like all elements (figures, tables, examples, definitions, theorems, > …) to be numbered