LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bjoern Pedersen <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sat, 8 Feb 2003 14:43:07 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (91 lines)
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
              \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 }

</end patch>

Björn


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

ATOM RSS1 RSS2