From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88632 Path: news.gmane.org!not-for-mail From: Keith McKay Newsgroups: gmane.comp.tex.context Subject: Framed text and page breaks Date: Tue, 02 Sep 2014 17:20:02 +0100 Organization: The PotHole Press Message-ID: <5405EE32.3020303@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1359660763==" X-Trace: ger.gmane.org 1409674830 370 80.91.229.3 (2 Sep 2014 16:20:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2014 16:20:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 18:20:24 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XOqoh-0001lY-5s for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2014 18:20:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D581102D3 for ; Tue, 2 Sep 2014 18:20:22 +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 YdTrxFiv8fZ4 for ; Tue, 2 Sep 2014 18:20:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CDE9E10227 for ; Tue, 2 Sep 2014 18:20:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1A7B101E6 for ; Tue, 2 Sep 2014 18:20:09 +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 ksJOR4XlzFE5 for ; Tue, 2 Sep 2014 18:20:07 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 2F3D4101E1 for ; Tue, 2 Sep 2014 18:20:07 +0200 (CEST) Original-Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s82GK55j019238 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 2 Sep 2014 18:20:06 +0200 Original-Received: by mail-wi0-f173.google.com with SMTP id cc10so7767741wib.12 for ; Tue, 02 Sep 2014 09:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type; bh=cc+88L95ftWDQVpxYmqnsTi8yB1ZHtxqH3HMPd3EGqc=; b=Y9QAYnXtpHJaTIkcf95Avp80Do8P+Pcti+BEGLlL9//YDTMtKV01p6Ox01NfQlwRwO YPaxhKHngRTz7yg11Z5FS/jikAMCFytH3fKJBhblPVcYoPAdIqq9HbEacSTnMrJh1OfB xDaZvzGX3JeA8C59hh5vHITQS6rH/h+1myladcblltw5YmkcdO5Eqgg3ogaigqf5DUWF yigrDdRWSDLuYBZXHKIhTPTuNomwPvaw3a+phuRD4M3E/JUGsRejFLjRxJKc5jfrnn85 StIQpQs7tiE51oGat6GQJrdFkY8Ul4AtyVI7mLxRPWxGth9KZPVWIDxI8H87u0OYebxg QBgQ== X-Received: by 10.194.203.105 with SMTP id kp9mr41149194wjc.41.1409674805074; Tue, 02 Sep 2014 09:20:05 -0700 (PDT) Original-Received: from Keiths-Mac-mini.local (cpc12-uddi22-2-0-cust219.20-3.cable.virginm.net. [82.15.155.220]) by mx.google.com with ESMTPSA id et1sm10495599wjd.11.2014.09.02.09.20.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Sep 2014 09:20:04 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MKgk5hP - 2c078cceecdd - 20140902 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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 Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88632 Archived-At: This is a multi-part message in MIME format. --===============1359660763== Content-Type: multipart/alternative; boundary="------------070901020503040100090806" This is a multi-part message in MIME format. --------------070901020503040100090806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Colleagues I've been struggling today with trying to change paragraph width of selected paragraphs within the body text of a novel I'm typesetting. I thought that the way to do this would be by framing the text that I would like to reduce the paragraph width off. However the framed text doesn't seem to honour page breaks and just seems to disappear off the page bottom. Also the framed text starts on a new page which I do not want to happen. Any suggestions on how I may go about solving this problem? Best Wishes Keith McKay Here is an example tex file which shows these effects: \definepapersize[book][width=5.06in,height=7.81in] \setuppapersize [book][] \setuplayout [width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm] \starttext \dorecurse{2}{\input ward \blank} \midaligned \framed[frame=off,width=5cm,align={width,nothyphenated,verytolerant,stretch},before=\blank]{\dorecurse{4}{\input ward \blank}} \dorecurse{2}{\input ward \blank} \stoptext --------------070901020503040100090806 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Colleagues

I've been struggling today with trying to change paragraph width of selected paragraphs within the body text of a novel I'm typesetting. I thought that the way to do this would be by framing the text that I would like to reduce the paragraph width off.  However the framed text doesn't seem to honour page breaks and just seems to disappear off the page bottom.  Also the framed text starts on a new page which I do not want to happen.

Any suggestions on how I may go about solving this problem?

Best Wishes
Keith McKay

Here is an example tex file which shows these effects:
\definepapersize[book][width=5.06in,height=7.81in]

\setuppapersize [book][]

\setuplayout [width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm]

\starttext

\dorecurse{2}{\input ward \blank}

\midaligned

\framed[frame=off,width=5cm,align={width,nothyphenated,verytolerant,stretch},before=\blank]{\dorecurse{4}{\input ward \blank}}

\dorecurse{2}{\input ward \blank}

\stoptext

--------------070901020503040100090806-- --===============1359660763== 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 ___________________________________________________________________________________ --===============1359660763==--