slackware-current/source/t/texlive/patches/tabu.sty.diff
Patrick J Volkerding a03aa42380 Sun Jun 30 22:45:12 UTC 2019
d/Cython-0.29.11-x86_64-1.txz:  Upgraded.
t/texlive-2019.190626-x86_64-2.txz:  Rebuilt.
  Patched tabu.sty to fix compiling doxygen.
  Thanks to Johannes Schoepfer and nobodino.
x/mesa-19.1.1-x86_64-2.txz:  Rebuilt.
  Don't build the swr Gallium driver on IA32 - it leads to an illegal
  instruction startup crash with CPUs that lack AVX support.
  Thanks to Jefferson and Johnson.
xfce/thunar-volman-0.9.3-x86_64-1.txz:  Upgraded.
xfce/tumbler-0.2.5-x86_64-1.txz:  Upgraded.
2019-07-01 08:59:47 +02:00

32 lines
1.4 KiB
Diff

--- ./tabu.sty.orig 2019-01-14 16:10:48.000000000 -0600
+++ ./tabu.sty 2019-06-30 16:24:01.975474339 -0500
@@ -57,7 +57,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed)]
+\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed) + intermediate FMi]
\RequirePackage{array}[2008/09/09]
\RequirePackage{varwidth}[2009/03/30]
\AtEndOfPackage{\tabu@AtEnd \let\tabu@AtEnd \@undefined}
@@ -727,6 +727,10 @@
\tabu@currentgrouptype\expandafter{\the\currentgrouptype}}%
\fi
}% \tabu@init
+%%TABU-FIXED set up \tabu@currentgrouptype
+%FMi cancel for nested arrays ...
+\def\@tabarray{\m@th\def\tabu@currentgrouptype{\currentgrouptype}\@ifnextchar[\@array{\@array[c]}}
+
\def\tabu@indent{% correction for indentation
\ifdim \parindent>\z@\ifx \linewidth\tabudefaulttarget
\everypar\expandafter{%
@@ -1663,6 +1667,9 @@
\ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target
\tabu@target=\tabu@temp\tabucolX \fi\fi
\setbox\tabu@box \hbox \bgroup
+%%TABU-FIXED add \color@begingroup
+%%FMi not yet understood why this one is also needed ...
+ \color@begingroup
\begin{varwidth}\tabu@target
\let\FV@ListProcessLine \tabu@FV@ListProcessLine % \hbox to natural width...
\narrowragged \arraybackslash \parfillskip \@flushglue