Below is a MWE with a tabu table that compiled perfectly fine up until I updated packages today (Dec. 16, 2018) with TeX Live Utility.
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{tabu}
\title{Example}
\author{Andrew Turner}
\begin{document}
\maketitle
\begin{table}[h!]
\centering
\tabulinesep = 3pt
\begin{tabu} spread 0pt {X[c$$]X[c$$]} \hline
a & b \\ \hline
\end{tabu}
\caption{test}
\end{table}
\end{document}
After the update, trying to compile gives a whole bunch of errors like this:
! Missing \cr inserted.
<inserted text>
\cr
l.19 \end{tabu}
I'm guessing that you meant to end an alignment here.
! Misplaced \cr.
<inserted text> \cr
l.19 \end{tabu}
I can't figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
If I comment out the xcolor package, this fixes the issue, or if I get rid of the spread 0pt and keep the xcolor package this also fixes the issue. I looked at what just updated in TeX Live Utility, and I wonder if it has to do with the recent update of colortbl.
Any help would be greatly appreciated.
Here is a further example. This is actually exact same, as recent version(s) of fancyvrb require package xcolor.
this is obsolete since release
3.2(2019/01/08) offancyvrbwhich does not loadxcoloranymore.
\documentclass{article}
\usepackage{fancyvrb}
\usepackage{tabu}
\begin{document}
\begin{tabu}spread 0pt {XX}
A
&
B
\end{tabu}
\end{document}
breaks with
! Missing } inserted.
<inserted text>
}
l.10 \end{tabu}
?
Simply commenting out loading of fancyvrb it compiles, or using TL2017 (my TL2018 is already fully updated...) it compiles also.
arraythat required an update to be made tocolortblpossibly requires a similar change to be made to thetabupackage? Thanks for your help. – Andrew Patrick Turner Dec 17 '18 at 01:35tabuis not maintained, consequently changes in packages (for example in thearraypackage), on which it is based, can be in conflict with it. – Zarko Dec 17 '18 at 04:47% \changes{v2.4i}{2018/09/13}{Add group to prevent color leak (gh/72)}– David Carlisle Dec 17 '18 at 09:17array.dtxfile. – Dec 17 '18 at 09:41