From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62745 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Caption textcommand option Date: Tue, 19 Oct 2010 22:46:37 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201010192246.37367.alan.braslau@cea.fr> References: <23F5E984-3AA9-4175-ABBA-B93278FBC034@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287521230 2608 80.91.229.12 (19 Oct 2010 20:47:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 20:47:10 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 19 22:47:09 2010 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 1P8J5K-00087b-Ho for gctc-ntg-context-518@m.gmane.org; Tue, 19 Oct 2010 22:47:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D77CECA741; Tue, 19 Oct 2010 22:47:01 +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 u93B1r3DOK9o; Tue, 19 Oct 2010 22:46:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F25D1CA702; Tue, 19 Oct 2010 22:46:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4710CA702 for ; Tue, 19 Oct 2010 22:46:56 +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 wG8UxCN2Ck8s for ; Tue, 19 Oct 2010 22:46:45 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id B2774CA6F4 for ; Tue, 19 Oct 2010 22:46:45 +0200 (CEST) Original-Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9JKkhub011421 for ; Tue, 19 Oct 2010 22:46:44 +0200 Original-Received: from iram-hb-003386.localnet (unknown [81.57.248.225]) by smtp2-g21.free.fr (Postfix) with ESMTP id 9D6E04B010F for ; Tue, 19 Oct 2010 22:46:38 +0200 (CEST) User-Agent: KMail/1.13.5 (Linux/2.6.32; KDE/4.4.5; x86_64; ; ) In-Reply-To: <23F5E984-3AA9-4175-ABBA-B93278FBC034@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.27.42.2; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DkIKI2m - a6232958f371 - 20101019 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:62745 Archived-At: On Tuesday 19 October 2010 20:15:37 Wolfgang Schuster wrote: > = > but it=92s possible to get the desired result also with a selector, e.g. > = > = > > \defineselector[caption][max=3D2,n=3D2] > = > \startsetups select:caption > \setupselector[caption][n=3D1] > \stopsetups > = > \setupcaptions[setups=3Dselect:caption] > = > \starttext > = > This is some text with a reference to a table named \about[tab:table]. > = > \placetable[here][tab:table]{\select{caption}{My caption.}{My > caption}}{...} > = > \stoptext > I sytematically use the selector mechanism for short caption/full caption, the short caption gets used for the list of figures and list of tables. \setupselector [caption] [n=3D1] \placelistoffigures [criterium=3Dall] Alan ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________