From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26796 Path: news.gmane.org!not-for-mail From: Johannes Fichtinger Newsgroups: gmane.comp.tex.context Subject: Absolute positioning of grafics in ConTeXt Date: Tue, 4 Apr 2006 16:31:57 +0200 Message-ID: <200604041631.57170.jotfi@yahoo.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1144217746 28509 80.91.229.2 (5 Apr 2006 06:15:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2006 06:15:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 05 08:15:45 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 1FR1It-0008Ie-9x for gctc-ntg-context-518@m.gmane.org; Wed, 05 Apr 2006 08:15:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE66B127B2; Wed, 5 Apr 2006 08:15:42 +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 04139-02; Wed, 5 Apr 2006 08:15:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4AD8127BA; Wed, 5 Apr 2006 08:10:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50EE212778 for ; Tue, 4 Apr 2006 16:32:04 +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 16960-06 for ; Tue, 4 Apr 2006 16:32:03 +0200 (CEST) Original-Received: from sslmail2.wu-wien.ac.at (sslmail2.wu-wien.ac.at [137.208.8.46]) by ronja.ntg.nl (Postfix) with SMTP id 646D81276F for ; Tue, 4 Apr 2006 16:32:03 +0200 (CEST) Original-Received: from douglas-adams.wu-wien.ac.at (douglas-adams.wu-wien.ac.at [137.208.42.116]) (authenticated bits=0) by sslmail2.wu-wien.ac.at (8.13.3/8.13.1) with ESMTP id k34EVvQ1062574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 4 Apr 2006 16:32:01 +0200 (CEST) (envelope-from jotfi@yahoo.de) Original-To: ntg-context@ntg.nl User-Agent: KMail/1.9.1 Content-Disposition: inline X-WU-wumi-status: clean v4.4.00/v4732 sslmail2 world 4d46858539edcb12576c2c8cb871a029 X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Wed, 05 Apr 2006 08:10:44 +0200 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:26796 Archived-At: Hi all, = I'm quite new to ConTeXt, but I've been working with LaTeX for several years now. Now I faced a problem which I'm not able to solve in LaTeX which probably can be solved in ConTeXt: I need a possibility to set grafics in a book on exact, absolute positions. Now I found the way for background images, like in the attached example. But obviously, normal text is written above the background image. I need now a possibility like this but for foreground grafics. So, how can I set the position of grafics absolutely in ConTeXt? Thanks, Johannes. My example: -------------------------------------------------------------- \enableregime =A0 =A0 =A0 =A0 =A0 [il1] \mainlanguage =A0 =A0 =A0 =A0 =A0 [de] \setuplayout =A0 =A0 =A0 =A0 =A0 =A0[grid=3Dyes,marking=3Don,horoffset=3D2c= m,veroffset=3D2cm] \definepapersize =A0 =A0 =A0 =A0[jo][width=3D14cm,height=3D18cm] \setuppapersize =A0 =A0 =A0 =A0 [jo][a4] \useexternalfigure[wr][dpm][type=3Dpng, width=3D5cm, height=3D4cm] \definelayer[wr-layer] \defineoverlay[wr-overlay][\composedlayer{wr-layer}] \setupbackgrounds[page][background=3D{wr-overlay}] \starttext \setlayer[wr-layer][x=3D-0.1cm,y=3D-0.1cm]{\externalfigure[wr]} Blablabla \stoptext --------------------------------------------------------------