Debian Codegraph @

debian/patches/fix-tabu-920459-reopened

raw
1 ---
2 texmf-dist/tex/latex/tabu/tabu.sty | 10 ++++++++--
3 1 file changed, 8 insertions(+), 2 deletions(-)
4
5 --- texlive-extra-2018.20190227.orig/texmf-dist/tex/latex/tabu/tabu.sty
6 +++ texlive-extra-2018.20190227/texmf-dist/tex/latex/tabu/tabu.sty
7 @@ -57,7 +57,7 @@
8 %%
9
10 \NeedsTeXFormat{LaTeX2e}
11 -\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed)]
12 +\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed) + intermediate FMi]
13 \RequirePackage{array}[2008/09/09]
14 \RequirePackage{varwidth}[2009/03/30]
15 \AtEndOfPackage{\tabu@AtEnd \let\tabu@AtEnd \@undefined}
16 @@ -727,6 +727,10 @@
17 \tabu@currentgrouptype\expandafter{\the\currentgrouptype}}%
18 \fi
19 }% \tabu@init
20 +%%TABU-FIXED set up \tabu@currentgrouptype
21 +%FMi cancel for nested arrays ...
22 +\def\@tabarray{\m@th\def\tabu@currentgrouptype{\currentgrouptype}\@ifnextchar[\@array{\@array[c]}}
23 +
24 \def\tabu@indent{% correction for indentation
25 \ifdim \parindent>\z@\ifx \linewidth\tabudefaulttarget
26 \everypar\expandafter{%
27 @@ -1663,7 +1667,9 @@
28 \ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target
29 \tabu@target=\tabu@temp\tabucolX \fi\fi
30 \setbox\tabu@box \hbox \bgroup
31 - \color@begingroup%
32 +%%TABU-FIXED add \color@begingroup
33 +%%FMi not yet understood why this one is also needed ...
34 + \color@begingroup
35 \begin{varwidth}\tabu@target
36 \let\FV@ListProcessLine \tabu@FV@ListProcessLine % \hbox to natural width...
37 \narrowragged \arraybackslash \parfillskip \@flushglue