[Tex/LaTex] Cannot compile tabu

tablestabuxetex

I have been trying to compile the following tabu environment with xelatex, but to no avail:

\documentclass{article}
\usepackage{xcolor}
\usepackage{tabu}




\begin{document}
\taburowcolors 10{green!25 .. yellow!80}
\begin{tabu}{X[-1]X}
%\everyrow{\midrule}
\repeatcell 2{
rows=10,
text/col1=Teste,
text/col2={Row number
       \row$=$\thetaburow},
}
\end{tabu}

\end{document}

It generates an error: "undefined control sequence \end{tabu}."

Best Answer

Your example does not produce the error that you state. It produces:

! Undefined control sequence.
<inserted text>  \repeatcell

\repeatcell isn't defined by tabu and the text/col1=Teste, syntax looks more tikz/pgf than than tabu.

adding

 \usepackage{makecell,interfaces-makecell}

fixes things.