From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41845 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: placing image on layer is sketchy Date: Mon, 23 Jun 2008 09:04:27 +0200 Message-ID: <115224fb0806230004k49a51a98wa6b5f433d1e4bc6c@mail.gmail.com> References: <200806202154.30446.ml@koloro.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214204775 28440 80.91.229.12 (23 Jun 2008 07:06:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 07:06:15 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 23 09:06:59 2008 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 1KAg8a-0003ru-Q5 for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jun 2008 09:06:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 56E7A1FBD0; Mon, 23 Jun 2008 09:05:58 +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 28402-02-8; Mon, 23 Jun 2008 09:05:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85D8C1FBC1; Mon, 23 Jun 2008 09:05:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29F0F1FB7E for ; Mon, 23 Jun 2008 09:05:05 +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 28691-06-3 for ; Mon, 23 Jun 2008 09:04:34 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by ronja.ntg.nl (Postfix) with ESMTP id 1C5E31FC06 for ; Mon, 23 Jun 2008 09:04:33 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so2618139wfd.5 for ; Mon, 23 Jun 2008 00:04:32 -0700 (PDT) Original-Received: by 10.143.155.7 with SMTP id h7mr3265441wfo.16.1214204667217; Mon, 23 Jun 2008 00:04:27 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Mon, 23 Jun 2008 00:04:27 -0700 (PDT) In-Reply-To: <200806202154.30446.ml@koloro.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:41845 Archived-At: On Fri, Jun 20, 2008 at 9:54 PM, Uwe Koloska wrote: > Hello, > > still working on the CD booklet ;-) > > While trying to include the pictures I have some problems with placing a > picture onto a layer: The following code should place the picture into the > lower right corner of the upper part and then goes to the left. The part that > goes over the page border is for the bleeding. > But the result (as seen in the attached pdf) is a sketchy position of the > right, bottom corner it looks like the same offset in x and -y direction. > > Two more observations: > - with the "offset=-1mm" in the layerframe configuration there is only an > offset in -y direction left (offset=0mm is not enough) > - without the frame it works as expected (and so my problem is solved) > > \setuppapersize[CD][CD,oversized] > \setuppagenumbering[location=,state=stop] > > \setuplayout > [location=middle] > > \showframe[edge] > > \useexternalfigure[page12][dummy] > > \definelayer > [p12] > [width=\paperwidth, > height=\paperheight] > > \setlayerframed [p12] > [x=\paperwidth,y=74mm, > location={left,top}] > [width=124mm,height=77mm, > %offset=-1mm, > frame=on] > {\externalfigure[page12][width=126mm,height=77mm]} > %\setlayer [p12] > % [x=\paperwidth,y=74mm, > % location={left,top}] > % {\externalfigure[page12][width=124mm,height=77mm]} \setlayer [p12] [preset=righttop, voffset=74mm] {\offset[location=rt,rightoffset=-3mm] {\tlap{\externalfigure[page12][width=\dimexpr\paperwidth+6mm\relax,height=77mm]}}} > \starttext > \setupbackgrounds[page][background=p12] > \startstandardmakeup > \stopstandardmakeup > \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________