Re: [NTG-context] Include chapter number in figure numbering

2012-09-04 Thread Robert Blackstone
On 4 Sep 2012, at 10:46 , 08:55:10 +0200 Marco Patzer wrot > > Hi Sietse, > >>> how do I include the chapter number in the figure numbering? >> >> Untested: >> \setupcaptions[prefixsegment=chapter] > > This works with beta 2011-11-29, but unfortunately not in a current > one. Does it work

Re: [NTG-context] Include chapter number in figure numbering

2012-09-04 Thread Marco Patzer
On 2012-09-04 "Rogers, Michael K" wrote: Hi Rogers, > I think the key name is plural, and you need to turn on prefixes. > > \setupcaptions[prefix=yes,prefixsegments=chapter] Thanks, that works. I updated the wiki. Marco ___

Re: [NTG-context] Include chapter number in figure numbering

2012-09-04 Thread Rogers, Michael K
On Sep 4, 2012, at 4:00 AM, Sietse Brouwer wrote: how do I include the chapter number in the figure numbering? > >>> Untested: >>> \setupcaptions[prefixsegment=chapter] > >> This works with beta 2011-11-29, but unfortunately not in a current >> one. Does it work for you? > > You're right: it

Re: [NTG-context] Include chapter number in figure numbering

2012-09-04 Thread Sietse Brouwer
>>> how do I include the chapter number in the figure numbering? >> Untested: >> \setupcaptions[prefixsegment=chapter] > This works with beta 2011-11-29, but unfortunately not in a current > one. Does it work for you? You're right: it doesn't work for me, either. A bug, then, or possibly an unan

Re: [NTG-context] Include chapter number in figure numbering

2012-09-03 Thread Marco Patzer
On 2012-09-04 Sietse Brouwer wrote: Hi Sietse, > > how do I include the chapter number in the figure numbering? > > Untested: > \setupcaptions[prefixsegment=chapter] This works with beta 2011-11-29, but unfortunately not in a current one. Does it work for you? Marco

Re: [NTG-context] Include chapter number in figure numbering

2012-09-03 Thread Sietse Brouwer
Marco Patzer wrote: > how do I include the chapter number in the figure numbering? Untested: \setupcaptions[prefixsegment=chapter] or \setupcaption[figure][prefixsegment=chapter] should both work. (The former should affect table captions, too.) Slightly more at http://wiki.contextgarden.net/Comma

[NTG-context] Include chapter number in figure numbering

2012-09-03 Thread Marco Patzer
Hi, how do I include the chapter number in the figure numbering? The following example used to produce (as of November 2011) “Figure 1.1”. A current beta yields merely “Figure 1”. \starttext \startchapter [title=Foo] \startplacefigure [title=Bar] \stopplacefigure \stopchapter \stopte