ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Need a dot after float caption number (\floatcaptionsuffix)
@ 2006-05-01 14:44 Jyrki Ruuskanen
  0 siblings, 0 replies; only message in thread
From: Jyrki Ruuskanen @ 2006-05-01 14:44 UTC (permalink / raw)


I need a dot after float caption number. Page-flt.tex has a variable  
called \floatcaptionsuffix which can do this. Still, this should  
really be handled by a parameter in \setupcaptions, for example  
"separator" (which seems to be unused at the moment).

I edited page-flt.tex like so:
1423c1423
<        \hbox{\doattributes{\??kj#1}\c!headstyle\c!headcolor{\strut#2 
\@@kjkjseparator}}%
---
 >        \hbox{\doattributes{\??kj#1}\c!headstyle\c!headcolor 
{\strut#2\floatcaptionsuffix}}%
1824d1823
<       \def\@@kjkjseparator {\getvalue{\??kj#4\c!separator}}%

Which gives me the dot with \setupcaptions[separator=.].

Jyrki Ruuskanen

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-01 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-01 14:44 Need a dot after float caption number (\floatcaptionsuffix) Jyrki Ruuskanen

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