From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82330 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] heading in margin -> strange extra vertical spaces Date: Sun, 5 May 2013 00:54:11 +0200 Message-ID: <20130504225411.GI663@homerow> References: <20130504220308.38dfffd2@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0918150817==" X-Trace: ger.gmane.org 1367708072 27132 80.91.229.3 (4 May 2013 22:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 22:54:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun May 05 00:54:33 2013 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 1UYlLb-0008Jg-Di for gctc-ntg-context-518@m.gmane.org; Sun, 05 May 2013 00:54:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59267101E4; Sun, 5 May 2013 00:54:30 +0200 (CEST) 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 WZMZl4TmmTTQ; Sun, 5 May 2013 00:54:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A051A101E5; Sun, 5 May 2013 00:54:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAC62101E5 for ; Sun, 5 May 2013 00:54:27 +0200 (CEST) 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 QuK+oWnNcAv7 for ; Sun, 5 May 2013 00:54:26 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 63607101E4 for ; Sun, 5 May 2013 00:54:16 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r44NHJr0000950 for ; Sun, 5 May 2013 01:17:19 +0200 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 4798811C608 for ; Sat, 4 May 2013 17:54:14 -0500 (CDT) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id BKPPNQXIDN9J for ; Sat, 04 May 2013 17:54:14 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=Pu3SUGDZrklq1EJCc7MCqnVlGuNxWNQe9mpqEMuhji4HRw4i1LmXCZnj1vuQB6dHZ6LmUHkz0gdShOst3AY1suV7J/JZd3u9bWoF/jd/253pBAqKf/IARexbIfy4p37nfepy5dblB2q3AJzr+PYqODDcExnlavozIAgJRfIe1Pg=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:X-PGP-Key:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <20130504220308.38dfffd2@zenlima.eu> X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.9711 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JvXhj0b - 09bf43472fa7 - 20130505 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:82330 Archived-At: --===============0918150817== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QWpDgw58+k1mSFBj" Content-Disposition: inline --QWpDgw58+k1mSFBj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9305=E2=80=9304 Zenlima wrote: > I want to display the lowest heading in the outer margin. But as soon > the simple text becomes a heading, a strange extra line appears on top > of the margin.=20 >=20 > In my minimum example below the first paragraph shows how it should look > like in the pdf-file; the second paragraph is with a heading in the > margin.=20 >=20 > Can anyone tell me,=20 >=20 > a) how to get rid of the unwanted extra vertical space?=20 You can use a custom headalternative setup: \definesection [section-8] \definehead [myheader] [] [alternative=3Dmyheader, section=3Dsection-8] \defineheadalternative [myheader] [alternative=3Dhorizontal, renderingsetup=3Dsetup:myheader] \startsetups [setup:myheader] \inouter{\headtextcontent} \stopsetups \starttext \inouter{Hasselt makes headlines} \input tufte \myheader{Hasselt makes headlines} \input tufte \stoptext > b) Why is the line-break in the margin of the second paragraph > different than above? The margin box itself is positioned correctly, but I have no clue where the empty line comes from. You can visualise the box with: \setupmarginframed [inouter] [frame=3Don] Marco --QWpDgw58+k1mSFBj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRhZGTAAoJEPGqVaNSn0iKZsQH/3lwrMfij0a892ODm1N3kY4V 7HbStZvtOuQei4lg3rszfXtZlMEhRUo+pmW25upU83XwO2sT1YP1+lULsGadOAkP z8hu2ehkyyRbjTBMMvpY/TZ8im4Y3K8ICrumLFzk3g5tgMRNJDEgfpFkoKMZi9LH okSfC64Sz+ZBIIMIOlWzrObwRY+sP4x1ETv3rSgPQ7pWEQOeBQ9aWdrxRaDoNUIU 705BoYdb20wxXXbAvnL8eDrnbI9wYtwszExLZYMopW7iXz20muYYQ2C+O1NxxyJ2 FHZ+eoXXeNR/mpmrWO/OJ3QN9BjEHnMgR2gdj9Tm4kNSDS8L286h8slNCZ6oyxo= =dCH0 -----END PGP SIGNATURE----- --QWpDgw58+k1mSFBj-- --===============0918150817== 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 ___________________________________________________________________________________ --===============0918150817==--