ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jyrki Ruuskanen <yuruki@kotikone.fi>
Subject: Need a dot after float caption number (\floatcaptionsuffix)
Date: Mon, 1 May 2006 17:44:08 +0300	[thread overview]
Message-ID: <E9E57944-7096-42C5-B878-5EDAFC7156BA@kotikone.fi> (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

                 reply	other threads:[~2006-05-01 14:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E9E57944-7096-42C5-B878-5EDAFC7156BA@kotikone.fi \
    --to=yuruki@kotikone.fi \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).