1

Problem description

After a recent system upgrade on a Debian testing machine with TeXLive 2018, a \rowcolor command inside a \begin{longtabu} environment no longer works.

Package versions according to texdoc:

  • colortbl package: 2018/12/12
  • tabu package: 2019/01/12

Minimal (non-)working example (MWE)

Compile the following example with a single run of pdflatex.

\documentclass{article}

\usepackage{colortbl}% Required for \rowcolor
\usepackage{longtable}% Required for tabu package's 'longtabu' environment
\usepackage{tabu}

\begin{document}

% \rowcolor works as expected in a regular 'tabular' environment
\begin{tabular}{ll}
  foo                & bla\\
  \rowcolor{red} bla & foo
\end{tabular}

% \rowcolor no longer works (since recently) in a 'longtabu' environment
\begin{longtabu} to \linewidth {ll}%
  foo                & bla\\
  \rowcolor{red} bla & foo
\end{longtabu}

\end{document}

Output

enter image description here

A slightly more complex example used to produce the expected result (ie, a colored row also in the second example using longtabu) until about a month ago. Any ideas anyone?

closed as off-topic by Andrew Swann, Phelype Oleinik, Tiuri, user156344, Raaja Mar 21 at 11:11

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.