From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25443 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: margin text headings Date: Fri, 20 Jan 2006 10:37:23 -0700 Organization: Colorado State University Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137778725 23280 80.91.229.2 (20 Jan 2006 17:38:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2006 17:38:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 20 18:38:38 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F00Cw-000736-9g for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jan 2006 18:37:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A09D912852; Fri, 20 Jan 2006 18:37:53 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23681-06-3; Fri, 20 Jan 2006 18:37:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A196412831; Fri, 20 Jan 2006 18:37:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D70CC12831 for ; Fri, 20 Jan 2006 18:37:49 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23681-06-2 for ; Fri, 20 Jan 2006 18:37:48 +0100 (CET) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id A7801127DB for ; Fri, 20 Jan 2006 18:37:48 +0100 (CET) Original-Received: (qmail 32686 invoked by uid 1006); 20 Jan 2006 17:37:47 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 2.64. Clear:SA:0(0.0/100.0):. Processed in 12.538703 secs); 20 Jan 2006 17:37:47 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.12) by -v with SMTP; 20 Jan 2006 17:37:34 -0000 Original-Received: (qmail 11564 invoked from network); 20 Jan 2006 17:37:33 -0000 Original-Received: from unknown (HELO walayah1.wildblue.com) (70.41.5.95) by -v with SMTP; 20 Jan 2006 17:37:33 -0000 Original-To: ntg-context@ntg.nl User-Agent: Opera M2/8.51 (Win32, build 7712) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25443 Archived-At: Dear consortium, In \setuptexttexts[margin] it would be nice to have an option for the margin text (used for headings= =20 here) to start from the top of the textblock, instead of the middle, =20 something like marginposition =3D top, middle % middle is default \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] \setuptext[marginposition=3Dtop,state=3Dhigh,] As is one has to do alot of guesswork. Can this be implemented (if it is = =20 not already)? In any case, is there a better way to do this (see example file)? Best Idris =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D % output=3Dpdf interface=3Den %\setuppapersize [A5][A4] \newdimen\Margin \Margin=3D1.5cm \newdimen\MarginRaise \MarginRaise=3D112.6ex % guesswork \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] \setuptext[style=3D\it,state=3Dhigh] \startsetups[text a] \raise\MarginRaise\hbox{\vtop{\hsize=3D\Margin% \startalignment[right] Testing Knuth 2 \stopalignment }} \stopsetups \startsetups[text b] \raise\MarginRaise\hbox{\vtop{\hsize=3D\Margin% \startalignment[right] Testing Knuth 1 \stopalignment }} \stopsetups \setuppagenumbering[alternative=3Ddoublesided, location=3D{footer,middle}] \showframe \starttext \dorecurse{20}{\input knuth\par } \stoptext =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/