From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81697 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Overlapping \starthanging \stophanging with side captions Date: Mon, 15 Apr 2013 10:30:56 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366014679 28320 80.91.229.3 (15 Apr 2013 08:31:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 08:31:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 15 10:31:23 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UReos-0002E9-Pd for gctc-ntg-context-518@m.gmane.org; Mon, 15 Apr 2013 10:31:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60CB010229; Mon, 15 Apr 2013 10:31:02 +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 FP7iUfVCmJID; Mon, 15 Apr 2013 10:31:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 80177102DE; Mon, 15 Apr 2013 10:31:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E710810229 for ; Mon, 15 Apr 2013 10:30:58 +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 D8k94aVW3eUQ for ; Mon, 15 Apr 2013 10:30:57 +0200 (CEST) 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 D3768102DE for ; Mon, 15 Apr 2013 10:30:57 +0200 (CEST) Original-Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3F8qMDw019895 for ; Mon, 15 Apr 2013 10:52:23 +0200 Original-Received: by mail-bk0-f54.google.com with SMTP id q16so2227929bkw.13 for ; Mon, 15 Apr 2013 01:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=zQLuwcxZwGYCOdwxrpMKWCMU8wh0CCAYkJPRm6e+i2Y=; b=NtkiFMxYDLprylOoWXLZI04sO2xLKAcQXvltm9h62KPy+6DGmSJoLY7S0MqbWkr7pV 3nxDWCHEQPgTumBdsMxSS9s/8WujBuUav9eqm2duGexzElpAaKQPAC07mCMINDXO87lx havUrX4IZizYqvuwV6qzmqITpBFEUXY3miJ1oQT3noysUikLEmyAocFU4HNloRwu7LsB uBbBT66ilrtxKpmR39Plg7pUAkpUUSbTDrA7oHasjJyhR9xtx6Knhk0VVyAO3pNNYQNM 3MEP5JMXkibylQlQJkSFb4kgLTpgJ/8vJJuvycq5eZiWgYQYp5vPh9ERi1isG9zDCJYj xxUg== X-Received: by 10.205.11.194 with SMTP id pf2mr7924419bkb.46.1366014656891; Mon, 15 Apr 2013 01:30:56 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d073c87.pool.mediaWays.net. [77.7.60.135]) by mx.google.com with ESMTPS id v2sm7942933bkw.5.2013.04.15.01.30.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 01:30:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Jo8QmmH - f2c1dbdb8d0c - 20130415 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81697 Archived-At: Am 15.04.2013 um 10:18 schrieb Peter Sienkowski : > Hi, > > I'm trying to have extra explanatory text on the side of figures that is not part of the figure's caption. I can get a single figure to work but am having problems when there are multiple figures one after the other. > > I'm new to ConTeXT and have looked at the Details Manual but have not been able to fix this. > > I've been using something like: > > \starthanging{ > \placefigure[force][fig:first]{Caption 1} {\externalfigure[first-figure][width=\textwidth]}} > \inother[width=5cm]{Some text for the other bit} > \stophanging > > \starthanging{ > \placefigure[force][fig:first]{Caption 2} {\externalfigure[second-figure][width=\textwidth]}} > \inother[width=5cm]{Some text for the other bit 2} > \stophanging > > and the two figures will overlap. > > Any help would be much appreciated. Your problem is that you use the hanging environment in a way which is just wrong, the purpose of the command is to put a image etc. at the left/right side of the next paragraph. \useMPlibrary[dum] \starttext \starthanging{\externalfigure[dummy][width=4cm]} \input tufte \stophanging \stoptext What you can try is to put the margin text *in* the float itself because the text is flushed at the begin of the next paragraph. \starttext \startplacefigure[location=force,title={First dummy caption}] \inmargin{First margin dummy} \externalfigure[dummy][width=\textwidth] \stopplacefigure \startplacefigure[location=force,title={Second dummy caption}] \inmargin{Second margin dummy} \externalfigure[dummy][width=\textwidth] \stopplacefigure \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________