Open svonohr opened 5 years ago
Thanks for the test file, I can confirm I see the same here, I'll see what I can do.
On Mon, 21 Jan 2019 at 09:07, svonohr notifications@github.com wrote:
The following example does generate a lot of Missing \cr inserted and Misplaced \cr errors:
\documentclass{article}
\usepackage{tabu} \usepackage{colortbl}
\begin{document}
\begin{tabu} {l|l} \rowfont[c]{\bfseries} 1 & 2 \end{tabu}
\end{document}
When not loading the colortbl package the example compiles fine. All packages should be up to date (tabu 2019/01/11 v2.9). See also the attached test.log https://github.com/tabu-fixed/tabu/files/2778203/test.log
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tabu-fixed/tabu/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNcArAiFmF8rYeqXgoiahKWjM4qvPSgks5vFYNtgaJpZM4aKYWN .
This one seems to work again if one remove the \aftergroup from \tabu@ignorehfil:
\documentclass{article}
\usepackage{colortbl}
\usepackage{tabu}
\makeatletter \def\tabu@ignorehfil{\tabu@nohfil} %removed \aftergroup
\begin{document}
\begin{tabu} {l|l}
\rowfont[c]{\bfseries}
1 & 2
\end{tabu}
\end{document}
(I did not check what is needed if color is not loaded, and I'm not sure if it is the proper fix).
The following example does generate a lot of
Missing \cr inserted
andMisplaced \cr
errors:When not loading the
colortbl
package the example compiles fine. All packages should be up to date (tabu 2019/01/11 v2.9). See also the attached test.log