From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76521 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: pushing margintext up Date: Tue, 29 May 2012 11:44:10 +0200 Message-ID: <4FC49A6A.5040709@wxs.nl> References: <5D5609E3-B1EE-4731-8BC1-30F1DE57DEDA@web.de> <20120528164421.GA24319@phlegethon> <4FC3AFBD.60809@wxs.nl> <9649316D-6A34-434A-82C7-150122F3E127@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338284666 10570 80.91.229.3 (29 May 2012 09:44:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 May 2012 09:44:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 29 11:44:23 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 1SZIyU-00028j-3u for gctc-ntg-context-518@m.gmane.org; Tue, 29 May 2012 11:44:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4400E101E0; Tue, 29 May 2012 11:44:21 +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 2VM7iDyyCNoV; Tue, 29 May 2012 11:44:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84A5C101E4; Tue, 29 May 2012 11:44:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 089BD101E4 for ; Tue, 29 May 2012 11:44:18 +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 99olhjvCrgCc for ; Tue, 29 May 2012 11:44:17 +0200 (CEST) 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 03FA4101E0 for ; Tue, 29 May 2012 11:44:17 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4T9iE1C002200 for ; Tue, 29 May 2012 11:44:16 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 3733-1713362 for multiple; Tue, 29 May 2012 11:44:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <9649316D-6A34-434A-82C7-150122F3E127@web.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHfJIeGs - bdb2decd2240 - 20120529 (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.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:76521 Archived-At: On 29-5-2012 11:37, Andy Thomas wrote: > On 28.05.2012, at 19:02, Hans Hagen wrote: > >> On 28-5-2012 18:44, Philipp Gesang wrote: >>> Hi Andy, >>> >>> On 2012-05-27 17:57, Andy Thomas wrote: >>>> Hello, >>>> >>>> could someone point out to me, where in the standalone >>>> installation the 'margin float placement' algorithm lives. >>> >>> it depends: >>> Floats: strc-flt.mkvi >>> Side floats: page-sid.mkiv >>> Margin data (as in your example): typo-mar.mkiv >>> >>> and their respective .lua companions. I suspect you will be >>> interested in the function =84inject()=93 (part of the finalizer) in >>> typo-mar.lua. >> >> keep in mind that this is not finished yet i.e. there is no api at the l= ua end yet >> >>>>> is there a way for margintext to 'respect' the lower border >>>>> of the page and push the margintext up, pushing other margintexts >>>>> upwards while doing so? >>> >>> +1, I=92m curious too whether this can be done. >> >> maybe some day when I'm looking into the page builder code >> >> Hans > > Is it possible, as a workaround for now, to make every \margintext call t= o virtually occur at the first line of the page? Then, they are stacked in = sequence in the margin from the top of the page down, but on the page they = occur. not in the next few weeks as we don't change anything fundamental while = in tex live code freeze / going current .. only fixes now Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________