texlive[54437] Master/texmf-dist: xltabular (20mar20)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 20 22:28:00 CET 2020


Revision: 54437
          http://tug.org/svn/texlive?view=revision&revision=54437
Author:   karl
Date:     2020-03-20 22:28:00 +0100 (Fri, 20 Mar 2020)
Log Message:
-----------
xltabular (20mar20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xltabular/Changes
    trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.pdf
    trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty

Modified: trunk/Master/texmf-dist/doc/latex/xltabular/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xltabular/Changes	2020-03-20 21:27:47 UTC (rev 54436)
+++ trunk/Master/texmf-dist/doc/latex/xltabular/Changes	2020-03-20 21:28:00 UTC (rev 54437)
@@ -1,3 +1,4 @@
+2.0c  2020/03/20  - restore of original longtable more robust
 2.0a  2018/12/16  - better hyperref support; example files
 1.0a  2018/05/23  - restore original tabularx must not be statically
 0.05  2017-10-26  - set \keepXColumns 

Modified: trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty	2020-03-20 21:27:47 UTC (rev 54436)
+++ trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty	2020-03-20 21:28:00 UTC (rev 54437)
@@ -3,21 +3,18 @@
 %% License from CTAN archives in directory  macros/latex/base/lppl.txt.
 %% Either version 1.3 or, at your option, any later version.
 %%
-% Copyright 2018 Herbert Voss <hvoss at tug.org>
-%                Rolf Niepraschk <Rolf.Niepraschk at gmx.de>
+% Copyright 2018,... Herbert Voss <hvoss at tug.org>
+%                    Rolf Niepraschk <Rolf.Niepraschk at gmx.de>
 %%
-\ProvidesPackage{xltabular}[2019/01/30 v0.2b `xltabular' package (hv,RN)]
+\ProvidesPackage{xltabular}[2020/03/20 v0.2c `xltabular' package (hv,RN)]
 \RequirePackage{tabularx}
 \let\XLT at i@tabularx=\tabularx
 \let\XLT at i@endtabularx=\endtabularx
 \let\XLT at i@TX at endtabularx=\TX at endtabularx
 %
-\RequirePackage{ltablex}
-\keepXColumns% xltabular behaves like tabularx
-%
-\let\XLT at ii@tabularx=\tabularx
-\let\XLT at ii@TX at endtabularx=\TX at endtabularx
+\RequirePackage{longtable}
 \let\XLT at longtable=\longtable
+\let\XLT at LT@caption=\LT at caption
 \let\XLT at LT@start=\LT at start
 \let\XLT at LT@array=\LT at array
 \@ifundefined{scr at LT@array}{%
@@ -25,8 +22,13 @@
     \@ifundefined{adl at LT@array}{}{\let\XLT at adl@LT at array=\adl at LT@array}
   }
 }{\let\XLT at scr@LT at array=\scr at LT@array}%
-
 %
+\RequirePackage{ltablex}
+\keepXColumns% xltabular behaves like tabularx
+%
+\let\XLT at ii@tabularx=\tabularx
+\let\XLT at ii@TX at endtabularx=\TX at endtabularx
+%
 % restore original tabularx
 \renewenvironment{tabularx}%
 {\let\TX at endtabularx=\XLT at i@TX at endtabularx\XLT at i@tabularx}
@@ -64,11 +66,14 @@
 }%
 %
 \providecommand*\LTcaptype{table}% support of package "caption"
+% restore original longtable
 \def\longtable{%
   \ifXLT at HypRef
     % revert to the unpatched version when \caption is not used
-    \global\let\LT at start=\XLT at LT@start
+    \global\let\LT at start=\XLT at LT@start% 
   \fi
+  \let\LT at array=\XLT at LT@array
+  \let\LT at caption=\XLT at LT@caption
   \XLT at longtable
 }
 



More information about the tex-live-commits mailing list.