From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72756 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: captions trouble Date: Sat, 26 Nov 2011 17:09:13 +0100 Message-ID: <899B72BB-EB7D-4361-92B1-B660BA73E729@googlemail.com> References: <787D2EB1-BDB3-44FB-8F3A-DE93B6C0C036@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/mixed; boundary="===============0711862916==" X-Trace: dough.gmane.org 1322323768 17842 80.91.229.12 (26 Nov 2011 16:09:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2011 16:09:28 +0000 (UTC) Cc: Hans van der Meer To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 26 17:09:24 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 1RUKod-0000GN-1u for gctc-ntg-context-518@m.gmane.org; Sat, 26 Nov 2011 17:09:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76889CB124; Sat, 26 Nov 2011 17:09:22 +0100 (CET) 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 TKR4IU9p9EAg; Sat, 26 Nov 2011 17:09:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF926CB127; Sat, 26 Nov 2011 17:09:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03412CB127 for ; Sat, 26 Nov 2011 17:09:19 +0100 (CET) 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 THu3rcqsuJta for ; Sat, 26 Nov 2011 17:09:17 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 0F9C9CB124 for ; Sat, 26 Nov 2011 17:09:16 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAQG9GGa011820 for ; Sat, 26 Nov 2011 17:09:16 +0100 Original-Received: by bke17 with SMTP id 17so7251058bke.14 for ; Sat, 26 Nov 2011 08:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=fOxHIHBalZXVPpW5K0aEQOQHzonAOaUtJuvWuscI0Ig=; b=pkh33laswq4JV3Kt6v7th6YIhqCcupGyjR+nHUXCYTFQdv8qcvlp7pMZJKN5mUSix0 TMGUyDf++qDFv1a3VgvIC8FomXQdopBROF2xr6EmmT4tRDtmojbSnOI2UKr8gcViDY9C 784SwEDtKw4KHSuTTi+7TdAcZsUuYQOWhII3Y= Original-Received: by 10.204.38.16 with SMTP id z16mr39519147bkd.66.1322323755842; Sat, 26 Nov 2011 08:09:15 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFD419.dip.t-dialin.net. [87.175.212.25]) by mx.google.com with ESMTPS id z1sm2562399fab.22.2011.11.26.08.09.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Nov 2011 08:09:14 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 03G1Q9gc0 - bf73972135b3 - 20111126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:72756 Archived-At: --===============0711862916== Content-Type: multipart/alternative; boundary="Apple-Mail=_ABCE507E-7FE5-49EC-A930-FC4A2EC10F35" --Apple-Mail=_ABCE507E-7FE5-49EC-A930-FC4A2EC10F35 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 26.11.2011 um 15:17 schrieb Wolfgang Schuster: >=20 > Am 26.11.2011 um 12:29 schrieb Meer, H. van der: >=20 >> Something seems amiss in the code below. The idea is having in = general figures with numbered labels, but now and then a figure without. = First I thought to use [location=3Dnone] on the placement, but then the = numbering is not interrupted: label-1 (label-2 invisible), label-3. That = is disturbing to the reader who will think a figure is missing. The = numbering and the label are suppressed by \setupcations[number=3Dno] and = reinstated with \setupcaptions[number=3Dyes]. But this kills the space = between the label and the caption. I enclose a minimal example that = shows the effect. Could this be a bug? >>=20 >> \setuppapersize[A6][A6] >> \starttext >> \placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]} >> \setupcaptions[number=3Dno] >> \placefigure{}{\externalfigure[arrows.pdf]} >> \setupcaptions[number=3Dyes] >> \placefigure[][fig:3]{label without = space}{\externalfigure[arrows.pdf]} >> \stoptext >=20 > There is no need for \setupcaptions because you can say = \placefigure[none]{=85}{=85} and \placefigure[nonumber]{=85}{=85} but = the missing space after the label is wrong. I send a fix for the missing space to the dev list. Wolfgang --Apple-Mail=_ABCE507E-7FE5-49EC-A930-FC4A2EC10F35 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

Am = 26.11.2011 um 12:29 schrieb Meer, H. van der:

Something seems amiss in the code below. The = idea is having in general figures with numbered labels, but now and then = a figure without. First I thought to use [location=3Dnone] on the = placement, but then the numbering is not interrupted: label-1 (label-2 invisible), label-3. That is disturbing to the reader = who will think a figure is missing. The numbering and the label are = suppressed by \setupcations[number=3Dno] and reinstated with = \setupcaptions[number=3Dyes]. But this kills the space between the label and the caption. I enclose a minimal example that shows the = effect. Could this be a bug?

\setuppapersize[A6][A6]
\starttext
\placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]}
\setupcaptions[number=3Dno]
\placefigure{}{\externalfigure[arrows.pdf]}
\setupcaptions[number=3Dyes]
\placefigure[][fig:3]{label without = space}{\externalfigure[arrows.pdf]}
= \stoptext

T= here is no need for \setupcaptions because you can say = \placefigure[none]{=85}{=85} and \placefigure[nonumber]{=85}{=85} = but the missing space after the label is = wrong.

I send a fix for the = missing space to the dev = list.

Wolfgang

= --Apple-Mail=_ABCE507E-7FE5-49EC-A930-FC4A2EC10F35-- --===============0711862916== 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 ___________________________________________________________________________________ --===============0711862916==--