From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96405 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: MKIV caption separator, revisited Date: Mon, 10 Oct 2016 10:40:49 +0200 Message-ID: <57FB5411.6070401@gmail.com> References: <5355BE8B.7000809@rik.users.panix.com> <595DCEBF-3176-48F7-9718-BD4985E57631@gmail.com> <319D6571-5F54-46FA-96FD-2BE4D3DC5339@uva.nl> <57FA9E08.6020106@gmail.com> <06EA008D-492D-46C9-88F7-12713CE4DBDA@uva.nl> <57FB53CD.8050002@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7223802896999515502==" X-Trace: blaine.gmane.org 1476089037 19252 195.159.176.226 (10 Oct 2016 08:43:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 08:43:57 +0000 (UTC) User-Agent: Postbox 5.0.4 (Macintosh/20161007) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 10 10:43:53 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btWBU-0003Sc-NK for gctc-ntg-context-518@m.gmane.org; Mon, 10 Oct 2016 10:43:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 939251A991; Mon, 10 Oct 2016 10:41:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1WFXy7b0wJTJ; Mon, 10 Oct 2016 10:41:03 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DB8CB1A982; Mon, 10 Oct 2016 10:41:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C4D151A8FF for ; Mon, 10 Oct 2016 10:41:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jYh4Bt2-Z2ll for ; Mon, 10 Oct 2016 10:41:03 +0200 (CEST) Original-Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 416641A8BA for ; Mon, 10 Oct 2016 10:40:53 +0200 (CEST) Original-Received: by mail-lf0-f44.google.com with SMTP id x79so114870419lff.0 for ; Mon, 10 Oct 2016 01:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=54bUZRBHaIesec4FLPo8ObHZ519ajC3OCeTEvkZB54k=; b=BRh1W72lHv6HSUnMCxQG4JT+IcCaaAAdma5Pbji16z6/+Ho8dIVGU1t5a18+6VT3nU Z/GqCrrWdR9qyV4G2xJIkIq2QqnYTQUVoTvqp7DOtcq6I9YQ/Jth23nYH1N01rXtbZQn nFO9Ql8Z2Lc3jwMr2Coz74wBbIHo3G+fNybGq87Sig1/DnpLRnO0L//7/P1fnp6Q2v2A Dyw+46QM52kR1N55b+zp2QfMMcJI6Td7Zdp/vBrh5ypxBVfFj22yKFlt55PQvJXVNdQR YN6yefukbdMx8P+rptTjuawACqJHCxE9984uPdFsfzxg39Q79yFQn/XSRzqHays6DxJN A34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=54bUZRBHaIesec4FLPo8ObHZ519ajC3OCeTEvkZB54k=; b=GrDnia0vfMBpc4SScv6BYGNIV0beN6tZXsQRwf1O8WTlslMaLbOUXmrbuUW3E3hnPf 3Ehhvx/N7ZLrKadLh98KhiG96fM1F4OBHiS0/ERrk/GWwyu18KsAmhyPHajwimfdwT6T qDeUqX6QB49rqRBuPS+YPhpBSki5hT1HIPYNBbpSngc6Rl/dOg/eNhMlyPWvFOk3CpB5 NxhDFBtWyM9PS3/doHKZyrhsBvZfWmv+Th4WBIIRRhtJ+3ht7cMrZ6aHC2X2LIhti4LW z5x+qMfYu8uinl/t3zqi08s8II0Q+XhmvffrV6MMWiA3UMYThu7UDGCTv/2rRHWaM02e htCQ== X-Gm-Message-State: AA6/9Rl0IyjfscdHubSFWf6sd+D3FSGdwk9sFXDhFw8mysTA7JXo1Y9DUrmaxhvfOVXvnw== X-Received: by 10.25.190.69 with SMTP id o66mr14032270lff.109.1476088852332; Mon, 10 Oct 2016 01:40:52 -0700 (PDT) Original-Received: from keima.localdomain (x2f23e0b.dyn.telefonica.de. [2.242.62.11]) by smtp.gmail.com with ESMTPSA id s10sm1616271lja.26.2016.10.10.01.40.51 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Oct 2016 01:40:51 -0700 (PDT) In-Reply-To: <57FB53CD.8050002@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96405 Archived-At: This is a multi-part message in MIME format. --===============7223802896999515502== Content-Type: multipart/alternative; boundary="------------020402020403080507090209" This is a multi-part message in MIME format. --------------020402020403080507090209 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Wolfgang Schuster > 10. Oktober 2016 um 10:39 > prefixconnector is the separator between the section number (=prefix) > and the float number (=figure number), the symbol at the end of the > float number is called numberstopper. In your example you don’t have a > section which can act as prefix number no did you change which > prefixes should be shown (by default only chapters are used as prefix). > > The suffix key you use (together with suffixconnector and > suffixstopper) is used to show the number for subfigures, e.g. figure 3.a. Here is a working example for the use of the prefixconnector key. \starttext \section{This is a section} \setupcaptions[prefixsegments=section,prefixconnector=-] \startplacefigure[title=\tex{setupcaptions[prefixconnector=-]}] \externalfigure[dummy][width=.5\textwidth] \stopplacefigure \stoptext Wolfgang --------------020402020403080507090209 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
10. Oktober 2016 um 10:39
prefixconnector is the separator between the section number (=prefix) and the float number (=figure number), the symbol at the end of the float number is called numberstopper. In your example you don’t have a section which can act as prefix number no did you change which prefixes should be shown (by default only chapters are used as prefix).

The suffix key you use (together with suffixconnector and suffixstopper) is used to show the number for subfigures, e.g. figure 3.a.
Here is a working example for the use of the prefixconnector key.

\starttext

\section{This is a section}

\setupcaptions[prefixsegments=section,prefixconnector=-]

\startplacefigure[title=\tex{setupcaptions[prefixconnector=-]}]
\externalfigure[dummy][width=.5\textwidth]
\stopplacefigure

\stoptext

Wolfgang
--------------020402020403080507090209-- --===============7223802896999515502== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============7223802896999515502==--