From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49413 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: button alignment question Date: Tue, 14 Apr 2009 16:16:24 +0200 Message-ID: <326847810904140716k5b65244n9acad1c0638d9697@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0728926943==" X-Trace: ger.gmane.org 1239718702 12213 80.91.229.12 (14 Apr 2009 14:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 14:18:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 14 16:19:39 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LtjTv-0003y0-KI for gctc-ntg-context-518@m.gmane.org; Tue, 14 Apr 2009 16:19:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 69D9C1FB39; Tue, 14 Apr 2009 16:17:55 +0200 (CEST) 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 14426-02; Tue, 14 Apr 2009 16:17:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 124B11FB1F; Tue, 14 Apr 2009 16:17:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6734C1FB1F for ; Tue, 14 Apr 2009 16:16:59 +0200 (CEST) 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 22370-04 for ; Tue, 14 Apr 2009 16:16:30 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id EBB761FA2B for ; Tue, 14 Apr 2009 16:16:29 +0200 (CEST) Original-Received: from mail-ew0-f173.google.com (mail-ew0-f173.google.com [209.85.219.173]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3EEGOv4028480 for ; Tue, 14 Apr 2009 16:16:29 +0200 Original-Received: by ewy21 with SMTP id 21so2714935ewy.2 for ; Tue, 14 Apr 2009 07:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0gFY6NVfDwtxthHAgMSr92kKpsTUX+tmC4bk/KsKttw=; b=q7ZIPTjwnEJKTZaeIIRFgVXSP4FHaULtDTs5XX06cwnJQ8TMYjlcMYsk0mGmgiN+lc sXfpE0ZJ5LfSxiPqyubC4Hx0LHibDQQznZydKj242yPgp6tCpIMo9ocPMjWTb/SiG4lr bL6WlOiPdSDm9TV7mcavgItPgiJdFhgCVo0vA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CtFtymIiPvZmbRChlhsY4q6nYGiKPB3/wod3ePJLk3rDLl2Veqo00UT2cnsvg/QLLM FtJ8xJdTRP3fSQadZwc1k3qFWwTYSkPKZ4pffOR7wfaJxOOzhY+p75iNUPS0LKIM5g+l +IVHGKDVj4ePyex1uoQvH9Qhdkjy4TkC5dsjo= Original-Received: by 10.210.137.17 with SMTP id k17mr2988144ebd.6.1239718584229; Tue, 14 Apr 2009 07:16:24 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 208256601 - d6d5db3a167e - 20090414 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49413 Archived-At: --===============0728926943== Content-Type: multipart/alternative; boundary=0015174c1416d5b4c20467847954 --0015174c1416d5b4c20467847954 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, How do you keep the footer buttons between the footer's top and bottom ? \showframe \def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]} \def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]} \setupinteraction[state=start] \setupheadertexts[text][aaa][aaa] \setupheadertexts[margin][\myHeaderButton][\myHeaderButton] \setupfootertexts[text][ppp][ppp] \setupfootertexts[margin][\myFooterButton][\myFooterButton] \starttext test \stoptext Thanks, Alan --0015174c1416d5b4c20467847954 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0
How do you keep the footer buttons between the footer's top and bo= ttom ?
=A0
\showframe
=A0
\def\myHeaderButton{\interactionbuttons[width=3D2cm,height=3D\headerhe= ight][OK]}
\def\myFooterButton{\interactionbuttons[width=3D2cm,height=3D= \footerheight][OK]}
=A0
\setupinteraction[state=3Dstart]
=A0
\setupheadertexts[text][aaa][aaa]
\setupheadertexts[margin][\myHead= erButton][\myHeaderButton]
=A0
\setupfootertexts[text][ppp][ppp]
\setupfootertexts[margin][\myFoot= erButton][\myFooterButton]
=A0=A0
\starttext
test
\stoptext

Thanks,
Alan
--0015174c1416d5b4c20467847954-- --===============0728926943== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0728926943==--