From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74325 Path: news.gmane.org!not-for-mail From: Jan Heinen Newsgroups: gmane.comp.tex.context Subject: A5 on A4 - top/left-corner of A5 should be 0,0 Date: Mon, 06 Feb 2012 01:38:19 +0100 Message-ID: <4F2F20FB.1020505@gmx.de> 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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328488718 12089 80.91.229.3 (6 Feb 2012 00:38:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 00:38:38 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 06 01:38:36 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 1RuCbH-0002GI-8V for gctc-ntg-context-518@m.gmane.org; Mon, 06 Feb 2012 01:38:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69933CB203; Mon, 6 Feb 2012 01:38:30 +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 sTOSiJ14YZCo; Mon, 6 Feb 2012 01:38:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EB2FCB1F4; Mon, 6 Feb 2012 01:38:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B513CB1F4 for ; Mon, 6 Feb 2012 01:38:25 +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 vnBsBkdi77RL for ; Mon, 6 Feb 2012 01:38:23 +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 DD8B6CB1DA for ; Mon, 6 Feb 2012 01:38:22 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q160cLe9022995 for ; Mon, 6 Feb 2012 01:38:21 +0100 Original-Received: from [192.168.178.101] (p57BA0D90.dip0.t-ipconnect.de [87.186.13.144]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MbxnK-1SAE4w3M4E-00JNHm; Mon, 06 Feb 2012 01:38:21 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 X-Provags-ID: V02:K0:U3MTF1zI4PiBqR5PaOH/VSJiAnvHD4JtUllP7El/gRu bZOzEWd0OpVJxfyh63vm+dZvupyKzK4x+iip0ETgLD+2OvWW1Y zku/ge50TGa1nqsq+93Ds8Cfrx4P1AiT6Bim/VnUAZfzcMt0oK DmUMx5PfQuoMKFGCJSzenGG2loTDBIKMWM8lpwyfqSAZTM6nO8 okNTH7tvUm1hVSlFqTvYXGWnYhZUYXUfWOQnt3pQQUAr/o8RYV 4X7ETkTDSLCDKqNNSDUzCg5faO9Hc9ngHXdvhn165kb7ETae8D wl1tYlzIxjO+V3mt6dofF3cFUnVAWdznCZYix+aooFfc9kF1V8 KkPXXju3XLJsSf4MonVc= X-Bayes-Prob: 0.0989 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.187; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cGuoClbN - 2f83a64776ca - 20120206 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74325 Archived-At: Hello I have put an A5-page on A4-paper. And then I put a cow on to the page ... but it should be on the top/left-corner of the A5-page instead of the A4-page: I know, one posibility would be to use x=... and y=... in \definelayer. Isn't there an easier way to refer to the A5 instead to the A4 so tha x=0mm and y=0mm ist the top/left-corner of the A5? \setuppapersize [A5][A4] \setuplayout[marking=on, location=middle] \definelayer[newlayer] [width=\paperwidth, height=\paperheight] \setupbackgrounds [paper] [background=newlayer,state=start ]% \starttext \setlayerframed [newlayer] [width=60mm,height=60mm,hoffset=0mm,voffset=0mm] [strut=no,offset=overlay,frame=on] {\externalfigure[cow][frame=on,width=40mm,height=40mm]}% Hello world. \stoptext Regards Jannis ___________________________________________________________________________________ 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 ___________________________________________________________________________________