Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 23 Jan 2009 00:32:51 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id n0MNWoua022801 for ; Fri, 23 Jan 2009 00:32:50 +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 n0MNTFUC005417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jan 2009 00:29:15 +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 n0MN1Vvc019476; Fri, 23 Jan 2009 00:29:13 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 166245 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 23 Jan 2009 00:29:08 +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 n0MNM64O021603 for ; Fri, 23 Jan 2009 00:22:06 +0100 Received: from atlas.informatik.uni-freiburg.de (atlas.informatik.uni-freiburg.de [132.230.150.3]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n0MNLqle010137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 23 Jan 2009 00:21:55 +0100 Received: from remote239-19.home.uni-freiburg.de ([132.230.239.19] helo=irwin.vpn.uni-freiburg.de) by atlas.informatik.uni-freiburg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LQ8ru-00001e-Pi for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 23 Jan 2009 00:21:51 +0100 Received: by irwin.vpn.uni-freiburg.de (Postfix, from userid 500) id 3779617B7B; Thu, 22 Jan 2009 23:54:17 +0100 (CET) Mail-Followup-To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE 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> <597382.5271.qm@web82008.mail.mud.yahoo.com> <859ec5630901220712k114d02c9t93c28fc8cd74b662@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-ID: <20090122225417.GA5988@irwin.vpn.uni-freiburg.de> Date: Thu, 22 Jan 2009 23:54:17 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Heiko Oberdiek Subject: Re: changing page dimensions in mid-document To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <859ec5630901220712k114d02c9t93c28fc8cd74b662@mail.gmail.com> 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 23:32:52.0042 (UTC) FILETIME=[BE6712A0:01C97CE9] Status: R X-Status: X-Keywords: X-UID: 5627 On Thu, Jan 22, 2009 at 04:12:32PM +0100, Morten Høgholm wrote: > On Thu, Jan 22, 2009 at 3:55 PM, Paul Thompson wrote: > > > 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? > > With calc loaded > \setlength\mylen{1pt+2pt} > expands to (after a few steps) > \calc@assign@generic\calc@Askip\calc@Bskip \mylen {1pt+2pt} > with \calc@assign@generic defined as > \def\calc@assign@generic#1#2#3#4{\let\calc@A#1\let\calc@B#2% > \calc@open(#4!% > \global\calc@A\calc@B\endgroup#3\calc@B} > Therefore, \global\setlength results in \calc@A being \let globally to > \calc@Askip and \mylen being set locally. \global\setlength{\hsize}{\columnwidth} can be fixed by an explicite global assignment: \setlength{\hsize}{\columnwidth} \global\hsize=\hsize Yours sincerely Heiko