From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55980 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: simple usage of \hpos Date: Sat, 6 Feb 2010 23:17:37 +0100 Message-ID: <20100206221737.GA697@gaston.couberia.bzh> 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 1265494683 22248 80.91.229.12 (6 Feb 2010 22:18:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2010 22:18:03 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 06 23:18:00 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdsyV-0006ge-FF for gctc-ntg-context-518@m.gmane.org; Sat, 06 Feb 2010 23:17:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1A7AC9C71; Sat, 6 Feb 2010 23:19:20 +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 l85CfvaKNe2U; Sat, 6 Feb 2010 23:19:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82DE5C9C04; Sat, 6 Feb 2010 23:19:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27D06C9C04 for ; Sat, 6 Feb 2010 23:19:07 +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 k--lcEv3iOSi for ; Sat, 6 Feb 2010 23:19:03 +0100 (CET) Original-Received: from smtp28.orange.fr (smtp28.orange.fr [80.12.242.99]) by balder.ntg.nl (Postfix) with ESMTP id E44B9C9BF4 for ; Sat, 6 Feb 2010 23:19:02 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2804.orange.fr (SMTP Server) with ESMTP id 8A9177000397 for ; Sat, 6 Feb 2010 23:17:38 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2804.orange.fr (SMTP Server) with ESMTP id 7CA027000425 for ; Sat, 6 Feb 2010 23:17:38 +0100 (CET) Original-Received: from gaston.couberia.bzh (ARennes-551-1-39-69.w86-210.abo.wanadoo.fr [86.210.106.69]) by mwinf2804.orange.fr (SMTP Server) with ESMTP id 54DCE7000397 for ; Sat, 6 Feb 2010 23:17:38 +0100 (CET) X-ME-UUID: 20100206221738347.54DCE7000397@mwinf2804.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id CFA92307FE; Sat, 6 Feb 2010 23:17:37 +0100 (CET) Mail-Followup-To: ConTeXt list Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) 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:55980 Archived-At: Hello, How can I place an element as background at a previously defined position? Here a test-file to show what I'm looking for: \definelayer[graphics][position=yes] \setupbackgrounds[page][background=graphics] \starttext Here is some text. I would like to appear a graphics exactly behind \hpos{XXX}{HERE}. How can I do this, without measuring by hand the x- and y-offsets, and perhaps also without using metapost? Such a command would be fine: \type{\placeatpos[XXX]{my background figure}}, or \type{\setlayer[graphics][location=XXX]{...}}. \setlayer[graphics][dx=128mm, dy=-27mm]{\externalfigure[hacker.jpg][width=1cm]} \stoptext TIA for any help! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________