From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76478 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: pushing margintext up Date: Mon, 28 May 2012 18:44:21 +0200 Message-ID: <20120528164421.GA24319@phlegethon> References: <5D5609E3-B1EE-4731-8BC1-30F1DE57DEDA@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0437479332==" X-Trace: dough.gmane.org 1338223383 24802 80.91.229.3 (28 May 2012 16:43:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 16:43:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 28 18:43:02 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 1SZ322-0005p2-4h for gctc-ntg-context-518@m.gmane.org; Mon, 28 May 2012 18:42:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5A68101E7; Mon, 28 May 2012 18:42:57 +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 No5EEXIsKUb2; Mon, 28 May 2012 18:42:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D6AD101DF; Mon, 28 May 2012 18:42:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79A2E101DF for ; Mon, 28 May 2012 18:42:54 +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 sph-oH9rfswb for ; Mon, 28 May 2012 18:42:53 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 29CB5101DD for ; Mon, 28 May 2012 18:42:53 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q4SGgp1e013104 for ; Mon, 28 May 2012 18:42:51 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q4SGgogr016711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 May 2012 18:42:51 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q4SGgoaB015139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 May 2012 18:42:50 +0200 Original-Received: from localhost (dslb-188-104-129-074.pools.arcor-ip.net [188.104.129.74]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id q4SGgnw8024901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 May 2012 18:42:50 +0200 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <5D5609E3-B1EE-4731-8BC1-30F1DE57DEDA@web.de> X-Operating-System: Linux phlegethon 3.3.6-1-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aHfsGPgD - ce6b921800a7 - 20120528 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:76478 Archived-At: --===============0437479332== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andy, On 2012-05-27 17:57, Andy Thomas wrote: > Hello, >=20 > 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 =E2=80=9Einject()=E2=80=9C (part of the finalize= r) in typo-mar.lua. > > 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=E2=80=99m curious too whether this can be done. Regards Philipp > >=20 > > example: > >=20 > > \definepapersize[wissenschaft][width=3D170mm,height=3D240mm] > > \setuppapersize [wissenschaft] > >=20 > > \setuplayout > > [topspace=3D40pt, > > header=3D0pt, > > headerdistance=3D0pt, > > backspace=3D42pt, > > leftmargin=3D0pt, > > width=3D280pt, > > height=3D560pt, > > rightmargindistance=3D20pt, > > rightmargin=3D100pt, > > footer=3D0pt] > >=20 > > \setuppagenumbering[alternative=3Ddoublesided] > >=20 > > \setupmargindata [margintext] > > [location=3Douter, > > width=3D100pt, > > align=3Dflushouter] > >=20 > > \starttext \showframe > >=20 > > \input tufte > > \input tufte > > \input tufte\margintext{This is too low, if there are many words in thi= s note.} > >=20 > > \stoptext > >=20 > > Kind of hard to explain, I hope the example makes everything clear.=20 > >=20 > > Andy > >=20 --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk/Dq2UACgkQ02lYlJYWs9Kd/ACfW80bkWmFRBxQQDNXGLzveKCp 26kAnjtidR7UOWesDjIKRV3dMHGWN82j =ElTO -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- --===============0437479332== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0437479332==--