Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Cedric Mauclair
Works for me. Thanks. -- Cédric On Tue, Oct 19, 2010 at 22:46, Alan BRASLAU wrote: > On Tuesday 19 October 2010 20:15:37 Wolfgang Schuster wrote: >> >> but it’s possible to get the desired result also with a selector, e.g. >> >> >> >> \defineselector[caption][max=2,n=2] >> >> \startsetups sel

Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Alan BRASLAU
On Tuesday 19 October 2010 20:15:37 Wolfgang Schuster wrote: > > but it’s possible to get the desired result also with a selector, e.g. > > > > \defineselector[caption][max=2,n=2] > > \startsetups select:caption > \setupselector[caption][n=1] > \stopsetups > > \setupcaptions[setups=select:cap

Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Wolfgang Schuster
Am 19.10.2010 um 16:55 schrieb Cedric Mauclair: >>> Would it be possible to add an options to the captions with name >>> textcommand to typeset the caption text only. In French, we use a >>> point at the end of the captions, but if I want to use \about... >>> somewhere, I end up with the dot too,

Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Cedric Mauclair
On Tue, Oct 19, 2010 at 14:46, Wolfgang Schuster wrote: > > Am 19.10.2010 um 14:24 schrieb Cedric Mauclair: > >> Hi Hans and all, >> >> Would it be possible to add an options to the captions with name >> textcommand to typeset the caption text only. In French, we use a >> point at the end of the c

Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Wolfgang Schuster
Am 19.10.2010 um 14:24 schrieb Cedric Mauclair: > Hi Hans and all, > > Would it be possible to add an options to the captions with name > textcommand to typeset the caption text only. In French, we use a > point at the end of the captions, but if I want to use \about... > somewhere, I end up wit

Re: [NTG-context] Caption textcommand option

2010-10-19 Thread Cedric Mauclair
Sorry, the message was not over. I was hilighting the interesting part : \def\DotAtEnd#1{#1.} \setupcaptions[\c!textcommand=\DotAtEnd] % ADDED \long\def\putcompletecaption#1#2% ... \begstrut\floatcaptionparameter\c!textcommand{#2}\endstrut\endgraf ... -- Cédric On Tue, Oct 19, 2010 at