From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79154 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: images and text stacked in the margin Date: Mon, 12 Nov 2012 14:45:49 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352727957 13031 80.91.229.3 (12 Nov 2012 13:45:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 13:45:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 12 14:46:08 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 1TXuL1-0002TB-4d for gctc-ntg-context-518@m.gmane.org; Mon, 12 Nov 2012 14:46:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E97CD10312; Mon, 12 Nov 2012 14:45:56 +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 kJwx-UD4azqW; Mon, 12 Nov 2012 14:45:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 503AB1025E; Mon, 12 Nov 2012 14:45:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFC2D1025E for ; Mon, 12 Nov 2012 14:45:52 +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 aw8GK104u5wv for ; Mon, 12 Nov 2012 14:45:51 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 18F8B1025B for ; Mon, 12 Nov 2012 14:45:51 +0100 (CET) Original-Received: from mout.web.de (mout.web.de [212.227.17.12]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qACDjoSl016961 for ; Mon, 12 Nov 2012 14:45:50 +0100 Original-Received: from [192.168.178.131] ([82.83.73.103]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0M7bYJ-1TMPGM3WMR-00wZuM for ; Mon, 12 Nov 2012 14:45:49 +0100 X-Mailer: Apple Mail (2.1283) X-Provags-ID: V02:K0:CXlNkYqVIOS2iu6o2Dr4QI7LlrZuJeX5rVpcfY/JPJS eDumNJcz219YhtAnxw4Tfd1/vY88rYO6McAePrYF3KbZtWY2sI s5pB/TzuQvc+F2fahfIJetdH4PwE1ABRrWMMTReNDBfKbHuh86 oi9ZyzfCmf6ZOfCtShVL14rVVfFIHvbPXFh0Y8mG7HVDzFUC4C p4Seng8Cy0j0Mpeved37w== X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.12; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NImBJOzq - 0cffeefc1060 - 20121112 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:79154 Archived-At: Dear list, 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 The design is using the ample margin to place text (sidenotes), figures (images) and tables in the margin. I am unable to get both (images and text) to work properly. (1) put all in a \margintext \margintext{...} for text \margintext{\placefigure...} for external images This option does not work if the position is close to a page break (cp. http://archive.contextgarden.net/message/20121111.191529.3fbef120.en.html) (2) use two different macros \margintext{...} for text and \placefigure[location=margin]{}{...} for external images This option does not work because they are placed on top of each other. I also tried \startplacefigure, but also no luck. (3) put all in a \placefigure \placefigure[margin,none]{}{Text Text} for text \placefigure[margin,none]{}{...} for external images This works best, because it starts from the top and nicely stacks the marginals. But it introduces a paragraph break where the sidenote is called. This does not work, it defeats the purpose (imagine a paragraph after every footnote). (4) use (3) and postponing \startpostponing [+1]% \startplacefigure[location={margin,none}]% Text text\stopplacefigure% \stoppostponing% Now, the paragraph break is gone, but the sidenote is on the next page, which does not make sense in our case (cp. http://tex.stackexchange.com/questions/56388/avoid-line-break-after-macro). In general, I do not understand, where the paragraph break at the \placefigure... comes from. It does not seam necessary in most cases (e.g. location=top) and postponing does avoid it. Can I 'gobble' it somehow? Does anyone have an idea, how to make it work for images as well as text combined? Andy ___________________________________________________________________________________ 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 ___________________________________________________________________________________