From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27596 Path: news.gmane.org!not-for-mail From: Jyrki Ruuskanen Newsgroups: gmane.comp.tex.context Subject: Need a dot after float caption number (\floatcaptionsuffix) Date: Mon, 1 May 2006 17:44:08 +0300 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146562595 24958 80.91.229.2 (2 May 2006 09:36:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 09:36:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 02 11:36:33 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FarJ2-0008QA-Gl for gctc-ntg-context-518@m.gmane.org; Tue, 02 May 2006 11:36:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C8D4127B6; Tue, 2 May 2006 11:36:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17779-07-5; Tue, 2 May 2006 11:36:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4395512798; Tue, 2 May 2006 11:36:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 828461278E for ; Mon, 1 May 2006 16:44:14 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06418-04 for ; Mon, 1 May 2006 16:44:13 +0200 (CEST) Original-Received: from fep10-app.kolumbus.fi (fep10-1.kolumbus.fi [193.229.5.110]) by ronja.ntg.nl (Postfix) with SMTP id 3E24C1277F for ; Mon, 1 May 2006 16:44:12 +0200 (CEST) Original-Received: from [81.197.175.15] by fep10-app.kolumbus.fi with ESMTP id <20060501144412.FFGQ14806.fep10-app.kolumbus.fi@[81.197.175.15]> for ; Mon, 1 May 2006 17:44:12 +0300 Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Tue, 02 May 2006 11:36:25 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27596 Archived-At: 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