From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55926 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: overlay at given position: help needed Date: Fri, 5 Feb 2010 11:27:06 +0100 Message-ID: <20100205102706.GA15350@gaston.couberia.bzh> References: <20100204221133.GA30490@gaston.couberia.bzh> <4B6BE569.9030307@googlemail.com> 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 1265365654 15355 80.91.229.12 (5 Feb 2010 10:27:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 10:27:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 05 11:27:31 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 1NdLPD-0006wX-3B for gctc-ntg-context-518@m.gmane.org; Fri, 05 Feb 2010 11:27:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 185FDC9CF5; Fri, 5 Feb 2010 11:28: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 qJV+YDvNX2bY; Fri, 5 Feb 2010 11:28:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B0D2C9CE5; Fri, 5 Feb 2010 11:28:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95827C9CE5 for ; Fri, 5 Feb 2010 11:28:24 +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 khUXU51sq3PD for ; Fri, 5 Feb 2010 11:28:22 +0100 (CET) Original-Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.96]) by balder.ntg.nl (Postfix) with ESMTP id 0A46CC9CBB for ; Fri, 5 Feb 2010 11:28:21 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2716.orange.fr (SMTP Server) with ESMTP id 31DA31C01372 for ; Fri, 5 Feb 2010 11:27:07 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2716.orange.fr (SMTP Server) with ESMTP id 1B2AF1C01389 for ; Fri, 5 Feb 2010 11:27:07 +0100 (CET) Original-Received: from gaston.couberia.bzh (ARennes-551-1-39-69.w86-210.abo.wanadoo.fr [86.210.106.69]) by mwinf2716.orange.fr (SMTP Server) with ESMTP id D0E851C01372 for ; Fri, 5 Feb 2010 11:27:06 +0100 (CET) X-ME-UUID: 20100205102706855.D0E851C01372@mwinf2716.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 54D7F309AB; Fri, 5 Feb 2010 11:27:06 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4B6BE569.9030307@googlemail.com> 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:55926 Archived-At: On Fri, Feb 05 2010, Wolfgang Schuster wrote: >> Below is a test file, to show a bit what I'm looking for: a >> background-image behind a text-area at a given position relative to the >> center of this area. I'm not yet satisfied with the result. >> > What is the expected output from your code with the left and top keys? Hello Wolfgang, When top=0 and left=0, the image should be centred in the text area. With top=0.5 it should be centred in the bottom half. With top=0.5 and left=0.5 it should be centred in bottom right quarter. And so on. ("top" and "left" should be probably replaced by "hoffset" and "voffset") Another idea comes to my mind: text text text text text text text text text text text text text text text text text text text text text text text text text \placeanchor[myanchorname][hoffset=2cm, voffset=-1cm] text text text text text text text text text text text text text text text text \placeatanchor[myanchorname]{\externalfigure[...]} That means: I would like to define a position somewhere in the text, perhaps some distance away from the actual point (hoffset and voffset). And afterwards, I place an image at exactly that position as background. This way, I can probably use the \FlushStep command. I've looked quickly into the details.pdf but it all seems to be related to floats... 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 ___________________________________________________________________________________