From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79814 Path: news.gmane.org!not-for-mail From: reviczky@caesar.elte.hu Newsgroups: gmane.comp.tex.context Subject: margin location in headertext Date: Sat, 08 Dec 2012 11:41:30 +0100 Message-ID: <20121208114130.19121kqx29c50di2@webmail.caesar.elte.hu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="Yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354963298 1505 80.91.229.3 (8 Dec 2012 10:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 10:41:38 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 08 11:41:51 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 1ThHqx-00010Z-FL for gctc-ntg-context-518@m.gmane.org; Sat, 08 Dec 2012 11:41:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A16E8101E2; Sat, 8 Dec 2012 11:41:38 +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 5wQya8d4Qhj1; Sat, 8 Dec 2012 11:41:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 297CB101E3; Sat, 8 Dec 2012 11:41:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01551101E3 for ; Sat, 8 Dec 2012 11:41:34 +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 9qeCZLThTQQi for ; Sat, 8 Dec 2012 11:41:33 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 34DE1101E2 for ; Sat, 8 Dec 2012 11:41:33 +0100 (CET) Original-Received: from mx2.mail.elte.hu (mx2.mail.elte.hu [157.181.151.9]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB8AfWOw018642 for ; Sat, 8 Dec 2012 11:41:32 +0100 Original-Received: from mailbox1.caesar.elte.hu ([157.181.151.157]) by mx2.mail.elte.hu with esmtp (Exim) id 1ThHqc-0002w2-Ab from for ; Sat, 08 Dec 2012 11:41:32 +0100 Original-Received: from webmail.caesar.elte.hu ([157.181.151.223]:51209 helo=webmail.elte.hu) by mailbox1.caesar.elte.hu with esmtp (Exim 4.72) (envelope-from ) id 1ThHqc-0004DE-3Y for ntg-context@ntg.nl; Sat, 08 Dec 2012 11:41:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=webmail.caesar.elte.hu) by webmail.elte.hu with esmtp (Exim 4.72) (envelope-from ) id 1ThHqc-0002jB-2p for ntg-context@ntg.nl; Sat, 08 Dec 2012 11:41:30 +0100 Original-Received: from ip-87-82-207-196.easynet.co.uk (ip-87-82-207-196.easynet.co.uk [87.82.207.196]) by webmail.caesar.elte.hu (Horde Framework) with HTTP; Sat, 08 Dec 2012 11:41:30 +0100 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 87.82.207.196 X-ELTE-Username: reviczky X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=157.181.151.9; country=HU; latitude=47.0000; longitude=20.0000; http://maps.google.com/maps?q=47.0000,20.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IwWFwQv - 5aa9b5aa3e03 - 20121208 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:79814 Archived-At: Hi, Is it possible, without having to use layers, to specify the location of a frame inside the margin of the header relative to the headertext? Here's an example: --- \setupheadertexts[\setups{frames}][][][] \setupheadertexts[margin][\setups{marginframe}][][][] \setuppagenumbering[location=] \startsetups[frames] \framed[height=15mm,location=top]{frame at the top} \framed[location=top]{frame at the top} \stopsetups \startsetups[marginframe] %%% how to align this at the top? \framed[location=top]{frame not at the top?} %%% \stopsetups \showframe \starttext \input knuth \stoptext --- The workaround I'm currently using is to enlarge the height of the margin-frame to the highest one inside the header. --- \framed[location=top,height=15mm,align=top]{frame not at the top?} --- Adam ___________________________________________________________________________________ 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 ___________________________________________________________________________________