From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63553 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Placing boxes anywhere on the page Date: Tue, 16 Nov 2010 21:22:56 +0100 Message-ID: <8B3095C1-246E-46D0-B427-34BC5507423F@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289939031 10203 80.91.229.12 (16 Nov 2010 20:23:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 20:23:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 16 21:23:45 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 1PIS48-0002vR-35 for gctc-ntg-context-518@m.gmane.org; Tue, 16 Nov 2010 21:23:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4DC0BCA878; Tue, 16 Nov 2010 21:23:43 +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 RR2DA8IU1CdX; Tue, 16 Nov 2010 21:23:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C224CA86F; Tue, 16 Nov 2010 21:23:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95307CA86F for ; Tue, 16 Nov 2010 21:23:37 +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 2toYBFBZagv4 for ; Tue, 16 Nov 2010 21:23:35 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 3C310CA86C for ; Tue, 16 Nov 2010 21:23:35 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGKNYHP031673 for ; Tue, 16 Nov 2010 21:23:34 +0100 Original-Received: by bwz16 with SMTP id 16so694006bwz.14 for ; Tue, 16 Nov 2010 12:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=qsdDr+mC8eoPgfGt4vjKpKnbgdw+egorBMllrXXMBXI=; b=cOpa0SCscRRbxI8ILwRQAnaxsejRJMz5OFpy7ccoMITpCO4tbrhOCoxZ5zJdSUf0CI 9u10UIkfvutqmgUPqm40uciwYAZRRPPJInwRFottXl6WDRBIBcxEE/6KJkqK8LByNHWY SmLeShlGGe1FmELadhoxBTsLJ+lkCGfSxQOdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=wwaivlafBNxhRcqRBSJVumZKWRmlXpbmx/wpmYaqOhlXe9Ix02we2adNz6ItzJUkWW Q4jH202tVvEPPZxgX/iyYak/6QPVyDIn13GIcLX6CbWbjIu94WgCIqikSQwmSkC7rwwv +c+2JLLAfbpdljDOqE4mcZ5hX/TToOs/JRC2E= Original-Received: by 10.204.115.2 with SMTP id g2mr8086785bkq.19.1289939014065; Tue, 16 Nov 2010 12:23:34 -0800 (PST) Original-Received: from [192.168.2.23] (p5B295495.dip.t-dialin.net [91.41.84.149]) by mx.google.com with ESMTPS id f21sm776979bkf.12.2010.11.16.12.23.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 12:23:32 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDvUnyiw - 63afd8a21674 - 20101116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:63553 Archived-At: Am 16.11.2010 um 21:06 schrieb Peter Davis: > Is there a way to place a box at some specified x and y position on the page, and then typeset one or more paragraphs of text into the box? I guess I'm thinking of something like LaTeX's minipage, but with the ability to specify absolute coordinates, rather than just position relative to the current baseline. Use layers (untested): \definelayer[textbox][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=textbox] \def\starttextbox {\dosingleargument\dostarttextbox} \def\dostarttextbox[#1]% {\def\stoptextbox{\setlayerframed[textbox][#1]{\getbuffer[textbox]}}% \startbuffer[textbox][starttextbox][stoptextbox]} \starttext \starttextbox[x=2cm,y=4cm,width=8cm,frame=off] some text ... more text ... \stoptextbox \starttextbox[x=6cm,y=12cm,width=8cm,frame=off] another example ... \stoptextbox \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________