From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76302 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: stack marginals: text and figures Date: Sun, 20 May 2012 20:42:17 +0200 Message-ID: <4D47F885-057D-4F47-BB5E-41CFD3FA33E0@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337588983 26569 80.91.229.3 (21 May 2012 08:29:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 May 2012 08:29:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 21 10:29:40 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 1SWNzk-0002hI-Gz for gctc-ntg-context-518@m.gmane.org; Mon, 21 May 2012 10:29:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA068101E4; Mon, 21 May 2012 10:29:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PYG9isMD35ng; Mon, 21 May 2012 10:29:35 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3E70101E1; Mon, 21 May 2012 10:29:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB814101E0 for ; Sun, 20 May 2012 20:42:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oLtjF2KWWnWf for ; Sun, 20 May 2012 20:42:18 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D5404101DD for ; Sun, 20 May 2012 20:42:18 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.15.4]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4KIgI8a029208 for ; Sun, 20 May 2012 20:42:18 +0200 Original-Received: from [10.0.1.2] ([78.94.219.187]) by smtp.web.de (mrweb002) with ESMTP (Nemesis) id 0MPGym-1SRlEo0Oe0-004PKA; Sun, 20 May 2012 20:42:18 +0200 X-Mailer: Apple Mail (2.1257) X-Provags-ID: V02:K0:uAjGJbnXI/5aFcV+JUBY/asSAYf2xp2RX+mAE1410ab Q+/5CR/nkQ66lswdlpYvw5OFIx/pSI+pGp+EmOvTd5Qf5PkZ+v sFVxmUnuwnVhG6lbZaAC3aJQq2nd7QGBbgl5yMnroxSJEJVbTF P/MQU2M5tQR1ecl69p+yXARPI/f5KpJj2nJLss82AIqpboDbxU Ci/0BQRR6IzSBcs+XEUyQ== X-Bayes-Prob: 0.0009 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.4; country=DE; region=02; city=Munich; latitude=48.1500; longitude=11.5833; http://maps.google.com/maps?q=48.1500,11.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHciGif0 - 3d79f656643b - 20120520 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Mailman-Approved-At: Mon, 21 May 2012 10:29:32 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76302 Archived-At: Dear ConTeXt group, I am trying to stack text and figures in the margin. After getting some help, I am able to setup the text just fine, the notes do not overlap. I am also able to stack figures, they also do not overlap. But figures and text does not 'know of each other'. They do overlap. I made a small example to show the behavior: % setup the page format \definepapersize[wissenschaft][width=170mm,height=240mm] % use the new page format \setuppapersize[wissenschaft] % shape the page \setuplayout[topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt, height=560pt, rightmargindistance=20pt, rightmargin=100pt, footer=0pt] %\showframe \setuppagenumbering[alternative=doublesided] \definemargindata [margintext] [ location=outer, width=100pt, align=flushouter, stack=continue, % or yes ] \starttext This is a sentence.\margintext{This is a note in the margin.} Another sentence.\margintext{Another note.} \placefigure[margin][fig:one]{This is a small figure.}{\externalfigure[test][width=100pt]} \placefigure[margin][fig:two]{This is another small figure.}{\externalfigure[test][width=100pt]} \stoptext I also tried to do things such as \margintext{\placefigure...}}, but had no success. Is there a way to achieve a 'stacking' of all marginals? 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 ___________________________________________________________________________________