| 1 |
2025-07-02 Johannes Braams <texniek at texniek.nl> |
| 2 |
|
| 3 |
* supertabular.dtx : Change to follow a change in array.sty which |
| 4 |
now uses \@startpbox@action |
| 5 |
|
| 6 |
2021-02-14 Johannes Braams <texniek at texniek.nl> |
| 7 |
|
| 8 |
* supertabular.dtx: Issue a \penalty-\@M instead of \newpage when |
| 9 |
moving the first part of a supertabular to the next page to |
| 10 |
prevent the first two rows from opverlapping. |
| 11 |
|
| 12 |
2021-02-14 Johannes Braams <texniek at texniek.nl> |
| 13 |
|
| 14 |
* supertabular.dtx: When the tablehead and/or tabletail are not |
| 15 |
defined the internal macros that store their arguments need to |
| 16 |
remain empty as well. Otherwise the algorithm will always think |
| 17 |
there's a head and tail with a height of 2.5 pt. |
| 18 |
|
| 19 |
2020-06-27 Johannes Braams <texniek at texniek.nl> |
| 20 |
|
| 21 |
* supertabular.dtx: the new algorithm for calculating the height |
| 22 |
of the row broke old documents, especially when small font sizes |
| 23 |
are used. Made the new algorithm optional (calculate versus |
| 24 |
estimate) and make sure the row height covers super- and |
| 25 |
subscripts. |
| 26 |
|
| 27 |
2020-02-02 Johannes Braams <texniek at texniek.nl> |
| 28 |
|
| 29 |
* supertabular.dtx: Replaced the way the height of normal tabular |
| 30 |
lines is calculated by basing it on the height and depth of |
| 31 |
\strutbox. This also meant being able to take the \extrarowheight |
| 32 |
from the array package into account. |
| 33 |
Also the height of the first and subsequent heads was not taken |
| 34 |
into account in the calculation of the available pageheigt. This |
| 35 |
meant that especially the first part of the table could become too |
| 36 |
high and hence be forced onto the next page (which is, by |
| 37 |
consequence) not entirely filled). |
| 38 |
Finally, if a caption preceeds the table, the entire height of the |
| 39 |
caption and the white space around it may not yet be accounted in |
| 40 |
\pagesofar. Therefore we substract a little extra from |
| 41 |
\ST@pageleft. |
| 42 |
|
| 43 |
2020-01-26 Johannes Braams <texniek at texniek.nl> |
| 44 |
* supertabular.dtx: Updated the copyright year and rearranged the |
| 45 |
text around the examples in order to get the first table to split |
| 46 |
accross a page boundary again. |
| 47 |
|
| 48 |
2019-01-18 Johannes Braams <texniek at texniek.nl> |
| 49 |
|
| 50 |
* supertabular.dtx: The linenumber in the tracing information, that |
| 51 |
is reported from within \\, is off by one when the optional |
| 52 |
argument is missing. Therefore the input linenumber is now saved |
| 53 |
before TeX starts scanning. Problem reported by Frank Mittelbach. |
| 54 |
|
| 55 |
2019-01-16 Johannes Braams <texniek at texniek.nl> |
| 56 |
|
| 57 |
* supertabular.dtx: The option "pageshow" didn't work as it set a |
| 58 |
too low value in \c@tracingst. Problem reported by Frank |
| 59 |
Mittelbach. |
| 60 |
|
| 61 |
2019-01-12 Johannes Braams <texniek at texniek.nl> |
| 62 |
* supertabular.dtx : The definition for the first table head was |
| 63 |
different from the definition of the regular table heads. |
| 64 |
This problem was reported by FMi as it produced an extra table in |
| 65 |
an example. |
| 66 |
The same was true for the table tail and the last table tail, |
| 67 |
applied the same fix. |
| 68 |
FMi also reported that a first table head, once set would appear on |
| 69 |
all subsequent supertabulars. The internal macro's now `undefine' |
| 70 |
themselves although this couteracts the change that was introduced |
| 71 |
on 08-08-1999. |
| 72 |
|
| 73 |
2001-08-21 Johannes Braams <texniek at texniek.nl> |
| 74 |
|
| 75 |
* supertabular.dtx : The macro \ST@next needs to be defined when |
| 76 |
\ST@skippage was called. Therefore I moved the default definition |
| 77 |
to earlier in the code; just before the \if clause after which it |
| 78 |
is called; possibly defined by \ST@newpage. This problem was |
| 79 |
reported by Andrew Dorrell <[email protected]>. |
| 80 |
|
| 81 |
1999-08-08 Johannes Braams <texniek at texniek.nl> |
| 82 |
|
| 83 |
* supertabular.dtx : No longer re-initialize the internal variable |
| 84 |
\@table@first@head and \@table@last@tail. This made it impossible |
| 85 |
to have more than one supertabular in the same document with the |
| 86 |
exact same appearance of the heads and tail without repeatedly |
| 87 |
redeclaring the firsthead and/or lasttail. Reported by Christian |
| 88 |
Matuszewski <[email protected]>. |
| 89 |
|
| 90 |
Fri Nov 7 20:27:27 1997 Johannes Braams <texniek at texniek.nl> |
| 91 |
|
| 92 |
* supertabular.dtx : For standard LaTeX we need to change |
| 93 |
\@@startpbox not \@startpbox. Found by Peter R Wilson |
| 94 |
<[email protected]>. |
| 95 |
|
| 96 |
Wed Oct 8 22:35:40 1997 Johannes Braams <texniek at texniek.nl> |
| 97 |
|
| 98 |
* supertabular.dtx: Running the documentation revealed a loop; |
| 99 |
inside the table tail and head \\ was reset to \@tabularcr instead |
| 100 |
of to \@@tabularcr (now: \org@tabularcr). First found by Thomas |
| 101 |
Esser <[email protected]>. |
| 102 |
|
| 103 |
Sat Sep 27 21:35:29 1997 Johannes Braams <texniek at texniek.nl> |
| 104 |
|
| 105 |
* supertabular.dtx: Added the mpsupertabular and mpsupertabular* |
| 106 |
environments provided by Axel Kielhorn <[email protected]>; |
| 107 |
added \noindent in front of all the starts of tabulars and |
| 108 |
minipages as it seems senseles to have a paragraph indent in front |
| 109 |
of a large tabularl; fixed a few documentation bugs. |
| 110 |
The calculation of the available height still missed the case |
| 111 |
where TeX has already begun the second column. |
| 112 |
|
| 113 |
Thu Sep 18 00:31:55 1997 Johannes Braams <texniek at texniek.nl> |
| 114 |
|
| 115 |
* supertabular.dtx : The \tablehead and \tabletail commands reset |
| 116 |
the command \\; they used \cr for it. That should have been |
| 117 |
\@tabularcr to properly deal with it's optional argument. |
| 118 |
Found by Axel Kielhorn <[email protected]> |
| 119 |
|
| 120 |
Wed Sep 17 23:59:13 1997 Johannes Braams <texniek at texniek.nl> |
| 121 |
|
| 122 |
* supertabular.dtx : In two column mode the parameters that |
| 123 |
determine how much space is left on the page were not correctly |
| 124 |
initialised when TeX hasn't yet filled up the first column |
| 125 |
completely. |
| 126 |
Found by Jeffrey Spielberg <[email protected]> |
| 127 |
|
| 128 |
Tue May 20 23:46:08 1997 Johannes Braams <texniek at texniek.nl> |
| 129 |
|
| 130 |
* supertabular.dtx : \shrinkheight didn't shrink the available |
| 131 |
height for a part of the tabular (as documented); it just *set* it |
| 132 |
to the value given. Made it perform as documented and added |
| 133 |
\setSTheight for the former functionality |
| 134 |
At the end of a supertabular \@table@first@head and |
| 135 |
\@table@last@tail are undefined; this shoud be done globally. |
| 136 |
Found by Axel Kielhorn <[email protected]> |
| 137 |
|
| 138 |
Sat Apr 12 23:37:33 1997 Johannes Braams <texniek at texniek.nl> |
| 139 |
|
| 140 |
* supertabular.dtx : Added \ST@stretchht and \ST@prevht to improve |
| 141 |
decision process. \estimate@lineht now also computes the |
| 142 |
difference between a normal line height and when \arraystretch is |
| 143 |
in effect. |
| 144 |
|
| 145 |
Thu Apr 10 23:33:07 1997 Johannes Braams <texniek at texniek.nl> |
| 146 |
|
| 147 |
* supertabular.dtx: Had to repaire some documentation errors. |
| 148 |
(found by Thomas Esser <[email protected]>) |
| 149 |
|
| 150 |
Wed Apr 9 00:29:36 1997 Johannes Braams <texniek at texniek.nl> |
| 151 |
|
| 152 |
* supertabular.dtx : Only the first part of a supertabular can be |
| 153 |
moved to the next page. Therefore we need to change the definition |
| 154 |
of \ST@skippage in the middle of processing the supertabular data. |
| 155 |
|
| 156 |
|
| 157 |
Thu Mar 6 21:56:18 1997 Johannes Braams <texniek at texniek.nl> |
| 158 |
|
| 159 |
* supertabular.dtx : Using a tabular environment in the cells of a |
| 160 |
supertabular gives `interesting' results when the algorithm |
| 161 |
decides to split the supertabular down the middle of an inner |
| 162 |
tabular. A number of changes were necessary to make this work. |
| 163 |
Found by Axel Kielhorn <[email protected]> |
| 164 |
|
| 165 |
Thu Feb 20 23:29:18 1997 Johannes Braams <texniek at texniek.nl> |
| 166 |
|
| 167 |
* supertabular.dtx: Renamed \tableformat into \ST@tableformat |
| 168 |
because the KOPMA-packages also use \tableformat and therefore |
| 169 |
clashed with babel. |
| 170 |
Found by Axel Kielhorn <[email protected]> |
| 171 |
|
| 172 |
Tue Feb 4 23:50:50 1997 Johannes Braams <texniek at texniek.nl> |
| 173 |
|
| 174 |
* supertabular.dtx (section{The Implementation}): Removed the use |
| 175 |
of the page height correction for p-columns; the current algorithm |
| 176 |
no longer needs this correction. |
| 177 |
Fixed the fact that the height of the head and/or tail of a |
| 178 |
supertabular were counted *twice* when they contain tabular |
| 179 |
material. |
| 180 |
Base the decision whether to start a new supertabular on the next |
| 181 |
page on a calculated minimum height of the table. The minimum is |
| 182 |
the head, the tail and 1 line of tabular data. |
| 183 |
|
| 184 |
Thu Nov 28 20:38:53 1996 Johannes Braams <texniek at texniek.nl> |
| 185 |
|
| 186 |
* supertabular.dtx: Started a cleanup of the code, made source |
| 187 |
file a full fledged .dtx file |
| 188 |
|
| 189 |
Old change notes from supertabular.doc are saved here: |
| 190 |
% |
| 191 |
% |
| 192 |
% supertabular sty |
| 193 |
% original idea: Theo Jurriens 1988 |
| 194 |
% jurriens at fwn.rug.nl P.O Box 800, 9700 AV Groningen |
| 195 |
% |
| 196 |
% revised by: Johannes Braams |
| 197 |
% texniek at texniek.nl TeXniek (NL) |
| 198 |
% \def\fileversion{3.7c} |
| 199 |
% \def\filename{supertabular sty} |
| 200 |
% \def\filedate{1995/10/16} |
| 201 |
% |
| 202 |
% \changes{v3.7c}{1995/10/16}{No space after the argument of |
| 203 |
% supertabular led to a `mysterious' error because of the space |
| 204 |
% delemiting the argument} |
| 205 |
% \changes{v3.7b}{1994/05/16}{Rewrote the page break deciding |
| 206 |
% algorithm again} |
| 207 |
% \changes{v3.7b}{1994/05/16}{Started to convert to dtx format} |
| 208 |
% |
| 209 |
% 05.04.93 - Supertabular didn't work correctly in twocolumn mode. |
| 210 |
% V 3.7a Rewrote the mechanism for establishing the amount of |
| 211 |
% space that supertabular can use. This still needs further |
| 212 |
% thought. The algorithm to compute the places to break |
| 213 |
% the table is still a bit fragile, especially when p{} |
| 214 |
% columns are used. |
| 215 |
% 10.07.92 - Still a problem in the combination of supertabular with array.sty |
| 216 |
% V 3.6h I overlooked the fact that array doesn't use \@tabulacr anymore |
| 217 |
% and it behaves differently with respect to \@startparbox. |
| 218 |
% 03.07.92 - A problem in the combination of supertabular with array.sty |
| 219 |
% V 3.6g It can be solved by removing the \string from \def\tableformat |
| 220 |
% and passing \tableformat expanded to \tabular. |
| 221 |
% 11.02.92 - Bug found by Michael Heissmeier when p{...} is used. |
| 222 |
% V 3.6f A change in LaTeX.tex didn't find its way into supertabular. |
| 223 |
% 11/03/92 JB: The following change didn't find its way into the |
| 224 |
% \@sendpbox command. This caused a difference in linespacing |
| 225 |
% between a supertabular and a normal tabular. |
| 226 |
% \def\@endpbox{\unskip\strut\par\egroup\hfil} |
| 227 |
% % 14 Jan 89: Def of \@endpbox changed from |
| 228 |
% % \def\@endpbox{\par\vskip\dp\@arstrutbox\egroup\hfil} |
| 229 |
% % so vertical spacing works out right if the last line of a `p' entry |
| 230 |
% % has a descender. |
| 231 |
% |
| 232 |
% 01.08.91 - Take height of tabletail into account when computing the |
| 233 |
% V 3.6e maximum tableheight; add tolerance on first (partial) page |
| 234 |
% of the supertabular. |
| 235 |
% 27.06.91 - Cured bug that made the first part of the table one line |
| 236 |
% V 3.6d shorter than the others. Appeared when supertabular was |
| 237 |
% used in a twocolumn environment. |
| 238 |
% 26.06.91 - Made \@process@tablecaption a global macro. Previous caption |
| 239 |
% V 3.6c turned up on a table without one. |
| 240 |
% 27.05.91 - Replaced \clearpage with \newpage to make supertabulars work |
| 241 |
% V 3.6b in a twocolumn environment. This also prevents all floats |
| 242 |
% from being printed. |
| 243 |
% 15.02.91 - Because of the check for the use of tablefirsthead the |
| 244 |
% V 3.6a combination of an \hline in the head and an \hline as the first |
| 245 |
% thing in the data went wrong. The \futurelet in the definition |
| 246 |
% of \hline found \fi instead of \hline, so no \doublerulesep |
| 247 |
% was added. |
| 248 |
% Also had to modify the way the environments were defined. |
| 249 |
% The blank space (from the CR after the argument of \supertabular) |
| 250 |
% has to be gobbled. This can only be done using a construction |
| 251 |
% like \def\command#1 {...}. So removed the use of \newenvironment |
| 252 |
% 04.02.91 - Added the commands \topcaption, \bottomcaption and \tablecaption |
| 253 |
% V 3.6 to include a caption within the supertabular environment. The |
| 254 |
% default behaviour is to put the caption before the actual start |
| 255 |
% of the table. |
| 256 |
% - Also added \tablefirsthead and \tablelasttail to let the |
| 257 |
% user specify a different head for the first page of the table |
| 258 |
% and for consecutive pages as well as different tails for first |
| 259 |
% pages and the last one. If these commands are not used, the |
| 260 |
% default behaviour will be to use the value of \tablehead end |
| 261 |
% \tabletail |
| 262 |
% - Removed the need for the \noalign{\global\let\\=\@stabularcr} |
| 263 |
% commands by storing and resetting \@stabularcr |
| 264 |
% |
| 265 |
% 16.10.90 Added the supertabular* environment that was in an earlier |
| 266 |
% V 3.5 version (2.0) by the original author |
| 267 |
% Reintroduced the version numbering |
| 268 |
% |
| 269 |
% revised by: Gabriele Kruljac |
| 270 |
% kruljac@ds0mpi11 Max-Planck-Institute Stuttgart |
| 271 |
% |
| 272 |
% |
| 273 |
% 06.06.89 Correction: now care is taken of probably existing onecolumn |
| 274 |
% head (title or tables ...) in twocolumn sty. |
| 275 |
% |
| 276 |
% 10.05.89 Correction: the new \\ definition has been added to the |
| 277 |
% begin of each `sub'-tabular |
| 278 |
% Added: algorithm to produce the tabulars in twocolumn style |
| 279 |
% |
| 280 |
% 06.04.89 Correction: put \global statement in \end{supertabular} |
| 281 |
% into \noalign |
| 282 |
% |
| 283 |
% 22.02.89 Correction: restore the original meaning of \\ with |
| 284 |
% \end{supertabular} |
| 285 |
% |
| 286 |
% (Feb 89) The whole algorithm has been changed, so that I can use |
| 287 |
% the most features of a normal tabular: |
| 288 |
% \\ for new line, including \\[#1] |
| 289 |
% p{...} in the preamble ... |
| 290 |
% Account is taken to \baselinestretch and \arraystretch |
| 291 |
% -I'm not counting the lines because of too much rounding errors |
| 292 |
% but instead I add the (estimated) used space in pt. |
| 293 |
% -The tablehead is taken into this algorithm of proofing, so |
| 294 |
% I really know how much space the head uses. |
| 295 |
% -When no p-arg is given I add a variable \midlineheight to |
| 296 |
% calculate the used space. To calculate \midlineheight I |
| 297 |
% take the \baselineskip, which is active when the supertabular |
| 298 |
% starts (\baselineskip includes the \value of \baselinestretch) |
| 299 |
% and multiply it with \arraystretch. |
| 300 |
% -When a p-arg is given the text will be stored in a box. So |
| 301 |
% I know the height I have to add. Also I reduce the maximum |
| 302 |
% pagesize, so that the last parbox on a page can get up to |
| 303 |
% max 4 lines without producing an overfull vbox. |
| 304 |
% -To do so I had to make some additions to LaTeX's tabular |
| 305 |
% commands. These new commands got a leading `s'. |