From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76663 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: setupcaptions stopper and separator Date: Mon, 4 Jun 2012 21:30:23 +0200 Message-ID: <2CE4D8EE-5C2D-4847-A66B-07FAA4A5CFAD@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338838183 13867 80.91.229.3 (4 Jun 2012 19:29:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 19:29:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 04 21:29:41 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sbcy7-0004xk-Nq for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jun 2012 21:29:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC05D101E4; Mon, 4 Jun 2012 21:29:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id N7nZlIL5HRma; Mon, 4 Jun 2012 21:29:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C411101DF; Mon, 4 Jun 2012 21:29:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 455F4101DF for ; Mon, 4 Jun 2012 21:29:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jfaGAtZIEzSW for ; Mon, 4 Jun 2012 21:29:31 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 82C00101DD for ; Mon, 4 Jun 2012 21:29:31 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.11]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q54JRRjL008222 for ; Mon, 4 Jun 2012 21:27:27 +0200 Original-Received: from lanhost84.gateway.org.10.in-addr.arpa ([87.139.114.12]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0Lrs70-1Rr6td19zC-013qF2 for ; Mon, 04 Jun 2012 21:29:29 +0200 X-Mailer: Apple Mail (2.1257) X-Provags-ID: V02:K0:vFqHuw8J2QtrRz+WGu8fCJYeDrw+YxA8Lu80SOY4qci d1L6e85PiX4OFM2ep1toYW0571xihh6XPOgwXUYb2U1h60vQtD TDuQYo/Ki4KarlkOBQyO/EshysuhYHrGjaQPzohg8FR8dunnqh XHn5Kwfa6xYrTQdNgHIJ0BSIoxfUh4z8Mm7EejjZf+POWR00PX be+chMDDWXZAVBZw1EVkA== X-Bayes-Prob: 0.0042 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.11; country=DE; region=02; city=Munich; latitude=48.1500; longitude=11.5833; http://maps.google.com/maps?q=48.1500,11.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHijrrmW - 5ca141ccd90c - 20120604 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76663 Archived-At: Hi all, while trying to figure out all the functions that setupcaptions has, I stumbled trying to make stopper and separator work. MnWE: \useMPlibrary[dum] \starttext \section{One} \setupcaptions [figure] [way=bysection,prefixsegments=section,separator={A},stopper={B},suffix={C}] \startplacefigure[title={A rectangle with a caption. Not very interesting.},reference=fig1] \externalfigure[dummy][width=0.5\textwidth] \stopplacefigure \in{Figure}[fig1] \stoptext As far as I understand it, the separator changes the dot between the section and the figure number and the stopper is placed right after the figure number and used in references as well (which is different from suffix). Is that correct? Andy ___________________________________________________________________________________ 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 ___________________________________________________________________________________