Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Jan 2009 16:01:35 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id n0MF1Wdq017601 for ; Thu, 22 Jan 2009 16:01:33 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n0MEu8bg006179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jan 2009 15:56:08 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n0MBVUbl006126; Thu, 22 Jan 2009 15:56:06 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 226455 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 22 Jan 2009 15:56:06 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n0MEu6r7029450 for ; Thu, 22 Jan 2009 15:56:06 +0100 Received: from web82008.mail.mud.yahoo.com (web82008.mail.mud.yahoo.com [66.163.178.252]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with SMTP id n0MEtq8Y004635 for ; Thu, 22 Jan 2009 15:55:53 +0100 Received: (qmail 5555 invoked by uid 60001); 22 Jan 2009 14:55:51 -0000 X-YMail-OSG: w_aV6oYVM1mH0dGXJxDfpkpj.dwaSxR0Rez_H7Xwuz25QfUMH0Jmflxr3VGB3B5A_A-- Received: from [128.252.117.249] by web82008.mail.mud.yahoo.com via HTTP; Thu, 22 Jan 2009 06:55:51 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <49758499.5080004@morningstar2.co.uk> <150532.45020.qm@web82002.mail.mud.yahoo.com> <49782F88.9090501@morningstar2.co.uk> <18808.14594.895857.730057@morse.mittelbach-online.de> <859ec5630901220603q48bbe1e4kb6043967e3581051@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id n0MEu6r7029451 Message-ID: <597382.5271.qm@web82008.mail.mud.yahoo.com> Date: Thu, 22 Jan 2009 06:55:51 -0800 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Paul Thompson Subject: Re: changing page dimensions in mid-document (was Re: Key points of LaTex3) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 22 Jan 2009 15:01:35.0749 (UTC) FILETIME=[51E83B50:01C97CA2] Status: R X-Status: X-Keywords: X-UID: 5623 Thanks for taking the time to look at newlfm. What I do there is 1) set dimensions for Page 1 based on letterhead stuff; 2) at the same time, compute requirements for Page 2-K; 3) store Page 2-K in variables; 4) after shipping out Page Z, reset dimensions to the stored values if stored values are there, and then reset the "change dimension variable" after finishing the change. That's all I need, really. Your comment about the calc package is very interesting. I don't understand why it will not work. Can you direct me to something to clarify the problem? Paul Thompson Division of Biostatistics Washington University School of Medicine St Louis, MO 63108 314-747-3793 25 Signal Hill Blvd Belleville, IL 62223-1650 618-394-1246 ----- Original Message ---- From: Morten Høgholm To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Sent: Thursday, January 22, 2009 8:03:48 AM Subject: Re: changing page dimensions in mid-document (was Re: Key points of LaTex3) On Thu, Jan 22, 2009 at 10:14 AM, Frank Mittelbach wrote: > Joseph, Paul > > > > 5) Changing page dimensions in the middle of the document: > > > Middlebach says this can't be done, but I have done it in > > > my newlfm macro, and I say "rubbish" to Frank - > > > it can be done, and it should be possible. > > > > I always thought this was an engine issue. Shows you what I know! > > Joseph, your knowledge is up to date. There is no way to modify horizontal text > dimensions in TeX in mid document, except in very restricted situations. I > think we had these discussions before. > > The main restricting reasons are > > - paragraph breaking and page breaking are asynconous, i.e. TeX does > paragraph shaping before deciding on where to place that paragraph > > - you can't reformat an already broken paragraph into a different shape (as > the material lost on the ine breaks is not fully recoverable Reading newlfm it seems to me as if it simply deals with changing page dimensions in situations where pages are already complete, just like it is possible to do so after a \clearpage in current LaTeX. Paul, correct me if I am mistaken. Note: The implementation in newlfm will not work (as intended) when the calc package is loaded. To be more specific, \global\setlength{\hsize}{\columnwidth}% will not do a global assignment to \hsize with calc loaded (but to an internal variable). -- Morten