From 3e43bc594a14e8c4fc21d6a71f22a23dd78fe252 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 21 Mar 2020 03:01:37 +0000 Subject: CTAN sync 202003210301 --- macros/latex/contrib/xltabular/Changes | 1 + macros/latex/contrib/xltabular/xltabular-doc.pdf | Bin 70975 -> 71369 bytes macros/latex/contrib/xltabular/xltabular.sty | 25 ++++++++++++++--------- 3 files changed, 16 insertions(+), 10 deletions(-) (limited to 'macros/latex/contrib/xltabular') diff --git a/macros/latex/contrib/xltabular/Changes b/macros/latex/contrib/xltabular/Changes index 05b615fc27..d29caef556 100644 --- a/macros/latex/contrib/xltabular/Changes +++ b/macros/latex/contrib/xltabular/Changes @@ -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 diff --git a/macros/latex/contrib/xltabular/xltabular-doc.pdf b/macros/latex/contrib/xltabular/xltabular-doc.pdf index 882a93aa45..d8b3ba30ef 100644 Binary files a/macros/latex/contrib/xltabular/xltabular-doc.pdf and b/macros/latex/contrib/xltabular/xltabular-doc.pdf differ diff --git a/macros/latex/contrib/xltabular/xltabular.sty b/macros/latex/contrib/xltabular/xltabular.sty index 4684191127..fc785782fa 100644 --- a/macros/latex/contrib/xltabular/xltabular.sty +++ b/macros/latex/contrib/xltabular/xltabular.sty @@ -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 -% Rolf Niepraschk +% Copyright 2018,... Herbert Voss +% Rolf Niepraschk %% -\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@i@tabularx=\tabularx \let\XLT@i@endtabularx=\endtabularx \let\XLT@i@TX@endtabularx=\TX@endtabularx % -\RequirePackage{ltablex} -\keepXColumns% xltabular behaves like tabularx -% -\let\XLT@ii@tabularx=\tabularx -\let\XLT@ii@TX@endtabularx=\TX@endtabularx +\RequirePackage{longtable} \let\XLT@longtable=\longtable +\let\XLT@LT@caption=\LT@caption \let\XLT@LT@start=\LT@start \let\XLT@LT@array=\LT@array \@ifundefined{scr@LT@array}{% @@ -25,7 +22,12 @@ \@ifundefined{adl@LT@array}{}{\let\XLT@adl@LT@array=\adl@LT@array} } }{\let\XLT@scr@LT@array=\scr@LT@array}% - +% +\RequirePackage{ltablex} +\keepXColumns% xltabular behaves like tabularx +% +\let\XLT@ii@tabularx=\tabularx +\let\XLT@ii@TX@endtabularx=\TX@endtabularx % % restore original tabularx \renewenvironment{tabularx}% @@ -64,11 +66,14 @@ }% % \providecommand*\LTcaptype{table}% support of package "caption" +% restore original longtable \def\longtable{% \ifXLT@HypRef % revert to the unpatched version when \caption is not used - \global\let\LT@start=\XLT@LT@start + \global\let\LT@start=\XLT@LT@start% \fi + \let\LT@array=\XLT@LT@array + \let\LT@caption=\XLT@LT@caption \XLT@longtable } -- cgit v1.2.3