From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69829 Path: news.gmane.org!not-for-mail From: Kip Warner Newsgroups: gmane.comp.tex.context Subject: Re: Getting framed text to page break Date: Wed, 06 Jul 2011 18:16:56 -0700 Message-ID: <1310001416.12352.38.camel@kip-laptop> References: <1309936959.12352.27.camel@kip-laptop> <20110706084426.GB28706@aides> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0644754164==" X-Trace: dough.gmane.org 1310001440 11304 80.91.229.12 (7 Jul 2011 01:17:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 01:17:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 07 03:17:16 2011 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 1QedDO-0007Cl-T5 for gctc-ntg-context-518@m.gmane.org; Thu, 07 Jul 2011 03:17:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44B43CAE11; Thu, 7 Jul 2011 03:17:13 +0200 (CEST) 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 u473DjLA7N5p; Thu, 7 Jul 2011 03:17:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8C96CAE09; Thu, 7 Jul 2011 03:17:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAE90CAE09 for ; Thu, 7 Jul 2011 03:17:07 +0200 (CEST) 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 ciE9LV5YDQp1 for ; Thu, 7 Jul 2011 03:17:05 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 14E87CADF6 for ; Thu, 7 Jul 2011 03:17:05 +0200 (CEST) Original-Received: from homiemail-a80.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p671H3Gb032548 for ; Thu, 7 Jul 2011 03:17:04 +0200 Original-Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id 0313937A078 for ; Wed, 6 Jul 2011 18:16:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thevertigo.com; h=subject:from:to :in-reply-to:references:content-type:date:message-id: mime-version; q=dns; s=thevertigo.com; b=FVeuQkxn/Obj2OvRWlIjm+t JA3HkqtykZQ0sYPkcmaZfWOw5EXGwdDN4zQ4e06b3W58RLEHOE5JOHw23dORy16T C22Y0bOu4eiBrOl7SCIk1skQ20liUQNvtkMLqXrDrunNCl95Baa8PYyqtlFHAHE+ y//RqjT9xiyjndJIFeII= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thevertigo.com; h=subject :from:to:in-reply-to:references:content-type:date:message-id: mime-version; s=thevertigo.com; bh=4kZkoXIFTJDCbvfZSIvNv3aUWdY=; b=GWp7od6PwpzSbsunkAcBikrs/fIpifsamG6NG05zQFX62p3WfTaWx8X7OeRxv AOumpGcpDGC/5F3k05L7JXmlkRnhPwIeMVuamw8K1C9tfLRCqGv6svIb6dJesOkm 9lo41jTLXJqkK7CvgHzaxokJGjyHg+OheOCfY/VMaSKypY= Original-Received: from [192.168.1.64] (76-10-184-69.dsl.teksavvy.com [76.10.184.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kip@thevertigo.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPSA id B3A5537A075 for ; Wed, 6 Jul 2011 18:16:11 -0700 (PDT) In-Reply-To: <20110706084426.GB28706@aides> X-Mailer: Evolution 2.32.1 X-Bayes-Prob: 0.0002 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.113.200.5; country=US; region=CA; city=Brea; postalcode=92821; latitude=33.9269; longitude=-117.8612; metrocode=803; areacode=714; http://maps.google.com/maps?q=33.9269,-117.8612&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eF4Nh37F - fa8bfc164963 - 20110707 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:69829 Archived-At: --===============0644754164== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-T8uJ652/GfbZ5OLHowyy" --=-T8uJ652/GfbZ5OLHowyy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2011-07-06 at 10:44 +0200, Philipp Gesang wrote: > Hi again, >=20 > there=E2=80=99s also the background mechanism which has been explicitly > (see pack-rul.mkiv) designed with page breaks in mind. Example: >=20 > =C2=B7=C2=B7=C2=B78<=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7 >=20 > \setupbackground[ > corner=3Drectangular, > frame=3Don, > background=3D, > ] >=20 >=20 > \starttext > \startbackground > \dorecurse{42}{\input dawkins \endgraf} > \stopbackground > \stoptext Hey Phil, I'm not very competent with ConTeXt, but I tried to translate what you and wrote into the following: \def\StartSpecialFramedText% { \crlf \setupbackground [corner=3Drectangular, frame=3Don, background=3D ] \startbackground \startframedtext [width=3Dbroad, bottom=3D\vss, top=3D\vss, align=3Dright, corner=3Drectangular] \it=20 } \def\StopSpecialFramedText% { \stopframedtext \stopbackground \crlf } ... \StartSpecialFramedText Lots ... of ... Text \StopSpecialFramedText It comes out looking almost the same as initially, but with a box around it. --=20 Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com --=-T8uJ652/GfbZ5OLHowyy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk4VCQgACgkQLXnfK7bii21g4wCfeUBzdE6h3PNMjYn/vsgiFQky MlEAn2JXtppEyF6v3kQ6UM6qi+JkUpcm =UV7i -----END PGP SIGNATURE----- --=-T8uJ652/GfbZ5OLHowyy-- --===============0644754164== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0644754164==--