From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16388 Path: main.gmane.org!not-for-mail From: "Martin Kolarik" Newsgroups: gmane.comp.tex.context Subject: RE: Absolute positioning of graphics on the page Date: Tue, 7 Sep 2004 20:43:44 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: References: <836313294.20040907130437@iol.it> Reply-To: martin@mii.cz, mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094582645 3553 80.91.224.253 (7 Sep 2004 18:44:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2004 18:44:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 07 20:43:55 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C4kwd-0000kT-00 for ; Tue, 07 Sep 2004 20:43:55 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF3B212797; Tue, 7 Sep 2004 20:43:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18043-05-3; Tue, 7 Sep 2004 20:43:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8256312791; Tue, 7 Sep 2004 20:43:52 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 402BA12791 for ; Tue, 7 Sep 2004 20:43:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18043-05-2 for ; Tue, 7 Sep 2004 20:43:50 +0200 (CEST) Original-Received: from ns2.avonet.cz (unknown [217.112.162.42]) by ronja.ntg.nl (Postfix) with ESMTP id 9ADE612789 for ; Tue, 7 Sep 2004 20:43:50 +0200 (CEST) Original-Received: from europe (kolarik.avonet.cz [217.112.166.172]) by ns2.avonet.cz with SMTP id i87Ihicg006217 for ; Tue, 7 Sep 2004 20:43:50 +0200 Original-To: "mailing list for ConTeXt users" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <836313294.20040907130437@iol.it> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16388 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16388 > This surely works ok for "top left". But how can I guarantee > that "top right" has its *top right* corner in the position? I > would have to calculate the coordinates manually (depending on > page site, "top right text" dimensions etc). Yes, AFAIK the mechanism does not support this now (and I do not know, if it sometimes will do -- it seems to me it is a relatively old part of ConTeXt and Hans himself recommends you the layers :-). Anyway, you would have to count positions and coordinates manually. But there is always a way using generic TeX here: \position(40,1){% \hbox to 0pt{% \hss \vbox to 0pt{ -- a material to typeset or display -- \vss } } Of course, this solution does not take into account all of ConTeXt dependent (and very convenient and pretty) features like grid fitting etc. It is a thing of your needs. Have a nice day, Martin