From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72487 Path: news.gmane.org!not-for-mail From: "Mikael P. Sundqvist" Newsgroups: gmane.comp.tex.context Subject: Floating picture in margin with no interference with text/sections Date: Wed, 16 Nov 2011 15:18:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321453136 15600 80.91.229.12 (16 Nov 2011 14:18:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2011 14:18:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 16 15:18:52 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 1RQgKB-0006fo-Ox for gctc-ntg-context-518@m.gmane.org; Wed, 16 Nov 2011 15:18:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AAA8CB115; Wed, 16 Nov 2011 15:18:49 +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 j0QJMTuJ4Snv; Wed, 16 Nov 2011 15:18:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB83ECB0F7; Wed, 16 Nov 2011 15:18:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76541CB0F7 for ; Wed, 16 Nov 2011 15:18:35 +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 U0ckuXAb6aES for ; Wed, 16 Nov 2011 15:18:18 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 0EC52CB0E9 for ; Wed, 16 Nov 2011 15:18:18 +0100 (CET) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAGEIGZF004651 for ; Wed, 16 Nov 2011 15:18:17 +0100 Original-Received: by ggnq1 with SMTP id q1so769435ggn.14 for ; Wed, 16 Nov 2011 06:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=N2oQ8GPbPtuLTJg6TO+Ewdbh12zNIoeBzR6enmSkDWM=; b=rGa0QX3GG7VK7oydWNIxRacSzabF6N76k6UPz1i7XCDZSiMk9mk/6IeR+l7o7YzXI+ iSSCWLbpzwbY8eSsMC6MvwvCEhc/j5MzR914Upt2l6j9lWjkIV5R6NCU952h5pbwRrta 4JQokqENBa7iU2YC/70olxRHk4pjYFFCYp7IE= Original-Received: by 10.224.202.8 with SMTP id fc8mr20646172qab.10.1321453095570; Wed, 16 Nov 2011 06:18:15 -0800 (PST) Original-Received: by 10.229.155.207 with HTTP; Wed, 16 Nov 2011 06:18:15 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.169; 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: 0bFVOigmq - 7c0e25032d0d - 20111116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:72487 Archived-At: Dear list, I use mkiv which was installed today. Two questions. 1) Is it possible to put floating pictures in the margin without locking them in the current section? See the following example: %%% Start example \setuplayout[ rightmargin=5cm, width=fit, ] %\setuphead[section][ %aligntitle=float, %] \starttext \showframe \section{This is a short section} It contains one figure. \placefigure[inright,top][none]{A caption.}{\externalfigure[cow][width=4cm]} \section{This is another short section} It contains the same figure. \placefigure[inright,top][none]{A caption.}{\externalfigure[cow][width=4cm,height=6cm]} \section{This is a third section} \input knuth \stoptext %%% Stop example The result is given by http://tmp.oblandat.se/fig1.pdf If I uncomment (what I thought was the solution) the \setuphead part I get http://tmp.oblandat.se/fig2.pdf which looks better, but not as I want it. I want the sections and the text to look just as if there were no figures at all, and I want the figures to be stacked in the margin, the first one at the top of the margin, and the second one just below the first one. Is this possible? 2) If I really must not want a new page right after a section head (this happens in my long document, but no minimal example is given), is there any penalty or something i can set? This happens fairly often with the standard setup, it seems. Best regards, Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________