[NTG-context] 'Dot' after Float label Howto?

Hans Hagen pragma at wxs.nl
Fri May 26 13:03:23 CEST 2006


Johannes Graumann wrote:
> nico wrote:
>
>   
>> I thought that stopper would do it, but either I misuse it, or there's a
>> bug in there: the dot appears twice!
>>     
>
> Strange. If you have sub figures (like Figure 1.2.a) the stopper strategy
> works. Just with normal figures (Figure 1.2) there are two dots ...
>
> Looks like a bug to me.
>   
ok, fixed, teh next release will properly do:

\starttext

\chapter{joke}

\setupcaption[figure][separator=!]

\def\floatcaptionsuffix{}
\placefigure{What}{\framed[width=5cm]{Hi}}
\def\floatcaptionsuffix{x}
\placefigure{What}{\framed[width=5cm]{Hi}}

\setupcaption[figure][stopper=.]

\def\floatcaptionsuffix{}
\placefigure{What}{\framed[width=5cm]{Hi}}
\def\floatcaptionsuffix{x}
\placefigure{What}{\framed[width=5cm]{Hi}}

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list