From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63560 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 22:26:27 +0100 Message-ID: References: <8B3095C1-246E-46D0-B427-34BC5507423F@gmail.com> <56127E2B-8C3A-4CE7-97E2-BA69D81BA139@gmail.com> 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="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289942843 29821 80.91.229.12 (16 Nov 2010 21:27:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 21:27:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 16 22:27:18 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 1PIT3e-0002Zl-DL for gctc-ntg-context-518@m.gmane.org; Tue, 16 Nov 2010 22:27:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5415DCA85A; Tue, 16 Nov 2010 22:27:17 +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 4uceDBfWvI1u; Tue, 16 Nov 2010 22:27:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93A53CA851; Tue, 16 Nov 2010 22:27:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2757CA851 for ; Tue, 16 Nov 2010 22:27:12 +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 0YLlZck3joDQ for ; Tue, 16 Nov 2010 22:27:01 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 27F68CA84F for ; Tue, 16 Nov 2010 22:27:01 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGLR0rP025651 for ; Tue, 16 Nov 2010 22:27:00 +0100 Original-Received: by bwz16 with SMTP id 16so756131bwz.14 for ; Tue, 16 Nov 2010 13:26:59 -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=cRMgI+KwG1DWxSCw5fcjYbRVuiijwEJ8TNTJ8LIYWxc=; b=vnOeY4zrR1M7nKJnWbdgr5ADWSdcRuJnKLtDMBd3ixPg834Qrf9n6YIOb0Py2c2gQT jfiYgSQh33e2NBC37d9wJk5TbOTJfE0gtlIMKuEfXG4yZVRRMQ8YTZAVnwVmKCT1w8Lc C3o2bNqOPyDejzpN4OgXg+TkdpVne/M86NtDM= 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=Z9giFcrsua+g8nimQmcfC2BVlV4I958JEcf4yMU4f0fHyoGXSXJyG2Hc64vt5bGEfT B5SsQxCAPIZE4YZtxUZ8Ei4Gdoexzeed8nsEb7GOIiga2oO68UBRA+Y2Pa/BVVFuefpg //ZcunObf8UMjQn6Et+pd4UzwUG8lwhsAyclE= Original-Received: by 10.204.100.79 with SMTP id x15mr8324695bkn.10.1289942819767; Tue, 16 Nov 2010 13:26:59 -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 v1sm817544bkt.5.2010.11.16.13.26.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 13:26:58 -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: 05DvVr0rh - 329f6f642749 - 20101116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:63560 Archived-At: Am 16.11.2010 um 22:12 schrieb Peter Davis: > Thanks again! Now I get output, But text isn't getting composed inside = these boxes. It's just all output on one line. I tried a couple of paragr= aphs, and just saw the the end of one and the beginning of the next one one= line. > = > Sorry if there's some obvious remedy for this. I'm still new to ConTeXt. Here is a complete working and tested example: \definelayer[textbox][width=3D\paperwidth,height=3D\paperheight] \setupbackgrounds[page][background=3Dtextbox] \def\starttextbox {\dosingleargument\dostarttextbox} \def\dostarttextbox[#1]% {\def\stoptextbox{\setlayerframed[textbox][width=3D6cm,align=3Dnormal,fr= ame=3Doff,#1]{\getbuffer[textbox]}}% \startbuffer[textbox][starttextbox][stoptextbox]} \starttext \starttextbox[x=3D2cm,y=3D4cm] The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. But our presence is like the effect of an old-age patient who smokes many packs of cigarettes per day =96 and we humans are the cigarettes. \stoptextbox \starttextbox[x=3D6cm,y=3D12cm,width=3D8cm] Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large-scale user; the designer should also write the first user manual. The separation of any of these four components would have hurt \TeX\ significantly. If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. But a system cannot be successful if it is too strongly influenced by a single person. Once the initial design is complete and fairly robust, the real test begins as people with many different viewpoints undertake their own experiments. = \stoptextbox \page[empty] \starttextbox[x=3D4cm,y=3D6cm,width=3D8cm,align=3D{right,nothyphenated},fra= me=3Don] The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. But our presence is like the effect of an old-age patient who smokes many packs of cigarettes per day =96 and we humans are the cigarettes. \stoptextbox \page[empty] \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________