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 14:24, Cedric Mauclair <cedric.maucl...@gmail.com> wrote: > 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 with the dot too, which I don't want. > > Currently I have changed, rather crudely, the definition of > \putcompletecaption... to take that into account. Here is what I came > up with. > > \def\DotAtEnd#1{#1.} > \setupcaptions[\c!textcommand=\DotAtEnd] % ADDED > > \long\def\putcompletecaption > ... > \begstrut\floatcaptionparameter\c!textcommand{#2}\endstrut\endgraf > % MODIFIED > \fi > \endgroup > %\floatcaptionparameter\c!after % test for side effects first > > \doifsomething{\floatcaptionparameter\c!spaceafter}{\blank[\floatcaptionparameter\c!spaceafter]}} > %% END YUCK!! > > I am sure there is a better way though. > > Regards. > > -- Cédric > ___________________________________________________________________________________ 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 ___________________________________________________________________________________