Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.6713); Thu, 25 Mar 2004 13:09:40 +0100 Received: by mail.proteosys.com (8.12.10/8.12.2) with ESMTP id i2PC9Zlo004468 for ; Thu, 25 Mar 2004 13:09:38 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.119.176]) by relay.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i2PBwliv016226; Thu, 25 Mar 2004 12:58:48 +0100 (MET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41262.0C8EDA00" Received: from listserv (listserv.uni-heidelberg.de [129.206.119.176]) by listserv.uni-heidelberg.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i2P700Zm014195; Thu, 25 Mar 2004 12:58:00 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8e) with spool id 62452 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 25 Mar 2004 12:58:00 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i2PBvxN6019319 for ; Thu, 25 Mar 2004 12:57:59 +0100 Received: from mail.proteosys.com (mail.proteosys.com [213.139.130.197]) by relay.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i2PBwYiv016123 for ; Thu, 25 Mar 2004 12:58:34 +0100 (MET) Received: by mail.proteosys.com (8.12.10/8.12.2) with ESMTP id i2PBwWlo004384 for ; Thu, 25 Mar 2004 12:58:33 +0100 In-Reply-To: Return-Path: X-OriginalArrivalTime: 25 Mar 2004 11:58:32.0059 (UTC) FILETIME=[7E6F24B0:01C41260] X-X-Sender: schoepf@calvin.proteosys X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) X-Spam-Score: 0 () x-spam-auto-whitelist: Content-class: urn:content-classes:message Subject: Re: TeX units Date: Thu, 25 Mar 2004 12:58:31 +0100 Message-ID: A X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: TeX units Thread-Index: AcQSYg0vt/3SOM1oRyKLnqVWyAICmA== From: =?iso-8859-1?Q?Rainer_Sch=F6pf?= To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4772 This is a multi-part message in MIME format. ------_=_NextPart_001_01C41262.0C8EDA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thu, 25 Mar 2004, Ulrich Dirr wrote: > On occasion I need to trace TeX's page building via = \tracingpages=3D2. > Assume you have a \textheight of 39 \baselineskip + \topskip, and one > \baselineskip is 13bp. Then \textheight is 507bp+10pt. Using the = above > definition for bp this should be 518.90125pt. But when tracing the > pages I always got a pagegoal of 518.90073pt resulting often in > underfull \vbox messages (I've hopefully eliminated all uncontrolled > stretching and shrinking of vertical material in my setup). > > Maybe someone could explain this behavior to me? Simple rounding errors. Internally everything is computed in scaled = points =3D 1/65536pt. So, your \baselineskip is 13*7227*65536 / 7200 =3D 855162 The textheight is then 39*855162 + 10*65536 =3D 34006678 In points this is 34006678/65536 =3D 518.90073 Rainer Sch=F6pf ------_=_NextPart_001_01C41262.0C8EDA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: TeX units

On Thu, 25 Mar 2004, Ulrich Dirr wrote:

 > On occasion I need to trace TeX's page = building via \tracingpages=3D2.
 > Assume you have a \textheight of 39 = \baselineskip + \topskip, and one
 > \baselineskip is 13bp. Then \textheight is = 507bp+10pt. Using the above
 > definition for bp this should be = 518.90125pt. But when tracing the
 > pages I always got a pagegoal of = 518.90073pt resulting often in
 > underfull \vbox messages (I've hopefully = eliminated all uncontrolled
 > stretching and shrinking of vertical = material in my setup).
 >
 > Maybe someone could explain this behavior = to me?

Simple rounding errors. Internally everything is = computed in scaled points
=3D 1/65536pt. So, your \baselineskip is

  13*7227*65536 / 7200 =3D 855162

The textheight is then

  39*855162 + 10*65536 =3D 34006678

In points this is

  34006678/65536 =3D 518.90073

 Rainer Sch=F6pf

------_=_NextPart_001_01C41262.0C8EDA00--