Received: from mail.proteosys.com ([62.225.9.49]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.5329); Sat, 8 Feb 2003 14:48:50 +0100 Received: by mail.proteosys.com (8.12.2/8.12.2) with ESMTP id h18Dml6C004290 for ; Sat, 8 Feb 2003 14:48:48 +0100 MIME-Version: 1.0 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.27]) by relay.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id h18DiNXM024916; Sat, 8 Feb 2003 14:44:23 +0100 (MET) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2CF78.CF418D00" Received: from listserv (listserv.uni-heidelberg.de [129.206.100.27]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h18A9aR2014126; Sat, 8 Feb 2003 14:35:22 +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.8d) with spool id 6675 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 8 Feb 2003 14:35:22 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h18DZMPw014755 for ; Sat, 8 Feb 2003 14:35:22 +0100 Received: from mailrelay1.lrz-muenchen.de (mailrelay1.lrz-muenchen.de [129.187.254.101]) by relay.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id h18DhDXM024783 for ; Sat, 8 Feb 2003 14:43:14 +0100 (MET) Received: from pc-e21-23.frm2.tu-muenchen.de by mailrelay1.lrz-muenchen.de with ESMTP for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 8 Feb 2003 14:43:14 +0100 Received: from localhost (localhost [127.0.0.1]) by pc-e21-23.frm2.tu-muenchen.de (8.11.6/8.10.1/SuSE Linux 8.9.3-0.1) with ESMTP id h18Dh7x06099 for ; Sat, 8 Feb 2003 14:43:07 +0100 In-Reply-To: Return-Path: X-OriginalArrivalTime: 08 Feb 2003 13:48:50.0401 (UTC) FILETIME=[CF7EBD10:01C2CF78] X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) X-Spam-Score: -5.4 () EMAIL_ATTRIBUTION,IN_REP_TO,PATCH_CONTEXT_DIFF,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,USER_AGENT_PINE Content-class: urn:content-classes:message Subject: Re: [LATEX3] xor: patches for use with current classes Date: Sat, 8 Feb 2003 14:43:07 +0100 Message-ID: A X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: [LATEX3] xor: patches for use with current classes Thread-Index: AcLPeM+pj+f9JK7YTUy4IkBw706wGw== From: "Bjoern Pedersen" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4539 This is a multi-part message in MIME format. ------_=_NextPart_001_01C2CF78.CF418D00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tue, 4 Feb 2003, David Kastrup wrote: > > I am currently taking a look at the stuff in order to incorporate it. > Of course, while you are perfectly obedient to the wording of the I will keep the old filenames for patches in the future :-) > Ok, to start off, here is the first patch: > > 484c484,490 > < {\pagebodylefthpos - \columndisplacement + \columndisplacement * = #3} > --- > > {\pagebodylefthpos - \columndisplacement + \columndisplacement * = #3 + > > } > > %%Change BP > > \ifnum #3 > 1 > > \addtolength\@tempdima{0.5\columnsep} > > \fi > > %% End change Thats from xo-final.dtx, so it got overwritten anyway by xo-new.dtx. = There it escaped my testing. But as further testing showed, it was also the wrong cure for a misdiagnosed bug. Not floats starting in column 2 and = up were displaced, but floats spanning 2+ columns. Here's a fix for xo-new.dtx, but I am still not shure wether the fixing is done in the right place at all. *** xor/xo-new.dtx Sat Feb 8 11:49:42 2003 --- xorbp/xo-new.dtx Sat Feb 8 14:34:05 2003 *************** *** 361,367 **** \setlength \@tempdima {\pagebodylefthpos - \columndisplacement + \columndisplacement = * #2 } ! \mbox@addtopage ( \the\@tempdima ,\the\@tempdimb ) { \box \@tempboxa } --- 368,378 ---- \setlength \@tempdima {\pagebodylefthpos - \columndisplacement + \columndisplacement = * #2 } ! %%Change BP ! % floats spanning more than 1 column hav an offset of (2n-1)/2 colsep ! % This adjusts for this error, but is it the right place to fix ??? ! \addtolength\@tempdima{0.5\columnsep* (#3 - 1)} ! %% End change \mbox@addtopage ( \the\@tempdima ,\the\@tempdimb ) { \box \@tempboxa } *************** *** 415,424 **** \advance\@tempdimb \pagesetup@float@area@sep \fi - \setlength \@tempdima {\pagebodylefthpos - \columndisplacement + \columndisplacement = * #2 } ! \mbox@addtopage ( \the\@tempdima ,\the\@tempdimb ) { \box \@tempboxa } --- 426,437 ---- \advance\@tempdimb \pagesetup@float@area@sep \fi \setlength \@tempdima {\pagebodylefthpos - \columndisplacement + \columndisplacement = * #2 } ! %%Change BP ! %% see comment in mount@top@floats ! \addtolength\@tempdima{0.5\columnsep* (#3 - 1)} ! %% End change \mbox@addtopage ( \the\@tempdima ,\the\@tempdimb ) { \box \@tempboxa } Bj=F6rn -- Bjoern Pedersen Lichtenbergstr.1 Technische Universitaet Muenchen D-85747 Garching ZBE Instrumentierung FRM-II Tel. + 49 89 289-14707 Fax -14666 ------_=_NextPart_001_01C2CF78.CF418D00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: [LATEX3] xor: patches for use with current = classes

On Tue, 4 Feb 2003, David Kastrup wrote:

>
> I am currently taking a look at the stuff in = order to incorporate it.
> Of course, while you are perfectly obedient to = the wording of the

I will keep the old filenames for patches in the = future :-)
> Ok, to start off, here is the first = patch:
>
> 484c484,490
> <     {\pagebodylefthpos = - \columndisplacement + \columndisplacement * #3}
> ---
> >     {\pagebodylefthpos = - \columndisplacement + \columndisplacement * #3 +
> >        = }
> > %%Change BP
> >     \ifnum #3 > = 1
> >       = \addtolength\@tempdima{0.5\columnsep}
> >       = \fi
> > %% End change


Thats from xo-final.dtx, so it got overwritten anyway = by xo-new.dtx. There
it escaped my testing. But as further testing showed, = it was also the
wrong cure for a misdiagnosed bug. Not floats = starting in column 2 and up
were displaced, but floats spanning  2+ = columns.
Here's  a fix for xo-new.dtx, but I am still not = shure wether the fixing
is done in the right place at all.
 <begin patch>
*** xor/xo-new.dtx      Sat = Feb  8 11:49:42 2003
--- xorbp/xo-new.dtx    Sat Feb  = 8 14:34:05 2003
***************
*** 361,367 ****

      \setlength = \@tempdima
          = {\pagebodylefthpos - \columndisplacement + \columndisplacement *
#2 }
!
      \mbox@addtopage ( = \the\@tempdima ,\the\@tempdimb  )
           { = \box \@tempboxa }

--- 368,378 ----

      \setlength = \@tempdima
          = {\pagebodylefthpos - \columndisplacement + \columndisplacement *
#2 }
! %%Change BP
! % floats spanning more than 1 column hav an offset = of (2n-1)/2 colsep
! % This adjusts for this error, but is it the right = place to fix ???
!       = \addtolength\@tempdima{0.5\columnsep* (#3 - 1)}
! %% End change
      \mbox@addtopage ( = \the\@tempdima ,\the\@tempdimb  )
           { = \box \@tempboxa }

***************
*** 415,424 ****
        = \advance\@tempdimb
          &nbs= p;   \pagesetup@float@area@sep
      \fi
-
      \setlength = \@tempdima
          = {\pagebodylefthpos - \columndisplacement + \columndisplacement *
#2 }
!
      \mbox@addtopage ( = \the\@tempdima ,\the\@tempdimb  )
           { = \box \@tempboxa }

--- 426,437 ----
        = \advance\@tempdimb
          &nbs= p;   \pagesetup@float@area@sep
      \fi
      \setlength = \@tempdima
          = {\pagebodylefthpos - \columndisplacement + \columndisplacement *
#2 }
! %%Change BP
! %% see comment  in mount@top@floats
!       = \addtolength\@tempdima{0.5\columnsep* (#3 - 1)}
! %% End change
      \mbox@addtopage ( = \the\@tempdima ,\the\@tempdimb  )
           { = \box \@tempboxa }

</end patch>

Bj=F6rn


--
Bjoern = Pedersen           = ;            =   Lichtenbergstr.1
Technische Universitaet = Muenchen        D-85747 = Garching
ZBE Instrumentierung FRM-II
 Tel. + 49 89 289-14707 Fax -14666

------_=_NextPart_001_01C2CF78.CF418D00--