ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 'Dot' after Float label Howto?
@ 2006-05-24 20:26 Johannes Graumann
  2006-05-24 21:34 ` nico
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Graumann @ 2006-05-24 20:26 UTC (permalink / raw)


Hello,

My proofreader wants the float labels ("Figure 2.5") to end with a dot as
well (as in "Figure 2.5.").
Can somebody please point me at how to achieve that?

Thanks, Joh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'Dot' after Float label Howto?
  2006-05-24 20:26 'Dot' after Float label Howto? Johannes Graumann
@ 2006-05-24 21:34 ` nico
  2006-05-25 15:40   ` Johannes Graumann
  0 siblings, 1 reply; 5+ messages in thread
From: nico @ 2006-05-24 21:34 UTC (permalink / raw)


On Wed, 24 May 2006 13:26:51 -0700, Johannes Graumann  
<johannes_graumann@web.de> wrote:

> Hello,
>
> My proofreader wants the float labels ("Figure 2.5") to end with a dot as
> well (as in "Figure 2.5.").
> Can somebody please point me at how to achieve that?

I thought that stopper would do it, but either I misuse it, or there's a  
bug in there: the dot appears twice!

\setupcaption[figure][stopper=.]

\starttext

\chapter{joke}

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

\stoptext

Regards,
BG

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'Dot' after Float label Howto?
  2006-05-24 21:34 ` nico
@ 2006-05-25 15:40   ` Johannes Graumann
  2006-05-26 11:03     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Graumann @ 2006-05-25 15:40 UTC (permalink / raw)


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.

Joh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'Dot' after Float label Howto?
  2006-05-25 15:40   ` Johannes Graumann
@ 2006-05-26 11:03     ` Hans Hagen
  2006-05-26 15:14       ` Johannes Graumann
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-05-26 11:03 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'Dot' after Float label Howto?
  2006-05-26 11:03     ` Hans Hagen
@ 2006-05-26 15:14       ` Johannes Graumann
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Graumann @ 2006-05-26 15:14 UTC (permalink / raw)


Hans Hagen wrote:

> ok, fixed, teh next release will properly do:

Thanks, Hans!

Joh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-26 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 20:26 'Dot' after Float label Howto? Johannes Graumann
2006-05-24 21:34 ` nico
2006-05-25 15:40   ` Johannes Graumann
2006-05-26 11:03     ` Hans Hagen
2006-05-26 15:14       ` Johannes Graumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).