finish dealing with counties with spaces, etc., RT#4496
[freeside.git] / conf / longtable.sty.patch
1 --- longtable.orig      2004-03-13 21:37:06.000000000 -0500
2 +++ longtable.sty       2008-10-10 16:32:25.000000000 -0400
3 @@ -55,6 +55,7 @@
4  \newcount\LTchunksize \LTchunksize=20
5  \let\c@LTchunksize\LTchunksize
6  \newdimen\LTcapwidth  \LTcapwidth=4in
7 +\newlength\LTextracouponspace
8  \newbox\LT@head
9  \newbox\LT@firsthead
10  \newbox\LT@foot
11 @@ -146,6 +147,7 @@
12    \advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
13    \advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
14    \advance\dimen@ \ht\LT@foot
15 +  \advance\dimen@ \LTextracouponspace
16    \dimen@ii\vfuzz
17    \vfuzz\maxdimen
18      \setbox\tw@\copy\z@
19 @@ -159,6 +161,10 @@
20    \advance\dimen@ -\pagegoal
21    \ifdim \dimen@>\z@\vfil\break\fi
22        \global\@colroom\@colht
23 +  \ifnum\thepage=1
24 +    \advance\vsize-\LTextracouponspace
25 +    \dimen@\pagegoal\advance\dimen@-\LTextracouponspace\pagegoal\dimen@
26 +  \fi
27    \ifvoid\LT@foot\else
28      \advance\vsize-\ht\LT@foot
29      \global\advance\@colroom-\ht\LT@foot