From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79155 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: images and text stacked in the margin Date: Mon, 12 Nov 2012 15:10:48 +0100 Message-ID: <20121112151048.0227082b@homerow> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352729466 26747 80.91.229.3 (12 Nov 2012 14:11:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 14:11:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 12 15:11:16 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 1TXujL-00059Y-Ge for gctc-ntg-context-518@m.gmane.org; Mon, 12 Nov 2012 15:11:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4065710212; Mon, 12 Nov 2012 15:11:05 +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 d0RLOL05CsXX; Mon, 12 Nov 2012 15:11:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8A6811023D; Mon, 12 Nov 2012 15:11:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50B4A1023D for ; Mon, 12 Nov 2012 15:11:01 +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 zdcR8c77tX6e for ; Mon, 12 Nov 2012 15:10:54 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id A415B10212 for ; Mon, 12 Nov 2012 15:10:54 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qACEAqXK019451 for ; Mon, 12 Nov 2012 15:10:53 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id C127418F3E5 for ; Mon, 12 Nov 2012 08:10:50 -0600 (CST) Original-Received: from homerow (miun111-191.dynamic.miun.se [193.10.111.191]) by lavabit.com with ESMTP id TI47KYRMPJOE for ; Mon, 12 Nov 2012 08:10:50 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=6IJ7psPd130LnLs131dBYp9cuXf190l/It2pqyindB+3mEqz6yYF3dga0iTxGIvOpabcS/xG6gMS0g7xNYMb4kQHA794zu5LmFVB9LbRqbUIe3aVG8oLuJpQjTezlBEa3PxaecTDrfiVqEYxVtQid7WeZYixCmahn1bHlIvQezM=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0003 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75206; latitude=32.8339; longitude=-96.7715; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8339,-96.7715&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VImCaQWW - 1f331eaf896e - 20121112 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:79155 Archived-At: 2012-11-12 Andy Thomas: > I am still struggling to achieve the page layout/look that I am > trying to get. For an image of the desired page spread please look > here: https://dl.dropbox.com/u/9089117/tufte-spread.png How about this: \useMPlibrary [dum] \setuplayout [width=10cm, rightmargin=5cm] \setupmargindata [inouter] [location=outer, stack=continue] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin] \definefloat [margintext] [margintexts] \setupfloat [margintext] [default=margin] \setupcaption [margintext] [location=none] \starttext \input knuth \startplacemarginfigure [title=Foo] \externalfigure [dum] [width=\rightmarginwidth] \stopplacemarginfigure \startplacemargintext \input ward \stopplacemargintext \input knuth \startplacemarginfigure [title=Bar] \externalfigure [dum] [width=\rightmarginwidth] \stopplacemarginfigure \stoptext You need to put the \placemargintext at the beginning of a paragraph, otherwise it will cause an unwanted break. Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________