summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/carlisle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-13 20:52:21 +0000
committerKarl Berry <karl@freefriends.org>2021-06-13 20:52:21 +0000
commit21d9740662bb842065bf5fd589897fd2ee575749 (patch)
tree82dfe638fdd86cc295efd1c8c8903da8315cff61 /Master/texmf-dist/source/latex/carlisle
parent61e31eb7a32e8d0cb0623acad03c420c97edd6e4 (diff)
carlisle (13jun21)
git-svn-id: svn://tug.org/texlive/trunk@59577 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/carlisle')
-rw-r--r--Master/texmf-dist/source/latex/carlisle/ltxtable.tex19
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/carlisle/ltxtable.tex b/Master/texmf-dist/source/latex/carlisle/ltxtable.tex
index ea5ba2f1959..a825b67b3d7 100644
--- a/Master/texmf-dist/source/latex/carlisle/ltxtable.tex
+++ b/Master/texmf-dist/source/latex/carlisle/ltxtable.tex
@@ -1,6 +1,6 @@
%
%% User documentation and source for ltxtable package
-%% (C) 1995 David Carlisle
+%% (C) 1995, 2021 David Carlisle
%
%% This file may be distributed under the terms of the LPPL.
%% See 00readme.txt for details.
@@ -11,7 +11,7 @@
% This will write the ltxtable.sty package file on to your system
% and produce some rather terse typeset documentation.
%
-\begin{filecontents}{ltx1.tex}
+\begin{filecontents}[overwrite]{ltx1.tex}
\begin{longtable}{|cXX|}
the & head& line\endhead
the & foot& line\endfoot
@@ -25,9 +25,9 @@ a a aaaa& b b& c ccccc\\
\end{longtable}
\end{filecontents}
-\begin{filecontents}{ltxtable.sty}
+\begin{filecontents}[overwrite]{ltxtable.sty}
%
-%% ltxtable package (C) 1995 David Carlisle
+%% ltxtable package (C) 1995, 2021 David Carlisle
%%
%% This file may be distributed under the terms of the LPPL.
%% See 00readme.txt for details.
@@ -37,7 +37,7 @@ a a aaaa& b b& c ccccc\\
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ltxtable}
- [1995/12/11 v0.2 longtable/tabularx merge (DPC)]
+ [2021/06/13 v0.4 longtable/tabularx merge (DPC)]
% \end{macrocode}
%
% May as get these in, going to need them...
@@ -76,8 +76,9 @@ a a aaaa& b b& c ccccc\\
% \begin{macrocode}
\def\endlongtable{%
\LT@echunk
-\global\setbox\@ne\hbox{\unhbox\@ne}%
- \kern\wd\@ne
+% from 2021 longtable uses an allocated box \LT@gbox not \box1
+\global\setbox\LT@gbox\hbox{\unhbox\LT@gbox}%
+ \kern\wd\LT@gbox
\LT@get@widths%
\endgroup}%
% \end{macrocode}
@@ -168,7 +169,7 @@ a a aaaa& b b& c ccccc\\
\title{ltxtable: longtable meets tabularx}
\author{David Carlisle}
-\date{1995/12/11}
+\date{2021/06/13}
\maketitle
Since \texttt{tabularx} was put on the archives in 1992 or so I have
@@ -228,3 +229,5 @@ Then a longtable
1995/12/11 v0.2 (Petr Sojka) Typos fixed so the package works!
(Initial release *always* read the same table file,
ignoring the argument...)
+2001/06/12 v0.3 longtable now uses \LT@gbox not \box\@ne so change here to match.
+2021/06/13 v0.4 what year is it....