From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30192 Path: news.gmane.org!not-for-mail From: The Wizard Newsgroups: gmane.comp.tex.context Subject: How to align graphics at text edge? Date: Wed, 09 Aug 2006 11:20:33 -0700 Organization: Sun Client Solutions Message-ID: <44DA2771.9090303@sun.com> Reply-To: Mark.Almeida@Sun.COM, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155147668 15303 80.91.229.2 (9 Aug 2006 18:21:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 18:21:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 09 20:21:04 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 1GAsfs-0003cj-C1 for gctc-ntg-context-518@m.gmane.org; Wed, 09 Aug 2006 20:21:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88EDF1FE87; Wed, 9 Aug 2006 20:20: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 22507-06; Wed, 9 Aug 2006 20:20:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A4041FE7A; Wed, 9 Aug 2006 20:20:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67E2E1FE7A for ; Wed, 9 Aug 2006 20:20:47 +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 22535-01 for ; Wed, 9 Aug 2006 20:20:41 +0200 (CEST) Original-Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by ronja.ntg.nl (Postfix) with SMTP id 609741FE70 for ; Wed, 9 Aug 2006 20:20:39 +0200 (CEST) Original-Received: from fe-amer-03.sun.com ([192.18.108.177]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k79IKcGA015094 for ; Wed, 9 Aug 2006 12:20:38 -0600 (MDT) Original-Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J3Q00401TL42S00@mail-amer.sun.com> (original mail from Mark.Almeida@Sun.COM) for ntg-context@ntg.nl; Wed, 09 Aug 2006 12:20:38 -0600 (MDT) Original-Received: from [192.168.1.28] ([71.146.74.254]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J3Q00LD7TM9STJ1@mail-amer.sun.com> for ntg-context@ntg.nl; Wed, 09 Aug 2006 12:20:34 -0600 (MDT) Original-To: ntg-context@ntg.nl User-Agent: Thunderbird 1.5.0.5 (X11/20060730) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30192 Archived-At: All - Thanks to some help from Hans, I have a very clean setup which creates a "standard" cover for my project documents. It has a long colored swirl the length of the page, two logos (mine and the customers') and a title. The code looks like this \startsetups[titlepage] \setuplayout[page] \startstandardmakeup \setlayer[page] [preset=lefttop] {\externalfigure[wp_cover_art_blue.pdf][height=\paperheight]} \setlayer[page] [preset=righttop,y=.01\paperheight,x=.01\paperwidth] {\externalfigure[customer-logo.pdf][height=.1\paperheight]} \setlayer[page] [preset=righttop,y=.08\paperheight,x=.01\paperwidth] {\externalfigure[my_logo_blk.pdf][height=.1\paperheight]} \setlayer[page][preset=middle] {\definedfont[SansBold at 22pt]\color[sunblue]\setupinterlinespace \framed[align=flushleft,frame=off]{\getvariable{document}{title}}} \tightlayer[page] \stopstandardmakeup \setuplayout \setuppagenumber[number=2] \doifmodeelse{twosided} { \setuppagenumbering[conversion=romannumerals,alternative=doublesided, location=,state=start] } { \setuppagenumbering[conversion=romannumerals,alternative=singlesided, location=,state=start] } \doifmode{twosided} {\page[yes,right]} \stopsetups and is invoked in the document as \setups[titlepage] Now, I am trying to figure out how to get the two logo graphics to align to the right edge of the printable page, but I can't seem to find the right "key" to the \externalfigure call. I have looked at the wiki, and through the manuals, but I don't seem to be able to find what I want. Any ideas? -- Mark Almeida mark.almeida@sun.com Solutions Architect (707)398-9524/x81132 Sun Client Solutions (707)429-0341 Home Office (707)480-5038 Cell