From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72755 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: captions trouble Date: Sat, 26 Nov 2011 15:17:57 +0100 Message-ID: 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="===============1461010537==" X-Trace: dough.gmane.org 1322317103 9735 80.91.229.12 (26 Nov 2011 14:18:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2011 14:18:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 26 15:18:19 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 1RUJ58-0002hh-G6 for gctc-ntg-context-518@m.gmane.org; Sat, 26 Nov 2011 15:18:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0505CB172; Sat, 26 Nov 2011 15:18:17 +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 BZvFl-C2fgqk; Sat, 26 Nov 2011 15:18:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42E86CB139; Sat, 26 Nov 2011 15:18:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28968CB139 for ; Sat, 26 Nov 2011 15:18:14 +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 4fCjryeAWTqj for ; Sat, 26 Nov 2011 15:18:03 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 25151CB137 for ; Sat, 26 Nov 2011 15:18:03 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAQEI1LR017248 for ; Sat, 26 Nov 2011 15:18:02 +0100 Original-Received: by bke17 with SMTP id 17so7116686bke.14 for ; Sat, 26 Nov 2011 06:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=Gic7fOLBUS+I3TYKsAiOEoXKpxq8kDJXAbiWu5UrQF4=; b=Dgtk2yzPw7GJ1VKiYacJkiNlnBmUuPC5bxehCM0wUWNs7IO12jtmrB/GbGzXd8lbqx suuxlYTwy/N+fhbP5+sXTOoH0Smw6HuX+6DNsZrGZSpVHlJJHC5/nE3NTJwStKTPZYEU gEhexUi/apAtvhwd1zdqgtfBksMN8+Kb3wWNs= Original-Received: by 10.204.154.151 with SMTP id o23mr37810681bkw.62.1322317080955; Sat, 26 Nov 2011 06:18:00 -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 n25sm32220715fah.15.2011.11.26.06.17.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Nov 2011 06:18:00 -0800 (PST) In-Reply-To: <787D2EB1-BDB3-44FB-8F3A-DE93B6C0C036@uva.nl> 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: 0aG1Oi19T - 2752707d79ac - 20111126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:72755 Archived-At: --===============1461010537== Content-Type: multipart/alternative; boundary="Apple-Mail=_A21F9313-8B98-4B95-BBAE-43FDD0A37BB0" --Apple-Mail=_A21F9313-8B98-4B95-BBAE-43FDD0A37BB0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; 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? >=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 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. Wolfgang= --Apple-Mail=_A21F9313-8B98-4B95-BBAE-43FDD0A37BB0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
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.

Wolfgang
= --Apple-Mail=_A21F9313-8B98-4B95-BBAE-43FDD0A37BB0-- --===============1461010537== 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 ___________________________________________________________________________________ --===============1461010537==--