From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71281 Path: news.gmane.org!not-for-mail From: Hongwen Qiu Newsgroups: gmane.comp.tex.context Subject: Re: Captions Date: Fri, 23 Sep 2011 09:16:59 +0800 Message-ID: <4E7BDE0B.3080200@gmail.com> References: <-2182527469493806826@unknownmsgid> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1325372824==" X-Trace: dough.gmane.org 1316740532 7995 80.91.229.12 (23 Sep 2011 01:15:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2011 01:15:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 23 03:15:28 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6uMR-0007nm-WA for gctc-ntg-context-518@m.gmane.org; Fri, 23 Sep 2011 03:15:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A9A8CAFB8; Fri, 23 Sep 2011 03:15:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bwcvKLdVvWgx; Fri, 23 Sep 2011 03:15:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C30BCAFB3; Fri, 23 Sep 2011 03:15:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04356CAFB3 for ; Fri, 23 Sep 2011 03:15:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DFWtmrEg1G4X for ; Fri, 23 Sep 2011 03:15:10 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D8C8BCAFB2 for ; Fri, 23 Sep 2011 03:15:09 +0200 (CEST) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8N1F8cV001980 for ; Fri, 23 Sep 2011 03:15:09 +0200 Original-Received: by gya6 with SMTP id 6so2986343gya.14 for ; Thu, 22 Sep 2011 18:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=cXYWeH+8X4A6YLGNAMu13Aa9tFC5wA49npwfOoQ2+6E=; b=pdEnYQqzjliTe7nSlRA+JFwlvtNS5HySYsMDOdg/aS74litu3lyqEKV4o5eOZr9kVW an/mH7qhasm7ZvM99CC1vcIEX19vGPxXZjELxaIZHhtbWfitQ07+ZEsMRGoA06b2VP8s SspIvxbgDoeTlqnzh7uc8ZHQU3PsXTAZDSvPA= Original-Received: by 10.68.15.133 with SMTP id x5mr6721262pbc.4.1316740507180; Thu, 22 Sep 2011 18:15:07 -0700 (PDT) Original-Received: from wind.river ([116.6.21.98]) by mx.google.com with ESMTPS id h5sm32790254pbq.11.2011.09.22.18.15.05 (version=SSLv3 cipher=OTHER); Thu, 22 Sep 2011 18:15:06 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 In-Reply-To: <-2182527469493806826@unknownmsgid> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFA1f8tJ - 8c897a263b6e - 20110923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:71281 Archived-At: This is a multi-part message in MIME format. --===============1325372824== Content-Type: multipart/alternative; boundary="------------090805020803070900070803" This is a multi-part message in MIME format. --------------090805020803070900070803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/23/2011 06:10 AM, Felix Ingram wrote: > I'm defining a new float that I'd like to caption with its own label. > Something like: > > \definefloat[picture][pictures] > > I'd then like the caption to read: > > Picture 1 - my caption text > Picture 2 - etc > > At the moment I've used \setupcaption[picture][way=bytext] to sort out > the numbering but I cannot figure out how to do the label. \setupcaption[picture][way=bytext,label=Picture] does the trick --------------090805020803070900070803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 09/23/2011 06:10 AM, Felix Ingram wrote:
I'm defining a new float that I'd like to caption with its own label.
Something like:

\definefloat[picture][pictures]

I'd then like the caption to read:

Picture 1 - my caption text
Picture 2 - etc

At the moment I've used \setupcaption[picture][way=bytext] to sort out
the numbering but I cannot figure out how to do the label.
\setupcaption[picture][way=bytext,label=Picture] does the trick
--------------090805020803070900070803-- --===============1325372824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1325372824==--